move subsystems to sub dirs
This commit is contained in:
parent
1af4e20b07
commit
568cb0c1ab
@ -13,7 +13,8 @@
|
||||
#include "base_snc.c"
|
||||
|
||||
#if PlatformIsWindows
|
||||
# include "win32/base_win32.c"
|
||||
#include "win32/base_win32_job.c"
|
||||
#include "win32/base_win32_entry.c"
|
||||
#else
|
||||
# error Base layer platform backend not implemented
|
||||
#endif
|
||||
|
||||
@ -32,7 +32,8 @@ inline void StartupBaseDeps(void)
|
||||
# include "base_incbin.h"
|
||||
# include "base_entry.h"
|
||||
#if PlatformIsWindows
|
||||
# include "win32/base_win32.h"
|
||||
# include "win32/base_win32_job.h"
|
||||
# include "win32/base_win32_entry.h"
|
||||
#endif
|
||||
void BaseMain(void);
|
||||
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
#include "base_win32.h"
|
||||
|
||||
#include "base_win32_job.c"
|
||||
#include "base_win32_entry.c"
|
||||
@ -1,9 +0,0 @@
|
||||
#ifndef BASE_WIN32_H
|
||||
#define BASE_WIN32_H
|
||||
|
||||
#include "../base.h"
|
||||
|
||||
#include "base_win32_job.h"
|
||||
#include "base_win32_entry.h"
|
||||
|
||||
#endif
|
||||
@ -4,7 +4,7 @@ extern "C"
|
||||
}
|
||||
|
||||
#if PlatformIsWindows
|
||||
# include "dxc_core_win32.cpp"
|
||||
# include "win32/dxc_win32.cpp"
|
||||
#else
|
||||
# error Dxc core not implemented for this platform
|
||||
#endif
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
#include "../kernel/kernel.h"
|
||||
|
||||
#if PlatformIsWindows
|
||||
# include "gpu_dx12.c"
|
||||
# include "dx12/gpu_dx12.c"
|
||||
#else
|
||||
# error Gpu layer not implemented for this platform
|
||||
#endif
|
||||
|
||||
@ -29,7 +29,7 @@ inline void GPU_StartupDeps(void)
|
||||
|
||||
#include "gpu_core.h"
|
||||
#if PlatformIsWindows
|
||||
# include "gpu_dx12.h"
|
||||
# include "dx12/gpu_dx12.h"
|
||||
#endif
|
||||
void GPU_Main(void);
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "mp3.h"
|
||||
|
||||
#if PlatformIsWindows
|
||||
# include "mp3_mmf.c"
|
||||
# include "mmf/mp3_mmf.c"
|
||||
#else
|
||||
# error Mp3 core not implemented for this platform
|
||||
#endif
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "playback.h"
|
||||
|
||||
#if PlatformIsWindows
|
||||
# include "playback_win32.c"
|
||||
# include "win32/playback_win32.c"
|
||||
#else
|
||||
# error Playback core not implemented for this platform
|
||||
#endif
|
||||
|
||||
@ -19,7 +19,7 @@ inline void PB_StartupDeps(void)
|
||||
|
||||
#include "playback_core.h"
|
||||
#if PlatformIsWindows
|
||||
# include "playback_win32.h"
|
||||
# include "win32/playback_win32.h"
|
||||
#endif
|
||||
void PB_Main(void);
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ extern "C"
|
||||
}
|
||||
|
||||
#if PlatformIsWindows
|
||||
# include "ttf_dwrite.cpp"
|
||||
# include "dwrite/ttf_dwrite.cpp"
|
||||
#else
|
||||
# error TTF not implemented for this platform
|
||||
#endif
|
||||
|
||||
@ -15,7 +15,7 @@ inline void TTF_StartupDeps(void)
|
||||
|
||||
#include "ttf_core.h"
|
||||
#if PlatformIsWindows
|
||||
# include "ttf_dwrite.h"
|
||||
# include "dwrite/ttf_dwrite.h"
|
||||
#endif
|
||||
void TTF_Main(void);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user