File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2525*/
2626#define SDL_MAIN_USE_CALLBACKS
2727#include < SDL3/SDL_main.h>
28+ #include < SDL3/SDL_log.h>
2829#include < time.h>
2930#include < stdio.h>
3031#include " main.hpp"
@@ -38,7 +39,7 @@ bool newGame=false;
3839SaveGame saveGame;
3940UserPref userPref;
4041UmbraEngine engine (" ./data/cfg/umbra.txt" ,UMBRA_REGISTER_ALL);
41- TCODImage background (0 , 0 ); // Unused
42+ TCODImage background (0 , 0 ); // Unused, "./data/img/background.png" missing
4243TCODParser config;
4344
4445HDRColor getHDRColorProperty (const TCODParser &parser,const char *name) {
@@ -163,6 +164,7 @@ SDL_AppResult SDL_AppEvent(void*, SDL_Event* event) { return engine.onEvent(*eve
163164SDL_AppResult SDL_AppIterate (void *) { return engine.onFrame (); }
164165
165166SDL_AppResult SDL_AppInit (void **, int argc, char ** argv) {
167+ SDL_SetLogPriorities (SDL_LOG_PRIORITY_VERBOSE);
166168 // read main configuration file
167169 config.run (" data/cfg/config.txt" ,NULL );
168170 ConditionType::init ();
You can’t perform that action at this time.
0 commit comments