Tidied headers.
This commit is contained in:
parent
1d01bec093
commit
7a79ef4b53
|
@ -30,11 +30,11 @@ 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 drawWidgets(void);
|
extern void drawWidgets(void);
|
||||||
extern Atlas *getImageFromAtlas(char *filename);
|
extern Atlas *getImageFromAtlas(char *filename);
|
||||||
|
extern int getPercent(float current, float total);
|
||||||
extern Texture *getTexture(const char *filename);
|
extern Texture *getTexture(const char *filename);
|
||||||
extern int isControl(int type);
|
extern int isControl(int type);
|
||||||
extern float limit(float i, float low, float high);
|
extern float limit(float i, float low, float high);
|
||||||
extern void playSound(int snd, int ch);
|
extern void playSound(int snd, int ch);
|
||||||
extern int getPercent(float current, float total);
|
|
||||||
extern char *timeToString(int seconds, int showHours);
|
extern char *timeToString(int seconds, int showHours);
|
||||||
|
|
||||||
extern App app;
|
extern App app;
|
||||||
|
|
|
@ -57,6 +57,7 @@ extern Texture *getTexture(const char *filename);
|
||||||
extern Widget *getWidget(char *name, char *group);
|
extern Widget *getWidget(char *name, char *group);
|
||||||
extern void hideAllWidgets(void);
|
extern void hideAllWidgets(void);
|
||||||
extern void initOptions(void (*callback)(void));
|
extern void initOptions(void (*callback)(void));
|
||||||
|
extern void initStatsDisplay(void);
|
||||||
extern void initWorld(void);
|
extern void initWorld(void);
|
||||||
extern int isControl(int type);
|
extern int isControl(int type);
|
||||||
extern void limitTextWidth(int width);
|
extern void limitTextWidth(int width);
|
||||||
|
@ -71,7 +72,6 @@ extern Widget *selectWidgetAt(int x, int y);
|
||||||
extern void showWidgetGroup(char *group);
|
extern void showWidgetGroup(char *group);
|
||||||
extern void startSectionTransition(void);
|
extern void startSectionTransition(void);
|
||||||
extern void stopMusic(void);
|
extern void stopMusic(void);
|
||||||
extern void initStatsDisplay(void);
|
|
||||||
|
|
||||||
extern App app;
|
extern App app;
|
||||||
extern Colors colors;
|
extern Colors colors;
|
||||||
|
|
|
@ -24,3 +24,4 @@ Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define TABLE_SIZE 255
|
#define TABLE_SIZE 255
|
||||||
|
|
||||||
|
|
|
@ -90,6 +90,7 @@ extern void initParticles(void);
|
||||||
extern void initPostMission(void);
|
extern void initPostMission(void);
|
||||||
extern void initQuadtree(Quadtree *root);
|
extern void initQuadtree(Quadtree *root);
|
||||||
extern void initRadar(void);
|
extern void initRadar(void);
|
||||||
|
extern void initStatsDisplay(void);
|
||||||
extern void initWeapons(void);
|
extern void initWeapons(void);
|
||||||
extern int isAcceptControl(void);
|
extern int isAcceptControl(void);
|
||||||
extern int isControl(int type);
|
extern int isControl(int type);
|
||||||
|
@ -113,7 +114,6 @@ extern int rrnd(int low, int high);
|
||||||
extern void showWidgetGroup(char *group);
|
extern void showWidgetGroup(char *group);
|
||||||
extern void startSectionTransition(void);
|
extern void startSectionTransition(void);
|
||||||
extern void stopMusic(void);
|
extern void stopMusic(void);
|
||||||
extern void initStatsDisplay(void);
|
|
||||||
|
|
||||||
extern App app;
|
extern App app;
|
||||||
extern Colors colors;
|
extern Colors colors;
|
||||||
|
|
Loading…
Reference in New Issue