Commit graph

84 commits

Author SHA1 Message Date
Knightmare66
ce580d2c10 Added new filesystem functions to game code.
Changed sk_ cvar names to match.
2020-04-19 23:57:44 -04:00
Knightmare66
2788421eb0 Added working directory fix from R1Q2. 2020-04-18 22:01:14 -04:00
Knightmare66
e96adb36a9 Added descriptions to option menu submenu actions.
Fixed fill of black menu status bar.
Added Sys_ExeDir(), Sys_PrefDir(), and Sys_DownloadDir().
2020-04-18 21:46:47 -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
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
e9a777fdf7 Change TextColor() reference in vid_null.c to CL_TextColor(). 2020-04-07 21:17:21 -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
bf0e8af8a7 Added support for quake2:// URLs.
Pointer fixes to dedicated console.
Renamed new teleport event.
Partial cleanup to game DLL fog code.
Added Zaero monsters and misc entities to missionpack DLL.
2020-04-07 02:02:54 -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
d1c1e87940 Prevent divide by zero errors with cl_particle_scale cvar. 2020-03-19 17:15:38 -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
1c7ec5a56b Incremented savegame version for missionpack DLL due to addtion of new key items breaking saves.
Fixed savegame crash in missionpack DLL caused by duplication of "key_message" in save fields.
2020-03-13 22:27:24 -04:00
Knightmare66
527ebab91d Fix sound index range for EV_PLAYER_TELEPORT_Q1 to be 0-4, not 0-5. 2020-03-12 02:36:15 -04:00
Knightmare66
f8e43f0a4b Added Q1 teleport entity event. 2020-03-09 15:11:50 -04:00
Knightmare66
f2d381eaf1 asdf 2020-03-08 06:04:30 -04:00
Knightmare66
1eaba3e791 Fixes for lavaball entity and func_door_secret2. 2020-03-08 05:56:09 -04:00
Knightmare66
ef76c81f23 Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
Knightmare66
ccfa82d228 Exclude alphatest meshes from cel-shading. 2020-02-25 20:57:18 -05:00
Knightmare66
f9688191e1 Added slider to advanced video menu for cel shading width. 2020-02-25 02:53:01 -05:00
Knightmare66
1be86ec1b2 Fixed handling of high-bit alt color strings. 2020-02-24 23:22:45 -05:00
Knightmare66
ff5079f8bb Fixed cell shading outlines on mirrored and view flipped models. 2020-02-24 04:27:50 -05:00
Knightmare66
eb97af1598 Added sources for Zaero mission pack and 3ZB2 bot DLLs.
Added GetFileList() to game function imports in misison pack DLL game.h.
2020-02-23 16:15:28 -05:00
Knightmare66
bdf3406328 Added cel shading.
Moved ARB warp distortion texture to glMedia struct.
2020-02-23 14:07:48 -05:00
Knightmare66
552fe17908 Added missing CTFSay_Team() to client commands list. 2020-02-21 22:01:52 -05:00
Knightmare66
e3b3c0d5cc Renamed project files for official mission pack support DLL. 2020-02-15 14:53:26 -05:00
Knightmare66
0a88219a83 Added missing settable spawn health for info_player_start
Added support for attenuation = -2 player only for target_speaker
Added header file for Coconut Monkey vulture monster
2020-02-13 18:49:26 -05:00
Knightmare66
f1b6052f15 Removed size limit of 512x256 for .wal textures. 2020-02-09 16:27:23 -05:00
Knightmare66
2efcb5a672 Fixed potential crash caused by infinite recursion in client footstep code. 2020-02-09 03:04:16 -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
722289fe27 Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
Knightmare66
31b164ca9d Added support for 160 and 240 Hz refresh rates. 2019-12-09 18:32:27 -05:00
Knightmare66
8ac9e3c693 More cleanup of string handling in CTF code.
Increased MAX_ARENAS to 4096.
2019-11-20 21:13: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
2959cb730a Fix possible memory leak in menu font and crosshair loading. 2019-10-11 15:30:46 -04:00
Knightmare66
3da6641b19 Added blacklist check for pak files in FS_FindFiles() and FS_FilteredFindFiles(). 2019-10-08 23:08:44 -04:00
Knightmare66
01d78fcaf7 Added new FS_GetFileList() function to retrieve lists of files (by extension or filter) from both paks and game dirs.
Changed UI_LoadArenas() to use FS_GetFileList().
Exported FS_GetFileList() to game DLL.
2019-10-08 21:55:44 -04:00
Knightmare66
a57b260b7b Increased console buffer size to 128K.
Made COM_* funtions buffer-safe.
2019-10-08 03:39:06 -04:00
Knightmare66
04077d600c Add detection for Ryzen 3000 series CPUs. 2019-09-09 14:09:41 -04:00
Knightmare66
8dd73fd86e Added version detection for Windows 8.1/Server 2012 R2 and Windows 10/Server 2016. 2019-09-09 05:00:57 -04:00
Knightmare66
9b61347592 Added compression of .sv2 and .sav files into one .savz zip archive.
Added additional save info (full mapname, date and time, auto/quick save) to server.ssv file.
2019-08-29 18:54:46 -04:00
Knightmare66
e3a80955cd Replace strstr with non-ambiguous check for file extensions. 2019-08-29 16:58:21 -04:00
Knightmare66
6733c0cf6c Added basegame3 cvar to load data from up to 3 other mods. 2019-08-29 16:04:14 -04:00
Knightmare66
d6e78497f8 Load .arena files not loading from directories, not just from paks.
Fix check of FL_REFLECT in M_CheckAttack() being overridden by other if blocks.
Changed falling armor damage to off by default.
Added sanity checks to cl_string.c->StringSetParams().
2019-08-18 02:38:19 -04:00
Knightmare66
801a8292b3 Removed redundant if block in g_phys.c->SV_Physics_Step().
Fixed switch statement fallthrough in func_pushable water current code.
2019-07-30 17:50:32 -04:00
Knightmare66
fe7685022f Increased MAX_MAP_VISIBILITY. 2019-07-13 14:19:05 -04:00
Knightmare66
11680e319c Fixed light blooms killing performance if texture compression is enabled. 2019-07-09 00:15:17 -04:00