Bill Currie
6996e7295a
Add a getLine method to Script.
...
It returns the rest of the line (minus // style comments) as the token. I
needed it in another project but this is my central repository for
script.py.
2013-11-24 11:21:40 +09:00
Bill Currie
f525be0880
Implement Script.error properly.
...
It's not good to get an attirbute error when trying to raise another error.
2012-09-10 14:58:41 +09:00
Bill Currie
198a49dfdf
Ensure all files have the gpl block.
2012-09-10 12:40:55 +09:00
Bill Currie
15a906aadb
Get map parsing pretty much working.
...
No geometry is created yet.
Both id and quest formats are supported.
e1m1.map parses in less than two seconds on my system.
2012-08-30 13:19:30 +09:00
Bill Currie
08d7131c1b
Create a python version of QF's script parser.
...
It's error handling is bogus, but it works for good input :)
2012-08-29 14:55:11 +09:00