Day 24 done.
This commit is contained in:
@@ -30,6 +30,9 @@ typedef struct sdl_sound_output {
|
||||
void *Samples;
|
||||
} sdl_sound_output;
|
||||
|
||||
/* NOTE: We choose 1024 only because MacOS's MAXPATHLEN says such a value.
|
||||
* For example, linux/limits.h PATH_MAX says 4096. */
|
||||
#define SDL_STATE_PATH_SIZE 1024
|
||||
typedef struct sdl_state {
|
||||
U64 TotalSize;
|
||||
void *GameMmemoryBlock;
|
||||
@@ -37,8 +40,12 @@ typedef struct sdl_state {
|
||||
S32 RecordingHandle;
|
||||
S32 InputRecordingIndex;
|
||||
|
||||
// NOTE: These functions might be NULL. Check before calling them!
|
||||
S32 PlaybackHandle;
|
||||
S32 InputPlayingIndex;
|
||||
|
||||
char EXEDirPath[SDL_STATE_PATH_SIZE];
|
||||
char DLLPath[SDL_STATE_PATH_SIZE];
|
||||
} sdl_state;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user