diff --git a/src/entities/entities.h b/src/entities/entities.h index bc2d872..e696d2a 100644 --- a/src/entities/entities.h +++ b/src/entities/entities.h @@ -20,11 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "../common.h" -extern Sprite *getSpriteByIndex(int x); -extern float wrap(float value, float low, float high); extern void addTeleportStars(Entity *e); -extern void unitReappear(void); -extern void playSound(int snd, int ch); extern Entity *self; extern Game game; diff --git a/src/main.h b/src/main.h index fd7afdb..6d2a9ad 100644 --- a/src/main.h +++ b/src/main.h @@ -27,7 +27,6 @@ extern void initGameSystem(void); extern void handleInput(void); extern void prepareScene(void); extern void presentScene(void); -extern void initTitle(void); extern void initAtlasTest(void); App app; diff --git a/src/test/atlasTest.h b/src/test/atlasTest.h index cf76c18..3c0bc7f 100644 --- a/src/test/atlasTest.h +++ b/src/test/atlasTest.h @@ -22,8 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern Atlas *getImageFromAtlas(char *filename); extern Texture *getTexture(const char *filename); -extern void blit(SDL_Texture *texture, int x, int y, int center); extern void blitRect(SDL_Texture *texture, int x, int y, SDL_Rect *srcRect, int center); -extern void drawLine(int x1, int y1, int x2, int y2, int r, int g, int b, int a); extern App app; diff --git a/tools/tidyHeaders.sh b/tools/tidyHeaders.sh index 9d2dc53..3c8ec69 100755 --- a/tools/tidyHeaders.sh +++ b/tools/tidyHeaders.sh @@ -89,7 +89,7 @@ function cleanHeader($headerFile) $externs[] = $extern; - if (!preg_match_all("/\b${extern}[\\.\\-\\)]/", $body)) + if (!preg_match_all("/\b${extern}[\\.\\-\\);]/", $body)) { if (!$hasChanges) {