summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-25 18:35:03 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-25 18:35:03 +0100
commit9647901ba07e6252ce850b72108958324d3b3230 (patch)
tree0a17b9decd677ecbf3a288705df0ed2eeaef87e4 /src/core/re3.cpp
parentMove CRunningScript (diff)
parentUpdate OpenAL (diff)
downloadre3-9647901ba07e6252ce850b72108958324d3b3230.tar
re3-9647901ba07e6252ce850b72108958324d3b3230.tar.gz
re3-9647901ba07e6252ce850b72108958324d3b3230.tar.bz2
re3-9647901ba07e6252ce850b72108958324d3b3230.tar.lz
re3-9647901ba07e6252ce850b72108958324d3b3230.tar.xz
re3-9647901ba07e6252ce850b72108958324d3b3230.tar.zst
re3-9647901ba07e6252ce850b72108958324d3b3230.zip
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r--src/core/re3.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 25e3e849..4a2dfe00 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -1025,9 +1025,13 @@ extern bool gbRenderDebugEnvMap;
}
#endif
+#ifndef __MWERKS__
+#ifndef MASTER
const int re3_buffsize = 1024;
static char re3_buff[re3_buffsize];
+#endif
+#ifndef MASTER
void re3_assert(const char *expr, const char *filename, unsigned int lineno, const char *func)
{
#ifdef _WIN32
@@ -1081,9 +1085,11 @@ void re3_assert(const char *expr, const char *filename, unsigned int lineno, con
assert(false);
#endif
}
+#endif
void re3_debug(const char *format, ...)
{
+#ifndef MASTER
va_list va;
va_start(va, format);
#ifdef _WIN32
@@ -1095,8 +1101,10 @@ void re3_debug(const char *format, ...)
printf("%s", re3_buff);
CDebug::DebugAddText(re3_buff);
+#endif
}
+#ifndef MASTER
void re3_trace(const char *filename, unsigned int lineno, const char *func, const char *format, ...)
{
char buff[re3_buffsize *2];
@@ -1136,6 +1144,8 @@ void re3_usererror(const char *format, ...)
assert(false);
#endif
}
+#endif
+#endif
#ifdef VALIDATE_SAVE_SIZE
int32 _saveBufCount;