Update map

This commit is contained in:
Miloslav Číž 2020-08-09 16:01:21 +02:00
parent 2d55bb7ad2
commit 6b8cf3905c
3 changed files with 11 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

7
main.c
View File

@ -1186,7 +1186,12 @@ void SFG_initPlayer()
SFG_player.health = SFG_PLAYER_START_HEALTH; SFG_player.health = SFG_PLAYER_START_HEALTH;
SFG_player.cards = 0; SFG_player.cards =
#if SFG_UNLOCK_DOOR
255;
#else
0;
#endif
SFG_player.justTeleported = 0; SFG_player.justTeleported = 0;

View File

@ -261,4 +261,9 @@
*/ */
#define SFG_REVEAL_MAP 1 #define SFG_REVEAL_MAP 1
/**
Gives player all keys from start.
*/
#define SFG_UNLOCK_DOOR 1
#endif // guard #endif // guard