Commit graph

21 commits

Author SHA1 Message Date
Knightmare66
1abde37ba0 Changed parameter order for Q_strncpyz() and Q_strncatz() to match Com_strcpy() and Com_strcat() from missionpack DLL. 2021-01-25 02:47:07 -05:00
Knightmare66
a07cf5c962 Added ui_font and scr_font cvars to separately change menu and HUD font.
Added R_DrawString() to allow drawing of text strings directly in the renderer.
Refactored r_speeds drawing to use new R_DrawString() function.
2021-01-11 01:17:13 -05:00
Knightmare66
c137bb8926 Added r_entity_doublelight cvar to renderer. 2020-09-30 03:17:50 -04:00
Knightmare66
7cf0c475f5 Miscellaneous 64-bit porting fixes. 2020-07-29 06:05:09 -04:00
Knightmare66
d30c74ebe3 Fix crash with null pointer in SV_AreaEdicts_r().
Fix crash with null activator in G_UseTargets().
Tweak descripton of cvar r_modulate.
Update change log for new layout script commands.
2020-07-27 18:03:25 -04:00
Knightmare66
2219435b5c Added upscaling of scrap image. 2020-07-19 02:51:05 -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
9b4e85322c Added Q_StrScanToken() to replace StringContainsToken() for non-ambiguous token searching.
Changed CL_FilterStuffText() to use Q_StrScanToken() instead  of strstr().
2020-05-16 01:02:34 -04:00
Knightmare66
e6ec99c444 Added support to menu framework for changing font sizes of all menu controls.
Added r_clearcolor_r, r_clearcolor_g, r_clearcolor_b cvars to change gl_clear fill color.
2020-04-18 00:24:32 -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
f38b767fc1 Added support for cvar descriptions. 2020-04-08 23:26:17 -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
bf146f4637 Use cvar integer field instead of float value field where applicable in renderer. 2020-03-19 23:37:01 -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
bdf3406328 Added cel shading.
Moved ARB warp distortion texture to glMedia struct.
2020-02-23 14:07:48 -05:00
Knightmare66
c6c7e79b5a Added application compatbility manifest for Windows 8.1 and 10.
Increased sky draw distance.
2020-02-06 18:58:22 -05:00
Knightmare66
31b164ca9d Added support for 160 and 240 Hz refresh rates. 2019-12-09 18:32:27 -05:00
Knightmare66
11680e319c Fixed light blooms killing performance if texture compression is enabled. 2019-07-09 00:15:17 -04:00
Knightmare66
de8072c9e0 Use MAX_QPATH instead of MAX_PATH in CL_ParseConfigString().
Clean up fog hacks in R_RenderView().
Remove file exists outputs in CL_CheckAndQueueDownload().
2019-06-10 12:16:13 -04:00
Knightmare66
f986267ae2 inital commit of full repository 2019-03-13 15:20:07 -04:00