RL.config and InitWindow.

This commit is contained in:
jussi
2024-11-21 23:25:28 +02:00
parent d96e33bb17
commit c9ebe23d62
23 changed files with 189 additions and 221 deletions

View File

@@ -6,14 +6,12 @@
typedef struct {
char* basePath;
bool hasWindow;
bool run;
bool gcUnload;
int lineSpacing; /* We need to store copy here since raylib has it in static. */
Vector2 mouseOffset;
Vector2 mouseScale;
lua_State* luaState;
Vector2 resolution;
int logLevelInvalid;
Font defaultFont;
Font guiFont;
@@ -50,5 +48,6 @@ typedef struct {
extern State* state;
bool stateInit( int argn, const char** argc, const char* basePath );
void stateContextInit();
void stateInitInterpret( int argn, const char** argc );
void stateFree();