Commit graph

157 commits

Author SHA1 Message Date
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
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
23f5ef3494 Added separate resource files for 64-bit builds due to VS2008 not supporting non-implicit macros in resource scripts. 2020-08-11 21:57:00 -04:00
Knightmare66
67e211d524 Changed linux game library name to "kmq2gamex86_64.so" for 64-bit builds. 2020-08-11 17:11:53 -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
74e4a4f1cc Renamed cvars hud_scale, hud_alpha, and hud_squeezedigits to scr_hudsize, scr_hudalpha, and scr_hudsqueezedigits.
Added cl_hud and cl_hud_variant placeholder cvars.
Fixed some VS2019 compiler warnings pointed out by Paril.
2020-08-09 17:03:47 -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
37eb683714 Added cvar r_maxfps_autoset to allow disabling of automatic framerate capping.
Moved call to CL_SetFramerateCap() to UpdateVideoRef().
Future-proofed CL_SetFramerateCap() for higher refresh rates.
2020-08-06 18:47:26 -04:00
Knightmare66
70759acf65 Added automatic setting of r_maxfps based on r_displayrefresh. 2020-08-06 00:33:53 -04:00
Knightmare66
b281dd23ca Increased net_maxfps max clamp to 100. 2020-08-05 22:46:42 -04:00
Knightmare66
d49cde7712 Fix "MWHEELUP/MWHEELDOWN is unbound" being spammed to console when scrolling.
Fixed overlapped "customize controls" and "reset defaults" in controls option menu
2020-08-05 17:15:30 -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
6ce6fcfd58 Added "Large Address Aware" flag to project file. 2020-08-03 12:47:38 -04:00
Knightmare66
ee10abc481 Added 64-bit configuration to VS2008 project files. 2020-08-02 02:01:17 -04:00
Knightmare66
988347e7d2 Yet more 64-bit porting fixes. 2020-08-02 02:00:01 -04:00
Knightmare66
11b69f8437 Added 64-bit static libraries. 2020-08-01 23:00:38 -04:00
Knightmare66
8f43c6bf9f More 64-bit portability fixes. 2020-08-01 22:54:35 -04:00
Knightmare66
a523e11915 Abstracted "save" folder name for 64-bit portability. 2020-07-31 17:11:31 -04:00
Knightmare66
9622f2d370 Added fix to Zaero g_utils.c->G_UseTargets() to properly free sentien laser and titan hook entities on killtargeting.
Added fix to Zaero Sentien code to free laser entity on death.
2020-07-29 13:53:57 -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