Commit Graph

755 Commits

Author SHA1 Message Date
s1lentq
85e882f4db utlvector.h add sort methods 2023-12-13 19:19:31 +07:00
s1lentq
8ed193d254 fix linux build 2023-12-13 19:14:01 +07:00
s1lentq
e6d25ba159 utlarray.h add sort methods 2023-12-13 19:01:25 +07:00
s1lentq
34e56f61f2 Minor refactoring API functions 2023-12-12 18:59:13 +07:00
s1lentq
d98e8f8b60 cleanup 2023-12-12 06:43:32 +07:00
s1lentq
a63bcf0a10 delta.lst adjust premultiply for clientdata_t::origin 2023-12-08 00:49:16 +07:00
s1lentq
59362ec8d5 delta.lst maximum entity_state_player_t::effects value raised 2023-12-07 03:52:47 +07:00
s1lentq
4f0818b7bf delta.lst maximum entity_state_t::body value raised 2023-12-07 03:52:47 +07:00
s1lentq
7c9582f44b delta.lst increased float-point accuracy for fields entity_state_player_t::origin 2023-12-07 03:52:46 +07:00
s1lentq
0c29cf36fc UpdateClientData: No send health negative value to draw HUD 2023-12-07 03:52:45 +07:00
s1lentq
5e2aadceac delta.lst maximum health value raised to 131072 from 512 transmitted over network 2023-12-07 03:52:44 +07:00
s1lentq
7ea9beffdf delta.lst increased float-point accuracy for fields clientdata_t::origin, clientdata_t::punchangle 2023-12-07 03:52:39 +07:00
s1lentq
e5f546c453 Added delta.lst file 2023-12-07 03:14:12 +07:00
Francisco Muñoz
6863777b81
Initialize m_pevLastInflictor to nullptr to avoid garbage memory (#901) 2023-12-02 05:51:26 +07:00
Francisco Muñoz
f882e81efe
Update studio.h constants (#898)
* Update studio.h file, magic number change
- Updated studio.h header, limits increased according to engine ones, added missing structures (in case of)
2023-11-28 19:47:52 +07:00
Francisco Muñoz
d135a67bb7
Allow null player pointer in CreateWeaponBox (#899) 2023-11-27 15:22:33 +07:00
Francisco Muñoz
556406009f
Tiny API code clean (#897) 2023-11-26 12:59:01 +07:00
Ecnologia
15bca2eab9
Implements Observer_Think Hook (#894)
* Observer Think Hook
* Update CAPI_Impl.cpp
* Update CAPI_Impl.h
* Update regamedll_api.h
2023-11-26 11:27:09 +07:00
Francisco Muñoz
fba9a335da
Avoid intro camera switching when only 1 trigger_camera available (#873)
* Add UTIL_CountEntities, adjust m_fIntroCamTime assignation
* Moved camera count caching to CheckLevelInitialized
2023-11-26 11:25:08 +07:00
Francisco Muñoz
193c1ed52a
Fixed grenades disappearing when speed exceeds 2000 fixed units ignoring sv_maxvelocity (#888)
* Fixed grenades disappearing when speed exceeds 2000 fixed units ignoring sv_maxvelocity
* Clamp nades velocity to sv_maxvelocity value when reached
* Make IsInWorld behave like SV_CheckVelocity: less/greater without equal
* Enclose IsInWorld changes with FIXES macro
2023-11-26 11:24:48 +07:00
Javekson
b10489f2e0
Changed the order of setting pev->body for the correct value in SetBombIcon() (#893) 2023-11-26 11:24:29 +07:00
Francisco Muñoz
9ab1589d32
Use CSEntity member to hold last inflictor from TakeDamage (#896) 2023-11-26 11:21:04 +07:00
Federico Matías
e3d70d2b14
New CVars: mp_freezetime_duck and mp_freezetime_jump (#886)
* new cvars: prevent duck/jump during freezetime
* use CSGameRules() instead of g_pGameRules
* changed name of cvars and default value
* improved cvars description
2023-11-26 11:13:29 +07:00
fl0werD
2d0ac93f63
Implement PlayerDeathThink hook (#885) 2023-11-08 21:18:01 +07:00
Dmitry Novikov
c87761e182
Added updating more game info to the player who started recording the demo (#881) 2023-11-08 21:15:29 +07:00
s1lentq
2857986cc7 Reworked cvar mp_deathmsg_flags (use flags instead of bitsums) 2023-11-08 21:11:27 +07:00
s1lentq
96e2121c45 Improve CBaseTrigger::InitTrigger to allow use custom triggers without bsp model just origin,mins,maxs 2023-10-28 16:40:23 +07:00
Vaqtincha
426c975a88
Ammo type hardcode fix (#882)
* Useful for custom ammo types.
2023-10-25 11:37:32 +07:00
Francisco Muñoz
7e02dea4a0 Drop defuser on disconnect 2023-10-24 10:48:53 +07:00
Francisco Muñoz
a2678a18ed
Ensure HasPrimary flag assignation on successful weapon removal (#866) 2023-10-11 05:03:48 +07:00
Francisco Muñoz
e422a37d8b
Reduce code redundancy in observer.cpp (#872) 2023-10-11 05:03:11 +07:00
Francisco Muñoz
2f50f5ab9d
Group defuser give code in one function (#871) 2023-10-11 05:02:27 +07:00
Javekson
a9ec63df1b
Updated the GiveC4 to return a player pointer (#876) 2023-10-08 20:59:45 +07:00
Sergey Shorokhov
96ba309e4a
SG_Detonate: make event realible (#875) 2023-10-06 19:18:57 +03:00
s1lentq
3a0970a1cd Fixed typo when checking a teammate 2023-10-05 16:26:03 +07:00
s1lentq
ac07e89269 Back to using MSG_ALL for the DeathMsg event in favor of backward compatibility (issue #868)
Minor refactoring
2023-10-01 01:30:56 +07:00
s1lentq
b962e0eb8e Fixed #869 2023-09-30 14:54:32 +07:00
s1lentq
1e49d94792 Fixed no fall damage when ff_damage_reduction_other set 0 (also damage with ITBD_POISON) 2023-09-30 00:18:37 +07:00
s1lentq
71c4e21385 Fixed a crash when killer is worldspawn 2023-09-29 01:19:31 +07:00
Dmitry Novikov
108db28143
Add an extended player's DeathMsg message (#858)
* Implemented rarity of kill and assist for extended user message DeathMsg
* Add hookchain CGameRules::SendDeathMessage
* Add domination and revenge
2023-09-28 16:18:15 +07:00
Francisco Muñoz
67e7d87423
FIX: Reloading animation bug while holding weapon with altered Maxclip (#861)
* Add functions for default weaponinfo array
* Whitespace cleaning and pointer safety check
* Added reload condition to enhance conditions
2023-09-28 16:08:35 +07:00
Francisco Muñoz
8a52b7e38d
API: CSPlayer methods enhancement (#862)
* Adding return type to DropShield and DropPlayerItem
* JoinTeam: force C4 drop when changing to SPEC
2023-09-28 16:06:35 +07:00
Javekson
d7b44099e7
Refactored RemovePlayerItemEx and Extended DestroyItem in CBasePlayerItem (#864) 2023-09-28 16:06:04 +07:00
Alejo
ee34b06605
New CVar: mp_team_flash (#693)
* Added new CVar `mp_team_flash`
2023-09-05 11:10:38 +07:00
s1lentq
7b7a1b9d94 Bump minor version up to 23 2023-09-05 11:01:46 +07:00
Francisco Muñoz
1aae57fd17
Fix: Grenade weaponbox not deploying on unarmed player (#847) 2023-09-05 10:54:20 +07:00
Javekson
728f1fcc67
Fixed of m_lastDamageAmount recording during armor calculation (#857) 2023-09-05 10:53:22 +07:00
Dmitry Novikov
e8bff71475
Fixed crash sometimes occurring while zbot map analyzing (#844) 2023-09-05 10:53:05 +07:00
Francisco Muñoz
facc2be534
Various defuser fixes and code refactory (#848)
* Defuser code refactory and fix
2023-09-05 10:52:44 +07:00
Francisco Muñoz
2e6e77906f
Ensure m_pDriver assignation on func_vehicle only (#853) 2023-09-05 10:52:30 +07:00