Commit graph

17 commits

Author SHA1 Message Date
Yamagi
365f8a2da4
Merge pull request #1 from earth-metal/master
File-loading improvements + original keyboard config
2018-09-28 07:38:04 +02:00
earth-metal
b28d18c3d3 Improve recognition of lines with bot-characters in 3ZBConfig.
The original formatting of 3ZBConfig was causing 3 "blank" bot
characters to be loaded into the initial slots of the list of bot
characters.  Decrementing the counter when it reaches an improperly
formatted line prevents this.
2018-09-27 08:20:46 -04:00
earth-metal
f2c7daaa3b Original "addbot.cfg" asset added. 2018-09-26 22:23:16 -04:00
earth-metal
1bff78ae37 Use a generic path for loading *.chn files. 2018-09-26 22:21:32 -04:00
Yamagi Burmeister
2a630eaa5a Add a small README. 2017-11-05 15:21:38 +01:00
Yamagi Burmeister
578a99ccf9 Add the original assets and routes. 2017-11-05 15:14:20 +01:00
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