From 00ad7cdd3d05d09a43bda972c823fdc440feabb9 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 24 Mar 2022 02:06:28 +0000 Subject: Clean up gameinfo_init() and other random stuff - Just ask the engine for the game directory instead of doing the stupid argv sniffing hacks from the early days of trying to get the damn thing working. - Also add some other path variables, functions and whatnot, and do some other minor tidying up. - Also also, another damn copyright year, somebody please help me. Unfortunate negative effect off this change: con_init() no longer reports the game name, because it has to happen before gameinfo_init(). I've decided I don't really care, though. --- src/os.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/os.h') diff --git a/src/os.h b/src/os.h index 5d62c2a..0e30005 100644 --- a/src/os.h +++ b/src/os.h @@ -42,6 +42,7 @@ #else #include #include +#include #include #include #include -- cgit v1.2.3