Commit Graph

3 Commits

Author SHA1 Message Date
Adrian Conlon
e7d3c2ecb7 Use C++17 nodiscard attribute a little in the Game library 2021-12-08 19:46:19 +00:00
Adrian Conlon
89fae1cb6f Tidy the Gaming library a little:
*) Add an SDLWrapper class to control the lifetime of SDL_Init/SDL_Quit
*) Pass FPS as a float, rather than int
*) Allow the key and button handlers to show whether an event was handled or not
*) Add a full screen render option (F12)
*) Use smart pointers in the GameController class

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-10-01 23:54:48 +01:00
Adrian Conlon
4afe6b6378 For convenience, add a very lightweight SDL wrapper to the EightBit library.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-09-28 14:29:44 +01:00