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 :)
0 | 1 | all: |
2 | g++ -Wall -c -o scriptreader.o scriptreader.cxx | |
3 | g++ -Wall -c -o objwriter.o objwriter.cxx | |
4 | g++ -Wall -c -o str.o str.cxx | |
5 | g++ -Wall -c -o main.o main.cxx | |
6 | g++ -Wall -c -o parser.o parser.cxx | |
2
bb2c45522eb6
Added event definitions
Teemu Piippo <crimsondusk64@gmail.com>
parents:
0
diff
changeset
|
7 | g++ -Wall -c -o events.o events.cxx |
6
0005527cad62
Command definitions are now read into memory.
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
8 | g++ -Wall -c -o commands.o commands.cxx |
20
d7b13805d1e0
Added string table and support for string parameters in commands.
Teemu Piippo <crimsondusk64@gmail.com>
parents:
6
diff
changeset
|
9 | g++ -Wall -c -o stringtable.o stringtable.cxx |
22
b48e10ca8832
Added rudimentary global var support
Teemu Piippo <crimsondusk64@gmail.com>
parents:
20
diff
changeset
|
10 | g++ -Wall -c -o variables.o variables.cxx |
b48e10ca8832
Added rudimentary global var support
Teemu Piippo <crimsondusk64@gmail.com>
parents:
20
diff
changeset
|
11 | g++ -Wall -o botc scriptreader.o objwriter.o str.o main.o parser.o events.o commands.o stringtable.o variables.o |
0 | 12 | |
13 | clean: | |
14 | rm -f *.o *~ botc |