Tidied all headers.

This commit is contained in:
Steve 2018-03-21 18:26:46 +00:00
parent 726243fcfe
commit 28f84f5236
106 changed files with 17 additions and 116 deletions

View File

@ -26,4 +26,3 @@ extern void getSlope(int x1, int y1, int x2, int y2, float *dx, float *dy);
extern int isSolid(int x, int y);
extern World world;

View File

@ -30,4 +30,3 @@ extern void stunBob(void);
extern void swapSelf(Entity *e);
extern Game game;

View File

@ -31,4 +31,3 @@ extern void playSound(int snd, int ch);
extern int rrnd(int low, int high);
extern World world;

View File

@ -53,4 +53,3 @@ extern App app;
extern Dev dev;
extern Game game;
extern World world;

View File

@ -32,4 +32,3 @@ extern void updateObjective(char *targetName);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -32,4 +32,3 @@ extern int rrnd(int low, int high);
extern Entity *self;
extern World world;

View File

@ -22,4 +22,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern Sprite *getSprite(char *name);
extern Boss *initBlobBoss(void);

View File

@ -40,4 +40,3 @@ extern void updateObjective(char *targetName);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -24,4 +24,3 @@ extern Sprite *getSprite(char *name);
extern void initEntity(Entity *e);
extern World world;

View File

@ -42,4 +42,3 @@ extern void updateObjective(char *targetName);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -22,4 +22,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern Sprite *getSprite(char *name);
extern Boss *initBlobBoss(void);

View File

@ -42,4 +42,3 @@ extern void updateObjective(char *targetName);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -27,4 +27,3 @@ extern int rrnd(int low, int high);
extern Entity *self;
extern World world;

View File

@ -31,4 +31,3 @@ extern Camera camera;
extern Entity *self;
extern Game game;
extern World world;

View File

@ -31,4 +31,3 @@ extern void swapSelf(Entity *e);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -31,4 +31,3 @@ extern void swapSelf(Entity *e);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -26,4 +26,3 @@ extern void initMissile(Bullet *b);
extern int rrnd(int low, int high);
extern Entity *self;

View File

@ -35,4 +35,3 @@ extern void updateObjective(char *targetName);
extern Dev dev;
extern Entity *self;
extern World world;

View File

@ -25,4 +25,3 @@ extern void addSmokeParticles(float x, float y, int rising);
extern void initEntity(Entity *e);
extern Entity *self;

View File

@ -26,4 +26,3 @@ extern void initEntity(Entity *e);
extern App app;
extern Entity *self;

View File

@ -22,4 +22,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern Entity *self;
extern World world;

View File

@ -75,4 +75,3 @@ extern Entity *initWhiteKeycard(void);
extern Entity *initYellowKeycard(void);
extern World world;

View File

@ -22,4 +22,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern Unit *createEvilBlob(void);
extern Sprite *getSprite(char *name);

View File

@ -41,4 +41,3 @@ extern Dev dev;
extern Entity *self;
extern Game game;
extern World world;

View File

@ -24,4 +24,3 @@ extern Unit *createEvilBlob(void);
extern Sprite *getSprite(char *name);
extern Entity *self;

View File

@ -24,4 +24,3 @@ extern Unit *createEvilBlob(void);
extern Sprite *getSprite(char *name);
extern Entity *self;

View File

@ -24,4 +24,3 @@ extern Unit *createEvilBlob(void);
extern Sprite *getSprite(char *name);
extern Entity *self;

View File

@ -22,4 +22,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern Unit *createEvilBlob(void);
extern Sprite *getSprite(char *name);

View File

@ -24,4 +24,3 @@ extern Unit *createEvilBlob(void);
extern Sprite *getSprite(char *name);
extern Entity *self;

View File

@ -22,4 +22,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern Unit *createEvilBlob(void);
extern Sprite *getSprite(char *name);

View File

@ -24,4 +24,3 @@ extern Unit *createEvilBlob(void);
extern Sprite *getSprite(char *name);
extern Entity *self;

View File

@ -41,4 +41,3 @@ extern Dev dev;
extern Entity *self;
extern Game game;
extern World world;

View File

@ -24,4 +24,3 @@ extern Unit *createEyeDroid(void);
extern Sprite *getSprite(char *name);
extern Entity *self;

View File

@ -24,4 +24,3 @@ extern Unit *createEyeDroid(void);
extern Sprite *getSprite(char *name);
extern Entity *self;

View File

@ -24,4 +24,3 @@ extern Unit *createEyeDroid(void);
extern Sprite *getSprite(char *name);
extern Entity *self;

View File

@ -22,4 +22,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern Unit *createEyeDroid(void);
extern Sprite *getSprite(char *name);

View File

@ -24,4 +24,3 @@ extern Unit *createEyeDroid(void);
extern Sprite *getSprite(char *name);
extern Entity *self;

View File

@ -22,4 +22,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern Unit *createEyeDroid(void);
extern Sprite *getSprite(char *name);

View File

@ -24,4 +24,3 @@ extern Unit *createEyeDroid(void);
extern Sprite *getSprite(char *name);
extern Entity *self;

View File

@ -29,4 +29,3 @@ extern int touchedPlayer(Entity *e);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -29,4 +29,3 @@ extern void updateHeartCellObjective(void);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -30,4 +30,3 @@ extern int touchedPlayer(Entity *other);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -23,4 +23,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern void initEntity(Entity *e);
extern Entity *self;

View File

@ -30,4 +30,3 @@ extern void updateHeartCellObjective(void);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -33,4 +33,3 @@ extern void updateObjective(char *targetName);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -21,4 +21,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "../../common.h"
extern Entity *createItem(void);

View File

@ -26,4 +26,3 @@ extern void teekaExitMission(void);
extern void updateObjective(char *targetName);
extern World world;

View File

@ -33,4 +33,3 @@ extern int touchedPlayer(Entity *e);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -31,4 +31,3 @@ extern int rrnd(int low, int high);
extern void updateObjective(char *targetName);
extern Entity *self;

View File

@ -28,4 +28,3 @@ extern void showInfoMessage(char *message);
extern Entity *self;
extern Game game;
extern World world;

View File

@ -31,4 +31,3 @@ extern void setGameplayMessage(int type, char *format, ...);
extern Dev dev;
extern Entity *self;

View File

@ -36,4 +36,3 @@ extern void setGameplayMessage(int type, char *format, ...);
extern Dev dev;
extern Entity *self;

View File

@ -29,4 +29,3 @@ extern void updateObjective(char *targetName);
extern Entity *self;
extern World world;

View File

@ -22,4 +22,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern Sprite *getSprite(char *name);
extern Entity *initDoor(void);

View File

@ -30,4 +30,3 @@ extern void setGameplayMessage(int type, char *format, ...);
extern void updateObjective(char *targetName);
extern Entity *self;

View File

@ -31,4 +31,3 @@ extern void observeActivation(Entity *e);
extern void setGameplayMessage(int type, char *format, ...);
extern Entity *self;

View File

@ -31,4 +31,3 @@ extern Dev dev;
extern Entity *self;
extern Game game;
extern World world;

View File

@ -27,4 +27,3 @@ extern void playSound(int snd, int ch);
extern Entity *self;
extern World world;

View File

@ -27,4 +27,3 @@ extern Sprite *getSprite(char *name);
extern void playBattleSound(int snd, int ch, int x, int y);
extern Entity *self;

View File

@ -28,4 +28,3 @@ extern void playBattleSound(int snd, int ch, int x, int y);
extern int rrnd(int low, int high);
extern Entity *self;

View File

@ -21,4 +21,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "../../common.h"
extern void initEntity(Entity *e);

View File

@ -31,4 +31,3 @@ extern void setGameplayMessage(int type, char *format, ...);
extern void teleportEntity(Entity *e, float tx, float ty);
extern Entity *self;

View File

@ -22,4 +22,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern Sprite *getSprite(char *name);
extern Entity *initLaserTrap(void);

View File

@ -35,4 +35,3 @@ extern void swapSelf(Entity *e);
extern Entity *self;
extern World world;

View File

@ -38,4 +38,3 @@ extern int rrnd(int low, int high);
extern Entity *self;
extern World world;

View File

@ -38,4 +38,3 @@ extern void startSectionTransition(void);
extern App app;
extern Colors colors;

View File

@ -36,4 +36,3 @@ extern void startSectionTransition(void);
extern App app;
extern Colors colors;

View File

@ -38,4 +38,3 @@ extern App app;
extern Entity *self;
extern Game game;
extern World world;

View File

@ -42,4 +42,3 @@ extern void startSectionTransition(void);
extern App app;
extern Colors colors;

View File

@ -40,4 +40,3 @@ extern char *timeToString(int seconds, int showHours);
extern App app;
extern Colors colors;
extern Game game;

View File

@ -29,6 +29,7 @@ enum
};
extern void blitRect(SDL_Texture *texture, int x, int y, SDL_Rect *srcRect, int center);
extern void deleteSaveSlot(int slot);
extern void destroyGame(void);
extern void doWidgets(void);
extern void drawText(int x, int y, int size, int align, SDL_Color c, const char *format, ...);
@ -53,9 +54,7 @@ extern void setSelectedWidget(char *name, char *group);
extern void showWidgetGroup(char *group);
extern void startSectionTransition(void);
extern void stopMusic(void);
extern void deleteSaveSlot(int slot);
extern App app;
extern Colors colors;
extern Game game;

View File

@ -48,4 +48,3 @@ extern char *timeToDate(long millis);
extern App app;
extern Colors colors;
extern Game game;

View File

@ -78,4 +78,3 @@ extern App app;
extern Colors colors;
extern Dev dev;
extern Game game;

View File

@ -42,4 +42,3 @@ extern App app;
extern Colors colors;
extern Game game;
extern World world;

View File

@ -27,4 +27,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern App app;
extern Dev dev;

View File

@ -26,4 +26,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern App app;
extern Dev dev;

View File

@ -23,4 +23,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern unsigned long hashcode(const char *str);
extern char *readFile(const char *filename);

View File

@ -23,4 +23,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define AXIS_MAX 32767
extern App app;

View File

@ -27,4 +27,3 @@ extern App app;
extern Colors colors;
extern Dev dev;
extern Game game;

View File

@ -24,4 +24,3 @@ Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
#endif
#define TABLE_SIZE 255

View File

@ -54,4 +54,3 @@ extern void setLanguage(char *applicationName, char *languageCode);
extern int writeFile(const char *filename, const char *data);
extern App app;

View File

@ -23,4 +23,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define MOUSE_DRAG_THRESHOLD 4
extern App app;

View File

@ -23,4 +23,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "sys/stat.h"
#include "dirent.h"
#include <zlib.h>

View File

@ -30,4 +30,3 @@ extern int getDistance(int x1, int y1, int x2, int y2);
extern char *getFileLocation(char *filename);
extern World world;

View File

@ -25,4 +25,3 @@ extern char **getFileList(const char *dir, int *count);
extern Atlas *getImageFromAtlas(char *filename);
extern char *readFile(const char *filename);
extern float wrap(float value, float low, float high);

View File

@ -28,4 +28,3 @@ extern unsigned long hashcode(const char *str);
extern App app;
extern Colors colors;

View File

@ -26,4 +26,3 @@ extern char *getFileLocation(const char *filename);
extern unsigned long hashcode(const char *str);
extern App app;

View File

@ -24,4 +24,3 @@ extern void clearInput(void);
extern void expireTexts(int all);
extern void prepareScene(void);
extern void presentScene(void);

View File

@ -40,4 +40,3 @@ extern void textSize(const char *text, int size, int *w, int *h);
extern App app;
extern Colors colors;

View File

@ -27,4 +27,3 @@ extern void loadGame(void);
extern void saveGame(void);
extern Game game;

View File

@ -24,4 +24,3 @@ extern float limit(float i, float a, float b);
extern Camera camera;
extern World world;

View File

@ -26,4 +26,3 @@ extern void initFleshChunk(Decoration *d);
extern int rrnd(int low, int high);
extern App app;

View File

@ -44,4 +44,3 @@ extern void terminateJetpack(void);
extern Camera camera;
extern Entity *self;
extern World world;

View File

@ -39,4 +39,3 @@ extern Camera camera;
extern Colors colors;
extern Dev dev;
extern World world;

View File

@ -29,4 +29,3 @@ extern Item *initCherry(void);
extern int rrnd(int low, int high);
extern World world;

View File

@ -30,4 +30,3 @@ extern int rrnd(int low, int high);
extern App app;
extern Camera camera;
extern World world;

View File

@ -26,4 +26,3 @@ extern void setGameplayMessage(int type, char *format, ...);
extern Game game;
extern World world;

View File

@ -31,4 +31,3 @@ extern int rrnd(int low, int high);
extern Camera camera;
extern World world;

View File

@ -26,4 +26,3 @@ extern void quitMission(void);
extern App app;
extern Dev dev;
extern World world;

View File

@ -26,4 +26,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern void *resize(void *array, int oldSize, int newSize);
extern World world;

Some files were not shown because too many files have changed in this diff Show More