Updated cmd/cvar list, changed some commandnames for consistence (some quake mods might need alises for the demo_* commands)
This commit is contained in:
parent
784c35f9d3
commit
b55a563b24
7 changed files with 20 additions and 27 deletions
16
CMDS
16
CMDS
|
@ -16,6 +16,8 @@
|
||||||
+showscores
|
+showscores
|
||||||
+speed
|
+speed
|
||||||
+strafe
|
+strafe
|
||||||
|
+tiltleft
|
||||||
|
+tiltright
|
||||||
+use
|
+use
|
||||||
-attack
|
-attack
|
||||||
-back
|
-back
|
||||||
|
@ -35,6 +37,8 @@
|
||||||
-showscores
|
-showscores
|
||||||
-speed
|
-speed
|
||||||
-strafe
|
-strafe
|
||||||
|
-tiltleft
|
||||||
|
-tiltright
|
||||||
-use
|
-use
|
||||||
addbot
|
addbot
|
||||||
alias
|
alias
|
||||||
|
@ -107,9 +111,10 @@ nvs_max_server
|
||||||
nvs_request
|
nvs_request
|
||||||
path
|
path
|
||||||
pause
|
pause
|
||||||
|
demo_pause
|
||||||
ping
|
ping
|
||||||
play
|
play
|
||||||
playdemo
|
demo_play
|
||||||
playvol
|
playvol
|
||||||
pointfile
|
pointfile
|
||||||
port
|
port
|
||||||
|
@ -118,7 +123,7 @@ profile
|
||||||
qcexec
|
qcexec
|
||||||
quit
|
quit
|
||||||
reconnect
|
reconnect
|
||||||
record
|
demo_record
|
||||||
restart
|
restart
|
||||||
save
|
save
|
||||||
say
|
say
|
||||||
|
@ -132,13 +137,14 @@ soundlist
|
||||||
spawn
|
spawn
|
||||||
startdemos
|
startdemos
|
||||||
status
|
status
|
||||||
stop
|
demo_stop
|
||||||
stopdemo
|
stopdemo
|
||||||
stopsound
|
stopsound
|
||||||
stuffcmds
|
stuffcmds
|
||||||
tell
|
tell
|
||||||
test
|
net_test
|
||||||
test2
|
net_test2
|
||||||
|
tiltreset
|
||||||
timedemo
|
timedemo
|
||||||
timerefresh
|
timerefresh
|
||||||
toggleconsole
|
toggleconsole
|
||||||
|
|
2
CVARS
2
CVARS
|
@ -140,6 +140,8 @@ lookspring
|
||||||
lookstrafe
|
lookstrafe
|
||||||
m_filter
|
m_filter
|
||||||
m_forward
|
m_forward
|
||||||
|
m_lockup
|
||||||
|
m_lockdown
|
||||||
m_look
|
m_look
|
||||||
m_pitch
|
m_pitch
|
||||||
m_side
|
m_side
|
||||||
|
|
|
@ -1284,17 +1284,12 @@ void CL_Init (void)
|
||||||
//
|
//
|
||||||
// register our commands
|
// register our commands
|
||||||
//
|
//
|
||||||
// 2001-09-18 New cvar system by Maddes (Init) start
|
|
||||||
// 2001-09-18 New cvar system by Maddes (Init) end
|
|
||||||
|
|
||||||
// Cvar_RegisterVariable (&cl_autofire);
|
|
||||||
|
|
||||||
Cmd_AddCommand ("entities", CL_PrintEntities_f);
|
Cmd_AddCommand ("entities", CL_PrintEntities_f);
|
||||||
Cmd_AddCommand ("disconnect", CL_Disconnect_f);
|
Cmd_AddCommand ("disconnect", CL_Disconnect_f);
|
||||||
Cmd_AddCommand ("record", CL_Record_f);
|
Cmd_AddCommand ("demo_record", CL_Record_f);
|
||||||
Cmd_AddCommand ("pausedemo", CL_DemoPause_f);
|
Cmd_AddCommand ("demo_pause", CL_DemoPause_f);
|
||||||
Cmd_AddCommand ("stop", CL_Stop_f);
|
Cmd_AddCommand ("demo_stop", CL_Stop_f);
|
||||||
Cmd_AddCommand ("playdemo", CL_PlayDemo_f);
|
Cmd_AddCommand ("demo_play", CL_PlayDemo_f);
|
||||||
Cmd_AddCommand ("timedemo", CL_TimeDemo_f);
|
Cmd_AddCommand ("demo_time", CL_TimeDemo_f);
|
||||||
Cmd_AddCommand ("ng_forceloadlighting", TheForceLoadLighting);
|
Cmd_AddCommand ("ng_forceloadlighting", TheForceLoadLighting);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3681,19 +3681,12 @@ ebfs_builtin_t pr_ebfs_builtins[] =
|
||||||
{ PR_DEFAULT_FUNCNO_BUILTIN_FIND, "builtin_find", PF_builtin_find }, // 2001-09-14 Enhanced BuiltIn Function System (EBFS) by Maddes
|
{ PR_DEFAULT_FUNCNO_BUILTIN_FIND, "builtin_find", PF_builtin_find }, // 2001-09-14 Enhanced BuiltIn Function System (EBFS) by Maddes
|
||||||
|
|
||||||
{ 101, "cmd_find", PF_cmd_find }, // 2001-09-16 New BuiltIn Function: cmd_find() by Maddes
|
{ 101, "cmd_find", PF_cmd_find }, // 2001-09-16 New BuiltIn Function: cmd_find() by Maddes
|
||||||
|
|
||||||
{ 102, "cvar_find", PF_cvar_find }, // 2001-09-16 New BuiltIn Function: cvar_find() by Maddes
|
{ 102, "cvar_find", PF_cvar_find }, // 2001-09-16 New BuiltIn Function: cvar_find() by Maddes
|
||||||
|
|
||||||
{ 103, "cvar_string", PF_cvar_string }, // 2001-09-16 New BuiltIn Function: cvar_string() by Maddes
|
{ 103, "cvar_string", PF_cvar_string }, // 2001-09-16 New BuiltIn Function: cvar_string() by Maddes
|
||||||
|
|
||||||
{ 105, "cvar_free", PF_cvar_free }, // 2001-09-18 New BuiltIn Function: cvar_free() by Maddes
|
{ 105, "cvar_free", PF_cvar_free }, // 2001-09-18 New BuiltIn Function: cvar_free() by Maddes
|
||||||
|
|
||||||
{ 106, "NVS_InitSVCMsg", PF_NVS_InitSVCMsg }, // 2000-05-02 NVS SVC by Maddes
|
{ 106, "NVS_InitSVCMsg", PF_NVS_InitSVCMsg }, // 2000-05-02 NVS SVC by Maddes
|
||||||
|
|
||||||
{ 107, "WriteFloat", PF_WriteFloat }, // 2001-09-16 New BuiltIn Function: WriteFloat() by Maddes
|
{ 107, "WriteFloat", PF_WriteFloat }, // 2001-09-16 New BuiltIn Function: WriteFloat() by Maddes
|
||||||
|
|
||||||
{ 108, "etof", PF_etof }, // 2001-09-25 New BuiltIn Function: etof() by Maddes
|
{ 108, "etof", PF_etof }, // 2001-09-25 New BuiltIn Function: etof() by Maddes
|
||||||
|
|
||||||
{ 109, "ftoe", PF_ftoe }, // 2001-09-25 New BuiltIn Function: ftoe() by Maddes
|
{ 109, "ftoe", PF_ftoe }, // 2001-09-25 New BuiltIn Function: ftoe() by Maddes
|
||||||
|
|
||||||
// 2001-09-20 QuakeC file access by FrikaC/Maddes start
|
// 2001-09-20 QuakeC file access by FrikaC/Maddes start
|
||||||
|
|
|
@ -792,8 +792,8 @@ int Datagram_Init (void)
|
||||||
#ifdef BAN_TEST
|
#ifdef BAN_TEST
|
||||||
Cmd_AddCommand ("ban", NET_Ban_f);
|
Cmd_AddCommand ("ban", NET_Ban_f);
|
||||||
#endif
|
#endif
|
||||||
Cmd_AddCommand ("test", Test_f);
|
Cmd_AddCommand ("net_test", Test_f);
|
||||||
Cmd_AddCommand ("test2", Test2_f);
|
Cmd_AddCommand ("net_test2", Test2_f);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -196,7 +196,6 @@ void D_WarpScreen (void)
|
||||||
w = r_refdef.vrect.width;
|
w = r_refdef.vrect.width;
|
||||||
h = r_refdef.vrect.height;
|
h = r_refdef.vrect.height;
|
||||||
|
|
||||||
printf("THIS IS HAPPENING BTW\n");
|
|
||||||
wratio = w / (float)scr_vrect.width;
|
wratio = w / (float)scr_vrect.width;
|
||||||
hratio = h / (float)scr_vrect.height;
|
hratio = h / (float)scr_vrect.height;
|
||||||
|
|
||||||
|
|
|
@ -4304,8 +4304,6 @@ void R_DrawFlares (void)
|
||||||
int liftoff;
|
int liftoff;
|
||||||
int amiseen;
|
int amiseen;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
VectorScale (vright, xscaleshrink, r_pright);
|
VectorScale (vright, xscaleshrink, r_pright);
|
||||||
VectorScale (vup, yscaleshrink, r_pup);
|
VectorScale (vup, yscaleshrink, r_pup);
|
||||||
VectorCopy (vpn, r_ppn);
|
VectorCopy (vpn, r_ppn);
|
||||||
|
|
Loading…
Reference in a new issue