Commit graph

278 commits

Author SHA1 Message Date
Knightmare66
52efbae77d Missed a couple of things from Linux finishing changes. 2021-11-18 01:26:32 -05:00
Knightmare66
e7eca9e3ff Change game library name in makefile to match recent change for x86_64 -> x64. 2021-11-17 19:41:25 -05:00
Knightmare66
9be3063f0e Fixed reformatting typo in qgl_unix.c. 2021-11-17 19:04:52 -05:00
Knightmare66
0dc88d405d Merged Ethan Lee's finishing Linux and MacOS X porting changes.
Added support for MacOS-specific keys to cl_keys.c.
2021-11-17 18:58:12 -05:00
Knightmare66
25d030bf19 Added detection for Windows 11 and Windows Server 2019. 2021-11-15 00:52:53 -05:00
Knightmare66
730ed13e71 Added CPUID support for Intel Alder Lake CPUs. 2021-11-15 00:10:23 -05:00
Knightmare66
f829090864 Added custom animations array and enabled target_animation entity in missionpack DLL.
Added support for custom client railgun colors in missionpack DLL.
Removed sk_rail_color_* cvars from missionpack DLL.
Added CS_HUDVARIANT configstring.
Added code to set CS_HUDVARIANT configstring in game DLLs.
2021-11-11 21:32:00 -05:00
Knightmare66
ec1c4c03f8 More reformating and refactoring of m_actor.c in default Lazarus and missionpack DLLs. 2021-11-05 16:08:04 -04:00
Knightmare66
6de038bb2b Refactored m_actor.c in default Lazarus and missionpack DLLs with macros for weapon numbers.
Reformatted g_camera.c in default Lazarus and missionpack DLLs.
Added color string utility function to missionpack DLL.
2021-11-05 05:23:57 -04:00
Knightmare66
054d9522ec More formatting changes to misc_actor code in default missionpack and Lazarus DLLs.
Added support for LMSP plasma rifle to misc_actor in missionpack DLL.
2021-11-03 18:02:54 -04:00
Knightmare66
b4a509243d Reformatted m_actor.c and m_actor_weap.c in default Lazarus and missionpack DLLs. 2021-11-03 03:46:07 -04:00
Knightmare66
f4d66df31b Added "This file is generated by Extractfuncs, do not modify" comment to header ouput for extractfuncs. 2021-11-02 19:19:17 -04:00
Knightmare66
304e3e30c4 Fall back to using r_mode when GetSystemMetrics() API calls fail in win32/vid_dll.c->VID_GetModeInfo().
Previous handling of API call failure could cause repeat returns of false, resulting in a fatal error.
2021-11-01 21:51:39 -04:00
Knightmare66
d552aa1e48 Use proper detection of error/failure from GetSystemMetrics() API calls in win32/vid_dll.c->VID_GetModeInfo(). 2021-11-01 20:38:22 -04:00
Knightmare66
95295401a4 Added support for custom client railgun colors in 3ZB2, Awakening2, and Zaero DLLs.
Added weapon balancing and tech control cvars to 3ZB2 DLL.
Added Vampire and Ammogen techs to 3ZB2 game DLL.
Fixed func_door_secret movement bug (when built with origin brush) in Zaero DLL.
Fixed armor stacking bug in default Lazarus, missionpack, and Zaero DLLs.
Removed unused tech cvars in default Lazarus DLL.
Changed parsing of TE_BLASTER_COLORED tempent.
2021-10-31 03:53:09 -04:00
Knightmare66
b4fe9c809e Added custom animations array and re-enabled target_animation entity in default Lazarus DLL.
Added support for custom client railgun colors in default Lazarus DLL.
Removed sk_rail_color_* cvars from default Lazarus DLL.
2021-10-28 21:39:19 -04:00
Knightmare66
b573e7da75 Add support for arrays of structs (up to 4 dimensions) to extractfuncs. 2021-10-28 20:28:49 -04:00
Knightmare66
1816e40c8f Change vid_fullscreen default to 0. 2021-10-24 22:18:06 -04:00
Knightmare66
7c837e73a5 Increase default fullscreen resolution to 1024x768. 2021-10-24 19:22:35 -04:00
Knightmare66
97a87dbe6e Added color1 userinfo cvar for player railgun effect color to client.
Added red/green/blue component sliders to player setup menu to change player railgun effect color.
Added parsing test code for color1 cvar in client code of default Lazarus DLL.
Will integrate custom color into railgun weapon code for next savegame version increment.
2021-10-21 02:03:19 -04:00
Knightmare66
5d252f3bbc Added changable railgun weapon skin based on sk_railgun_skin cvar to change railgun skin to default Lazarus, missionpack, and Zaero DLLs.
Added sk_rail_color_red, sk_rail_color_green, and sk_rail_color_blue cvars to change rail trail color when cvar sk_rail_color is set to 2 in default Lazarus, missionpack, and Zaero DLLs.
Added ctf_railcolors cvar to default Lazarus DLL.
2021-10-16 23:19:27 -04:00
Knightmare66
4635d4a5b8 Clean up Q_ftol() for Linux porting in DLL sources. 2021-10-11 22:02:12 -04:00
Knightmare66
fa0f460482 Straighten out USE_GLMIPMAP platform/OS confusion in r_image.c. 2021-10-11 17:58:06 -04:00
Knightmare66
6eec9c1a76 Fix minor oops with _WIN32 macro in g_misc.c. 2021-10-11 17:37:32 -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
4eea7036b8 Added Ethan Lee's Linux porting changes.
Moved loadingMessage, loadingMessages, and loadingPercent variables in client into client_static_t struct.
2021-10-11 15:38:20 -04:00
Knightmare66
3956855f13 Added support for custom axis rotation for func_door_rotating, func_door_rot_dh, func_door_swinging, func_rotating, and func_rotatating_dh in default Lazarus and missionpack DLLs. 2021-10-06 19:04:43 -04:00
Knightmare66
d15474a52e Added changeable blaster weapon skin based on sk_blaster_color cvar in default Lazarus, missionpack, and Zaero DLLs.
Refactored some weapon code in missionpack DLL.
2021-09-30 20:09:36 -04:00
Knightmare66
bea11c25e0 Added automatic re-initialization of UI data and execution of config files (via CL_ChangeGameRefresh() and FS_ExecConfigs()) when changing "game" cvar and gamedir.
Added CL_ChangeGameRefresh() in cl_main.c.
Added UI_RefreshData() in ui_main.c.
Added FS_ExecConfigs() in filesystem.c to handle execution of default.cfg and kmq2config.cfg.
Fixed crash due to uncleared pointers when reinitializing mapshotvalid state arrays.
2021-09-27 21:50:33 -04:00
Knightmare66
e8680f266e Added automatic re-initialization of UI data and execution of config files (via CL_ChangeGameRefresh() and FS_ExecConfigs()) when changing "game" cvar and gamedir.
Added CL_ChangeGameRefresh() in cl_main.c.
Added UI_RefreshData() in ui_main.c.
Added FS_ExecConfigs() in filesystem.c to handle execution of default.cfg and kmq2config.cfg.
Fixed crash due to uncleared pointers when reinitializing mapshotvalid state arrays.
2021-09-27 21:47:12 -04:00
Knightmare66
fcdd241f96 Added re-initialization of UI data (via UI_RefreshData() in ui_main.c) when changing gamedirs.
Added CL_ChangeGameRefresh() in cl_main.c.
Refactored execution of default.cfg and kmq2config.cfg via FS_ExecConfigs() in filesystem.c.
Fixed crash due to uncleared pointers when reinitializing mapshotvalid state arrays.
2021-09-27 21:37:44 -04:00
Knightmare66
3fcff505a8 Renamed internally generated textures.
Changed blendmode for envmap entity shells.
2021-09-27 12:59:00 -04:00
Knightmare66
2744534829 Added flag to reload player models in menu when new player models/skins have been downloaded. 2021-09-21 03:02:44 -04:00
Knightmare66
26bf1a14ad Added support for downloading sounds with player models. 2021-09-12 02:03:24 -04:00
Knightmare66
d0d781761d Added keybind menu control type.
Refactored key binding menu with new control type.
Minor cleanup of menu implementations.
2021-09-05 00:05:38 -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
8ec00f2f51 Fixed pain sounds for soldiers with custom skins in default Lazarus DLL.
Added unique soundindex variables for Xatrix soldiers in missionpack DLL.
2021-08-26 02:18:59 -04:00
Knightmare66
a916bca556 Fixed bug with gekks not jumping out of water in missionpack DLL.
Fixed non-precached sounds for Xatrix soldiers in missionpack DLL.
Changed cvar mp_monster_replace to CVAR_LATCH in missionpack DLL to prevent issues with glitched soldier sounds.
2021-08-26 00:48:03 -04:00
Knightmare66
5fa2f39ddc Removed specific reference to xatrix from instructions on using basegame cvars. 2021-08-25 16:29:52 -04:00
Knightmare66
66e7c684f4 Update readme with instructions on using basegame cvars. 2021-08-25 16:23:05 -04:00
Knightmare66
a8769eca9b Update changelog for last commit. 2021-08-25 04:57:05 -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
e872299cbd Excluded monsters in death anim from hint_path developer command in default Lazarus and missionpack DLLs.
Added close-range safety check for gunners with contact grenades in default Lazarus and missionpack DLLs.
2021-08-24 04:50:59 -04:00
Knightmare66
308e1b13c4 Zero-initialize drawStruct_t in cinematic, console background, HUD field, and subimage string drawing.
Fix crash vulnerabilities in hint_test, entid, and entlist developer commands in default Lazarus and missionpack DLLs.
2021-08-22 22:12:39 -04:00
Knightmare66
094bf36ce4 Zero-initialize drawStruct_t in client pic drawing funcs using = { 0 };
Zero-initialize vector in ED_ParseField() using = { 0.0f, 0.0f, 0.0f };
2021-08-22 04:18:03 -04:00
Knightmare66
3672ea6be8 Added cvars ui_new_textfield and ui_new_textbox to toggle drawing text fields and text boxes with new images and font-based tiles.
Improved Tactician Gunner prox mine detection in missionpack DLL.
Implemented Zaero modifications (can be pushed off ledge) to exploding barrels in missionpack DLL.
Changed incomplete vector parsing check in ED_ParseField() to a warning instead of an error in all game DLLs.
2021-08-21 14:27:04 -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
608814c830 Fixed firing player weapon while using spycam/remote turret in default Lazarus and missionpack DLLs.
Fixed Tactician Gunner's flechettes going thru player bbox at point blank.
Made edict_t pointer arrays static in server, default Lazarus, and missionpack DLLs due to stack size concerns.
Added contact grenade mode for special monster flag for gunners in default Lazarus and missionpack DLLs.
2021-08-10 16:37:04 -04:00
Knightmare66
add4c7cc46 Reworked 2D pic drawing using a new, merged R_DrawPic() function. Moved old pic drawing functions to r_draw_removed.c.
Added new SCR_DrawPic() variants in cl_screen.c.
Added new graphics for text fields and sliders in menus.
Improved mouse interaction for menu sliders.
Added resettargets developer command to default Lazarus and  missionpack DLLs.
Added hint_test developer command to missionpack DLL.
Fixed freeze developer command in default Lazarus and missionpack DLLs so it can be used more than once.
More tweaks to Tactician Gunner prox mine safety checks in misssionpack DLL.
2021-08-07 00:43:46 -04:00