Commit graph

25 commits

Author SHA1 Message Date
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
8085bad68a Fixed wrap artifacts on upscaled 128x128 fonts at odd resolutions (1680x1050).
Changed vertex coords in R_DrawChar from float to int.  This fixes wrap artifacts with odd scaling factors.
2020-04-16 18:46:17 -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
562b6c816c Added filename to "Invalid JPEG color components" error message in JPG loader.
Added pointer checks to CL_TextColor().
2020-04-07 23:41:08 -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
7d294586f7 Fixed screen artifacting with light blooms enabled on a video mode with height less than 512.
Fixed text scale not changing after changing video modes.
2020-03-14 23:51:19 -04:00
Knightmare66
ccfa82d228 Exclude alphatest meshes from cel-shading. 2020-02-25 20:57:18 -05:00
Knightmare66
ff5079f8bb Fixed cell shading outlines on mirrored and view flipped models. 2020-02-24 04:27:50 -05:00
Knightmare66
bdf3406328 Added cel shading.
Moved ARB warp distortion texture to glMedia struct.
2020-02-23 14:07:48 -05:00
Knightmare66
f1b6052f15 Removed size limit of 512x256 for .wal textures. 2020-02-09 16:27:23 -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
92ef67ef44 Changed SetCrosshairNames(), SetFontNames(), and S_OGG_LoadFileList() to use FS_GetFileList().
Added zeroing of ogg_filelist pointer after free.
2019-10-12 19:54:15 -04:00
Knightmare66
a57b260b7b Increased console buffer size to 128K.
Made COM_* funtions buffer-safe.
2019-10-08 03:39:06 -04: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
0eac80b08a Added bounding boxes to all gibs to prevent dark lighting on sloped surfaces.
Inccrease NUM_FAIL_IMAGES and NUM_WALSIZES, decrease NUM_FAIL_TEXTURES due to maps missing tons of textures being rare.
2019-06-05 19:08:30 -04:00
Knightmare66
9c5fca4da2 Fixed maps.lst inside pak file overridding the external version of this file in baseq2.
Blacklisted maps.lst from loading from pak files.
Cleaned up unneeded va() string expansion in cl_main.c->CL_Connect_f().
2019-05-05 13:07:41 -04:00
Knightmare66
996814d7e5 Assign 0 value to aliasLightDir in renderer/r_alias.c. 2019-04-24 14:51:07 -04:00
Knightmare66
132b05f03a Added check for autosave slot in LoadGameCallback() to not specify a non-existent saveshot.
Check for minumum length of saveshot name in SCR_DrawLoading().
Skip STX char before map title in dedicated console output.
Increased number of failed images/textures and walsizes to 1024 from 256.
Added one last modType() -> FS_ModType() change I forgot to commit.
2019-04-16 19:15:25 -04:00
Knightmare66
af85a6bf80 Fix minor copypasta error in R_DrawGetPicSize(). 2019-04-05 15:56:13 -04:00
Knightmare66
f986267ae2 inital commit of full repository 2019-03-13 15:20:07 -04:00