Commit Graph

84 Commits

Author SHA1 Message Date
Sergey Shorokhov
8ff30b4c3e Revert "New entity trigger_bomb_reset (#796)"
This reverts commit 5dec3bad32.
2023-03-11 11:23:30 +03:00
Sergey Shorokhov
5dec3bad32
New entity trigger_bomb_reset (#796)
* Init

* Implementation

* Add `trigger_bomb_reset` to `.fgd`

* Set CC4 position on CC4::AttachToPlayer()

* move to `addons/trigger_bomb_reset`

* rename method & member

* CTriggerBombReset: Add `SetUse()`
2022-12-18 00:17:02 +03:00
StevenKal
7721348199
API: Add "CBaseEntity::Fire<Bullets[3]|Buckshots>" hooks. (#587) 2020-11-28 05:55:14 +07:00
s1lent
e199b16463
Introduce end-of-line normalization 2019-09-23 04:09:58 +07:00
s1lent
8591bbd13d
build.gradle: remove extralib stdc++ 2019-09-04 04:56:45 +07:00
s1lent
a7f20dc2e8 Implemented command param -beta to enables latest things from official. 2019-08-26 04:26:55 +07:00
s1lent
3abf4879e7
Fixed some GCC warnings 2019-06-06 01:26:02 +07:00
s1lent
9b4def6e3f
bot chatter: use filesystem to check exists filename instead of _access, cuz filesystem uses search paths such as cstrike_downloads, cstrike_german, cstrike_russian etc 2019-06-05 21:06:02 +07:00
s1lent
eed7b19798
Implemented point entities: point_clientcommand, point_servercommand 2019-04-07 23:13:41 +07:00
s1lent
f1e9d2b346
Add new point-entity trigger_random 2018-05-22 18:17:30 +07:00
Alibek Omarov
2b4eb6c137 GCC port and new defines for new ARM port (#294)
* Put SSE code under HAVE_SSE define

* Fix circular dependency on GCC 7.3

* Provide a way to disable AMXX related hacks, when it's not needed

* Fix ASM inline for GCC

* Fix compiling with MSVC

* Fix compiling with MSVC and ICC

* Check for HAVE_SSE in sse_mathfun.cpp after including precompiled, so SSE state will be determined

* Better check for SSE availability

* Missing call ::ClientCommand_
Make CSaveRestoreBuffer::m_Sizes as const
Cosmetic changes

* Gradle: Add GCC Toolchain

* GCC: Fix compile

* Gradle: Add -fno-devirtualize to compiler flags for GCC
2018-05-20 22:28:03 +07:00
s1lent
9dcab4bd49 Refactoring minor
Refactoring unicode_strtools
2017-11-01 18:30:47 +03:00
s1lent
32df585edc Remove hookers stuff
Refactoring & cleanup code
2017-11-01 18:30:47 +03:00
s1lentq
9a91e9ca38 Refactoring
Reworked ammo stuff
2017-11-01 18:30:47 +03:00
s1lent
3be0b51ec9 Implemented entity item_airbox 2017-11-01 18:30:47 +03:00
s1lent
91ca3f0264 Implemented entity trigger_setorigin 2017-11-01 18:30:47 +03:00
s1lent
b25e3505d3 Major refactoring & cleanup 2017-11-01 18:30:47 +03:00
In-line
83341a793e Fix mp_refill_bpammo_weapons not working on default weapons (#177)
* Fix mp_refill_bpammo_weapons not working on default weapons
2017-07-25 19:51:04 +03:00
s1lent
adaddda871
Code cleanup
Hookers Refactoring
Removed __MAKE_VHOOK
Fix compilation under linux with ICC 17 (GCC 6.2)
2017-07-02 18:54:33 +07:00
In-line
efea014cbc ReGameDLL API: Implement API for StartDeathCam (#162)
* ReGameDLL API: Implement API for StartDeathCam
* Fix API minor version, related to 90d08ee3a0
* Increment API minor version in gradle.properties
2017-06-25 20:21:38 +07:00
s1lent
2f599d21b8
Bug fixes and other minor improvements 2017-05-24 23:08:51 +07:00
s1lent
d23e133fd8 Fixes: s1lentq/reapi#65
Fixes: s1lentq/ReGameDLL_CS#135
2017-05-04 20:53:15 +07:00
s1lentq
0e1e48098c Fix s1lentq/reapi/issues/53 (#136)
ReGamedll API: to allocate a string through engine.
2017-04-09 03:16:01 +03:00
s1lent
eb75d2eae1 Refactoring hookchains 2017-02-01 03:03:48 +07:00
s1lent
90d08ee3a0 Refactoring & fix warnings VS2015.
Ignore VS2015 files.
Add ResetSequenceInfo in SetNewPlayerModel.
Interface API CCSPlayer: Added ResetSequenceInfo and reworked RemovePlayerItem
Bump minor version
2017-01-30 23:07:56 +07:00
s1lentq
a5dac3c267 Backport #76
Refactoring
Some small fixes and improves
Reworked mp_forcerespawn and hookchain InternalCommand
Fixed fail compilation in VisualStudio
Bump minor version in gradle.properties
Update README.md
2017-01-21 22:49:56 +07:00
Adidasman1
70594c4c39 ReGameDLL API: Add PM_UpdateStepSound (#93)
Fixes #90
Fix: not ending of the round when the hostages rescued
2017-01-04 04:52:03 +07:00
theAsmodai
e0ee615183 Added Agner's asmlib (#87) 2016-12-24 19:09:50 +07:00
s1lentq
d586d65993 Fix counting freezetime
Small fixes
2016-12-22 04:03:12 +07:00
s1lentq
e50cfe32c6 Implemented features of priority for hookchains 2016-12-12 22:36:51 +07:00
s1lentq
c77486dadd Get rid of spec-crosshair from gameplay. (Useless)
Reworked hookchain's: SetClientUserInfoName, GiveNamedItem
Added hookchain's: DropShield, MakeVIP, MakeBomber, GetIntoGame, Disappear, Radio, StartObserver, OnSpawnEquip
Refactoring
2016-12-07 02:28:33 +07:00
Iván Lo Giudice
00579432d7 Fix JoinTeam from UNA to T/CT (#76)
Related to https://github.com/s1lentq/ReGameDLL_CS/issues/75
2016-12-02 03:23:09 +07:00
s1lentq
084512e267 Related #57 (Done)
Added more weapon's for armoury_entity
Added ability for mp_buytime -1, means no time limit.
2016-10-07 23:02:34 +07:00
s1lentq
b4fec27dc6 ReGameDLL API: Added calls func AddEntityHashValue, RemoveEntityHashValue, GetItemInfo, GetAmmoInfo
Fix: mp_refill_bpammo_weapons 2 - was not refill bpammo for shotguns.
2016-08-05 18:35:45 +07:00
s1lentq
baac9cbad4 Bugfix: leak entities from weaponbox when touched grenades. (bug by valve)
CZBot: the check cvar bot_deathmath on every time.
2016-07-21 07:25:49 +07:00
s1lentq
aa8a8e7bb1 Cleaning sdk 2016-07-20 18:40:03 +07:00
s1lentq
1e8180f5ad Added gradle task buildFixes for faster building. 2016-07-18 06:49:12 +07:00
s1lentq
552a1d1bb4 Fix compile 2016-07-15 01:34:34 +07:00
s1lentq
f27b125d15 Refactoring.
Removed useless entities: (item_security, item_suit)
Bugfix: was resetting m_iCount from armoury_entity
Bugfix: incorrect check with pev->takedamage in CBaseEntity::TraceAttack, CBaseMonster::TraceAttack
Bugfix: zBot not continues to play after defused bomb and when mp_round_infinite is not 0
2016-07-14 21:12:17 +07:00
s1lentq
82d49fdcb6 Improvement function CCSPlayer::RemovePlayerItem (with considering item_*/weapon_shield/weapon_c4)
Fix: using CCSPlayer::RemovePlayerItem removal of the primary slot later was impossible to pick up armoury_entity.
Fix: Do was not pack all bpammo of the item with flag ITEM_FLAG_EXHAUSTIBLE (always only 0 or 1)
2016-06-23 02:50:14 +07:00
s1lentq
83a01dbb48 Removed api hooks CanBuyThisItem, CanBuyThis, CWeaponBox::Touch, CArmoury::ArmouryTouch
Added api hook CBasePlayer::HasRestrictItem
2016-06-21 04:13:16 +07:00
s1lentq
2d69db1232 Added api hook CWeaponBox::Touch, CArmoury::Touch 2016-06-20 17:50:59 +07:00
s1lentq
a1e7b9dae5 Added api hook CBasePlayer::DropPlayerItem 2016-06-20 14:05:47 +07:00
s1lentq
f071682392 Fix #43
Added hook api CanBuyItemThis
Use BOOL for TakeDamage/TakeHealth because should return TRUE/FALSE
2016-06-19 18:00:44 +07:00
s1lentq
aaf1d9648e Added cvar mp_auto_join_team 2016-06-15 19:46:25 +07:00
s1lentq
e57371d0f4 Added some features to the API 2016-06-15 04:21:34 +07:00
s1lentq
d6b59dc0c3 Added cvar bot_deathmatch #39
Added checks for null pointers into GetPlayerGaitsequence
Fixed mp_nadedrops: If pressed a the button attack before player death, then not drop nades to ground.
Compiler: remove rrti, added -ipo
Refactoring
2016-06-14 20:14:31 +07:00
s1lentq
e6df6ef577 Added cvar mp_refill_bpammo_weapons
Added new things for API
Update README.md
2016-06-08 16:20:18 +07:00
s1lentq
51313e9b2b Refactoring implementation hookchain
Added align stack for some functions
Update major version API
2016-06-06 20:18:45 +07:00
s1lentq
c406141e47 Added cvar mp_auto_reload_weapons
Added api hook SetClientUserInfoName
2016-06-04 00:31:24 +06:00