Commit graph

55 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
689ea4d497 Changed hyperblaster turret to use effects for blaster color instead of sounds. 2020-08-04 22:53:56 -04:00
Knightmare66
a4b5a70fff Added red hyperblaster turret.
Misc improvements/fixes to player-controlled turrets.
2020-08-04 21:33:39 -04:00
Knightmare66
497a0c5a7b Added blue and green hyperblaster modes to turret.
Fixed hyperblaster turret clipping against breach bmodel.
2020-08-04 17:03:00 -04:00
Knightmare66
5a30bf4a96 Renamed and moved declaration of flags for Musahsi's double barreled turret implementation 2020-08-04 05:15:41 -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
d30c74ebe3 Fix crash with null pointer in SV_AreaEdicts_r().
Fix crash with null activator in G_UseTargets().
Tweak descripton of cvar r_modulate.
Update change log for new layout script commands.
2020-07-27 18:03:25 -04:00
Knightmare66
38c148c0f8 Added ifeq, ifneq, ifgt, ifge, iflt, ifle, ifbit and ifnbit layout script commands.
Added missing bounds checks for layout script commands.
Fixed baseq2 paths in non-KMQ2 implementation for alias script loading, Lazarus text box loading, and GameDirRelativePath()/SavegameDirRelativePath() functions.
2020-07-19 22:33:17 -04:00
Knightmare66
e317029eac Updated GPL headers based on Q2 Tools GPL source release. 2020-06-04 17:01:28 -04:00
Knightmare66
9b4e85322c Added Q_StrScanToken() to replace StringContainsToken() for non-ambiguous token searching.
Changed CL_FilterStuffText() to use Q_StrScanToken() instead  of strstr().
2020-05-16 01:02:34 -04:00
Knightmare66
b020f21541 Fixed crucified insanes being screwed up by the clearing of spawnflags bit 8, which conflicts with SF_MONSTER_GOODGUY.
This manifiested as glitches such as them sliding downward when they or the player are shot.
2020-05-14 03:38:00 -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
ce580d2c10 Added new filesystem functions to game code.
Changed sk_ cvar names to match.
2020-04-19 23:57:44 -04:00
Knightmare66
f38b767fc1 Added support for cvar descriptions. 2020-04-08 23:26:17 -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
f8e43f0a4b Added Q1 teleport entity event. 2020-03-09 15:11:50 -04:00
Knightmare66
552fe17908 Added missing CTFSay_Team() to client commands list. 2020-02-21 22:01:52 -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
2959cb730a Fix possible memory leak in menu font and crosshair loading. 2019-10-11 15:30:46 -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
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
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
11ff6aef43 Fixed interploation glich on ACE bot bodies when respawning. 2019-07-08 23:22:10 -04:00
Knightmare66
890a803e5f Fixed text color and formatting disappearing after word wrap in console.
Added format code tracking to cl_console.c->Con_Print() to properly handle word wraps with text colors and bold/shadow/italic formatting.
Removed console ormask for player chat in CL_ParseServerMessage(), as the color formatting codes make it redundant.
2019-06-29 03:33:32 -04:00
Knightmare66
37f33ad4ad Made gibs SOLID_TRIGGER as well. 2019-06-07 17:19:26 -04:00
Knightmare66
74eb613de9 Tweak comments on previous change 2019-06-07 13:38:11 -04:00
Knightmare66
7465db1914 Fix hitch in gib fade by adding delay before alpha decrement function.
Set RF_TRANSLUCENT or EF_SPHERETRANS for gibs or debris if those flags are sent on parent entity.
2019-06-07 13:22:54 -04:00
Knightmare66
b64d33b78c Added SVF_GIB flag to debris. 2019-06-06 17:00:25 -04:00
Knightmare66
f4af0ca1ce More tweaks to gibs and debris.
Made gibs and debris non-damageable.
Made debris not solid.
2019-06-06 13:03:06 -04:00
Knightmare66
8e5184bfb3 Added bbox for debris as well. 2019-06-06 03:12:57 -04:00
Knightmare66
0eac80b08a Added bounding boxes to all gibs to prevent dark lighting on sloped surfaces.
Inccrease NUM_FAIL_IMAGES and NUM_WALSIZES, decrease NUM_FAIL_TEXTURES due to maps missing tons of textures being rare.
2019-06-05 19:08:30 -04:00
Knightmare66
d78c58d1af Fixed target_explosion to mirror correct temp event. 2019-05-29 22:46:50 -04:00