This commit is contained in:
Steve 2018-02-18 11:53:10 +00:00
parent 9f8ef4ad42
commit 299b15dac5
3 changed files with 3 additions and 8 deletions

View File

@ -21,13 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "../common.h" #include "../common.h"
extern void initWorld(void); extern void initWorld(void);
extern void initMap(void);
extern void initHub(void); extern void initHub(void);
extern void initEntities(void);
extern void loadWorld(char *id);
extern void saveConfig(void);
extern void loadGame(void); extern void loadGame(void);
extern void saveGame(void);
extern void awardTrophy(char *id);
extern Dev dev; extern Dev dev;

View File

@ -34,6 +34,9 @@ void initObjectives(void)
isReturnVisit = world.currentStatus == MS_PARTIAL || world.currentStatus == MS_MISSING_HEART_CELL; isReturnVisit = world.currentStatus == MS_PARTIAL || world.currentStatus == MS_MISSING_HEART_CELL;
missingHeartCell = world.currentStatus == MS_MISSING_HEART_CELL; missingHeartCell = world.currentStatus == MS_MISSING_HEART_CELL;
SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "isReturnVisit = %d", isReturnVisit);
SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "missingHeartCell = %d", missingHeartCell);
for (o = world.objectiveHead.next ; o != NULL ; o = o->next) for (o = world.objectiveHead.next ; o != NULL ; o = o->next)
{ {

View File

@ -86,8 +86,6 @@ extern void destroyQuadtree(void);
extern void loadWorld(char *id); extern void loadWorld(char *id);
extern void initMap(void); extern void initMap(void);
extern void initEntities(void); extern void initEntities(void);
extern void saveGame(void);
extern void saveWorld(void);
extern void initPostMission(void); extern void initPostMission(void);
extern void addKeysFromStash(void); extern void addKeysFromStash(void);