diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2022-03-24 02:06:28 +0000 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2022-03-24 04:38:25 +0000 |
commit | 00ad7cdd3d05d09a43bda972c823fdc440feabb9 (patch) | |
tree | 7f9725341e598f273fc1fb6ca0803c794bb67698 /src/os.h | |
parent | b18326a75078530df7712667f41b4ea354e1da3e (diff) |
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.
Diffstat (limited to 'src/os.h')
-rw-r--r-- | src/os.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -42,6 +42,7 @@ #else #include <dlfcn.h> #include <limits.h> +#include <link.h> #include <stdio.h> #include <string.h> #include <strings.h> |