Flesh out the GameState::game_state_load, adding in the ability for player to load their save file.
This should display a nice title that says Load Game or something similar at the top of the screen.
Should search the 'save' folder in project's root folder for all .sav files, and print the names (character names) of the files without the file extension.
Player should be able to type in the character name and load that save.
Should check for 'save' folder before trying to access, to protect against crashing, but no need to create one.
If no save file found, or save file is empty, simply print 'No save files found'
Note: The call for checking if folder exists should be abstracted to platform and platform_windows if they are not OS agnostic.
Flesh out the GameState::game_state_load, adding in the ability for player to load their save file.
This should display a nice title that says Load Game or something similar at the top of the screen. Should search the 'save' folder in project's root folder for all .sav files, and print the names (character names) of the files without the file extension. Player should be able to type in the character name and load that save. Should check for 'save' folder before trying to access, to protect against crashing, but no need to create one. If no save file found, or save file is empty, simply print 'No save files found'
Note: The call for checking if folder exists should be abstracted to platform and platform_windows if they are not OS agnostic.