Commit graph

11 commits

Author SHA1 Message Date
Yamagi Burmeister
e4f3f07dfc Use a generic path for 3ZBConfig.cfg.
Otherwise the file will not be loaded on Unix. And trust the VFS that it
does the right thing(tm).
2017-11-05 15:01:44 +01:00
Yamagi Burmeister
9174879424 Fix build on Windows. 2017-11-05 14:48:34 +01:00
Yamagi Burmeister
685d0443c5 A lot of source code fixes.
This is enough that the code builds without too many scary warnings on
modern compilers, the game.so loads on Linux and working bots are
spawning in. Windows support is comming in a later commit.
2017-11-05 14:37:52 +01:00
Yamagi Burmeister
09724d90c0 Add a CMakeLists.txt.
This allows me to load the source into Jetbrains Clion. :)
2017-11-05 14:02:32 +01:00
Yamagi Burmeister
991bbcb87b Fix the build with modern compiles.
Global variables must not be static if they're used in other translation
units. I wonder why this ever worked.

This only fixes errors. There're a lot of warning left.
2017-11-05 14:02:32 +01:00
Yamagi Burmeister
c160418e06 Convert sources from SHIFT-JIS to UTF-8.
SHIFT-JIS was common in 19990, but in 2017 it's just annoying. Convert
the source files with `nkf $file > ${file}_new && mv ${file}_new $file`.
2017-11-05 14:02:32 +01:00
Yamagi Burmeister
1e20e30e61 And add a .gitignore. 2017-11-05 14:02:32 +01:00
Yamagi Burmeister
15ef3a78e3 Add a GNU Makefile. 2017-11-05 14:02:24 +01:00
Yamagi Burmeister
77e5773596 Add the LICENSE file.
This is the standard Quake II SDK license.
2017-11-05 14:02:24 +01:00
Yamagi Burmeister
b84f610e23 Add the source of 3zb2 version 0.97d.
This is the latest version of 3zb2, released on 1999/11/30. This code is
licensed through the Quake II SDL license.
2017-11-05 14:02:16 +01:00
Yamagi Burmeister
ae948ffbfe A new repo for the 3rd Zigock Bot II source and assets. :) 2017-11-05 12:12:27 +01:00