mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-10 15:22:14 +00:00
33 lines
1.6 KiB
C
33 lines
1.6 KiB
C
#include "../qcommon/qfiles.h"
|
|
|
|
#define NUM_FORCE_STAR_IMAGES 9
|
|
#define FORCE_NONJEDI 0
|
|
#define FORCE_JEDI 1
|
|
|
|
extern int uiForceSide;
|
|
extern int uiJediNonJedi;
|
|
extern int uiForceRank;
|
|
extern int uiMaxRank;
|
|
extern int uiForceUsed;
|
|
extern int uiForceAvailable;
|
|
extern qboolean gTouchedForce;
|
|
extern qboolean uiForcePowersDisabled[NUM_FORCE_POWERS];
|
|
extern int uiForcePowersRank[NUM_FORCE_POWERS];
|
|
extern int uiForcePowerDarkLight[NUM_FORCE_POWERS];
|
|
extern int uiSaberColorShaders[NUM_SABER_COLORS];
|
|
// Dots above or equal to a given rank carry a certain color.
|
|
extern vmCvar_t ui_freeSaber, ui_forcePowerDisable;
|
|
|
|
void UI_InitForceShaders(void);
|
|
void UI_ReadLegalForce(void);
|
|
void UI_DrawTotalForceStars(rectDef_t *rect, float scale, vec4_t color, int textStyle);
|
|
void UI_DrawForceStars(rectDef_t *rect, float scale, vec4_t color, int textStyle, int findex, int val, int min, int max) ;
|
|
void UI_UpdateClientForcePowers(const char *teamArg);
|
|
void UI_SaveForceTemplate();
|
|
void UI_UpdateForcePowers();
|
|
qboolean UI_SkinColor_HandleKey(int flags, float *special, int key, int num, int min, int max, int type);
|
|
qboolean UI_ForceSide_HandleKey(int flags, float *special, int key, int num, int min, int max, int type);
|
|
qboolean UI_JediNonJedi_HandleKey(int flags, float *special, int key, int num, int min, int max, int type);
|
|
qboolean UI_ForceMaxRank_HandleKey(int flags, float *special, int key, int num, int min, int max, int type);
|
|
qboolean UI_ForcePowerRank_HandleKey(int flags, float *special, int key, int num, int min, int max, int type);
|
|
extern void UI_ForceConfigHandle( int oldindex, int newindex );
|