Add default config values, Update px size on map load

This commit is contained in:
jonny_jr9
2023-12-09 18:28:39 +01:00
parent 92c47929b3
commit 859b4c99b2
3 changed files with 34 additions and 2 deletions

View File

@@ -33,6 +33,10 @@ typedef struct map_t {
} map_t;
// calculates width in pixels of one block in the SDL window according to currently loaded map and configured window size and updates the config.
void updateBlockSizePx();
// search and load map by name in storedMaps[] (map.c)
// stops program when map not found!
void loadMapByName(char *name);