Cleanups from pomac!
This commit is contained in:
parent
b0fc4a7b6e
commit
f327407bb8
36 changed files with 155 additions and 195 deletions
|
@ -213,7 +213,7 @@ long vmMain( long command, long arg0, long arg1, long arg2, long arg3, long arg4
|
|||
|
||||
|
||||
|
||||
void AssetCache() {
|
||||
void AssetCache( void ) {
|
||||
int n;
|
||||
//if (Assets.textFont == NULL) {
|
||||
//}
|
||||
|
@ -845,7 +845,7 @@ qboolean Asset_Parse(int handle) {
|
|||
return qfalse;
|
||||
}
|
||||
|
||||
void Font_Report() {
|
||||
void Font_Report( void ) {
|
||||
int i;
|
||||
Com_Printf("Font Info\n");
|
||||
Com_Printf("=========\n");
|
||||
|
@ -854,7 +854,7 @@ void Font_Report() {
|
|||
}
|
||||
}
|
||||
|
||||
void UI_Report() {
|
||||
void UI_Report( void ) {
|
||||
String_Report();
|
||||
//Font_Report();
|
||||
|
||||
|
@ -1506,7 +1506,7 @@ static void UI_DrawOpponent(rectDef_t *rect) {
|
|||
|
||||
}
|
||||
|
||||
static void UI_NextOpponent() {
|
||||
static void UI_NextOpponent( void ) {
|
||||
int i = UI_TeamIndexFromName(UI_Cvar_VariableString("ui_opponentName"));
|
||||
int j = UI_TeamIndexFromName(UI_Cvar_VariableString("ui_teamName"));
|
||||
i++;
|
||||
|
@ -1522,7 +1522,7 @@ static void UI_NextOpponent() {
|
|||
trap_Cvar_Set( "ui_opponentName", uiInfo.teamList[i].teamName );
|
||||
}
|
||||
|
||||
static void UI_PriorOpponent() {
|
||||
static void UI_PriorOpponent( void ) {
|
||||
int i = UI_TeamIndexFromName(UI_Cvar_VariableString("ui_opponentName"));
|
||||
int j = UI_TeamIndexFromName(UI_Cvar_VariableString("ui_teamName"));
|
||||
i--;
|
||||
|
@ -1787,7 +1787,7 @@ static void UI_DrawCrosshair(rectDef_t *rect, float scale, vec4_t color) {
|
|||
UI_BuildPlayerList
|
||||
===============
|
||||
*/
|
||||
static void UI_BuildPlayerList() {
|
||||
static void UI_BuildPlayerList( void ) {
|
||||
uiClientState_t cs;
|
||||
int n, count, team, team2, playerTeamNumber;
|
||||
char info[MAX_INFO_STRING];
|
||||
|
@ -2813,7 +2813,7 @@ static void UI_StartSinglePlayer() {
|
|||
UI_LoadMods
|
||||
===============
|
||||
*/
|
||||
static void UI_LoadMods() {
|
||||
static void UI_LoadMods( void ) {
|
||||
int numdirs;
|
||||
char dirlist[2048];
|
||||
char *dirptr;
|
||||
|
@ -2844,7 +2844,7 @@ static void UI_LoadMods() {
|
|||
UI_LoadTeams
|
||||
===============
|
||||
*/
|
||||
static void UI_LoadTeams() {
|
||||
static void UI_LoadTeams( void ) {
|
||||
char teamList[4096];
|
||||
char *teamName;
|
||||
int i, len, count;
|
||||
|
@ -2868,7 +2868,7 @@ static void UI_LoadTeams() {
|
|||
UI_LoadMovies
|
||||
===============
|
||||
*/
|
||||
static void UI_LoadMovies() {
|
||||
static void UI_LoadMovies( void ) {
|
||||
char movielist[4096];
|
||||
char *moviename;
|
||||
int i, len;
|
||||
|
@ -2900,7 +2900,7 @@ static void UI_LoadMovies() {
|
|||
UI_LoadDemos
|
||||
===============
|
||||
*/
|
||||
static void UI_LoadDemos() {
|
||||
static void UI_LoadDemos( void ) {
|
||||
char demolist[4096];
|
||||
char demoExt[32];
|
||||
char *demoname;
|
||||
|
@ -4270,7 +4270,7 @@ static int UI_GetIndexFromSelection(int actual) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void UI_UpdatePendingPings() {
|
||||
static void UI_UpdatePendingPings( void ) {
|
||||
trap_LAN_ResetPings(ui_netSource.integer);
|
||||
uiInfo.serverStatus.refreshActive = qtrue;
|
||||
uiInfo.serverStatus.refreshtime = uiInfo.uiDC.realTime + 1000;
|
||||
|
@ -5222,7 +5222,7 @@ void _UI_MouseEvent( int dx, int dy )
|
|||
|
||||
}
|
||||
|
||||
void UI_LoadNonIngame() {
|
||||
void UI_LoadNonIngame( void ) {
|
||||
const char *menuSet = UI_Cvar_VariableString("ui_menuFiles");
|
||||
if (menuSet == NULL || menuSet[0] == '\0') {
|
||||
menuSet = "ui/menus.txt";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue