Commit graph

21 commits

Author SHA1 Message Date
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
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
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
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
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
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
Knightmare66
cedf3628ac More tweaks to Tactician Gunner prox aiming.
Added close range safety check/trace to Tactician Gunner prox aiming.
Added check for nightmare mode for Beta-Class Gladiator and dog.
2021-07-31 21:47:21 -04:00
Knightmare66
8401c475f6 Improved Tactician Gunner's prox mine aiming in missionpack DLL.
Added powerarmortype field to default Lazaus DLL.  This changes the savegame version.
Added support for blood_type value of 4 to default Lazaurus, missionpack, and Zaero DLLs.
Added support for Lazarus initially dead monsters (health < 0) to missionpack DLL.
Added support for Lazarus monsterjump cvar (berserk, gunner, infantry, mutant, parasite) to missionpack DLL.
Cleaned up surface rendering code from mpolyvertex_t refactoring.
2021-07-31 02:07:06 -04:00
Knightmare66
94e238a893 Renamed cl_screen.c->SCR_AdjustFrom640() to SCR_ScaleCoords().
Added support for laser model with multiple skins to client entity code.
Enabled old blaster/flechette puff model when particles are disabled.
Added player muzzleflashes for LMCTF plasma rifle in cl_ents.c->CL_ParseMuzzleFlash().
Added support for extended w/ short index monster muzzleflashes using short enumerator to cl_lights.c->CL_ParseMuzzleFlash2().
Added contact parameter to g_monster.c->monster_fire_grenade() in missionpack DLL.
Added changeable blaster flash colors to cl_lights.c->CL_ParseMuzzleFlash2().
Added muzzleflashes for ionripper and plasma rifle soldier in cl_lights.c->CL_ParseMuzzleFlash2().
Removed unused removed weapons/hyprbu1a.wav from plasma rifle precache in default Lazarus, missionpack, and Zaero DLLs.
Added support for extended monster muzzleflashes to monster weapon code in default Lazarus and missionpack DLLs.
Changed fire_blaster() to use different skins in the same model instead of separate models for blaster bolts.
Tweaked default gib_health values in default Lazarus DLL.
Removed Lazarus grenade avoidance code from missionpack DLL.
Renamed monster_gunner_commander to monster_gunner_tactician in Lazarus DLL.
Adjusted damage for Tactician Gunner prox mines.
Changed order of glow pass in shared model rendering to be after envmap and celshading.
2021-07-09 19:54:05 -04:00
Knightmare66
4b6e68fcd2 Added monster_gunner_commander to missionpack DLL.
Added monster_fire_flechette() and monster_fire_prox() functions to g_monster.c in missionpack DLL.
Refactored prox weapon code in missionpack DLL.
Added grenade evasion for monster-fired prox mines.
Added FL2_COMMANDER moreflag for medic commander and deadalus in missionpack DLL.
Added precache of hand grenade model to grenade ammo in g_items.c in default Lazarus DLL and missionpack DLL.
2021-04-23 05:08:26 -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
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
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
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
bc74e8dbc2 Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -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
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
ef76c81f23 Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
Knightmare66
722289fe27 Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00