mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-21 21:52:04 +02:00
Reorganize src dir
This commit is contained in:
parent
b21c35da72
commit
f98b1e031f
101 changed files with 833 additions and 995 deletions
|
@ -30,7 +30,7 @@
|
|||
#include "sdl-util.h"
|
||||
#include "sharedstate.h"
|
||||
#include "src/config.h"
|
||||
#include "src/util.h"
|
||||
#include "src/util/util.h"
|
||||
|
||||
#include "boost-hash.h"
|
||||
#include <vector>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "exception.h"
|
||||
#include "sharedstate.h"
|
||||
#include "src/util.h"
|
||||
#include "src/util/util.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "filesystem.h"
|
||||
#include "sharedstate.h"
|
||||
#include "src/config.h"
|
||||
#include "src/util.h"
|
||||
#include "src/util/util.h"
|
||||
|
||||
#if RAPI_FULL > 187
|
||||
#include "ruby/encoding.h"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include "exception.h"
|
||||
#include "input.h"
|
||||
#include "sharedstate.h"
|
||||
#include "src/util.h"
|
||||
#include "src/util/util.h"
|
||||
|
||||
#include <SDL_joystick.h>
|
||||
#include <string>
|
||||
|
|
|
@ -184,7 +184,7 @@ $(DOWNLOADS)/sdl2_image/Makefile: $(DOWNLOADS)/sdl2_image/configure
|
|||
$(CONFIGURE) --enable-static=true --enable-shared=false \
|
||||
--disable-imageio \
|
||||
--enable-png=yes --enable-png-shared=no \
|
||||
--enable-jpeg=yes --enable-jpeg-shared=no \
|
||||
--enable-jpg=yes --enable-jpg-shared=no \
|
||||
--enable-webp=no
|
||||
|
||||
$(DOWNLOADS)/sdl2_image/configure: $(DOWNLOADS)/sdl2_image/autogen.sh
|
||||
|
@ -293,4 +293,4 @@ clean-compiled:
|
|||
|
||||
deps-core: libvorbis sigcxx pixman libpng libjpeg objfw physfs sdl2 sdl2image sdl2ttf
|
||||
deps-binding: ruby
|
||||
everything: deps-core deps-binding
|
||||
everything: deps-core deps-binding
|
||||
|
|
File diff suppressed because it is too large
Load diff
Binary file not shown.
104
src/meson.build
104
src/meson.build
|
@ -36,7 +36,18 @@ endif
|
|||
|
||||
global_args += '-DALCDEVICE_STRUCT=' + alcdev_struct
|
||||
|
||||
global_include_dirs += include_directories('.')
|
||||
|
||||
global_include_dirs += include_directories('.',
|
||||
'audio',
|
||||
'crypto',
|
||||
'display', 'display/gl',
|
||||
'etc',
|
||||
'filesystem',
|
||||
'input',
|
||||
'system',
|
||||
'util'
|
||||
)
|
||||
|
||||
global_dependencies += [sigcxx, openal, zlib, pixman, physfs, vorbisfile, sdl2, sdl2_ttf, sdl2_image]
|
||||
if host_system == 'darwin'
|
||||
global_dependencies += compilers['cpp'].find_library('iconv')
|
||||
|
@ -65,52 +76,57 @@ endif
|
|||
|
||||
main_source = files(
|
||||
'main.mm',
|
||||
'audio.cpp',
|
||||
'bitmap.cpp',
|
||||
'eventthread.cpp',
|
||||
'filesystem.mm',
|
||||
'font.cpp',
|
||||
'input.cpp',
|
||||
'plane.cpp',
|
||||
'scene.cpp',
|
||||
'sprite.cpp',
|
||||
'table.cpp',
|
||||
'tilequad.cpp',
|
||||
'viewport.cpp',
|
||||
'window.cpp',
|
||||
'texpool.cpp',
|
||||
'shader.cpp',
|
||||
'glstate.cpp',
|
||||
'tilemap.cpp',
|
||||
'autotiles.cpp',
|
||||
'graphics.cpp',
|
||||
'gl-debug.cpp',
|
||||
'etc.cpp',
|
||||
'config.mm',
|
||||
'eventthread.cpp',
|
||||
'settingsmenu.cpp',
|
||||
'keybindings.cpp',
|
||||
'tileatlas.cpp',
|
||||
'sharedstate.cpp',
|
||||
'gl-fun.cpp',
|
||||
'gl-meta.cpp',
|
||||
'vertex.cpp',
|
||||
'soundemitter.cpp',
|
||||
'sdlsoundsource.cpp',
|
||||
'alstream.cpp',
|
||||
'audiostream.cpp',
|
||||
'vorbissource.cpp',
|
||||
'windowvx.cpp',
|
||||
'tilemapvx.cpp',
|
||||
'tileatlasvx.cpp',
|
||||
'autotilesvx.cpp',
|
||||
'midisource.cpp',
|
||||
'fluid-fun.cpp',
|
||||
'lang-fun.mm',
|
||||
'rgssad.cpp'
|
||||
|
||||
'audio/alstream.cpp',
|
||||
'audio/audio.cpp',
|
||||
'audio/audiostream.cpp',
|
||||
'audio/fluid-fun.cpp',
|
||||
'audio/midisource.cpp',
|
||||
'audio/sdlsoundsource.cpp',
|
||||
'audio/soundemitter.cpp',
|
||||
'audio/vorbissource.cpp',
|
||||
|
||||
'crypto/rgssad.cpp',
|
||||
|
||||
'display/autotiles.cpp',
|
||||
'display/autotilesvx.cpp',
|
||||
'display/bitmap.cpp',
|
||||
'display/font.cpp',
|
||||
'display/graphics.cpp',
|
||||
'display/plane.cpp',
|
||||
'display/sprite.cpp',
|
||||
'display/tilemap.cpp',
|
||||
'display/tilemapvx.cpp',
|
||||
'display/viewport.cpp',
|
||||
'display/window.cpp',
|
||||
'display/windowvx.cpp',
|
||||
|
||||
'display/gl/gl-debug.cpp',
|
||||
'display/gl/gl-fun.cpp',
|
||||
'display/gl/gl-meta.cpp',
|
||||
'display/gl/glstate.cpp',
|
||||
'display/gl/scene.cpp',
|
||||
'display/gl/shader.cpp',
|
||||
'display/gl/texpool.cpp',
|
||||
'display/gl/tileatlas.cpp',
|
||||
'display/gl/tileatlasvx.cpp',
|
||||
'display/gl/tilequad.cpp',
|
||||
'display/gl/vertex.cpp',
|
||||
|
||||
'etc/etc.cpp',
|
||||
'etc/table.cpp',
|
||||
|
||||
'filesystem/filesystem.mm',
|
||||
|
||||
'input/input.cpp',
|
||||
'input/keybindings.cpp',
|
||||
|
||||
'system/fake-api.mm',
|
||||
'system/lang-fun.mm'
|
||||
)
|
||||
|
||||
if get_option('easypoke') == true and miniffi == true
|
||||
main_source += files('fake-api.mm')
|
||||
endif
|
||||
|
||||
global_sources += main_source
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue