LegoEntity parsing extra Action strings (#141)

* LegoEntity parse action string

* Reduced size assert for MxEntity

* remove override keyword for LegoEntity function

* Move global strings to new define.cpp file
This commit is contained in:
MS
2023-09-27 15:16:46 -04:00
committed by GitHub
parent e341afd411
commit 749c553325
13 changed files with 124 additions and 11 deletions

View File

@@ -1,6 +1,8 @@
#ifndef LEGOUTIL_H
#define LEGOUTIL_H
#include "extra.h"
template <class T>
inline T Abs(T p_t)
{
@@ -19,6 +21,7 @@ inline T Max(T p_t1, T p_t2)
return p_t1 > p_t2 ? p_t1 : p_t2;
}
ExtraActionType MatchActionString(const char *);
void ConvertHSVToRGB(float r, float g, float b, float* out_r, float* out_g, float* out_b);
#endif // LEGOUTIL_H