Commit graph

386 commits

Author SHA1 Message Date
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
1c6bae1eb7 fixed a NULL pointer dereference crash in RB_CalcDiffuseColor 2017-07-06 05:41:03 +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
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
eb4b1d8615 removed r_stencilbits r_depthbits r_colorbits r_texturebits r_ext_compressed_textures 2017-06-22 09:41:36 +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
860610466a added a minimize button to the window 2017-06-14 07:44:37 +02:00
myT
bec4101854 using stb_image to load png and tga images
libjpeg errors no longer shut down the engine
2017-06-04 16:37:57 +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
b8b064fc53 fixed incorrect symbol usage for the Linux build 2017-06-03 13:02:01 +02:00
myT
59f658c791 fixed the win32 dedicated server build 2017-06-03 00:27:59 +02:00
myT
176f1ea09f improved error reporting for FBOs and shader compilations 2017-06-02 23: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
1ef18feab5 restoring desktop settings and minimizing the window when crashing
making sure the crash message box is always visible
2017-06-02 18:59:23 +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
c3ee3f2a4d with r_mode 1, tabbing out of the game will restore display settings on the desktop
fixed window restore after minimizing when clicking the task bar or using alt-tab
fixed r_mode 1 on secondary monitors
fixed in_mouse 2 input on secondary monitors
fixed the cursor sometimes staying visible and unclipped when restoring the window
2017-06-01 20:48:21 +02:00
myT
d9bacec921 in_minimize registers a hotkey to minimize/restore the client 2017-06-01 13:02:19 +02:00
Christiaan Hondeveld
53b0866069 Merged dedicated console history 2017-05-28 14:49:22 +02:00
myT
6cde91e503 always making sv_pakNames empty 2017-05-23 23:49:59 +02:00
myT
b51ac6eb9a check for overflows in SV_SetConfigstring and print a warning message when the gs buffer overflows 2017-05-23 23:46:52 +02:00
myT
1bd7614d21 added sv_minRebootDelayMins to control early server reboots 2017-05-23 23:42:02 +02:00
myT
b49c880fe5 fixed broken rendering when the 2nd stage of a collapsed shader stage pair had non-white colors 2017-05-19 00:23:53 +02:00
myT
a646bfdc87 fixed shader stages using "wave" not being animated when the server time is a big number 2017-05-19 00:04:32 +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
76ab2a5d6d we only run our handler for exceptions that we know we can't recover from 2017-05-17 07:48:26 +02:00
myT
8e2aafbdfd r_monitor is now latched, auto-updated and is used in every vid_restart call
fixed glConfig.vidWidth/Height when r_mode is set to use desktop res
2017-05-17 07:41:25 +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
f9d4056e41 fixed the pukka3tourney2 slime not being green with r_vertexLight 1 2017-05-04 19:06:51 +02:00
myT
6b167831dd fixed the ct3ctf1 grate near quad getting picmipped 2017-05-04 19:02:58 +02:00
myT
0e18c3b645 added BACKSLASH as a bindable key on Windows 2017-05-04 18:52:46 +02:00
myT
8abb87e783 fixed the player name look-up behavior of kick, banUser, dumpuser 2017-05-04 18:36:07 +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
7ea3b4264c fixed multi-view mouse input sensitivity for CPMA 1.50 2017-05-04 08:51:13 +02:00
myT
1f71b7c4c7 bumped the version to 1.49 2017-05-03 03:44:04 +02:00
myT
e199d943e0 fixed calls to OutputDebugStringA/W being considered a crash 2017-04-20 03:28:50 +02:00
myT
3d6d1e587a renamed con_saveCmdHistory to con_history 2017-04-20 03:25:46 +02:00
myT
46115fe130 updated the q3asm .map file output for simpler parsing 2017-04-17 23:13:54 +02:00
myT
b5ee082797 the blood decals on pukka3tourney2 were broken because of code adding lightmap stages 2017-04-11 17:47:21 +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
635e71d024 try to restore settings once only to make sure we always attempt writing
the backtrace(s)
2017-03-08 02:10:11 +01:00
myT
7ccf48f10d removed the WS_BORDER flag in FS as it caused issues on some configs 2017-03-14 05:22:12 +01:00
myT
ddb6f080f3 fixed RB_CalcDeformNormals from accessing floats as doubles, which was breaking the rendering of flags and probably many other things 2017-03-14 05:18: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
ae2560984a fixed comparing an int to NULL 2017-03-08 01:06:30 +01:00
myT
701ae06fbb update the glConfig resolution with the one we actually have 2017-03-07 23:32:50 +01:00
myT
84ae1e4d9e updated mouse input for better grab (de-)activation and fixed window dragging 2017-03-07 23:09:17 +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
82994d21f8 opt-in command history saving with con_saveCmdHistory 2017-03-07 22:44:03 +01:00
myT
14f037f1f9 tty input matches in-game behavior when cgame is running
fixed truncated tty input
2017-03-07 22:24:28 +01:00
myT
9240214c7b clear modifier keys on focus change 2017-03-07 22:14:55 +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
569247745b x64 target bug: _findfirst handle truncation would lead to crashes on some machines 2017-03-05 20:20:59 +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
arQon
d8bf2665f5 rewrite most of the linux mouse code: support (and prefer) xinput2 and raw support, default to the master pointer and add m_device to choose one explicitly. 2017-01-25 07:14:23 -08: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
9b350a7d0c replaced a needless linear walk through the shader text uberbuffer with a lookup 2017-01-20 18:26:16 -08:00
myT
26f2f7966c pressing tab means we always end up with a leading (back)slash 2017-01-19 23:26:06 +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
227305892f make KP_STAR great again 2017-01-19 07:24:21 -08: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
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
fc9465caab switch from jpeg6 to jpeg-turbo
aside from the speed improvements, this also makes for nicer code
in the renderer interaction with libjpeg, thanks to mem_dest support etc
2017-01-03 00:34:59 -08:00
myT
d449e35e2d simplified the code implementing Sys_GetProcessorId (and removed the inline asm) 2016-12-31 02:16:36 +01:00
myT
161f11e40e removed superfluous GetVersionEx calls (which is deprecated anyway) 2016-12-30 08:45:21 +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
3ea8c861a1 emit a message gl dlopen fails, rather than segfaulting 2016-12-23 11:09:26 -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