}
TEMP_STATUS_UNLOCK( &vg.sl_status );
+
+ vg.client_has_control = 1;
}
#ifdef VG_CUSTOM_SHADERS
static void _vg_load_full( void *data )
{
+vg_info(" Copyright . . . -----, ,----- ,---. .---. \n" );
+vg_info(" 2021-2024 |\\ /| | / | | | | /| \n" );
+vg_info(" | \\ / | +-- / +----- +---' | / | \n" );
+vg_info(" | \\ / | | / | | \\ | / | \n" );
+vg_info(" | \\/ | | / | | \\ | / | \n" );
+vg_info(" ' ' '--' [] '----- '----- ' ' '---' "
+ "SOFTWARE\n" );
+
vg_preload();
vg_tex2d_replace_with_error_async( &vg.tex_missing );
vg_async_stall();
/* Engine sync */
SDL_Window *window;
SDL_GLContext gl_context;
- SDL_sem *sem_loader; /* allows only one loader at a time */
+ SDL_sem *sem_loader; /* allows only one loader at a time */
+
+ bool client_has_control; /* [T0] If 0: VG will display a loader screen
+ If 1: The game is responsible for
+ drawing everything.
+ This can be set back to 0 after vg_load is
+ complete to blinder the client
+ Not recommended! */
SDL_threadID thread_id_main,
thread_id_loader;