Commit graph

144 commits

Author SHA1 Message Date
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
51cda86421 added the trap_IsRecordingDemo syscall for CPMA 1.52+ 2018-12-08 00:55:21 +01:00
myT
2f70685fa3 fixed bitstream string parsing not reading the last byte of max length strings ("q3msgboom") 2018-12-08 00:24:51 +01:00
myT
55ae7645b1 fixed demo playback abortion crashing when the "nextdemo" cvar was set to play a demo
also no longer breaking when stopping demo playback because it's annoying as hell
2018-12-08 00:13:45 +01:00
myT
8ecb5683d1 raised the upper limit of open stdio file handles from 512 to 2048 on Windows 2018-12-07 22:18:17 +01:00
myT
1370e44ae5 added /cvar_add and /cvar_mul 2018-10-05 13:30:20 +02:00
myT
067ae10ab5 added /unset, /setempty and sequence support to /toggle 2018-06-03 20:54:45 +02:00
myT
14f5b4e06d bumped the version number up 2018-02-08 06:43:00 +01:00
myT
2e3f12c9a2 fixed long pk3 entry names causing crashes
when an entry was broken, pack_t::buildBuffer and fs_packFiles would end up wrong
2018-02-08 02:44:03 +01:00
myT
7bfc5d9487 using the registered cvar/cmd names in the help panel instead of argument 0
cleaned up cmd.cpp with Cmd_FindCommand
2018-02-07 06:51:37 +01:00
myT
005dd46e08 print a warning when trying to create a deprecated cvar 2018-02-07 06:24:45 +01:00
myT
6cafc76e87 the client executable will now write to q3config.cfg on exit 2018-02-07 06:22:44 +01:00
myT
c512071f2d updating the FS on client disconnects 2018-01-29 20:28:37 +01:00
myT
afe84395c5 fs_reordered is now always set before leaving the FS_ReorderPurePaks function 2018-01-29 20:23:17 +01:00
myT
c4135557ad search paths were not getting re-ordered after reconnects 2018-01-25 21:07:58 +01:00
myT
ac4928e18d reworked and unified sleeping
reduced client update rate when minimized
fixed timedemo playback
2018-01-25 06:41:30 +01:00
myT
4b99ff0cc5 added the fs_restart command 2018-01-25 05:29:53 +01:00
myT
5ea79f073c re-ordering the pak list when connected to a pure server
this fixes pure listen servers allowing unpure overrides for the owner
2018-01-25 05:25:57 +01:00
myT
b4b3482fd2 lifted the directory scanning restriction that affected pure listen servers 2018-01-25 05:11:33 +01:00
myT
79683b5ab4 removed fs_fakeChkSum, which was always 0 2018-01-25 05:03:49 +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
eaa376a292 fixed demo playback crashing when delta entities/players had an invalid field count 2018-01-24 01:41:30 +01:00
myT
511c7ad2cc com_hunkMegs doesn't have a maximum value anymore 2018-01-15 21:40:29 +01:00
myT
7020abd4a8 sv_pure 1 now allows new image files (no overrides) to be read from directories
very useful for CPMA's SuperHUD
2018-01-07 13:58:45 +01:00
myT
3cb1fe44a8 ignore q3config.cfg and autoexec.cfg outside fs_gamedir to avoid config poisoning 2018-01-04 19:59:37 +01:00
myT
f084ddb218 cvar type/range fixes 2017-12-28 07:11:58 +01:00
myT
eb7511f4df out of range cvars get reset if the default is valid 2017-12-28 07:01:14 +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
bb4804ba49 allowing timescale 0 again for CPMA demo pauses 2017-12-25 08:51:54 +01:00
myT
04ebdc63f6 fixes for VC++ platform toolsets v140 and v141 2017-12-20 05:41:04 +01:00
myT
2b7c0d56f9 changed 2 cvar names/ranges and fixed the server's time wrap check
sv_minRebootDelayMins <mins> -> sv_minRestartDelay <hours>
com_completionStyle -> con_completionStyle
2017-12-14 23:37:23 +01:00
myT
fc07318da5 improved formatting for cvar queries and cvar range warnings 2017-12-14 22:48:38 +01:00
myT
339bbea468 command names are no longer case sensitive 2017-11-22 19:03:13 +01:00
myT
79f46df525 fixed uninitialized pointers due to Cvar_GetHelp and Cmd_GetHelp 2017-11-13 03:07:34 +01:00
myT
f36f363020 cvarlist/cmdlist print 'h' when more help is available 2017-11-13 01:54:33 +01:00
myT
de72f96ae7 added the cvar_trim command to remove all user-created cvars 2017-11-12 01:01:20 +01:00
myT
a61c6f0e47 cvar and cmd auto-completion tweaks
'h' indicates more help is available
'?' indicates a cvar is user-created
muted the Com_sprintf overflow warnings
2017-11-12 00:28:58 +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
4cd544217c platform layer GL interface cleanup
renamed and documented the core GLimp functions
moved the memset calls out of GLimp_Shutdown
dealing with anisotropic filtering properly and fixed the cvar's range and help
platform extension loading is done through Sys_GL_LoadExtensions
throwing fatal errors is done by the renderer exclusively
removed QGL_Init and QGL_Shutdown
cleaned up glconfig_t
filling up the unused glConfig fields in the renderer for old mods
2017-11-03 19:33:54 +01:00
myT
213ab998df ignore sv_pure when auto-completing file system files 2017-10-28 22:42:17 +02:00
myT
ef83d7314d fixed Q_stristr declaring a variable in the middle of a scope block 2017-10-18 00:53:08 +02:00
myT
1f49b43a39 con_history 1 is not just for clients anymore 2017-10-12 19:12:41 +02:00
myT
741e5e2f12 fixed com_hunkMegs's min. string value in dedicated server builds 2017-10-12 18:59:20 +02:00
myT
ba199c4de1 increased the zone buffer size because of temp image space 2017-10-12 05:14:09 +02:00
myT
9a7ab19245 sv_restartProcess restarts the child process
uptime print child process, parent process and map uptimes
2017-10-12 03:45:24 +02:00
myT
ac48bc3248 new Linux signal handlers
removed the statically linked libbacktrace
dynamically linking to libunwind8 when available
fixed the c++98 option being passed to the wrong premake filter
2017-10-10 19:36:12 +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
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
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
bc83712ec6 reverted the trap_R_AddRefEntityToScene syscall changes to avoid engine/mod coupling 2017-08-12 03:14:06 +02:00
myT
ed65f40789 fixed History_SaveCommand incorrectly ignoring certain commands 2017-07-30 09:06:55 +02:00
myT
c95e9a86ee added automatic process restarts for Linux dedicated server crashes and timed reboots
putting the UTC date and time in Linux crash report file names
2017-07-06 06:10:29 +02:00
myT
47a566f9cc com_completionStyle 1 for cycling auto-completion results line in ET 2017-07-05 05:53:05 +02:00
myT
9b776ab343 keep cvars and commands alphabetically sorted 2017-07-04 23:14:28 +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
b8e4413d2f enforcing the [-127 127] usercmd range in trap_GetUserCmd 2017-06-20 07:41:39 +02:00
myT
49f7f8bbd8 trap_RemoveCommand was missing from cg_public.h 2017-06-20 02:01:35 +02:00
myT
4c98469f3f fixed the incorrect backslash insertion on empty edit lines in the dedicated server consoles 2017-06-04 13:04:45 +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
c1c9031f13 raised MAX_CVARS to handle bloated configs 2017-06-01 20:53:17 +02:00
myT
b19cd251b9 removed some dead code 2017-06-01 20:49:52 +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
e4062a6c90 reduced win32 raw mouse input latency and added cl_drawMouseLag 2017-05-06 22:01:14 +02:00
myT
998ad98511 the mismatching initial values developer cvar warning only gets printed once 2017-05-04 18:30:06 +02:00
myT
172b6a0e9a fixed Q_itohex not dealing with big numbers properly 2017-05-04 18:24:09 +02:00
myT
1f71b7c4c7 bumped the version to 1.49 2017-05-03 03:44:04 +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
1efd5b6d82 improved crash and exit handlers that restore system settings (monitor gamma ramps, system timer resolution, terminal settings, ...) and crash reports with full QVM stack trace 2017-03-14 05:11:12 +01:00
myT
d945904298 fixed a memory leak due to an incorrect munmap argument (credit: Cyrax) 2017-03-08 16:10:34 +01:00
myT
0bc9c75e49 moved the create_git_header scripts into the cnq3 repository 2017-03-08 02:41:21 +01:00
myT
e567ed84d0 file system start-up will now verify the presence and integrity of baseq3/pak0-8.pk3 2017-03-07 22:56:53 +01:00
myT
fcab743f4a calling Com_Error before com_noErrorInterrupt was initialized would crash 2017-03-06 01:40:29 +01:00
myT
076cf14d02 using much simpler and faster Huffman codec code when not dealing with out of band datagrams 2017-03-05 23:32:58 +01:00
myT
e0d55dc63c improved multi-monitor support and added r_monitor
only apply hw gamma ramps where and when needed
fixed the start-up console window staying visible when starting in full-screen
black window background to avoid the white flashes when hw gamma is enabled
2017-03-05 22:48:02 +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
myT
26f2f7966c pressing tab means we always end up with a leading (back)slash 2017-01-19 23:26:06 +01:00
arQon
379d2e9ee1 can't try to autocomplete keynames in the dedserver build - there aren't any keys :) 2017-01-19 03:56:09 -08:00
arQon
4f9754adfe intelligent TAB-completion handling (support for mapnames, binds, etc) 2017-01-19 00:59: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
myT
5b51b6ba5d increaded the command buffer size and tuned buffer overflow messages 2016-12-18 16:51:04 +01: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