Commit graph

11 commits

Author SHA1 Message Date
Knightmare66
7cf0c475f5 Miscellaneous 64-bit porting fixes. 2020-07-29 06:05:09 -04:00
Knightmare66
26d58b1694 Added screenshot gamma correction.
Changed stats.log to save to savegamedir instead of the Quake2 root folder.
Renamed cvars menu_sensitivity, menu_rotate, and menu_alpha to ui_sensitivity, ui_item_rotate, and ui_background_alpha.
Removed some unused cvars.
Added CVAR_SAVE_IGNORE flag to "game" and "gamedir" cvars.
Added descriptions for most cvars.
Added dumpcvars command to output a list of cvars with their descriptions to cvarlist.txt.
2020-07-04 01:31:44 -04:00
Knightmare66
e317029eac Updated GPL headers based on Q2 Tools GPL source release. 2020-06-04 17:01:28 -04:00
Knightmare66
ee9f79daff Use cvar integer field instead of float value field where applicable in client and UI.
Fixed false alerts on 0-length unicasts in PF_Unicast().
2020-05-29 03:54:33 -04:00
Knightmare66
30012ce19c Finished implementation of fs_savegamedir and fs_downloaddir. 2020-05-02 16:08:01 -04:00
Knightmare66
a097e077ad Removed NET_SERVER_BUILD macro- it's been usused for years. 2020-04-30 12:13:47 -04:00
Knightmare66
ceb8970ecc Added font upscaling from Q2Pro.
Added dynamic updating of Anisotropic filtering.
Added Cvar_IsModified() function.
Refactored screen and HUD scaling functions.
Added text size to string drawing functions.
Added textSize field to menu items for submenu headers.
Fixed compiling on MSVC6.
2020-04-16 03:18:49 -04:00
Knightmare66
ce11b17e52 Fix text color codes not working in console notify messages due to false reset of formatting parms.
Renamed TextColor() and CL_StringSetParams in cl_string.c to CL_TextColor() and CL_StringSetParams().
Changed SetWindowLong() and GetWindowLong() calls in vid_dll.c to SetWindowLongPtr() and GetWindowLongPtr().
2020-04-07 21:14:22 -04:00
Knightmare66
c8ce7c05f9 Added shadow volume bboxes to determine if a volume shadow should be drawn, even if the model isn't in view.
Added z-pass shadows (Doom3 GPL method) when r_shadow_zfail is set to 0.
Removed direct writes to value field of r_lightlevel cvar.
Replaced Com_sprintf() calls in console drawing that fed a buffer into itself with Q_strncatz().
2020-03-19 22:28:18 -04:00
Knightmare66
890a803e5f Fixed text color and formatting disappearing after word wrap in console.
Added format code tracking to cl_console.c->Con_Print() to properly handle word wraps with text colors and bold/shadow/italic formatting.
Removed console ormask for player chat in CL_ParseServerMessage(), as the color formatting codes make it redundant.
2019-06-29 03:33:32 -04:00
Knightmare66
f986267ae2 inital commit of full repository 2019-03-13 15:20:07 -04:00