Commit graph

149 commits

Author SHA1 Message Date
myT
9b114e7886 fixed music playback crash in CPMA credits with s_musicvolume > 0 2022-04-08 21:41:26 +02:00
myT
b1df6ac8f7 added new stats to r_speeds 1 (shader changes, draw calls) 2020-11-05 03:50:58 +01:00
myT
e50a60fe17 sound loads during gameplay print warnings and get denied for looping sounds 2020-10-15 05:07:55 +02:00
myT
bb9e814837 throwing a fatal error when com_soundMegs is too low for a map load 2020-10-15 05:04:01 +02:00
myT
a4397252c3 com_soundMegs now defaults to 16 2020-10-15 04:48:41 +02:00
myT
e0b04b55c3 cl_aviFrameRate now defaults to 60 2020-10-09 04:57:02 +02:00
myT
8adf87e7c7 fixed .avi files starting with silence when not first in the sequence 2020-10-09 04:28:37 +02:00
myT
54ee6436fe updated copyright years 2020-06-01 20:28:44 +02:00
myT
0fcd462244 improved the map download initiation logic and updated the CNQ3 map server addresses 2020-04-06 03:46:14 +02:00
myT
a5b6ee33da made more keys bindable on Linux/FreeBSD and /bind now accepts uppercase hex digits 2020-04-04 03:20:03 +02:00
myT
7b01f8b8d3 fixed a bunch of variable shadowing cases and removed unused variables 2020-02-24 01:52:29 +01:00
myT
8a1d1c539b Escape down in cgame triggers CG_EVENT_HANDLING again instead of CG_KEY_EVENT
with that, CPMA demo playback and /protect work as intended again
2020-02-09 04:25:31 +01:00
myT
7d526ba6fc added FreeBSD support 2020-01-06 01:04:16 +01:00
myT
2dcddc87eb always disabling the FPS limiter after drop errors 2019-11-12 04:19:31 +01:00
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
myT
c3027a56b7 made keys F13 to F24 bindable 2017-10-03 23:58:41 +02:00
myT
1d6663ebc1 replaced the cameraMatrixTime variable from the renderer's public interface by a function 2017-10-03 23:31:35 +02:00
myT
70f301e4ff cvar help extension
cvar type+range extension
module tracking for cvars and commands
lots of help text
2017-10-03 19:11:10 +02:00
myT
d4ae363d71 fixed /bind treating single-character key names in a case sensitive manner 2017-09-12 03:27:23 +02:00
myT
6d18a0b5bd added the new client HTTP download system 2017-09-12 03:21:11 +02:00
myT
1c38742c5a new engine extension to toggle cgame input forwarding
cleaned up CL_CG_GetValue
2017-08-13 04:01:21 +02:00
myT
ac9d10cc97 fixed the position and size of the highlight rectangle of com_completionStyle 1 2017-07-30 03:27:54 +02:00
myT
265cca7eb6 raised the console text buffer size 2017-07-05 23:56:18 +02:00
myT
47a566f9cc com_completionStyle 1 for cycling auto-completion results line in ET 2017-07-05 05:53:05 +02:00
myT
23d0273489 commands registered by cgame get removed after CG_SHUTDOWN 2017-07-04 22:31:21 +02:00
myT
9ea5d021d5 implemented the new interop system
implemented the dynamic lights and integer shader time extensions
2017-06-22 07:15:47 +02:00
myT
8b5728559b unified the command history logic
when a command is the same as the previous one, it doesn't get saved
Linux tty keys support: left, right, home, end, delete
2017-06-04 13:02:20 +02:00
myT
aa2b00cbbb added m_accelStyle and m_accelOffset for a new accel style 2017-06-02 20:53:35 +02:00
myT
6cde91e503 always making sv_pakNames empty 2017-05-23 23:49:59 +02:00
myT
389cd1690d fixed a bunch of fp math expressions for lack of precision and incorrectly using double instead of float 2017-05-19 00:00:08 +02:00
myT
85d6762647 added auto-completion to the Windows dedicated server
fixed Linux dedicated servers inserting a leading backslash when running auto-completion
fixed tty handling of the leading "]"
2017-05-18 23:23:50 +02:00
myT
9d18b2dfe5 fixed the Linux build and removed unused files and dead code 2017-05-18 06:20:28 +02:00
myT
94541565b5 added con_scaleMode 2017-05-17 07:18:06 +02:00
myT
e7fc251663 no longer able to scroll past the topmost line after a console clear 2017-05-17 07:13:28 +02:00
myT
e4062a6c90 reduced win32 raw mouse input latency and added cl_drawMouseLag 2017-05-06 22:01:14 +02:00
myT
0e18c3b645 added BACKSLASH as a bindable key on Windows 2017-05-04 18:52:46 +02:00
myT
7ea3b4264c fixed multi-view mouse input sensitivity for CPMA 1.50 2017-05-04 08:51:13 +02:00
myT
3d6d1e587a renamed con_saveCmdHistory to con_history 2017-04-20 03:25:46 +02:00
myT
c63c3e80a6 replaced monitor gamma by a post-process gamma shader
ported the dyn lights shaders to glsl
nuked stereo rendering
replaced r_ext_multisample with r_msaa
2017-03-21 00:58:59 +01:00
myT
ae2560984a fixed comparing an int to NULL 2017-03-08 01:06:30 +01:00
myT
82994d21f8 opt-in command history saving with con_saveCmdHistory 2017-03-07 22:44:03 +01:00
myT
39ee0db5b7 added exception/signal/exit handlers to properly restore modified system settings like gamma ramps 2017-03-05 20:10:48 +01:00
myT
0f89ca6853 tweaked console scrolling (binds and speed), fixed the clamping and the backtick insertion on Windows 2017-01-23 07:33:53 +01:00
arQon
b34c0365ab red means error. always has, always will. let's keep it that way 2017-01-19 10:08:59 -08:00
arQon
4f9754adfe intelligent TAB-completion handling (support for mapnames, binds, etc) 2017-01-19 00:59:44 -08:00
arQon
047f312ea7 revert to linear falloff 2017-01-18 01:28:44 -08:00
myT
f327428475 full x64 support with a VM based on quake3e OCT 21 2016
the VM compiler uses SSE for floating-point ops when possible
2017-01-11 14:24:58 +01:00
arQon
954c80a8b5 merge the new build system
use the "premake" tool from the cnq3tools repo with
"--quake3dir=<q3dir>" to generate a VS sln and gcc makefiles

this changeset also removes the "clever" handling of fullscreen/windowed
changes which didn't actually work and just broke windowed mode
2016-12-29 20:13:59 -08:00
arQon
1afbf12d80 repair some strange quality regressions in the renderer source, as well as what looks like some half-merged pmx pieces. add glext for win32 platforms. NOTE: vc has poisoned a bunch of files with CRLF endings, because apparently you're not allowed to have those work properly in vs2013 and later, sigh 2016-12-18 03:05:45 -08:00
arQon
97db9f2314 import from cnq3 1.47 2016-12-17 20:43:04 -08:00