Commit graph

14 commits

Author SHA1 Message Date
in0finite
7e97945021 add Ped.onDamaged event 2021-02-19 02:55:09 +01:00
in0finite
e5c6144706 ped damage handling is done by State classes 2020-06-29 17:12:48 +02:00
in0finite
756f7e8563 move Damageable class to Utilities assembly 2020-05-31 19:09:57 +02:00
in0finite
c77f6c471d removed imGUI code 2020-05-31 19:09:54 +02:00
in0finite
9db8019d9a extract GetFirePosition() and GetFireDirection() into IAimState interface/classes - states now control fire position and direction ; drive-by aiming now works for AWA weapons (they no longer aim up in the sky) ; 2020-05-31 19:09:53 +02:00
in0finite
0c620cc228 refactor firing system to use additional parameters - this will make it possible to ignore current vehicle when firing in drive-by state 2020-05-31 19:09:53 +02:00
in0finite
ecc17aef6d add button pressed event which uses button name 2020-05-31 19:09:52 +02:00
in0finite
de0cb01239 state can draw it's own hud 2020-05-31 19:09:46 +02:00
in0finite
e5ef9e03c7 sync weapon fire event 2020-05-31 19:09:44 +02:00
in0finite
2c30229ed7 sync current weapon slot 2020-05-31 19:09:43 +02:00
in0finite
ee25411026 states can detect when current weapon changes 2020-05-31 19:09:43 +02:00
in0finite
7fb6256b3a States can provide additional data for clients when being switched 2020-05-31 19:09:41 +02:00
in0finite
394e08b458 States now control switching when they are forcefully switched to by the server. Fix for vehicle exiting state. 2020-05-31 19:09:39 +02:00
in0finite
039ae76a14 Initial commit 2020-05-31 19:07:22 +02:00