Commit graph

51 commits

Author SHA1 Message Date
Knightmare66
1816e40c8f Change vid_fullscreen default to 0. 2021-10-24 22:18:06 -04:00
Knightmare66
86b480711c Added unix shell script for extractfuncs.
Updated extractfuncs.exe from latest source.
Use new cvar modified functions to force vid_restart from vid_ref.
Renamed qglDrawRangeElementsEXT to qglDrawRangeElements in qgl_win.c (missed in last commit).
2021-10-11 16:27:13 -04:00
Knightmare66
3ce18b138c Refactored spincontrol menu control with value lists, simplifying menu implementations.
Simplified loading and saving of cvars in slider menu control.
Enlarged text in Game, Multiplayer, and Options menus.
Fixed repeat of failed file causing HTTP downloads to restart.
Added cl_zoommode cvar to simplify Lazarus zoom command.
Changed zoom command to use new cl_zoommode cvar in default Lazarus and missionpack DLLs.
Removed unused "crossh" cvar in default Lazarus and missionpack DLLs.
Fixed Makron not having a classname when spawned from Jorg in default Lazarus and missionpack DLLs.
Made Tactician Gunner ignore small amounts of damage in missionpack DLL.
2021-09-04 02:18:06 -04:00
Knightmare66
69bbad2b9a Added video menu resolution list generation from vid_modes table via VID_GetModeInfo().
Added video menu anisotropic mode list generation from cvar.
Cleanup of menus and UI utils code from last refactoring.
Added player obituary for Makron in Zaaero game DLL.
2021-08-29 22:52:34 -04:00
Knightmare66
b80d34a3e3 Added r_mode_desktop cvar to force desktop resolution in borderless window mode. 2021-08-25 02:28:15 -04:00
Knightmare66
1e5348cbe0 Refactoring and rearrangment of menu code.
Added new graphic for text box.
Made edict_t pointer arrays static in 3ZB2, Awakening2, and Zaero DLLs due to stack size concerns.
2021-08-12 15:30:51 -04:00
Knightmare66
74c1930cf5 Made Tactician Gunner lead target based on random chance and skill level.
Changed Tactican Gunner's min prox range to 320.
Added bad_area fields to monster-fired prox mines with new g_newai.c->MarkProxArea() function.
Misc AI tweaks to handle prox bad_area fields.
Fixed flechettes clipping against player movement.
Cleaned up some old code from borderless window support.
2021-07-26 02:55:41 -04:00
Knightmare66
9912c694d0 Added borderless window support.
Added UI changes for renaming cl_screen.c->SCR_AdjustFrom640() to SCR_ScaleCoords().
Syntax cleanup in some client particle code.
Simplified Zaero visor HUD scaling hack with strncmp().
2021-07-20 00:21:05 -04:00
Knightmare66
263161d9fc Fixed Zaero visor HUD scaling hack triggering on Lazarus text popups containing "\"Tracking ".
Added yellow coloring to sscanf() failure warnings.
2021-07-14 22:21:01 -04:00
Knightmare66
4806e6cbc5 Added handling for sscanf() exceptions. 2021-07-14 05:27:46 -04:00
Knightmare66
94e238a893 Renamed cl_screen.c->SCR_AdjustFrom640() to SCR_ScaleCoords().
Added support for laser model with multiple skins to client entity code.
Enabled old blaster/flechette puff model when particles are disabled.
Added player muzzleflashes for LMCTF plasma rifle in cl_ents.c->CL_ParseMuzzleFlash().
Added support for extended w/ short index monster muzzleflashes using short enumerator to cl_lights.c->CL_ParseMuzzleFlash2().
Added contact parameter to g_monster.c->monster_fire_grenade() in missionpack DLL.
Added changeable blaster flash colors to cl_lights.c->CL_ParseMuzzleFlash2().
Added muzzleflashes for ionripper and plasma rifle soldier in cl_lights.c->CL_ParseMuzzleFlash2().
Removed unused removed weapons/hyprbu1a.wav from plasma rifle precache in default Lazarus, missionpack, and Zaero DLLs.
Added support for extended monster muzzleflashes to monster weapon code in default Lazarus and missionpack DLLs.
Changed fire_blaster() to use different skins in the same model instead of separate models for blaster bolts.
Tweaked default gib_health values in default Lazarus DLL.
Removed Lazarus grenade avoidance code from missionpack DLL.
Renamed monster_gunner_commander to monster_gunner_tactician in Lazarus DLL.
Adjusted damage for Tactician Gunner prox mines.
Changed order of glow pass in shared model rendering to be after envmap and celshading.
2021-07-09 19:54:05 -04:00
Knightmare66
d74c17da6f Updated libogg to 1.3.4 and libvorbis/libvorbisfile to 1.3.7. 2021-03-13 17:48:17 -05:00
Knightmare66
2a34ecfb51 Updated libjpeg to version 9d. 2021-03-13 04:02:46 -05:00
Knightmare66
01b5c9bb8c Updated libcurl to 7.75.0. 2021-03-13 03:03:29 -05:00
Knightmare66
931bdeb6d2 Updated libpng to 1.6.37. 2021-03-12 23:42:49 -05:00
Knightmare66
1b4eb2b6d7 Refactored server, qcommon, and Win32 code to use cvar integer field where applicable.
Commented out removal of "sethud" command in cl_screen.c.
2021-03-05 16:46:22 -05:00
Knightmare66
15d8479c9b Refactored menu utility funcs for fonts, crosshairs, savegames, serverlist, start server maplist, and player models and moved them to ui_utils.c.
Renamed "cursor" cursor_t struct to "ui_menucursor".
Renamed "currentweaponmodel" char pointer to "ui_currentweaponmodel".
Added shutdown functions for console, screen, and UI.
2021-02-17 04:11:49 -05:00
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
4f3255e0fa Added CPUID support for AMD Renoir and Cezanne APUs. 2021-01-10 22:47:15 -05:00
Knightmare66
8c26c2f3de Added CUID support for Intel Rocket Lake CPUs. 2020-12-26 03:11:22 -05:00
Knightmare66
978b8a3623 Added CPUID support for Intel Gemini Lake, Skylake U, Kaby Lake U, and Tiger Lake CPUs. 2020-12-14 00:39:33 -05:00
Knightmare66
6564aca449 Added descriptions to joystick cvars ("joy_*), (win32/in_win.c). 2020-11-20 16:57:05 -05:00
Knightmare66
9550b379c7 Added CUID support for Intel Comet Lake CPUs. 2020-10-30 18:06:58 -04:00
Knightmare66
093570ac4a Added default CPU name for ADM Zen/Zen+/Zen2 and Zen3 families. 2020-10-30 17:24:53 -04:00
Knightmare66
9d3f36d09c Added CPUID detection for 5000 series Ryzen CPUs. 2020-10-30 17:08:45 -04:00
Knightmare66
d9848657dc Const-ified string parms for filesystem funcs, function exports, and related func in game DLLs. 2020-08-11 02:08:18 -04:00
Knightmare66
37eb683714 Added cvar r_maxfps_autoset to allow disabling of automatic framerate capping.
Moved call to CL_SetFramerateCap() to UpdateVideoRef().
Future-proofed CL_SetFramerateCap() for higher refresh rates.
2020-08-06 18:47:26 -04:00
Knightmare66
988347e7d2 Yet more 64-bit porting fixes. 2020-08-02 02:00:01 -04:00
Knightmare66
11b69f8437 Added 64-bit static libraries. 2020-08-01 23:00:38 -04:00
Knightmare66
8f43c6bf9f More 64-bit portability fixes. 2020-08-01 22:54:35 -04:00
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
62c5281baa Refactored BUILDSTRING into OS_STRING and COMPILETYPE_STRING 2020-05-06 14:49:40 -04:00
Knightmare66
93dc5e0534 Added chat version advertisement using "!kmq2_version" or "!version" from R1Q2 (client/client.h, cl_main.c, cl_parse.c)
Updated CPU identification (win32/sys_win.c)
2020-05-06 12:55:56 -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
65b0c2281e Updated to libcurl 7.69.1 with HTTPS support.
Added UDP fallback from HTTP downloads and support for Q2Pro-style HTTP URLs.
Now allows downloading non-numerical pak files via flagging certain paks as protected.
Misc filesystem changes.
2020-04-30 02:10:27 -04:00
Knightmare66
9272d5ea85 Change Hunk_* and zone alloc functions to use size_t instead of int.
Replace READ_COMPRESSED_SAVEGAMES and WRITE_COMPRESSED_SAVEGAMES macros with COMPRESSED_SAVEGAMES.
Misc changes and some cleanup to game code.
2020-04-20 03:17:27 -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
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
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
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
5e7cc0a375 Remove DeinitConProc() call for NEW_DED_CONSOLE builds where it's init function is never called. 2019-06-11 23:36:40 -04:00
Knightmare66
cace814029 Set the teamplay box value based on dmflags. 2019-04-18 12:00:55 -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