Fixed a bug in akgl_heap_next_string, made screen width and height load from properties, not on the game object
This commit is contained in:
@@ -31,8 +31,6 @@ typedef struct {
|
||||
char version[32];
|
||||
char name[256];
|
||||
char uri[256];
|
||||
int16_t screenwidth;
|
||||
int16_t screenheight;
|
||||
akgl_GameState state;
|
||||
int16_t fps;
|
||||
SDL_Time gameStartTime;
|
||||
@@ -56,6 +54,7 @@ extern akgl_Game game;
|
||||
#define AKGL_BITMASK_CLEAR(x) x = 0;
|
||||
|
||||
akerr_ErrorContext AKERR_NOIGNORE *akgl_game_init();
|
||||
akerr_ErrorContext AKERR_NOIGNORE *akgl_game_init_screen();
|
||||
void akgl_game_updateFPS();
|
||||
akerr_ErrorContext AKERR_NOIGNORE *akgl_game_save(char *fpath);
|
||||
akerr_ErrorContext AKERR_NOIGNORE *akgl_game_load(char *fpath);
|
||||
|
||||
Reference in New Issue
Block a user