Commit graph

85 commits

Author SHA1 Message Date
myT
c024cdcdc9 fixed a crash due to lack of memory for the sound system 2019-09-25 05:59:17 +02:00
myT
db4fb31658 added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
myT
b406564962 added copyright notices to important new files 2019-09-25 05:14:58 +02:00
myT
39af360fdc removed FreeType and the R_REGISTERFONT syscalls 2019-09-25 05:14:07 +02:00
myT
c75caeb98e added control/shift + left/right arrow field navigation 2019-02-21 17:14:45 +01:00
myT
b3456d0a10 added the ctrl-i and ctrl-d console shortcuts 2019-02-21 17:11:29 +01:00
myT
26ccc528d1 map download improvements
- numeric addresses as fallbacks
- non-blocking connections
- writing to $(fs_homepath)/baseq3 instead of $(fs_basepath)/baseq3
- only using valid (TCP/stream) addresses from getaddrinfo
- setting send time-outs
- ensuring the destination directory exists
- the renderer no longer messes up the RNG seed
2019-02-14 04:22:45 +01:00
myT
a26b150c59 faster map loads by limiting the rendering back-end's frame-rate 2018-12-08 22:43:58 +01:00
myT
51cda86421 added the trap_IsRecordingDemo syscall for CPMA 1.52+ 2018-12-08 00:55:21 +01:00
myT
4a848e7b6a no longer feeding cs commands that came from a previous gamestate to cgame 2018-12-08 00:03:26 +01:00
myT
5972f247b1 fixed a bunch of /video and /stopvideo issues
chg: /video can only be used during demo playback
fix: broken audio in the output files due to writing the wrong buffer
fix: files sequences have a "_%3d" name suffix of adding an underscore to the extension
fix: using a better supported video codec (FourCC 0x00000000) for raw BGR output
fix: broken raw video output when r_width wasn't a multiple of 4
fix: /stopvideo no longer leaves sound output broken for a while after stopping
2018-09-29 08:22:47 +02:00
myT
a9e7bc7226 fixed cv/callvote completion handlers getting removed at cg shutdown and never added back 2018-09-26 05:28:40 +02:00
myT
f34c8b5001 fixed demo playback that broke because of incorrect tokenizer usage
the breaking commit: c512071f2d
fixed using /demo when running a listen server (would load map and then abort)
2018-02-02 01:15:18 +01:00
myT
e4e68a971c no longer making local copies of all CS_SYSTEMINFO server cvars
this avoids undesired local changes to sv_pure etc
2018-01-29 20:46:39 +01:00
myT
c512071f2d updating the FS on client disconnects 2018-01-29 20:28:37 +01:00
myT
d3d4746a6b fixed the condump path argument truncation 2018-01-28 03:45:35 +01:00
myT
ce46cebce0 during id pak downloads, the time-out is 5 seconds instead of cl_timeout 2018-01-25 04:49:33 +01:00
myT
543a024917 fixed waiting for a snapshot forever when the server disconnects during client connection 2018-01-25 04:36:13 +01:00
myT
3e3c1b2431 the "nextdemo" cvar is now also used when playback stops before reaching the demo's end 2018-01-24 02:19:57 +01:00
myT
4a7f2356ab mouse motion is no longer forwarded to the mod when the console is down 2018-01-21 17:27:59 +01:00
myT
215d54cafd fixed the listen server unpause lag / time-out
this issue popped up after commit 176aa6a24d
2018-01-19 00:31:48 +01:00
myT
24fac5557c fixed the connect call always taking the address of the first result from getaddrinfo 2018-01-17 05:50:33 +01:00
myT
04c765f46c fixed cl_allowDownload 1 using the current directory instead of fs_basepath 2018-01-16 05:20:46 +01:00
myT
37e2b07e5a increased the fast map download time-out to 2 seconds 2018-01-07 14:32:12 +01:00
myT
515ca0883e minimizing disables the rendering back-end except for videos/screenshots
when minimized, we call the rest of the logic all the same (including the VM calls)
only 1 screenshot command can be issued per frame (i.e. only first one is kept)
2018-01-07 00:03:42 +01:00
myT
3b4338db2e fixed range/default for con_notifytime and r_lodbias 2018-01-04 19:51:29 +01:00
myT
2a2fb8a946 client map download fixes
never start a DL when starting a listen server
to see if a map exists on the local FS, check in baseq3/maps too
2017-12-28 05:48:49 +01:00
myT
53d93b1af0 new default values
sv_pure 0 for clients - 1 is annoyingly restrictive for a client
s_volume 0.2 - it was so damn loud
com_hunkMegs 128 for clients - to cope with "big" maps
r_msaa 0 - too many players still gaming with toasters
r_gamma 1.2
2017-12-27 07:33:59 +01:00
myT
ca8fb7457b reduced CPU usage in the client 2017-12-27 05:43:28 +01:00
myT
3c52752dd3 added help panel and colorized help text
added con_drawHelp and con_col*
letting the mod know we support the "cap_ExtraColorCodes" extension
con_colText overrides ^7 in the console and the help panel
extended console back scroll arrows all the way
2017-12-27 05:13:33 +01:00
myT
f60ce0d1e8 fixed console/messagemode input buffers ignoring off-screen color modifiers when scrolled 2017-12-25 09:54:45 +01:00
myT
04ebdc63f6 fixes for VC++ platform toolsets v140 and v141 2017-12-20 05:41:04 +01:00
myT
945cf03af5 fixed color handling and cursor position in console/messagemode input buffers 2017-12-19 03:23:45 +01:00
myT
0f3598820c small console tweaks
show back scroll arrows all the way
leave a margin at the right of the CNQ3 version
2017-12-18 20:45:06 +01:00
myT
da62e4c865 screenshotnc extension for the UI QVM 2017-12-05 21:44:00 +01:00
myT
8c45c7aa60 fixed "SCR_UpdateScreen: recursively called" false positives (e.g. after being kicked twice) 2017-12-04 21:01:28 +01:00
myT
8900291f0d fixed key release of bind '+vstr a b' wrongly executing 'b' when key press didn't execute 'a' 2017-11-29 18:25:09 +01:00
myT
8599ddd1b3 including the map's name in download error messages 2017-11-22 22:02:34 +01:00
myT
d56efd2d3d the con_notifytime help now explains what -1 is for 2017-11-12 01:07:22 +01:00
myT
69efe163ac error extension - trap_Error2 and trap_EnableErrorCallback 2017-11-10 20:21:03 +01:00
myT
fca556e2ad match alerts cgame extension and s_autoMute for Windows 2017-11-07 06:17:28 +01:00
myT
e26163aa79 added screenshotnc and screenshotncJPEG 2017-11-05 22:40:32 +01:00
myT
caaa8e4e47 audio interface clean-up and Sys_* documentation 2017-11-03 19:36:30 +01:00
myT
c60d47e93f cleaned up tr_gl2.cpp and prefixes in win32 code
tr_gl2.cpp now uses the proper interface for printing errors
tr_gl2.cpp now has function names that make sense
removed old references to GLimp_*
cleaned up prefixes in the Windows platform layer
2017-11-03 19:35:35 +01:00
myT
6cde6e2182 added bindkeylist 2017-10-28 21:40:07 +02:00
myT
770199f00d fixed con_notifytime's range not allowing -1
fixed m_accelOffset's invalid default value
2017-10-28 19:36:16 +02:00
myT
1f49b43a39 con_history 1 is not just for clients anymore 2017-10-12 19:12:41 +02:00
myT
484e9e7e40 removing color codes before printing to the terminal
fixed Download_CleanUp calling closesocket on socket 0, messing with stdin
2017-10-10 19:54:57 +02:00
myT
be890e5b70 moved in_restart to the shared client code
the platform layers implement Sys_InitInput and Sys_ShutdownInput
2017-10-04 17:33:35 +02:00
myT
62ff8ef1d1 fixed the renderer not always removing commands when it should 2017-10-04 00:35:26 +02:00