mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 20:46:47 +03:00
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:
parent
82e73efc27
commit
21a867e821
34 changed files with 119 additions and 118 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue