9 #define GFILE_NEED_STDIO_MUST_BE_OFF
11 #include "../../gfx.h"
15 void _gosHeapInit(
void);
16 void _gosThreadsInit(
void);
28 #if !GFX_OS_INIT_NO_WARNING
29 #if GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_DIRECT
30 #warning "GOS: Raw32 - Make sure you initialize your hardware and the C runtime before calling gfxInit() in your application!"
31 #elif GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_MACRO
32 COMPILER_WARNING(
"GOS: Raw32 - Make sure you initialize your hardware and the C runtime before calling gfxInit() in your application!")
43 void _gosPostInit(
void)
60 #define _WIN32_WINNT 0x0501
62 #if GFX_COMPAT_V2 && GFX_COMPAT_OLDCOLORS
67 #define WIN32_LEAN_AND_MEAN
69 #undef WIN32_LEAN_AND_MEAN
70 #if GFX_COMPAT_V2 && GFX_COMPAT_OLDCOLORS
72 #define Green GFX_GREEN
87 fprintf(stderr,
"%s\n", msg);
gTicks gfxSystemTicks(void)
Get the current operating system tick time.
gTicks gfxMillisecondsToTicks(gDelay ms)
Convert a given number of millseconds to a number of operating system ticks.
void gfxExit(void)
Exit the GFX application.
void gfxHalt(const char *msg)
Halt the GFX application due to an error.