Commit graph

39 commits

Author SHA1 Message Date
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
Knightmare66
5fef64230e Fix up misc string handling in game code.
Replace strcpy/strcat in p_client.c->ClientUserinfoChanged() and q_shared.c->COM_DefaultExtension().
2019-03-28 21:37:34 -04:00
Knightmare66
fcfe248915 Added pointer check for values passed by reference to p_client.c->SelectSpawnPoint(). 2019-03-26 21:47:47 -04:00
Knightmare66
00fe251fd1 Moved return added to Fog_Off() from previous commit to a more sensible position. 2019-03-13 20:30:02 -04:00
Knightmare66
09bcccf8bf Fix crash in fog code when loading save from different/incompatible game DLL. Add support for game DLLs compiled for current development version.
Fixed crash in Fog_Off() when called from ShutdownGame(), typically when trying to load an incompatible savegame from a different (or different version) game DLL.
Added filesytem function exports to game DLL from development branch to support game DLLs compiled for that version.
2019-03-13 19:54:41 -04:00
Knightmare66
f986267ae2 inital commit of full repository 2019-03-13 15:20:07 -04:00