Tidy headers.
This commit is contained in:
parent
3551865f96
commit
372f19df03
|
@ -20,11 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "../common.h"
|
#include "../common.h"
|
||||||
|
|
||||||
extern Sprite *getSpriteByIndex(int x);
|
|
||||||
extern float wrap(float value, float low, float high);
|
|
||||||
extern void addTeleportStars(Entity *e);
|
extern void addTeleportStars(Entity *e);
|
||||||
extern void unitReappear(void);
|
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
|
|
||||||
extern Entity *self;
|
extern Entity *self;
|
||||||
extern Game game;
|
extern Game game;
|
||||||
|
|
|
@ -27,7 +27,6 @@ extern void initGameSystem(void);
|
||||||
extern void handleInput(void);
|
extern void handleInput(void);
|
||||||
extern void prepareScene(void);
|
extern void prepareScene(void);
|
||||||
extern void presentScene(void);
|
extern void presentScene(void);
|
||||||
extern void initTitle(void);
|
|
||||||
extern void initAtlasTest(void);
|
extern void initAtlasTest(void);
|
||||||
|
|
||||||
App app;
|
App app;
|
||||||
|
|
|
@ -22,8 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
extern Atlas *getImageFromAtlas(char *filename);
|
extern Atlas *getImageFromAtlas(char *filename);
|
||||||
extern Texture *getTexture(const 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 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;
|
extern App app;
|
||||||
|
|
|
@ -89,7 +89,7 @@ function cleanHeader($headerFile)
|
||||||
|
|
||||||
$externs[] = $extern;
|
$externs[] = $extern;
|
||||||
|
|
||||||
if (!preg_match_all("/\b${extern}[\\.\\-\\)]/", $body))
|
if (!preg_match_all("/\b${extern}[\\.\\-\\);]/", $body))
|
||||||
{
|
{
|
||||||
if (!$hasChanges)
|
if (!$hasChanges)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue