Mainloop and onenter definitions are now written into separate buffers first and only written to file after state ends. Why? Zandronum seems to demand that mainloop definitions MUST be written right after any onenter one. This way, mainloop and onenter definitions can be written without this restriction in the script. Also now I have a cool uchar-buffer class :)

Fixed unary operators..

Variables can now be assigned values, unfortunately not at top level.

Forgot the actual new code files out of previous commit

Added rudimentary global var support

Added -l command line parameter, if given, botc will list all available commands and exit.

Added string table and support for string parameters in commands.

(0) -10 -7 +7 +10 +30 +100 tip

mercurial