Commit graph

21 commits

Author SHA1 Message Date
Knightmare66
4635d4a5b8 Clean up Q_ftol() for Linux porting in DLL sources. 2021-10-11 22:02:12 -04:00
Knightmare66
094bf36ce4 Zero-initialize drawStruct_t in client pic drawing funcs using = { 0 };
Zero-initialize vector in ED_ParseField() using = { 0.0f, 0.0f, 0.0f };
2021-08-22 04:18: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
1e5348cbe0 Refactoring and rearrangment of menu code.
Added new graphic for text box.
Made edict_t pointer arrays static in 3ZB2, Awakening2, and Zaero DLLs due to stack size concerns.
2021-08-12 15:30:51 -04:00
Knightmare66
c531db636d Changed protocol version to 57.
Fixed an old protocol bug in how extended HUD stats were sent to the client.
Changed protocol for svc_sound servercommand to separate channel and entity values from a merged short to a byte and a short.
More improvements to Tactician Gunner prox aiming safety in missionpack DLL.
Fixed SV_CheckVelocity() sv_velocity cap in missionpack, 3ZB2, and Zaero game DLLs.
2021-08-04 02:15:24 -04:00
Knightmare66
59157b413d Clamped vid_fullscreen to 0, 1, or 2 before copying to dispType_t var.
Fixed railgun infinite loop (hang) bug in Awakening2 game DLL.
Added unique armor shard icon in 3ZB2 and Awakening2 game DLLs.
Updated changelog with missing changes from development changelog.
2021-07-20 22:14:01 -04:00
Knightmare66
4806e6cbc5 Added handling for sscanf() exceptions. 2021-07-14 05:27:46 -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
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
115428abd6 Added missing skinnum field to model_spawn in 3ZB2 and Awakening2 game DLLs.
Added custom attenuation support to func_plat2 in 3ZB2 and all func_ entities in Awakening2 game DLLs.
Added support for sounds = 1 for silent func_door_secret and func_door_secret2 in 3ZB2 and Awakening game DLLs.
2021-03-11 02:33:38 -05:00
Knightmare66
8aab001fb9 Fixed func_door_secret spawn function setting wrong die function if it has a health value in 3ZB2 and Awakening DLLs.
Overhauled slider menu control to show cvar value and simplify implementation.
Changed RGB color increment for railtrail in effects options menu from 16 to 4.
Changed default values for cl_railgreen and cl_railblue to be multiples of 4 to match increment of menu sliders.
Moved misc utility functions in ui_subsystem.c to ui_utils.c.
2021-02-16 13:22:45 -05:00
Knightmare66
acbc341e53 Change error level to 3 for release builds of 3ZB2 and Awakening2 game DLLs.
Comment out unused vars in SP_func_door_secret2() in 3ZB2 and Awakening2 game DLLs.
Add ent->attenuation default in SP_func_door_secret2() in 3ZB2 and Awakening2 game DLLs.
Add prototype for door_use_areaportals() to g_local.h in 3ZB2 and Awakening2 game DLLs.
2021-02-02 00:30:24 -05:00
Knightmare66
5b7a23ad1b Added missing sounds and added support for sounds and area portals to func_door_secret2 in 3ZB2 and Awakening2 game DLLs.
Added missing sounds to func_door_secret in 3ZB2 and Awakening2 game DLLs.
Added SVF_GIB flag for physics to gibs and debris in Awakening2 game DLL.
2021-02-01 22:18:47 -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
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
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
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
f8e43f0a4b Added Q1 teleport entity event. 2020-03-09 15:11:50 -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