Tidied headers.
This commit is contained in:
parent
0df09f914a
commit
2eab687dec
|
@ -39,14 +39,10 @@ extern void playSound(int snd, int ch);
|
||||||
extern void addFlameParticles(float x, float y);
|
extern void addFlameParticles(float x, float y);
|
||||||
extern void throwFleshChunks(float x, float y, int amount);
|
extern void throwFleshChunks(float x, float y, int amount);
|
||||||
extern void firePistol(void);
|
extern void firePistol(void);
|
||||||
extern void fireAimedShot(Entity *e);
|
|
||||||
extern void fireMachineGun(Entity *e);
|
|
||||||
extern void fireGrenade(Entity *e);
|
extern void fireGrenade(Entity *e);
|
||||||
extern void firePlasma(Entity *e);
|
extern void firePlasma(Entity *e);
|
||||||
extern void fireSpread(Entity *e, int n);
|
extern void fireSpread(Entity *e, int n);
|
||||||
extern void fireLaser(Entity *e);
|
extern void fireLaser(Entity *e);
|
||||||
extern void fireShotgun(Entity *e);
|
|
||||||
extern void fireMissile(Entity *e);
|
|
||||||
extern void addTeleportStars(Entity *e);
|
extern void addTeleportStars(Entity *e);
|
||||||
|
|
||||||
extern Dev dev;
|
extern Dev dev;
|
||||||
|
|
|
@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include "../../common.h"
|
#include "../../common.h"
|
||||||
|
|
||||||
extern Unit *createUnit(void);
|
extern Unit *createUnit(void);
|
||||||
extern void unitTick(void);
|
|
||||||
extern Sprite *getSprite(char *name);
|
extern Sprite *getSprite(char *name);
|
||||||
extern int rrnd(int low, int high);
|
extern int rrnd(int low, int high);
|
||||||
extern Bullet *createBaseBullet(Unit *owner);
|
extern Bullet *createBaseBullet(Unit *owner);
|
||||||
|
|
|
@ -22,4 +22,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
extern void initEntity(Entity *e);
|
extern void initEntity(Entity *e);
|
||||||
|
|
||||||
extern World world;
|
|
||||||
|
|
|
@ -20,10 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "../common.h"
|
#include "../common.h"
|
||||||
|
|
||||||
extern Atlas *getImageFromAtlas(char *filename);
|
|
||||||
extern Texture *getTexture(const char *filename);
|
|
||||||
extern void blitRect(SDL_Texture *texture, int x, int y, SDL_Rect *srcRect, int center);
|
|
||||||
extern void loadMapData(char *filename);
|
|
||||||
extern void initMap(void);
|
extern void initMap(void);
|
||||||
extern void initHub(void);
|
extern void initHub(void);
|
||||||
extern void initGame(void);
|
extern void initGame(void);
|
||||||
|
|
|
@ -24,8 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
extern char *readFile(const char *filename);
|
extern char *readFile(const char *filename);
|
||||||
extern void loadSprite(cJSON *root);
|
extern void loadSprite(cJSON *root);
|
||||||
extern Entity *createEntity(char *typeStr);
|
extern Entity *createEntity(char *typeStr);
|
||||||
extern long lookup(const char *name);
|
|
||||||
extern void initBob(Bob *b);
|
|
||||||
|
|
||||||
extern Entity *self;
|
extern Entity *self;
|
||||||
extern World world;
|
extern World world;
|
||||||
|
|
Loading…
Reference in New Issue