Remove 'typedef' from enums and structs. This was required in C, but in C++ all it does is generate thousands of warnings.

This commit is contained in:
hispidence 2021-07-18 15:22:15 +01:00
parent 82e73efc27
commit 21a867e821
34 changed files with 119 additions and 118 deletions

View file

@ -12,7 +12,7 @@
#include "GameScriptRotation.h"
#include "GameScriptItemInfo.h"
typedef struct LuaFunction {
struct LuaFunction {
std::string Name;
std::string Code;
bool Executed;
@ -34,7 +34,7 @@ public:
void SetVariable(std::string key, sol::object value);
};
typedef struct LuaVariable
struct LuaVariable
{
bool IsGlobal;
std::string Name;