Tidy headers.

This commit is contained in:
Steve 2018-01-28 12:31:12 +00:00
parent 3551865f96
commit 372f19df03
4 changed files with 1 additions and 8 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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)
{