Load and write our settings in re3.ini & fixes

This commit is contained in:
eray orçunus 2020-10-02 17:36:56 +03:00
commit 3bd3330227
12 changed files with 150 additions and 78 deletions

View file

@ -219,6 +219,8 @@ public:
extern int strcasecmp(const char *str1, const char *str2);
#endif
extern wchar *AllocUnicode(const char*src);
#define clamp(v, low, high) ((v)<(low) ? (low) : (v)>(high) ? (high) : (v))
inline float sq(float x) { return x*x; }
@ -444,4 +446,4 @@ inline T *WriteSaveBuf(uint8 *&buf, const T &value)
assert(ReadSaveBuf<uint32>(buf) == size);
void cprintf(char*, ...);
void cprintf(char*, ...);