summaryrefslogtreecommitdiff
path: root/source/cl_parse.c
AgeCommit message (Collapse)Author
2008-04-23Added `dumpents' server command.Andrey Nazarov
Added support for `cl_noskins' value of 2 (default all female skins to `female/athena', all male skins to `male/grunt'). Renamed `scoreshot' command to `aashot', added `aadump' command. Fixed several alignment issues on ARM architecture. Server browser menu now indicates full and password protected servers with color codes. Implemented history search in console with Ctrl+R, Ctrl+S. Removed `cl_railtrail_alpha' variable, all `cl_rail*_color' variables now accept colors in #RRGGBBAA format. Added `map_override' cvar (enables loading map entity lump from external maps/*.ent file). Made `quit' command accept extra arguments. Made `draw' command accept arbitrary colors in #RRGGBBAA format. Fixed debian packages.
2008-04-09Added `addstuffcmd', `delstuffcmd' and `liststuffcmds'commands.Andrey Nazarov
Fixed broken delta decompression of clientNum field by the client. Rewrote SV_MvdPlayerIsActive, added flag 4 to `sv_mvd_capture_flags'. Added `scr_drawpmove' debugging variable. Improved intermission handling by the MVD client.
2008-04-02Use size_t instead of int where possible.Andrey Nazarov
Added initial support for Win64 port.
2008-03-27Changed some client side counters to unsigned type.Andrey Nazarov
2008-03-24Remove useless time wraparound checks.Andrey Nazarov
Apply more careful input sanitizing in several places (issues revealed by zzuf(1)). Remove stereo *.wav loading stuff, Q2 has never supported it properly. Fixed a memory leak in Image_LoadPCX. Mark clients after receiving ICMP errors from them, drop after `sv_ghostime' seconds.
2008-03-05Rewrote autocompletion engine.Andrey Nazarov
Added `con_notifylines' variable. Do not allow chat beeps to overlap.
2008-02-17Huge search and replace commit.Andrey Nazarov
Use fixed size integer types from stdint.h instead of custom defined ones. Get endianess infromation form endian.h. Added `remotemode' console command. Link with -ldl only on Linux.
2008-02-14Stop client demo recording when `changing' command is received.Andrey Nazarov
Prevent cl.time calculations from overflowing on high server frames.
2008-02-09Initial client support for variable server FPS.Andrey Nazarov
Added `cl_updaterate' variable. Fixed 'jerking bodies' bug when playing MVD stream. Fixed new entities warping when playing MVD stream. Allow dummy MVD client to be kicked. Never update layouts more than once per server frame for MVD observers. Added support for scrolling MVD client list using `invnext' and `invprev'. Fixed ref_soft compilation issue. Removed `mvd_wait_enter' and `mvd_wait_leave' variables in favor of `mvd_wait_delay' and `mvd_wait_percent'. Enter waiting state after buffer underflow only. Added `sv_locked' variable. Kick clients updating their userinfo to invalid one. Echo client name changes to the dedicated server console. Allow truncated MVDs to be played back in a row. Added `mvdpause' command. Made `serverstatus' command to query current server if called without argument. Enumerate clients in `serverstatus' command output. Demo browser now caches MVDs correctly. Allow `play' command to be used for playing MVDs too.
2008-01-13New minor Q2PRO protocol version, 1012.Andrey Nazarov
Save up to 6 bits on each usercmd vector component. Measure frame duration more accurately in CL_UpdateCmd.
2008-01-01Inspect `play' command more carefully in CL_ParseStuffText.Andrey Nazarov
Made FS_LoadFile return 0 instead of -1 on gzipped files. Cleaned up MVD_ParseUnicast. Display chase target name on the screen for non-q2pro GTV clients. Implemented UF_NOGAMECHAT = 8, UF_NOMVDCHAT = 16 user flags. MVD_Say_f no longer uses SV_BroadcastPrintf. Changed `scr_showfollowing' default value back to 1. Filter svc_stufftext and svc_layout on game server before sending mvd_unicast message to MVD clients.
2007-12-30Made `condump' command write into `condumps/*.txt' by default.Andrey Nazarov
Fixed anticheat being disabled after server restart via `map' command.
2007-12-11Fixed crash inside CL_PacketEntities on player ents with negative skinnum.Andrey Nazarov
Register all vwep models even with `cl_noskins 1'. Fixed S_RegisterSexedSound to always use sounds corresponding to visible player model.
2007-12-02Made sure replies to !version are rate limited.Andrey Nazarov
2007-11-26Added `suspend' command useful for temporary pausing demo recording.Andrey Nazarov
Brought CL_SetClientTime back to original Q2 style. This removed delays during demo playback caused by several frames dropped in a row. Make sure empty demo messages are never written. Enabled USE_AUTOREPLY flag in `configure' script.
2007-11-26Made automatic pause (opening console or menu) not interfereAndrey Nazarov
with manual pause (typing `pause' command). Fixed command prompt cursor positioning bug introduced in the last commit. Commented out unused chat HUD stuff.
2007-11-25Changed Com_sprintf --> Q_concat in quite some cases.Andrey Nazarov
Make sure WAVE sound driver is built by default. Added --disable-wave option to `configure'. Command line history is now remembered between sessions. ALT+Space refreshes all servers in Server Browser. Handle command line agruments like original Q2 engine did.
2007-11-24Renamed `cl_uprate' and `cl_dnrate' to `net_uprate'Andrey Nazarov
and `net_dnrate' respectively, moved related code to net_common.c Simplified on-secreen lagometer, now controlled with `scr_lag_draw', `scr_lag_x' and `scr_lag_y' variables.
2007-11-17Yet another batched update.Andrey Nazarov
Fixed munmap() hang in OSS_Shutdown(). Added (crappy) SDL audio driver, but ALSA should work now. Made r_maxfps and cl_maxfps really separate with cl_async 1. This way, any configuration is allowed (e.g. r_maxfps 60, cl_maxfps 120). Implemented water warping via fragment program, removed subdivision code. Removed (crappy) dynamic lighting. Removed surface sorting and batching. Minimized vertex copying operations. Implemented celshading. Removed S_RawSamples and friends. Smooth handling of smaller ladder steps (e.g. those on q2next2).
2007-10-07Added sv_uptime cvar.Andrey Nazarov
Optimized some string buffer functions. Made redirect buffer size safe.
2007-10-06Added sv_force_reconnect cvar.Andrey Nazarov
2007-10-06Added 'uf' userinfo variable.Andrey Nazarov
Made 'mvdisconnect' command actually work, added 'mvdkill' command. Properly parse player names out of MVD stream. Added gl_showerrors variable. Fixed SV_OUTPUTBUF_LENGTH so it fits into UDP packet without fragmentation!
2007-10-01Pressing ESC once no longer brings ingame menu but tries toAndrey Nazarov
get rid of current layout by issuing 'putaway' command. Fixed handling of reliable entity relative sounds. Register 'screenshotpng' and 'screenshotjpg' commands regardless if library support was linked in or not. Fixed handling of MVD channels menu.
2007-09-26Implemented GAME_FEATURE_MVDSPEC.Andrey Nazarov
2007-09-20Made new R1Q2 protocol really work at client side.Andrey Nazarov
2007-09-20Added support for the new R1Q2 protocol version.Andrey Nazarov
Q2PRO protocol is now versioned similar to R1Q2 protocol. Allow "play" stuffcmd when watching a demo. Handle clients with zero qport properly, compare IP address _and_ port.
2007-08-21Removed demomap command, cinematics stuff, support for savegames.Andrey Nazarov
Added addban, delban, listbans server commands. Renamed cl_railrings_* cvars to cl_railspiral_*. Server now reports minor Q2PRO protocol version in challenge response. Pressing Ctrl+C inside input filed copies contents to clipboard on Windows. Cleaned up not implemented menus. Removed scr_crosshair_names cvar. Removed support for triggers. Added cl_beginmapcmd, cl_endmapcmd, cl_changemapcmd cvars. Updated wiki.
2007-08-19Removed cl_showmiss spam.Andrey Nazarov
Added code for debugging sounds on invisible entities.
2007-08-18New minor Q2PRO protocol version.Andrey Nazarov
Fixed a bug in Q2 pmove code: spectators connected using Q2PRO protocol now have smoother movement with proper acceleration and friction handling. Fixed first lines of long messages disappearing from notify overlay.
2007-08-14Initial import of the new Q2PRO tree.Andrey Nazarov