Commit graph

148 commits

Author SHA1 Message Date
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
Knightmare66
2219435b5c Added upscaling of scrap image. 2020-07-19 02:51:05 -04:00
Knightmare66
26d58b1694 Added screenshot gamma correction.
Changed stats.log to save to savegamedir instead of the Quake2 root folder.
Renamed cvars menu_sensitivity, menu_rotate, and menu_alpha to ui_sensitivity, ui_item_rotate, and ui_background_alpha.
Removed some unused cvars.
Added CVAR_SAVE_IGNORE flag to "game" and "gamedir" cvars.
Added descriptions for most cvars.
Added dumpcvars command to output a list of cvars with their descriptions to cvarlist.txt.
2020-07-04 01:31:44 -04:00
Knightmare66
28ba96e804 Added ignorenick and ignoretext client commands from Q2Pro. 2020-06-29 02:20:11 -04:00
Knightmare66
60427a58c3 Update readme with copyrignt info on libraries used. 2020-06-08 20:03:41 -04:00
Knightmare66
e317029eac Updated GPL headers based on Q2 Tools GPL source release. 2020-06-04 17:01:28 -04:00
Knightmare66
c0aa905347 Removed userinfo flag from cvars cl_engine and cl_engine_version.
Fixes userinfo overflow with certain mods that results in null player name.
2020-06-01 18:43:52 -04:00
Knightmare66
ee9f79daff Use cvar integer field instead of float value field where applicable in client and UI.
Fixed false alerts on 0-length unicasts in PF_Unicast().
2020-05-29 03:54:33 -04:00
Knightmare66
57f72957d7 More improvement to stufftext filtering.
Added instruction on setting cl_servertrick 1 from command linne to readme.
2020-05-23 21:03:46 -04:00
Knightmare66
62ea3ccaf4 Added skipping of echo blocks and improved parsing of CL_FilterStuffText(). 2020-05-16 03:06:59 -04:00