Commit Graph

87 Commits

Author SHA1 Message Date
2a44711fa7 Merge pull request #126 from yenatch/master
map scripts + ai + disabled line ending correction
2013-05-06 22:15:41 -07:00
2acb46f6b5 downward triangle character 0xee 2013-05-01 23:18:38 -04:00
0e47273378 Merge yenatch/master. 2013-04-27 17:29:29 -05:00
dc81d0cfcf dump move effects 2013-03-29 18:54:42 -04:00
4332a25bd5 fix docstring formatting everywhere 2013-03-21 15:15:42 -05:00
393b4971f4 include some http ascii from the ROM 2013-03-01 21:40:01 -06:00
80fc1f42c4 clean up the preprocessor macro list 2013-01-27 17:45:23 -06:00
dd16a25768 allow labels and includes on the same line 2013-01-23 15:27:14 -05:00
01f48a54e8 speed up text conversion in preprocessor 2013-01-10 16:33:14 -06:00
458709fc77 combine multiple calls to sys.stdout.write 2013-01-10 16:25:57 -06:00
849a57c9f1 disable macro error checking by default 2013-01-10 15:58:24 -06:00
fe8476d6bc make include_file faster in the preprocessor 2013-01-10 15:52:18 -06:00
662f442221 disable '; original line' by default 2013-01-10 15:42:43 -06:00
f558edafff even faster preprocessor 2013-01-10 15:34:30 -06:00
f2fd544e20 make the preprocessor a little faster
This reduced the preprocessing time from 8s to 2.7s.
2013-01-10 15:19:56 -06:00
3f95529102 saner import syntax in preprocessor 2013-01-10 15:07:36 -06:00
9d68470e0f even better preprocessor formatting 2012-11-30 10:26:49 -06:00
3d8e7a1776 make preprocessor includable as a module
The preprocessor only runs against stdin when __main__ is activated,
instead of always running on stdin. This allows the file to be included
in an interactive python session or in other scenarios.
2012-11-30 10:12:27 -06:00
935384f931 update spacing for read_line in preprocessor 2012-11-30 10:04:56 -06:00
44c3eb1ccf make the include macro check better
The include macro is now checked against only the beginning of the line,
and comments in the asm file can say "INCLUDE \"" if they need to. In
addition, the preprocessor now supports INCLUDE lines that are preceded
by a tab character. However, if this included file has multiple lines,
the output will not be automatically aligned with the initial tab. This
might cause problems with rgbasm.
2012-11-30 10:01:33 -06:00
1e6f295573 more preprocessor comments 2012-11-30 09:58:57 -06:00
9b4718d0c7 clean up formatting in preprocessor 2012-11-30 09:56:15 -06:00
a1a9fa5560 move allowed_lengths for music macros out
This moves the allowed_lengths setting out of the preprocessor. Special
cases should not be hardcoded in the preprocessor.
2012-11-30 09:54:02 -06:00
3626ddebd1 implement music macros; INCLUDE injection in pre 2012-11-30 05:58:00 -05:00
fa019d2f51 Add some functions from Mobile Stadium. 2012-07-07 19:51:02 -06:00