Commit Graph

26 Commits

Author SHA1 Message Date
s1lentq
19714af6e6 get rid of unsafe string functions
minor refactor
2024-09-13 06:43:27 +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
e422a37d8b
Reduce code redundancy in observer.cpp (#872) 2023-10-11 05:03:11 +07:00
Sergey Shorokhov
942776783b
mp_fadetoblack 2 fade timings now depends from mp_dying_time CVar and code fixes (#845)
Fix forcing 1-person view for players when `mp_fadetoblack = 2`;
 Fix player blackout on server entry when `mp_fadetoblack = 2`;
 Fix observer not being blinded when `mp_fadetoblack = 2`;
 Fix fadetoblack message timings using new CVar `mp_dying_time`.

fix #501
fix #506

Co-authored-by: s1lentq <s1lentsk@yandex.ru>
2023-07-16 15:55:58 +03:00
Sergey Shorokhov
7e2279f8c5 Implement CBasePlayer::Observer_FindNextPlayer() hook (#667)
* Implement Observer_FindNextPlayer hook

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-08-31 22:04:32 +03:00
Lopol2010
f1b253e5b0
Implement CBasePlayer::Observer_SetMode hook (#663)
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-08-31 15:07:21 +03:00
Sergey Shorokhov
1ac96b8180
Implement CBasePlayer::HasTimePassedSinceDeath() for m_fDeadTime (#648)
* Implement CBasePlayer::HasTimePassedSinceDied() for m_fDeadTime
2021-06-21 11:59:34 +03:00
Sergey Shorokhov
55b996c30a Allow observe for dying player with EF_NODRAW effect 2021-06-20 11:57:51 +03:00
Sergey Shorokhov
a390cadcd0 Observer_IsValidTarget: checks refactoring 2021-06-20 11:40:25 +03:00
fl0werD
19269aa450 spelling mistake on naming fix (#465) 2019-12-13 07:07:04 +07:00
s1lent
e199b16463
Introduce end-of-line normalization 2019-09-23 04:09:58 +07:00
In-line
40f3bc488b Fix spectator check, small refactoring (#265)
* Fix spectator check, small refactoring

* Update observer.cpp

minor refactor-patch
2018-02-08 16:37:02 +07:00
s1lent
b25e3505d3 Major refactoring & cleanup 2017-11-01 18:30:47 +03: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
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
s1lentq
06b0c16145 Refactoring API 2016-06-01 05:08:23 +06:00
s1lentq
d8b12ee80b Regamedll API WIP: added some more API functions.
Added new cvar, mp_hegrenade_penetration, mp_nadedrops more details in game.cfg.
Let inflict damage by grenades to breakable objects.
2016-04-19 21:26:46 +06:00
s1lentq
455f0c6118 Regamedll API WIP: Added new api functions
Fix crash-bug with autobuy (CBasePlayer::AddAutoBuyData)
Removed some useless code for CS
Added cssdk
2016-04-05 22:11:41 +06:00
s1lentq
3d252fe527 Refactoring and cleanup.
Fixed some critical bugs and typos (carrer_task, tutor, zbot and other)
Added command line option `-bots` to run bots in CS 1.6
Removed the tests demo record/player from myself the project and also dependency of the steam library.
Fixed the progress bar when generating a nav file.
2016-02-23 05:23:45 +06:00
s1lentq
25f425801a Refactoring and cleanup project.
Removed project bzip2.
CZero: Fix crashing of HostageEscapeState.
2016-02-04 22:45:37 +06:00
s1lentq
70dc948091 Added EXT_FUNC for virtual functions 2015-12-11 02:30:31 +06:00
s1lentq
0fc3351cb8 Cleanup.
Reversed functions: CBasePlayer::PickPrimaryCareerTaskWeapon, CBasePlayer::PickSecondaryCareerTaskWeapon.
Added comments to some parts of the code.
Fixed some bugs in CZ:Career.
2015-11-06 20:58:48 +06:00
s1lentq
625ef14d46 WIP: full of reversed basic part 2015-09-22 22:56:27 +06:00
s1lentq
ed2e465d2b Reversed CBasePlayer and some function blending from animation.cpp
Fix line ending all files
2015-07-13 02:32:09 +06:00
s1lentq
56c2cb635f Added initial files project 2015-06-30 15:46:07 +06:00