mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 22:15:45 +01:00
code cleanup + add font support
This commit is contained in:
@@ -15,9 +15,14 @@ enum {
|
||||
ERROR_SDL_RENDERER = ERROR_SDL | 4,
|
||||
ERROR_SDL_RENDERER_INIT = ERROR_SDL_RENDERER | ERROR_INIT,
|
||||
|
||||
|
||||
// audio errors
|
||||
ERROR_SDL_AUDIO = ERROR_SDL | 8,
|
||||
ERROR_SDL_AUDIO_INIT = ERROR_SDL_AUDIO | ERROR_INIT,
|
||||
|
||||
// font errors
|
||||
ERROR_SDL_FONT = ERROR_SDL | 16,
|
||||
ERROR_SDL_FONT_INIT = ERROR_SDL_FONT | ERROR_INIT,
|
||||
};
|
||||
|
||||
// call when a fatal error has occurred, the program will immediately terminate when called
|
||||
|
||||
Reference in New Issue
Block a user