This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
YimMenu/BigBaseV2/src/core/globals.hpp

28 lines
429 B
C++
Raw Normal View History

2021-05-19 14:32:30 +02:00
#pragma once
2021-05-19 16:05:21 +02:00
#include "enums.hpp"
2021-05-19 14:32:30 +02:00
#ifndef GLOBALS_H
#define GLOBALS_H
using namespace big;
2021-05-19 14:32:30 +02:00
struct globals {
struct self {
bool godmode = false;
2021-05-19 14:32:30 +02:00
bool noclip = false;
};
struct vehicle {
SpeedoMeter speedo_meter = SpeedoMeter::DISABLED;
};
2021-05-19 15:32:51 +02:00
struct weapons {
CustomWeapon custom_weapon = CustomWeapon::NONE;
2021-05-19 15:32:51 +02:00
};
2021-05-19 14:32:30 +02:00
self self{};
vehicle vehicle{};
2021-05-19 15:32:51 +02:00
weapons weapons{};
2021-05-19 14:32:30 +02:00
};
extern struct globals g;
#endif // !GLOBALS_H