summaryrefslogtreecommitdiffhomepage
path: root/src/gameinfo.c
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2023-08-20 16:20:03 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2023-08-27 00:46:09 +0100
commita1998f2f7ce4153d670e2e5cb5018366517cc1ca (patch)
tree4d899fbad24c728c0b51f183c61ed6a7fb213c04 /src/gameinfo.c
parent38fa6c52a8a26ac178a3e1f80a8317740b8e82b3 (diff)
Get things at least compiling under Linux
Nothing really works yet, but at least test.h and fastspin are fixed and some of the issues with RTTI and libdl and stuff are maybe kind of sorted, subject to more testing later. The main issue now seems to be the cvar interface not quite lining up and crashing pretty much immediately. That'll probably take a lot more debugging to figure out, which likely still won't be a priority for quite a while.
Diffstat (limited to 'src/gameinfo.c')
-rw-r--r--src/gameinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gameinfo.c b/src/gameinfo.c
index 3713d6c..85220a8 100644
--- a/src/gameinfo.c
+++ b/src/gameinfo.c
@@ -80,7 +80,8 @@ bool gameinfo_init(void) {
title[len - 9] = '\0';
}
#else
-#error TODO(linux): grab window handle and title from SDL (a bit involved...)
+//#error TODO(linux): grab window handle and title from SDL (a bit involved...)
+ gameinfo_title = "Linux Game With As Yet Unkown Title";
#endif
// SUPER crude algorithm to force uppercase titles like HALF-LIFE 2 or