Commit Graph

191 Commits

Author SHA1 Message Date
Yimura
d81f392e61 Script VM classes (#60)
* feat(Script): Ported BBv2 script classes
* fix: Change hard tab indents to 4 width space indents
2022-11-08 21:11:50 +00:00
Aure7138
12919a46ff feat: CPlayerInfo, CVehicle & CPed (#58)
* Added get_position() helper to CNavigation
* Updated CPed class:
  * m_fatigued_health_threshold
  * m_injured_health_threshold
  * m_dying_health_threshold
  * m_hurt_health_threshold
* Updated CPlayerInfo class:
  * m_wanted_level_difficulty
  * m_wanted_level_multiplier
* Updated CVehicle class:
  * m_dirt_level
  * m_max_passengers
  * m_num_of_passengers
  * m_door_lock_status
2022-11-08 21:02:11 +00:00
Aure7138
5b1210b143 feat: CPhysical, CPed & CVehicle(#57)
* CPhysical added CAttackers class
* CPed added m_can_switch_weapon & m_cash
* CVehicle added m_door_lock_status

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2022-11-06 22:29:08 +00:00
Demae
e146647ee4 Updated Network.hpp (#56)
* fix: duplicate member

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2022-11-06 22:09:39 +00:00
Reece Watson
1d5916827c fix(Physics & Matrices): Updated physics and matrix structures. (#55) 2022-11-06 21:38:41 +00:00
maybegreat48
6799e1eed9 Update rage::rlSessionDetail (#54) 2022-11-06 21:38:11 +00:00
Aure7138
9eb87c80c4 feat(ped): add CPedBoneInfo (#53) 2022-11-01 17:44:37 +01:00
Aure7138
667fbbb72e add oxygen_time && water_collision (#52) 2022-10-31 23:06:42 +01:00
Reece Watson
2692d9aa0e feat/fix(Random): Update and add a bunch of classes (#51) 2022-10-30 18:26:20 +01:00
Aure7138
1e3bf3ce73 feat: added collision classes (#50) 2022-10-30 14:32:30 +01:00
Aure7138
86def1ea1d add CPed seatbelt (#49) 2022-10-29 20:19:58 +01:00
Quentin E. / iDeath
41246edf09 add rlSessionByGamerTaskResult and restore default ctor for rlGamerHandle (#47) 2022-10-26 11:27:30 +02:00
Yimura
cf47447f25 fix(Network): rage::rlSessionInfo instance at start (#46) 2022-10-25 21:09:59 +01:00
Yimura
ba3808f420 fix(CPed): 4 bytes removed between m_ped_task_flag and m_armor 2022-10-25 18:54:05 +02:00
Yimura
a35ff28244 fix(CPhysical): 0x20 bytes removed (#45) 2022-10-25 17:39:32 +01:00
Yimura
52f23b3a02 fix(ScInfo): Resize session_ticket to 88 bytes (#44) 2022-10-23 00:19:55 +02:00
Yimura
b1857f711e feat(ScInfo): Updated with new offsets (#43) 2022-10-22 23:25:07 +02:00
Yimura
6fe9355e1a refactor: Simplify FriendRegistry (#42) 2022-10-06 11:50:28 +01:00
Reece Watson
36a7681d8b fix(CWeaponInfo & CAmmoProjectileInfo): Make subclass members public. (#41) 2022-09-30 19:19:42 +01:00
Reece Watson
1999053fa5 fix(CPlayerGamerDataNode): Use proper class and update members. (#40) 2022-09-30 18:04:45 +01:00
Yimura
0c3f711ce4 feat(CVehicleModelInfo): Added eVehicleClass and updated enum (#39) 2022-09-28 23:52:01 +01:00
Davide Beatrici
5ca943f4cd feat: Add CCameraAngles, CCameraManagerAngles, CGameCameraAngles, CPlayerAngles (#7) 2022-09-17 20:32:08 +01:00
Reece Watson
4a0157c69d fix(CAmmoInfo & CWeaponInfo): Split into proper classes. (#38) 2022-09-17 14:22:36 +01:00
Yimura
f6d799e775 fix(CPhysical): maxhealth member type (#37) 2022-09-12 23:48:14 +02:00
maybegreat48
b5b7811a8f Fix build warnings (#35) 2022-09-10 22:27:42 +01:00
maybegreat48
cba2e42b16 Add network classes (#34) 2022-09-08 22:38:45 +02:00
altforfr
aab15b13c8 fix(CWeaponInfo): Offset comment (#33) 2022-08-31 21:49:41 +02:00
altforfr
7d0f151776 feat: Added rage::vector2, updated CWeaponInfo, ... (#32) 2022-08-31 21:31:52 +02:00
Reece Watson
36434d7c7f fix(CNetGamePlayer & rlGamerInfo): Split classes and fixed small regression. (#31) 2022-08-28 10:40:56 +02:00
Yimura
099204f8a6 feat: Updated classes, added CPedInventory, ... 2022-08-26 00:37:00 +02:00
Yimura
00d8cc9fa5 feat(Classes): Split classes to their correct inheritance (#25) 2022-08-26 00:13:12 +02:00
altforfr
86b81c34b5 feat: Update eVehicleType & eDamageType enums (#28) 2022-08-26 00:02:52 +02:00
Yimura
eef494452a fix(CI): Compiled in folders and use relative include dirs (#27) 2022-08-25 22:06:34 +02:00
Reece Watson
7052c5e91b feat(Classes): Updated CBaseModelInfo, CPlayerGameStateDataNode and fwEntity (#24)
* Fixed eModelType enum value names
* CBaseModelInfo: Changed min/max dimension types from fvector3 to fvector4
* CBaseModelInfo: Adjusted to actual size
* Added datBase, fwRefAwareBase, fwRefAwareBaseImpl, fwExtensibleBase, fwExtension, fwExtensionContainer and pgBase classes
* CPlayerGameStateDataNode: Updated fields and resized to actual size
* CVehicleModelInfo: Resized because of modified CBaseModelInfo
2022-08-20 19:17:32 +02:00
Reece Watson
d79c33ce97 fix(DataNodes): Delete files that were moved. (#23) 2022-08-13 10:41:12 +02:00
Reece Watson
cd201dff22 feat(DataNodes): Reorganize and add data nodes. (#22) 2022-08-13 10:24:30 +02:00
Reece Watson
423658872b feat(CSectorDataNode): Added CSectorDataNode class. (#21)
* feat(DataNodes): Add multiple data nodes and sync classes.

* fix(CPlayerAppearanceDataNode): Update class to 1.61.

* feat(CObjectCreationDataNode): Added node and vector4.

* fix(CObjectCreationNode): Minor issue with includes.

* fix(CObjectCreationDataNode): Make class members public.

* feat(CreationDataNodes): Add creation data nodes.

* feat(CSectorDataNode): Added CSectorDataNode class.
2022-08-12 10:33:17 +02:00
Reece Watson
ed08cda69d feat(CreationDataNodes): Add more creation data nodes. (#20)
* feat(DataNodes): Add multiple data nodes and sync classes.

* fix(CPlayerAppearanceDataNode): Update class to 1.61.

* feat(CObjectCreationDataNode): Added node and vector4.

* fix(CObjectCreationNode): Minor issue with includes.

* fix(CObjectCreationDataNode): Make class members public.

* feat(CreationDataNodes): Add creation data nodes.
2022-08-10 02:39:47 +02:00
Forever Gone
0f1906a9f7 Updated fwEntity to add an extra class and improved netObject (#19)
Co-authored-by: Yimura <andreas.maerten@scarlet.be>
2022-08-08 21:52:41 +02:00
Reece Watson
8675cd7db8 fix(CObjectCreationDataNode): Make class members public. (#18)
* feat(DataNodes): Add multiple data nodes and sync classes.

* fix(CPlayerAppearanceDataNode): Update class to 1.61.

* feat(CObjectCreationDataNode): Added node and vector4.

* fix(CObjectCreationNode): Minor issue with includes.

* fix(CObjectCreationDataNode): Make class members public.
2022-08-06 20:11:51 +02:00
Reece Watson
41f1219f00 fix(CObjectCreationDataNode): Minor issue with includes. (#17)
* feat(DataNodes): Add multiple data nodes and sync classes.

* fix(CPlayerAppearanceDataNode): Update class to 1.61.

* feat(CObjectCreationDataNode): Added node and vector4.

* fix(CObjectCreationNode): Minor issue with includes.
2022-08-06 19:51:39 +02:00
Reece Watson
9679e59399 feat(CObjectCreationDataNode): Added node and vector4. (#16)
* feat(DataNodes): Add multiple data nodes and sync classes.

* fix(CPlayerAppearanceDataNode): Update class to 1.61.

* feat(CObjectCreationDataNode): Added node and vector4.
2022-08-06 19:37:38 +02:00
aa15032261
825a7c0fb7 Added mission bits to fwEntity. (#15)
mission bits can be used to check if an entity is a mission entity.
2022-08-06 19:36:22 +02:00
Reece Watson
634ccb0237 feat(DataNodes): Add multiple data nodes and sync classes. (#14)
* feat(DataNodes): Add multiple data nodes and sync classes.

* fix(CPlayerAppearanceDataNode): Update class to 1.61.
2022-08-06 16:29:59 +02:00
Yimura
ba4d0c3721 refactor: Reorganize repo (#12) 2022-07-29 18:00:22 +02:00
Yimura
9e36400039 fix(Friends): static_assert size check 2022-07-27 12:30:38 +02:00
Yimura
4570612e8b fix(FriendInfo): Removed unused bytes at start of class 2022-07-27 12:24:22 +02:00
Reece Watson
06658decf8 feat(DataNodes): Add appearance data nodes and dependencies. (#11) 2022-07-08 22:26:59 +02:00
Yimura
7656a59298 feat(Reclass): updated project file 2022-07-06 00:00:19 +02:00
Yimura
50f4c6e763 feat(CVehicleModelInfo): Updated class members 2022-07-06 00:00:09 +02:00