Tidied headers.
This commit is contained in:
parent
18fa11d278
commit
6b246971b3
|
@ -27,7 +27,6 @@ extern void playMusic(int loop);
|
||||||
extern int isPlayingMusic(void);
|
extern int isPlayingMusic(void);
|
||||||
extern float limit(float i, float a, float b);
|
extern float limit(float i, float a, float b);
|
||||||
extern double randF(void);
|
extern double randF(void);
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern void playBattleSound(int snd, int ch, int x, int y);
|
extern void playBattleSound(int snd, int ch, int x, int y);
|
||||||
extern Bullet *createBaseBullet(Unit *owner);
|
extern Bullet *createBaseBullet(Unit *owner);
|
||||||
extern Sprite *getSprite(char *name);
|
extern Sprite *getSprite(char *name);
|
||||||
|
|
|
@ -31,7 +31,6 @@ extern int getDistance(int x1, int y1, int x2, int y2);
|
||||||
extern int enemyCanSeePlayer(Entity *e);
|
extern int enemyCanSeePlayer(Entity *e);
|
||||||
extern void updateObjective(char *targetName);
|
extern void updateObjective(char *targetName);
|
||||||
extern double randF(void);
|
extern double randF(void);
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern Bullet *createBaseBullet(Unit *owner);
|
extern Bullet *createBaseBullet(Unit *owner);
|
||||||
extern void getSlope(int x1, int y1, int x2, int y2, float *dx, float *dy);
|
extern void getSlope(int x1, int y1, int x2, int y2, float *dx, float *dy);
|
||||||
extern void addExplosion(float x, float y, int radius, Entity *owner);
|
extern void addExplosion(float x, float y, int radius, Entity *owner);
|
||||||
|
|
|
@ -29,7 +29,6 @@ extern int rrnd(int low, int high);
|
||||||
extern int getDistance(int x1, int y1, int x2, int y2);
|
extern int getDistance(int x1, int y1, int x2, int y2);
|
||||||
extern int enemyCanSeePlayer(Entity *e);
|
extern int enemyCanSeePlayer(Entity *e);
|
||||||
extern void updateObjective(char *targetName);
|
extern void updateObjective(char *targetName);
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern Bullet *createBaseBullet(Unit *owner);
|
extern Bullet *createBaseBullet(Unit *owner);
|
||||||
extern void getSlope(int x1, int y1, int x2, int y2, float *dx, float *dy);
|
extern void getSlope(int x1, int y1, int x2, int y2, float *dx, float *dy);
|
||||||
extern void addExplosion(float x, float y, int radius, Entity *owner);
|
extern void addExplosion(float x, float y, int radius, Entity *owner);
|
||||||
|
|
|
@ -20,7 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "../../common.h"
|
#include "../../common.h"
|
||||||
|
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern void initEntity(Entity *e);
|
extern void initEntity(Entity *e);
|
||||||
extern void addSmallFleshChunk(float x, float y);
|
extern void addSmallFleshChunk(float x, float y);
|
||||||
extern void addSparkParticles(float x, float y);
|
extern void addSparkParticles(float x, float y);
|
||||||
|
|
|
@ -20,7 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "../../common.h"
|
#include "../../common.h"
|
||||||
|
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern void initGrenade(Bullet *b);
|
extern void initGrenade(Bullet *b);
|
||||||
extern void addSmallFleshChunk(float x, float y);
|
extern void addSmallFleshChunk(float x, float y);
|
||||||
extern void addSparkParticles(float x, float y);
|
extern void addSparkParticles(float x, float y);
|
||||||
|
|
|
@ -20,7 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "../../common.h"
|
#include "../../common.h"
|
||||||
|
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern int rrnd(int low, int high);
|
extern int rrnd(int low, int high);
|
||||||
extern void initLaser(Bullet *b);
|
extern void initLaser(Bullet *b);
|
||||||
extern void addSmallFleshChunk(float x, float y);
|
extern void addSmallFleshChunk(float x, float y);
|
||||||
|
|
|
@ -26,7 +26,6 @@ extern double randF(void);
|
||||||
extern void throwFleshChunks(float x, float y, int amount);
|
extern void throwFleshChunks(float x, float y, int amount);
|
||||||
extern void addRandomWeapon(int x, int y);
|
extern void addRandomWeapon(int x, int y);
|
||||||
extern float limit(float i, float a, float b);
|
extern float limit(float i, float a, float b);
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern void addBloodDecal(int x, int y);
|
extern void addBloodDecal(int x, int y);
|
||||||
extern void updateObjective(char *targetName);
|
extern void updateObjective(char *targetName);
|
||||||
extern int enemyCanSeePlayer(Entity *e);
|
extern int enemyCanSeePlayer(Entity *e);
|
||||||
|
|
|
@ -25,7 +25,6 @@ extern int getDistance(int x1, int y1, int x2, int y2);
|
||||||
extern double randF(void);
|
extern double randF(void);
|
||||||
extern void addRandomWeapon(int x, int y);
|
extern void addRandomWeapon(int x, int y);
|
||||||
extern float limit(float i, float a, float b);
|
extern float limit(float i, float a, float b);
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern void updateObjective(char *targetName);
|
extern void updateObjective(char *targetName);
|
||||||
extern int enemyCanSeePlayer(Entity *e);
|
extern int enemyCanSeePlayer(Entity *e);
|
||||||
extern void fireTriggers(char *name);
|
extern void fireTriggers(char *name);
|
||||||
|
|
|
@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
extern Structure *createStructure(void);
|
extern Structure *createStructure(void);
|
||||||
extern Sprite *getSprite(char *name);
|
extern Sprite *getSprite(char *name);
|
||||||
extern void activateEntities(char *names, int activate);
|
extern void activateEntities(char *names, int activate);
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern void playBattleSound(int snd, int ch, int x, int y);
|
extern void playBattleSound(int snd, int ch, int x, int y);
|
||||||
|
|
||||||
extern Entity *self;
|
extern Entity *self;
|
||||||
|
|
|
@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include "../../common.h"
|
#include "../../common.h"
|
||||||
#include "../../json/cJSON.h"
|
#include "../../json/cJSON.h"
|
||||||
|
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern void addTeleportStars(Entity *e);
|
extern void addTeleportStars(Entity *e);
|
||||||
extern Structure *createStructure(void);
|
extern Structure *createStructure(void);
|
||||||
extern Sprite *getSprite(char *name);
|
extern Sprite *getSprite(char *name);
|
||||||
|
|
|
@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include "../../common.h"
|
#include "../../common.h"
|
||||||
#include "../../json/cJSON.h"
|
#include "../../json/cJSON.h"
|
||||||
|
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern void addTeleporterEffect(float x, float y);
|
extern void addTeleporterEffect(float x, float y);
|
||||||
extern void teleportEntity(Entity *e, float tx, float ty);
|
extern void teleportEntity(Entity *e, float tx, float ty);
|
||||||
extern void observeActivation(Entity *e);
|
extern void observeActivation(Entity *e);
|
||||||
|
|
|
@ -31,7 +31,6 @@ extern void stunBob(void);
|
||||||
extern void addSparkParticles(float x, float y);
|
extern void addSparkParticles(float x, float y);
|
||||||
extern void addSmallFleshChunk(float x, float y);
|
extern void addSmallFleshChunk(float x, float y);
|
||||||
extern void swapSelf(Entity *e);
|
extern void swapSelf(Entity *e);
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern void playBattleSound(int snd, int ch, int x, int y);
|
extern void playBattleSound(int snd, int ch, int x, int y);
|
||||||
|
|
||||||
extern Entity *self;
|
extern Entity *self;
|
||||||
|
|
|
@ -34,7 +34,6 @@ extern void fireLaser(Entity *e);
|
||||||
extern void fireShotgun(Entity *e);
|
extern void fireShotgun(Entity *e);
|
||||||
extern void fireMissile(Entity *e);
|
extern void fireMissile(Entity *e);
|
||||||
extern void addTeleportStars(Entity *e);
|
extern void addTeleportStars(Entity *e);
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern void playBattleSound(int snd, int ch, int x, int y);
|
extern void playBattleSound(int snd, int ch, int x, int y);
|
||||||
|
|
||||||
extern Entity *self;
|
extern Entity *self;
|
||||||
|
|
|
@ -37,7 +37,6 @@ extern void clearControls(void);
|
||||||
extern void restoreGameState(void);
|
extern void restoreGameState(void);
|
||||||
extern void initWorld(void);
|
extern void initWorld(void);
|
||||||
extern void initTitle(void);
|
extern void initTitle(void);
|
||||||
extern void awardTrophy(char *id);
|
|
||||||
|
|
||||||
extern App app;
|
extern App app;
|
||||||
extern Colors colors;
|
extern Colors colors;
|
||||||
|
|
|
@ -27,6 +27,5 @@ extern void saveGame(void);
|
||||||
extern void initOptions(void);
|
extern void initOptions(void);
|
||||||
extern void createScreenshotFolder(void);
|
extern void createScreenshotFolder(void);
|
||||||
|
|
||||||
extern App app;
|
|
||||||
extern Dev dev;
|
extern Dev dev;
|
||||||
extern Game game;
|
extern Game game;
|
||||||
|
|
|
@ -28,7 +28,6 @@ extern void blitRect(SDL_Texture *texture, int x, int y, SDL_Rect *srcRect, int
|
||||||
extern void addTeleportStars(Entity *e);
|
extern void addTeleportStars(Entity *e);
|
||||||
extern void removeFromQuadtree(Entity *e, Quadtree *root);
|
extern void removeFromQuadtree(Entity *e, Quadtree *root);
|
||||||
extern Sprite *getSprite(char *name);
|
extern Sprite *getSprite(char *name);
|
||||||
extern void playSound(int snd, int ch);
|
|
||||||
extern void addTeleportStar(float x, float y);
|
extern void addTeleportStar(float x, float y);
|
||||||
extern int collision(int x1, int y1, int w1, int h1, int x2, int y2, int w2, int h2);
|
extern int collision(int x1, int y1, int w1, int h1, int x2, int y2, int w2, int h2);
|
||||||
extern int getDistance(int x1, int y1, int x2, int y2);
|
extern int getDistance(int x1, int y1, int x2, int y2);
|
||||||
|
|
|
@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
extern void quitMission(void);
|
extern void quitMission(void);
|
||||||
extern void autoCompleteMission(void);
|
extern void autoCompleteMission(void);
|
||||||
extern Entity **getAllEntsWithin(int x, int y, int w, int h, Entity *ignore);
|
|
||||||
|
|
||||||
extern App app;
|
extern App app;
|
||||||
extern Dev dev;
|
extern Dev dev;
|
||||||
|
|
|
@ -37,7 +37,6 @@ extern void doLocationTriggers(void);
|
||||||
extern void dropCarriedItems(void);
|
extern void dropCarriedItems(void);
|
||||||
extern void playSound(int snd, int ch);
|
extern void playSound(int snd, int ch);
|
||||||
extern void initEnding(void);
|
extern void initEnding(void);
|
||||||
extern void initTitle(void);
|
|
||||||
extern float cameraChase(Entity *e, int maxSpeed);
|
extern float cameraChase(Entity *e, int maxSpeed);
|
||||||
extern int rrnd(int low, int high);
|
extern int rrnd(int low, int high);
|
||||||
extern void hideAllWidgets(void);
|
extern void hideAllWidgets(void);
|
||||||
|
|
Loading…
Reference in New Issue