fix: Add missing <cstdint> include, divide includes by category

This commit is contained in:
Davide Beatrici 2022-06-01 07:49:36 +02:00
parent dac4d22882
commit a49ab7749d
25 changed files with 63 additions and 0 deletions

View File

@ -1,6 +1,9 @@
#pragma once
#include "CItemInfo.hpp"
#include <cstdint>
enum class eAmmoSpecialType : int32_t
{
None,

View File

@ -1,9 +1,13 @@
#pragma once
#include "CHandlingData.hpp"
#include "CVehicleDrawHandler.hpp"
#include "CVehicleModelInfo.hpp"
#include "fwEntity.hpp"
#include <cstdint>
#pragma pack(push, 4)
class CAutomobile : public rage::fwEntity
{

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdint>
enum class eModelType : std::uint8_t
{
UNK_0,

View File

@ -1,6 +1,9 @@
#pragma once
#include "vector.hpp"
#include <cstdint>
class CHandlingData
{
public:

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdint>
class CItemInfo
{
public:

View File

@ -1,4 +1,5 @@
#pragma once
#include "vector.hpp"
class CNavigation

View File

@ -1,8 +1,12 @@
#pragma once
#include "CPlayerInfo.hpp"
#include "CNonPhysicalPlayerData.hpp"
#include "netPlayer.hpp"
#include <cstdint>
#pragma pack(push, 1)
class CNetGamePlayer : public rage::netPlayer

View File

@ -1,7 +1,10 @@
#pragma once
#include "CNetGamePlayer.hpp"
#include "CNonPhysicalPlayerData.hpp"
#include <cstdint>
namespace rage
{
class netPlayerMgrBase

View File

@ -1,6 +1,9 @@
#pragma once
#include "vector.hpp"
#include <cstdint>
namespace rage
{
class nonPhysicalPlayerDataBase

View File

@ -1,11 +1,15 @@
#pragma once
#include "CAutomobile.hpp"
#include "CPedModelInfo.hpp"
#include "CPedWeaponManager.hpp"
#include "CPlayerInfo.hpp"
#include "fwEntity.hpp"
#include "vector.hpp"
#include <cstdint>
#pragma pack(push, 1)
class CPed : public rage::fwEntity

View File

@ -1,4 +1,5 @@
#pragma once
#include "CPed.hpp"
class CPedFactory

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdint>
class CPedModelInfo
{
public:

View File

@ -1,6 +1,9 @@
#pragma once
#include "CWeaponInfo.hpp"
#include <cstdint>
class CPedWeaponManager
{
public:

View File

@ -1,6 +1,9 @@
#pragma once
#include "netPlayerData.hpp"
#include <cstdint>
enum class eGameState : int32_t
{
Invalid = -1,

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdint>
class CVehicleDrawHandler
{
public:

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdint>
class CVehicleModelInfo
{
public:

View File

@ -1,7 +1,10 @@
#pragma once
#include "CAmmoInfo.hpp"
#include "CItemInfo.hpp"
#include <cstdint>
enum class eDamageType : int32_t
{
Unknown,

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdint>
#pragma pack(push, 1)
class FriendInfo
{

View File

@ -1,6 +1,9 @@
#pragma once
#include "FriendInfo.hpp"
#include <cstdint>
class FriendList
{
public:

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdint>
#pragma pack(push, 1)
class ScInfo
{

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdint>
namespace rage
{
class fwDrawData

View File

@ -1,9 +1,13 @@
#pragma once
#include "CBaseModelInfo.hpp"
#include "CNavigation.hpp"
#include "fwDrawData.hpp"
#include "netObject.hpp"
#include <cstdint>
namespace rage
{
#pragma pack(push, 4)

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdint>
namespace rage
{
class netObject

View File

@ -1,4 +1,5 @@
#pragma once
#include "netPlayerData.hpp"
namespace rage

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdint>
namespace rage
{
class netAddress