Commit Graph

8 Commits

Author SHA1 Message Date
s1lentq
f97c9d9f46 Improve dbg code to work Assertion properly 2023-12-14 02:50:32 +07:00
Francisco Muñoz
53d26a7ea5
API: CSPlayerWeapon integration + new members and functions (#850)
- Member name changed to m_iStateSecondaryAttack
- Member type changed to uint8_t which has same size of bool but allows more values than true or false (this wont break API compatibility)
- Moved logic inside HasSecondaryAttack to correctly alter function return based on m_iStateSecondaryAttack, which can be (0) no value / null (1) set (2) block
-Removed logic in CBasePlayerWeapon::Spawn that caches the return value of HasSecondaryAttack, as this can only be overridden when set, rather than always
* Improve API compatibility
2023-08-23 21:27:35 +07:00
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
s1lentq
9a19e6408c CMakeLists.txt add missing linker option -qno-opt-class-analysis 2021-04-15 02:01:51 +07:00
s1lentq
271a49f8ca Add workflows/build.yml (Migrate to Github CI)
Add CMakeLists.txt build system
Update README.md
Minor fixes
2021-04-13 04:16:21 +07:00
s1lent
3f6d9db420
Fixed some compiler warnings
Fixed a appversion.sh when the path may contain spaces
2020-02-06 19:14:36 +07:00
s1lent
d8208f0884
Added support building using cmake
Added support clang compiler
Fixed some compiler warnings
Update README.md
2020-02-06 04:32:20 +07:00