summaryrefslogtreecommitdiff
path: root/src/ui/ui_shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_shared.h')
-rw-r--r--src/ui/ui_shared.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/ui/ui_shared.h b/src/ui/ui_shared.h
index fd0ed967..b41b97e5 100644
--- a/src/ui/ui_shared.h
+++ b/src/ui/ui_shared.h
@@ -317,7 +317,7 @@ typedef struct {
void (*drawRect) ( float x, float y, float w, float h, float size, const vec4_t color);
void (*drawSides) (float x, float y, float w, float h, float size);
void (*drawTopBottom) (float x, float y, float w, float h, float size);
- void (*clearScene) ();
+ void (*clearScene) (void);
void (*addRefEntityToScene) (const refEntity_t *re );
void (*renderScene) ( const refdef_t *fd );
void (*registerFont) (const char *pFontname, int pointSize, fontInfo_t *font);
@@ -348,7 +348,7 @@ typedef struct {
int (*ownerDrawWidth)(int ownerDraw, float scale);
sfxHandle_t (*registerSound)(const char *name, qboolean compressed);
void (*startBackgroundTrack)( const char *intro, const char *loop);
- void (*stopBackgroundTrack)();
+ void (*stopBackgroundTrack)( void );
int (*playCinematic)(const char *name, float x, float y, float w, float h);
void (*stopCinematic)(int handle);
void (*drawCinematic)(int handle, float x, float y, float w, float h);
@@ -374,14 +374,14 @@ typedef struct {
} displayContextDef_t;
const char *String_Alloc(const char *p);
-void String_Init();
-void String_Report();
+void String_Init( void );
+void String_Report( void );
void Init_Display(displayContextDef_t *dc);
void Display_ExpandMacros(char * buff);
void Menu_Init(menuDef_t *menu);
void Item_Init(itemDef_t *item);
void Menu_PostParse(menuDef_t *menu);
-menuDef_t *Menu_GetFocused();
+menuDef_t *Menu_GetFocused( void );
void Menu_HandleKey(menuDef_t *menu, int key, qboolean down);
void Menu_HandleMouseMove(menuDef_t *menu, float x, float y);
void Menu_ScrollFeeder(menuDef_t *menu, int feeder, qboolean down);
@@ -397,33 +397,33 @@ qboolean PC_Int_Parse(int handle, int *i);
qboolean PC_Rect_Parse(int handle, rectDef_t *r);
qboolean PC_String_Parse(int handle, const char **out);
qboolean PC_Script_Parse(int handle, const char **out);
-int Menu_Count();
+int Menu_Count( void );
void Menu_New(int handle);
-void Menu_PaintAll();
+void Menu_PaintAll( void );
menuDef_t *Menus_ActivateByName(const char *p);
-void Menu_Reset();
+void Menu_Reset( void );
qboolean Menus_AnyFullScreenVisible();
void Menus_Activate(menuDef_t *menu);
-displayContextDef_t *Display_GetContext();
+displayContextDef_t *Display_GetContext( void );
void *Display_CaptureItem(int x, int y);
qboolean Display_MouseMove(void *p, int x, int y);
int Display_CursorType(int x, int y);
-qboolean Display_KeyBindPending();
+qboolean Display_KeyBindPending( void );
void Menus_OpenByName(const char *p);
menuDef_t *Menus_FindByName(const char *p);
void Menus_ShowByName(const char *p);
void Menus_CloseByName(const char *p);
void Display_HandleKey(int key, qboolean down, int x, int y);
void LerpColor(vec4_t a, vec4_t b, vec4_t c, float t);
-void Menus_CloseAll();
+void Menus_CloseAll( void );
void Menu_Paint(menuDef_t *menu, qboolean forcePaint);
void Menu_SetFeederSelection(menuDef_t *menu, int feeder, int index, const char *name);
-void Display_CacheAll();
+void Display_CacheAll( void );
void *UI_Alloc( int size );
void UI_InitMemory( void );
-qboolean UI_OutOfMemory();
+qboolean UI_OutOfMemory( void );
void Controls_GetConfig( void );
void Controls_SetConfig(qboolean restart);