summaryrefslogtreecommitdiff
path: root/src/d/d_msg_scrn_howl.cpp
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2026-03-18 01:38:05 -0400
committerGitHub <noreply@github.com>2026-03-17 22:38:05 -0700
commit6694c1b281a142972fce587bd20cd82ee65ab38f (patch)
tree2537d09d5ab3d270eaca5143a4f2f2f65f4ecb49 /src/d/d_msg_scrn_howl.cpp
parent9f340b604b5ac3d19d330b7bd6a2d7355c58bc27 (diff)
Fix a bunch of compiler warnings and document several more bugs (#3130)
Diffstat (limited to 'src/d/d_msg_scrn_howl.cpp')
-rw-r--r--src/d/d_msg_scrn_howl.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/d/d_msg_scrn_howl.cpp b/src/d/d_msg_scrn_howl.cpp
index 473de9c350..102a5d95e0 100644
--- a/src/d/d_msg_scrn_howl.cpp
+++ b/src/d/d_msg_scrn_howl.cpp
@@ -19,6 +19,16 @@
#include "JSystem/J2DGraph/J2DScreen.h"
#include "Z2AudioLib/Z2WolfHowlMgr.h"
+// POSIX already defines a macro with this name, but we know that this specific name is
+// used in TP based on assertion messages. This redefinition is scoped to this TU which
+// is unlikely to ever actually need the POSIX define, so we can just redefine it.
+#if defined(LINE_MAX)
+#undef LINE_MAX
+#endif
+#define LINE_MAX 30
+//TODO: This is likely an enum value based on its name
+#define PLOT_BUFFER_MAX_e 0x300
+
typedef void (dMsgScrnHowl_c::*dMsgScrnHowl_cFunc)();
static dMsgScrnHowl_cFunc init_proc[5] = {