Xbox message screen, disabled by default

This commit is contained in:
erorcun 2020-11-24 01:25:44 +03:00
commit b7783b19d2
6 changed files with 226 additions and 6 deletions

View file

@ -220,6 +220,8 @@ extern int strcasecmp(const char *str1, const char *str2);
extern int strncasecmp(const char *str1, const char *str2, size_t len);
#endif
extern wchar *AllocUnicode(const char*src);
#define clamp(v, low, high) ((v)<(low) ? (low) : (v)>(high) ? (high) : (v))
#define clamp2(v, center, radius) ((v) < (center) ? Max(v, center - radius) : Min(v, center + radius))
@ -487,4 +489,4 @@ inline T *WriteSaveBuf(uint8 *&buf, uint32 &length, const T &value)
assert(ReadSaveBuf<uint32>(buf,len) == size);
void cprintf(char*, ...);
void cprintf(char*, ...);