From 374ca825ce33465afb56b543d6e3cb06c978b818 Mon Sep 17 00:00:00 2001 From: Steve Date: Tue, 24 Nov 2015 07:16:12 +0000 Subject: [PATCH] Code clean up. --- data/widgets/galacticMap.json | 1 - src/battle/items.h | 2 -- src/battle/player.h | 1 - src/system/widgets.h | 1 - 4 files changed, 5 deletions(-) diff --git a/data/widgets/galacticMap.json b/data/widgets/galacticMap.json index 0fa2b92..c510270 100644 --- a/data/widgets/galacticMap.json +++ b/data/widgets/galacticMap.json @@ -39,5 +39,4 @@ "w" : 200, "h": 34 } - ] diff --git a/src/battle/items.h b/src/battle/items.h index bb2da56..f30437e 100644 --- a/src/battle/items.h +++ b/src/battle/items.h @@ -26,8 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern char *readFile(char *filename); extern SDL_Texture *getTexture(char *filename); -extern long lookup(char *name); -extern long flagsToLong(char *flags); extern Entity *spawnEntity(void); extern Entity **getAllEntsWithin(int x, int y, int w, int h, Entity *ignore); extern int collision(int x1, int y1, int w1, int h1, int x2, int y2, int w2, int h2); diff --git a/src/battle/player.h b/src/battle/player.h index eb0f9f1..c353682 100644 --- a/src/battle/player.h +++ b/src/battle/player.h @@ -29,7 +29,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern void fireGuns(Entity *owner); extern void fireMissile(Entity *owner); extern void applyFighterThrust(void); -extern void applyFighterBrakes(void); extern int getDistance(int x1, int y1, int x2, int y2); extern void addHudMessage(SDL_Color c, char *format, ...); extern int mod(int n, int x); diff --git a/src/system/widgets.h b/src/system/widgets.h index 5e198d4..7bbf529 100644 --- a/src/system/widgets.h +++ b/src/system/widgets.h @@ -27,7 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern void drawText(int x, int y, int size, int align, SDL_Color c, const char *format, ...); extern char *readFile(char *filename); extern long lookup(char *name); -extern int getDistance(int x1, int y1, int x2, int y2); extern int mod(int n, int x); extern void blit(SDL_Texture *texture, int x, int y, int centered); extern SDL_Texture *getTexture(char *filename);