Sun, 15 Jul 2012 18:56:26 +0300
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 :)
all: g++ -Wall -c -o scriptreader.o scriptreader.cxx g++ -Wall -c -o objwriter.o objwriter.cxx g++ -Wall -c -o str.o str.cxx g++ -Wall -c -o main.o main.cxx g++ -Wall -c -o parser.o parser.cxx g++ -Wall -c -o events.o events.cxx g++ -Wall -c -o commands.o commands.cxx g++ -Wall -c -o stringtable.o stringtable.cxx g++ -Wall -c -o variables.o variables.cxx g++ -Wall -o botc scriptreader.o objwriter.o str.o main.o parser.o events.o commands.o stringtable.o variables.o clean: rm -f *.o *~ botc