Commit graph

51 commits

Author SHA1 Message Date
Knightmare66
0a54aa8423 Added new monster muzzleflashes in client and missionpack DLL: MZ2_SOLDIER_HYPERBLASTER_x, MZ2_GLADBETA_PHALANX_1, MZ2_TURRET_RAILGUN_1, MZ2_GUNNER_ETF_RIFLE_x.
Removed unused muzzleflash MZ2_SUPERTANK_GRENADE_x in q_shared.h for both default Lazarus DLL and missionpack DLL.
Added check for filename length before swapping extension to .ent in qcommon/cmodel.c->CMod_LoadEntityString().
Added check for filename length before swapping extension to .pcx in renderer/r_image.c->R_LoadPic().
Added check for filename length before swapping extension to .md3 in renderer/r_model.c->R_RegisterModel().
2021-04-22 21:41:49 -04:00
Knightmare66
c18c245fe2 Renamed qcommon/files.c to qcommon/filesystem.c.
Added qcommon/filesystem.h for filesystem structs/prototypes.
Added update version to console (e.g. KMQuake2 v0.20u8).
2021-04-11 21:07:08 -04:00
Knightmare66
26b6cd5797 Exported FS_Seek() and FS_Tell() to game API's game_import_t struct. 2021-03-25 02:25:48 -04:00
Knightmare66
40571031c3 Fixed EMP Nuke not working on beta class Gladiator in missionpack DLL.
Added function monster_fire_phalanx() in g_monster.c in missionpack DLL.
Renamed monster_dabeam() function to monster_fire_dabeam() in g_monster.c in missionpack DLL.
Renamed "plasma" functions for phalanx cannon to "phalanx_plasma" in g_weapon.c in missionpack DLL.
Removed unused heat_think() function in g_weapon.c in missionpack DLL.
Removed unused Q1TeleportSounds2() function in g_utils_q1.c in missionpack DLL.
2021-03-15 17:30:02 -04:00
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
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
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
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
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
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
77a2053b72 Fixed PatchMonsterModel() skin names for certain monsters. 2021-01-02 15:58:52 -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
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
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
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
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
3c72935e38 Added separate resource file for 64-bit build of missionpack DLL.
Adjusted "internal name" string for existing 64-bit resource files.
2020-08-15 03:21:41 -04:00
Knightmare66
b6e8fda82e Use Com_strcpy() instead of Q_strncpyz() for 3ZB2 and missionpack DLLs. 2020-08-11 02:21:35 -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
af3214312d Moved EMPNukeCheck() for plasma rifle in missionpack DLL to the right weapon function- d'oh! 2020-08-09 21:39:41 -04:00
Knightmare66
123d52cf8c Added missing check_dodge() calls for plasma rifle in misionpack DLL. 2020-08-09 03:49:29 -04:00
Knightmare66
0d4e872ce9 Added LMCTF / LM Escape plasma rifle to missionpack DLL.
Added plasma guards (monster_soldier_plasma_re and monster_soldier_plasma_sp) from LM Escape to missionpack DLL.
Added Zaero items/weapons to missionpack DLL.
Added support for Zaero doors  to missionpack DLL.
Fixed crash caused by killtargeting sentien (laser edict not freed) in missionpack DLL.
Fixed bug with broken Rogue turrets in missionpack DLL.
Fixed crash in g_combat.c->M_ReactToDamage() caused by attacker with NULL classname in missionpack DLL.
2020-08-09 02:45:19 -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
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
02755e0181 Added Zaero autocannon to missionpack DLL. 2020-04-23 03:18:05 -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
e6ec99c444 Added support to menu framework for changing font sizes of all menu controls.
Added r_clearcolor_r, r_clearcolor_g, r_clearcolor_b cvars to change gl_clear fill color.
2020-04-18 00:24:32 -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
1c7ec5a56b Incremented savegame version for missionpack DLL due to addtion of new key items breaking saves.
Fixed savegame crash in missionpack DLL caused by duplication of "key_message" in save fields.
2020-03-13 22:27:24 -04:00
Knightmare66
f8e43f0a4b Added Q1 teleport entity event. 2020-03-09 15:11:50 -04:00
Knightmare66
f2d381eaf1 asdf 2020-03-08 06:04:30 -04:00
Knightmare66
1eaba3e791 Fixes for lavaball entity and func_door_secret2. 2020-03-08 05:56:09 -04:00
Knightmare66
ef76c81f23 Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
Knightmare66
eb97af1598 Added sources for Zaero mission pack and 3ZB2 bot DLLs.
Added GetFileList() to game function imports in misison pack DLL game.h.
2020-02-23 16:15:28 -05:00
Knightmare66
552fe17908 Added missing CTFSay_Team() to client commands list. 2020-02-21 22:01:52 -05:00
Knightmare66
e3b3c0d5cc Renamed project files for official mission pack support DLL. 2020-02-15 14:53:26 -05:00
Knightmare66
0a88219a83 Added missing settable spawn health for info_player_start
Added support for attenuation = -2 player only for target_speaker
Added header file for Coconut Monkey vulture monster
2020-02-13 18:49:26 -05:00