StartupCore -> Startup

This commit is contained in:
jacob 2025-08-25 18:19:44 -05:00
parent 2989e98d69
commit db8a9deba9
30 changed files with 31 additions and 31 deletions

View File

@ -1,5 +1,5 @@
// This is the includable header version of the base layer manifest.
// The base layer uses an includable header file rather than a '.lay' file so
// This is the includable version of the base layer manifest.
// The base layer uses an includable file rather than a '.lay' file so
// that it may be depended on by the metaprogram.
//- Api

View File

@ -3,7 +3,7 @@ D_SharedState D_shared_state = ZI;
////////////////////////////////
//~ Startup
void D_StartupCore(void)
void D_Startup(void)
{
__prof;
D_SharedState *g = &D_shared_state;

View File

@ -111,7 +111,7 @@ extern D_SharedState D_shared_state;
////////////////////////////////
//~ Startup
void D_StartupCore(void);
void D_Startup(void);
////////////////////////////////
//~ Material operations

View File

@ -14,4 +14,4 @@
@IncludeC draw.c
//- Init
@Startup D_StartupCore
@Startup D_Startup

View File

@ -265,7 +265,7 @@ Struct(GPU_MemoryInfo)
////////////////////////////////
//~ Startup
void GPU_StartupCore(void);
void GPU_Startup(void);
////////////////////////////////
//~ Rasterizer helpers

View File

@ -10,4 +10,4 @@
@DefaultWindowsImpl gpu_dx12
//- Startup
@Startup GPU_StartupCore
@Startup GPU_Startup

View File

@ -1,7 +1,7 @@
////////////////////////////////
//~ @hookdef Startup hook
void GPU_StartupCore(void)
void GPU_Startup(void)
{
}

View File

@ -19,7 +19,7 @@ MIX_SharedState M_shared_state = ZI;
////////////////////////////////
//~ Startup
void MIX_StartupCore(void)
void MIX_Startup(void)
{
__prof;
MIX_SharedState *g = &M_shared_state;

View File

@ -98,7 +98,7 @@ extern MIX_SharedState M_shared_state;
////////////////////////////////
//~ Startup
void MIX_StartupCore(void);
void MIX_Startup(void);
////////////////////////////////
//~ Track operations

View File

@ -11,4 +11,4 @@
@IncludeC mixer.c
//- Startup
@Startup MIX_StartupCore
@Startup MIX_Startup

View File

@ -304,7 +304,7 @@ Enum(P_MessageBoxKind)
////////////////////////////////
//~ @hookdecl Startup
void P_StartupCore(void);
void P_Startup(void);
////////////////////////////////
//~ @hookdecl Time helper operations

View File

@ -11,5 +11,5 @@
@DefaultWindowsImpl platform_win32
//- Startup
@Startup P_StartupCore
@Startup P_Startup
@Startup P_StartupLog

View File

@ -3,7 +3,7 @@ P_W32_SharedCtx P_W32_shared_ctx = ZI;
////////////////////////////////
//~ @hookdef Startup
void P_StartupCore(void)
void P_Startup(void)
{
P_W32_SharedCtx *g = &P_W32_shared_ctx;

View File

@ -1,3 +1,3 @@
#define PB_SampleRate 48000
void PB_StartupCore(void);
void PB_Startup(void);

View File

@ -11,4 +11,4 @@
@DefaultWindowsImpl playback_wasapi
//- Startup
@Startup PB_StartupCore
@Startup PB_Startup

View File

@ -9,7 +9,7 @@ PB_WSP_SharedState PB_WSP_shared_state = ZI;
////////////////////////////////
//~ Startup
void PB_StartupCore(void)
void PB_Startup(void)
{
__prof;
PB_WSP_SharedState *g = &PB_WSP_shared_state;

View File

@ -1,6 +1,6 @@
////////////////////////////////
//~ Startup
void RT_StartupCore(void)
void RT_Startup(void)
{
}

View File

@ -1,4 +1,4 @@
////////////////////////////////
//~ Startup
void RT_StartupCore(void);
void RT_Startup(void);

View File

@ -13,4 +13,4 @@
@IncludeC rendertest.c
//- Startup
@Startup RT_StartupCore
@Startup RT_Startup

View File

@ -3,7 +3,7 @@ RES_SharedState RES_shared_state = ZI;
////////////////////////////////
//~ Startup
void RES_StartupCore(void)
void RES_Startup(void)
{
__prof;
#if RESOURCES_EMBEDDED

View File

@ -34,7 +34,7 @@ extern RES_SharedState RES_shared_state;
////////////////////////////////
//~ Startup
void RES_StartupCore(void);
void RES_Startup(void);
////////////////////////////////
//~ Open / close

View File

@ -12,4 +12,4 @@
@IncludeC resource.c
//- Startup
@Startup RES_StartupCore
@Startup RES_Startup

View File

@ -3,7 +3,7 @@ S_SharedState S_shared_state = ZI;
////////////////////////////////
//~ Startup
void S_StartupCore(void)
void S_Startup(void)
{
__prof;
S_SharedState *g = &S_shared_state;

View File

@ -255,7 +255,7 @@ extern S_SharedState S_shared_state;
////////////////////////////////
//~ Startup
void S_StartupCore(void);
void S_Startup(void);
////////////////////////////////
//~ Shutdown

View File

@ -14,4 +14,4 @@
@IncludeC sprite.c
//- Startup
@Startup S_StartupCore
@Startup S_Startup

View File

@ -18,6 +18,6 @@ Struct(TTF_Result)
u32 *image_pixels; /* Array of [width * height] pixels */
};
void TTF_StartupCore(void);
void TTF_Startup(void);
TTF_Result TTF_Decode(Arena *arena, String encoded, f32 point_size, u32 *cache_codes, u32 cache_codes_count);

View File

@ -7,7 +7,7 @@ TTF_DW_SharedState TTF_DW_shared_state = ZI;
//~ @hookdef Startup
/* Call this during font system startup */
void TTF_StartupCore(void)
void TTF_Startup(void)
{
__prof;
TTF_DW_SharedState *g = &TTF_DW_shared_state;

View File

@ -3,7 +3,7 @@ W_SharedState W_shared_state = ZI;
////////////////////////////////
//~ Startup
void W_StartupCore(void)
void W_Startup(void)
{
W_SharedState *g = &W_shared_state;
g->watch = P_AcquireWatch(Lit("./"));

View File

@ -41,7 +41,7 @@ extern W_SharedState W_shared_state;
////////////////////////////////
//~ Startup
void W_StartupCore(void);
void W_Startup(void);
ExitFuncDef(W_Shutdown);
////////////////////////////////

View File

@ -10,4 +10,4 @@
@IncludeC watch.c
//- Startup
@Startup W_StartupCore
@Startup W_Startup