Commit graph

198 commits

Author SHA1 Message Date
Knightmare66
751fbac9de Changed 3ZB2 game DLL to use inline Q_vsnprintf() function instead of abstracting _vsnprintf().
Changed missionpack and Zaero game DLLs to use _MSC_VER insead of _WIN32 macro for using Q_vsnprintf() inline function.
2021-03-11 22:57:01 -05:00
Knightmare66
2b1aff408d Added target_effect entity from Lazarus to Awakening2 game DLL.
Minor formatting change to assigns and comapares for moveinfo.ratio in 3ZB2, Awakening, and missionpack game DLLs.
2021-03-11 04:07:29 -05:00
Knightmare66
115428abd6 Added missing skinnum field to model_spawn in 3ZB2 and Awakening2 game DLLs.
Added custom attenuation support to func_plat2 in 3ZB2 and all func_ entities in Awakening2 game DLLs.
Added support for sounds = 1 for silent func_door_secret and func_door_secret2 in 3ZB2 and Awakening game DLLs.
2021-03-11 02:33:38 -05:00
Knightmare66
2629b6f39a Added percentage display boolean for slider menu controls.
Changed increment for sound and some alpha menu option sliders.
2021-03-08 00:52:46 -05:00
Knightmare66
6ec18155d2 More improvement to mod porting instructions in readme. 2021-03-06 15:48:21 -05:00
Knightmare66
ec70f966a0 Improved to mod porting instructions in readme. 2021-03-06 15:42:41 -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
8083f057cf Added V_Shutdown() function.
Added better error message for clientnum underflow in HUD layout string.
Changed cvar ion_ripper_extra_sounds to default to 0 in missionpack DLL.
2021-03-01 21:49:38 -05:00
Knightmare66
180292a66b Tweaked alignment of team icons in 3Team CTF HUD layout.
Minor tweaks to CTF capture detection.
2021-02-24 03:47:08 -05:00
Knightmare66
cae88a2dd8 Enlarged hostname field in start server menu. 2021-02-21 22:28:57 -05:00
Knightmare66
8d0e9fe406 Added dedicated server option to start server menu.
Added switching between dedicated and normal mode in Qcommon_Frame() if the cvar dedicated is modified.
2021-02-21 22:05:20 -05:00
Knightmare66
bcf678286b Added CL_ShutdownLocal() in cl_main.c.
Changed func_door_secret in missionpack DLL to have the correct die function (door_secret_die) if health is set.
Moved misc, model_*, and target entity code to new source files g_misc_laz.c, g_misc_nm.c, g_model.c, and g_target_laz.c in missionpack DLL.
2021-02-21 21:01:45 -05:00
Knightmare66
c9e3575516 Updated changelog.
Commented out currently unused crosshair lists in menu utils code.
Commented out unused playermodel strings in menu utils code.
2021-02-17 15:38:30 -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
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