Tidied headers.
This commit is contained in:
parent
65b37c5221
commit
c0bcfca334
|
@ -22,9 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#define CREDIT_LINE_LIMIT 500
|
#define CREDIT_LINE_LIMIT 500
|
||||||
|
|
||||||
extern void blitRect(SDL_Texture *texture, int x, int y, SDL_Rect *srcRect, int center);
|
|
||||||
extern void blitRectScaled(SDL_Texture *texture, int x, int y, int w, int h, SDL_Rect *srcRect, int center);
|
extern void blitRectScaled(SDL_Texture *texture, int x, int y, int w, int h, SDL_Rect *srcRect, int center);
|
||||||
extern void drawRect(int x, int y, int w, int h, int r, int g, int b, int a);
|
|
||||||
extern void drawText(int x, int y, int size, int align, SDL_Color c, const char *format, ...);
|
extern void drawText(int x, int y, int size, int align, SDL_Color c, const char *format, ...);
|
||||||
extern void endSectionTransition(void);
|
extern void endSectionTransition(void);
|
||||||
extern Atlas *getImageFromAtlas(char *filename);
|
extern Atlas *getImageFromAtlas(char *filename);
|
||||||
|
|
|
@ -22,11 +22,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
extern void createScreenshotFolder(void);
|
extern void createScreenshotFolder(void);
|
||||||
extern void initHub(void);
|
extern void initHub(void);
|
||||||
extern void initOptions(void);
|
|
||||||
extern void initWorld(void);
|
extern void initWorld(void);
|
||||||
extern void loadGame(void);
|
extern void loadGame(void);
|
||||||
extern void saveGame(void);
|
extern void saveGame(void);
|
||||||
|
|
||||||
extern Dev dev;
|
|
||||||
extern Game game;
|
extern Game game;
|
||||||
|
|
||||||
|
|
|
@ -35,14 +35,13 @@ extern Texture *getTexture(const char *filename);
|
||||||
extern int isLiquid(int x, int y);
|
extern int isLiquid(int x, int y);
|
||||||
extern int isSolid(int x, int y);
|
extern int isSolid(int x, int y);
|
||||||
extern int isWalkable(int x, int y);
|
extern int isWalkable(int x, int y);
|
||||||
|
extern int isWithinMap(int x, int y);
|
||||||
extern float limit(float i, float a, float b);
|
extern float limit(float i, float a, float b);
|
||||||
extern void playBattleSound(int snd, int ch, int x, int y);
|
extern void playBattleSound(int snd, int ch, int x, int y);
|
||||||
extern void removeFromQuadtree(Entity *e, Quadtree *root);
|
extern void removeFromQuadtree(Entity *e, Quadtree *root);
|
||||||
extern void terminateJetpack(void);
|
extern void terminateJetpack(void);
|
||||||
extern int isWithinMap(int x, int y);
|
|
||||||
|
|
||||||
extern Camera camera;
|
extern Camera camera;
|
||||||
extern Dev dev;
|
|
||||||
extern Entity *self;
|
extern Entity *self;
|
||||||
extern World world;
|
extern World world;
|
||||||
|
|
||||||
|
|
|
@ -21,12 +21,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include "../common.h"
|
#include "../common.h"
|
||||||
|
|
||||||
extern Item * initWeaponPickup(void);
|
extern Item * initWeaponPickup(void);
|
||||||
|
extern int getPercent(float current, float total);
|
||||||
extern int getRandomPlayerWeapon(int excludeGrenades);
|
extern int getRandomPlayerWeapon(int excludeGrenades);
|
||||||
extern Sprite *getSprite(char *name);
|
extern Sprite *getSprite(char *name);
|
||||||
extern Item *initBattery(void);
|
extern Item *initBattery(void);
|
||||||
extern Item *initCherry(void);
|
extern Item *initCherry(void);
|
||||||
extern int rrnd(int low, int high);
|
extern int rrnd(int low, int high);
|
||||||
extern int getPercent(float current, float total);
|
|
||||||
|
|
||||||
extern World world;
|
extern World world;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue