format codebase

This commit is contained in:
aronwk-aaron
2022-07-28 08:39:57 -05:00
parent 4f7aa11067
commit 19e77a38d8
881 changed files with 34700 additions and 38689 deletions

View File

@@ -6,7 +6,7 @@ EntityCallbackTimer::EntityCallbackTimer(float time, std::function<void()> callb
}
EntityCallbackTimer::~EntityCallbackTimer() {
}
std::function<void()> EntityCallbackTimer::GetCallback() {

View File

@@ -10,7 +10,7 @@ public:
std::function<void()> GetCallback();
float GetTime();
void Update(float deltaTime);
private:

View File

@@ -17,24 +17,24 @@ struct EntityInfo {
spawnerNodeID = 0;
id = 0;
lot = LOT_NULL;
pos = {0,0,0};
rot = {0,0,0,0};
pos = { 0,0,0 };
rot = { 0,0,0,0 };
settings = {};
networkSettings = {};
scale = 1.0f;
}
Spawner* spawner;
LWOOBJID spawnerID;
bool hasSpawnerNodeID;
uint32_t spawnerNodeID;
LWOOBJID id;
LOT lot;
NiPoint3 pos;
NiQuaternion rot;
std::vector<LDFBaseData*> settings;
std::vector<LDFBaseData*> networkSettings;
LWOOBJID spawnerID;
bool hasSpawnerNodeID;
uint32_t spawnerNodeID;
LWOOBJID id;
LOT lot;
NiPoint3 pos;
NiQuaternion rot;
std::vector<LDFBaseData*> settings;
std::vector<LDFBaseData*> networkSettings;
float scale;
};

View File

@@ -6,7 +6,7 @@ EntityTimer::EntityTimer(std::string name, float time) {
}
EntityTimer::~EntityTimer() {
}
std::string EntityTimer::GetName() {
@@ -19,4 +19,4 @@ float EntityTimer::GetTime() {
void EntityTimer::Update(float deltaTime) {
m_Time -= deltaTime;
}
}