Commit graph

184 commits

Author SHA1 Message Date
Knightmare66
8aab001fb9 Fixed func_door_secret spawn function setting wrong die function if it has a health value in 3ZB2 and Awakening DLLs.
Overhauled slider menu control to show cvar value and simplify implementation.
Changed RGB color increment for railtrail in effects options menu from 16 to 4.
Changed default values for cl_railgreen and cl_railblue to be multiples of 4 to match increment of menu sliders.
Moved misc utility functions in ui_subsystem.c to ui_utils.c.
2021-02-16 13:22:45 -05:00
Knightmare66
02c10a1976 Added frame and skinnum parms to ThrowGib(), ThrowHead(), and ThrowDebris() in default Lazarus DLL. 2021-02-02 00:55:10 -05:00
Knightmare66
acbc341e53 Change error level to 3 for release builds of 3ZB2 and Awakening2 game DLLs.
Comment out unused vars in SP_func_door_secret2() in 3ZB2 and Awakening2 game DLLs.
Add ent->attenuation default in SP_func_door_secret2() in 3ZB2 and Awakening2 game DLLs.
Add prototype for door_use_areaportals() to g_local.h in 3ZB2 and Awakening2 game DLLs.
2021-02-02 00:30:24 -05:00
Knightmare66
5b7a23ad1b Added missing sounds and added support for sounds and area portals to func_door_secret2 in 3ZB2 and Awakening2 game DLLs.
Added missing sounds to func_door_secret in 3ZB2 and Awakening2 game DLLs.
Added SVF_GIB flag for physics to gibs and debris in Awakening2 game DLL.
2021-02-01 22:18:47 -05:00
Knightmare66
9481c7c513 Rewrote Com_strcpy() and Com_strcat() in game DLLs to not be based on strncpy() and to return size copied.
Changed Zaero and 3ZB2 game DLLs to use WORLD_SIZE for various calculations instead of 8192.
Cleaned up string handling in 3ZB2 game DLL.
Added func_plat2, func_door_secret2, and func_force_wall from Rogue to 3ZB2 game DLL.
Added alternate attack contact explode for grenade launcher in 3ZB2 game DLL.
Added awakening2 game DLL source.
2021-02-01 20:19:52 -05:00
Knightmare66
4afc95c317 Cleaned up string handling in extractfuncs. 2021-01-29 17:00:19 -05:00
Knightmare66
6e81e12456 Rewrote Q_strncpyz() and Q_strncatz() to not be based on strncpy() and to return size copied.
Fixed g_ctf.c->CTFSay_Team_Location() not supporting green team in 3TCTF mode.
2021-01-29 00:29:13 -05:00
Knightmare66
45a81cf57b Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs.
Cleaned up strig handling functions in game DLLs.
Refactored ThrowGib(), ThrowHead() and ThrowDebris() functions in missionpack DLL.
2021-01-26 00:08:08 -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
53340c1158 Fixed potential crash in game DLLs from a monster accidentally shooting a corpse in coop mode.
See here:
4132eed597
2021-01-21 18:30:55 -05:00
Knightmare66
2cac9ab01c Added HUD font option to interface options menu. 2021-01-11 02:04:12 -05:00
Knightmare66
a324593c65 Fixed not acurately setting both console and ui font options when open interface options menu. 2021-01-11 01:38:19 -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
4f3255e0fa Added CPUID support for AMD Renoir and Cezanne APUs. 2021-01-10 22:47:15 -05:00
Knightmare66
77a2053b72 Fixed PatchMonsterModel() skin names for certain monsters. 2021-01-02 15:58:52 -05:00
Knightmare66
8c26c2f3de Added CUID support for Intel Rocket Lake CPUs. 2020-12-26 03:11:22 -05:00
Knightmare66
124642a661 Reduced vulture fly speed to 10 in missionpack DLL. 2020-12-25 19:00:08 -05:00
Knightmare66
46d73f0f42 Changed monster Freddie to uses "sounds" key to select laser attack instead of a spawnflag. 2020-12-14 01:50:25 -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
df2257814f Added support for making model_spawn start off by setting delay to 1 along with toggle flag for both default Lazarus and missionpack DLLs.
Added support to target_change for changing usermodel, skinnum, solidstate, effects, renderfx, startframe, and framenumbers of model_spawn and model train for both default Lazarus and missionpack DLLs.
Added movewith support to func_water and func_bobbingwater for both default Lazarus and missionpack DLLs.
Added "skinnum" field to edict_t instead of directly reading the key into s.skinnum for default Lazarus DLL.
Disabled unused run+fire animation for Freddie in missionpack DLL.
2020-12-14 00:09:31 -05:00
Knightmare66
56473dc6e4 Added top comment decription to m_vulture.c in missionpack DLL. 2020-12-03 17:04:50 -05:00
Knightmare66
e8769195cd Added freddie and vulture monsters to missionpack DLL.
Added functions ThrowGibFrame() and ThrowDebrisFrame() to g_misc.c in missionpack DLL.
Added GIB_FEATHER gib type and MOVETYPE_FEATHER phys type to missionpack DLL.
Added precache functions for monster weapons in g_weapon_q1.c in missionpack DLL.
Moved function AimGrenade() from grenade.c to g_weapon.c in missionpack DLL.
2020-12-03 17:00:15 -05:00
Knightmare66
c7334dfab0 Fixed mega health always sound being played on pickup for health items with custom count in both default Lazarus and missionpack DLLs. 2020-12-03 03:38:07 -05:00
Knightmare66
93a2e256eb Allow mapper-specified skinnum for items in default Lazarus and missionpack DLLs.
Allow mapper-specified model and count for health items in default Lazarus and missionpack DLLs.
2020-11-23 04:07:08 -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
7b6f4281ad Added POSTTHINK_CHILD_MOVEMENT macro to new movewith host entities in g_spawn.c->SpawnEntities() in default Lazarus DLL.
Added Zaero flare gun to no-autoswitch in p_weapon.c->Pickup_Weapon() in missionpack DLL.
Added LM plasma rifle to p_weapon.c->NoAmmoWeaponChange() in missionpack DLL.
Added output of modelindex5&6, alpha, and attenuation to properties command  in missionpack DLL.
Added nogib and environment spawnflags to trigger_hurt and trigger_hurt_boox in missionpack DLL.
Added MONSTER_KNOWS_MIRRORS flag to berserker, barracuda shark, and mutant in missionpack DLL.
Added entity class IDs to misc_actor and target_actor in missionpack DLL.
Added syntax whitespacing to some files in missionpack DLL.
Added backpack drop to certain monsters in missionpack DLL.
Changed some sound paths for new monsters and weapons in missionpack DLL.
2020-10-29 13:03:20 -04:00
Knightmare66
e7db654934 Added entity class IDs for misc_actor and target_actor in default Lazarus DLL.
Restored updated GPL header in game/g_local.h.
2020-10-27 02:31:41 -04:00
Knightmare66
d16b46e3cf Added re-implementation of func_plat2 and func_door2 from rogue to default Lazarus DLL.
Overhauled child entity movement in default Lazarus DLL.
Added bbox versions of various triggers to default Lazarus DLL.
Added level.maptype field to default Lazarus DLL.
Added entity class IDs to default Lazarus DLL.
Incremented savegame version for default Lazarus DLL.
2020-10-27 02:00:05 -04:00
Knightmare66
08b4e6b1b4 Don't copy default.cfg to savegame dir. 2020-10-26 12:48:48 -04:00
Knightmare66
6f4f02f5bf Added implementation of TE_RAILTRAIL_COLORED.
Refactored railgun trail effect and decal code to handle color as red, green, blue parameters.
Moved CL_TextColor() from cl_string.c to cl_utils.c.
AddedCL_EffectColor() to cl_utils.c.
2020-10-08 17:32:37 -04:00
Knightmare66
c137bb8926 Added r_entity_doublelight cvar to renderer. 2020-09-30 03:17:50 -04:00
Knightmare66
fdca639bd4 Renamed save slots to use format of kmq2savexxx.
Increased number of save slots in save/load menus to 24.
2020-09-27 19:59:38 -04:00
Knightmare66
55c983cf4a Added 165 and 180Hz refresh rates to video menu. 2020-09-20 19:17:00 -04:00
Knightmare66
6a59000846 Changed chat filtering to also work for private messages.
Renamed "sp2" sprite structs for SP2 to have sp2 in their name.
2020-09-20 18:16:28 -04:00
Knightmare66
cc63f643ac Renamed md2 "alias" structs and defines for MD2 to have MD2 in their names. 2020-09-06 04:17:32 -04:00
Knightmare66
bc74e8dbc2 Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
Knightmare66
b8ea025d01 Increased size of filename buffer for alias script in direct load function in missionpack DLL.
Added new entity IDs to missionpack DLL.
2020-09-03 04:06:24 -04:00
Knightmare66
b91a68376a Increased size of filename buffer for entity transition file in missionpack DLL from MAX_QPATH to MAX_OSPATH.
Changed target_changelevel clear inventory check to use MAPTYPE_CUSTOM check instead of != MAPTYPE_ID.
Misc improvements to func_door_secret2.
Partial fix to func_door_secret as a movewith child.
2020-09-01 20:04:30 -04:00
Knightmare66
a680872065 Changed size of filename buffers for "entlist" and "properties" commands to MAX_OSPATH. 2020-08-30 00:20:39 -04:00
Knightmare66
72861a45cb Changed entlist command to use SavegameDirRelativePath().
Added better console output for entlist and properties commands.
2020-08-30 00:07:38 -04:00
Knightmare66
315ba242f5 Added missing Lazarus console comands to missionpack DLL. 2020-08-29 23:01:11 -04:00
Knightmare66
ed34b3b8ed Fixed missing sounds for buttons, doors, plats, etc. in id/rogue/xatrix maps caused by custom sound code in Lazarus and missionpack DLLs.
Added custom sound support to func_door_secret2 in missionpack DLL.
Changed missionpack DLL to use maptype_t enum in level_locals_t instead of constantly calling utility functions which contain multiple string compares.
2020-08-25 03:55:40 -04:00
Knightmare66
90274a87dd Added integer and description fields to cvar_t struct in game DLLs.
Fixed trailing ' in precache entry for weapon_chaingun.
Added sk_plasma_rifle_life_bounce and sk_plasma_rifle_life_spread cvars to
  missionpack DLL to control time-to-remove of plasma rifle projectiles.
Added SAVEGAME_DLLNAME specific to Citadel builds of missionpack DLL.
Added support for building a version of missionpack DLL specific to Quake2Evolved v0.40b.
2020-08-23 18:04:50 -04:00
Knightmare66
87e25e6e21 Fixed writes to CS_GENERAL configstrings overwriting all following configstrings. 2020-08-19 03:52:02 -04:00
Knightmare66
f4a9eff8d3 Renamed cl_inv.c to cl_hud.c and moved HUD parsing/drawing code there from cl_screen.c.
Added dumping of  configstrings to DumpStatusLayout command.
Added temp debuging output of CS_GENERAL configstrings to CL_ParseConfigString().
2020-08-19 02:42:15 -04:00
Knightmare66
ade1383471 Added resource script with version info to Zaero game DLL. 2020-08-18 03:30:34 -04:00
Knightmare66
80982e59a6 Fixed health reverting to previous max_health value on map change when game is not saved first.
Merged 64-bit specfic descriptions and  filenames into resource scripts via preprocessor definition for resource scripts.
Removed separate resource files for 64-bit builds.
2020-08-17 00:41:24 -04:00