From 35b5e4a1c65a3cc71d8700779691820d45fd2e34 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 13 Mar 2016 10:52:12 +0000 Subject: [PATCH] Misc cleanup. --- data/challenges/08.json | 4 ++-- src/battle/ai.c | 2 +- src/battle/battle.h | 1 - src/system/init.h | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/data/challenges/08.json b/data/challenges/08.json index c88db75..38997bd 100644 --- a/data/challenges/08.json +++ b/data/challenges/08.json @@ -1,6 +1,6 @@ { - "name" : "Defend Jumpgate Point", - "description" : "Defend Jumpgate Point", + "name" : "Defend Jumpgate", + "description" : "Defend Jumpgate", "background" : "AUTO", "planet" : "AUTO", "music" : "AUTO", diff --git a/src/battle/ai.c b/src/battle/ai.c index 074f221..8cbdf27 100644 --- a/src/battle/ai.c +++ b/src/battle/ai.c @@ -65,7 +65,7 @@ void doAI(void) if ((self->aiFlags & AIF_GOAL_JUMPGATE) && nearJumpgate()) { - /* near jumpgate point, but you might decide to continue to fight, anyway */ + /* near jumpgate, but you might decide to continue to fight, anyway */ if ((self->aiFlags & AIF_COVERS_RETREAT) && rand() % 3) { return; diff --git a/src/battle/battle.h b/src/battle/battle.h index 0662b49..975a5bb 100644 --- a/src/battle/battle.h +++ b/src/battle/battle.h @@ -67,7 +67,6 @@ extern void initQuadtree(Quadtree *root); extern void initEffects(void); extern void doScript(void); extern void destroyScript(void); -extern void runScriptFunction(char *format, ...); extern void initMessageBox(void); extern void doMessageBox(void); extern void drawMessageBox(void); diff --git a/src/system/init.h b/src/system/init.h index 6d6dd05..5c14532 100644 --- a/src/system/init.h +++ b/src/system/init.h @@ -40,7 +40,6 @@ extern void loadCapitalShipDefs(void); extern void loadItemDefs(void); extern void initFonts(void); extern void initBulletDefs(void); -extern void initBattle(void); extern void initGame(void); extern void initStats(void); extern void initStarSystems(void);