a-game

2D platformer written from scratch.
git clone git://git.amin.space/a-game.git
Log | Files | Refs | README | LICENSE

platform_linux.h (511B)


      1 #define PLATFORM_SCR_WIDTH 595u
      2 #define PLATFORM_SCR_HEIGHT 238u
      3 
      4 internal void error_callback(int error, const char* description);
      5 internal PLATFORM_READ_ENTIRE_FILE(linux_read_entire_file);
      6 PLATFORM_MEMORY_FREE(linux_memory_free);
      7 
      8 #ifdef PLATFORM_HOTLOAD_GAME_CODE
      9 #define PLATFORM_GAME_LIB_PATH "./out/release/game.so"
     10 internal time_t file_get_modified_time(char *file_path);
     11 internal void unload_game_code(struct GameCode *game_code);
     12 internal struct GameCode load_game_code(char *source_lib_path);
     13 #endif