Daniel Evans
613d386488
Improve Menu system implementation
2016-10-24 21:29:41 +01:00
Daniel Evans
6a7802de87
Overhaul State and StateManager to remove pointers
...
Removed raw State pointers in favour of unique_ptrs
Avoid allowing control flow to re-enter States that have exited
Defer releasing states until the end of the frame
2016-10-24 21:29:40 +01:00
Daniel Evans
ad998e8a80
Avoid allocating RWGame members where possible
...
These objects don't need to be dynamically allocated, they can
take on the same lifetime as RWGame itself.
2016-10-19 22:34:51 +01:00
Daniel Evans
a403cc87b7
clang-format files in rwgame/states
2016-09-09 21:13:20 +01:00
Daniel Evans
398e184cd6
Use GameString in RWGame, using localised strings.
...
This adds:
- Localised GameStrings in the menus, replacing hard-coded strings
- Changes the default menu font to match the game
2016-08-23 00:05:25 +01:00
Daniel Evans
3123571894
Convert save games to use GameStringChar
2016-08-23 00:05:18 +01:00
Daniel Evans
a0b995c97e
Move game state classes into states folder
2016-08-07 14:32:22 +01:00