Get rid of globals.asm. Use ::s to export labels between objects.

globals.asm was a hack that:
- gave rgbasm an extra 100k lines to read
- increased reliance on the python preprocessor
- made the makefile a mess
- gave object creation an extra step
- wasn't even necessary

This speeds up build time by at least a third.
This commit is contained in:
yenatch 2014-01-27 16:22:41 -05:00
parent 6bde08504f
commit 1b9ee46af9
277 changed files with 4346 additions and 4358 deletions

View file

@ -1,4 +1,4 @@
_UnnamedText_75dc6: ; a10e8 (28:50e8)
_UnnamedText_75dc6:: ; a10e8 (28:50e8)
text "Hiya!"
para "I am important"
@ -11,11 +11,11 @@ _UnnamedText_75dc6: ; a10e8 (28:50e8)
line "fossil for me?"
prompt
_UnnamedText_75dcb: ; a1145 (28:5145)
_UnnamedText_75dcb:: ; a1145 (28:5145)
text "No! Is too bad!"
done
_UnnamedText_75dd0: ; a1156 (28:5156)
_UnnamedText_75dd0:: ; a1156 (28:5156)
text "I take a little"
line "time!"
@ -23,7 +23,7 @@ _UnnamedText_75dd0: ; a1156 (28:5156)
line "little while!"
done
_UnnamedText_75dd5: ; a118d (28:518d)
_UnnamedText_75dd5:: ; a118d (28:518d)
text "Where were you?"
para "Your fossil is"
@ -35,7 +35,7 @@ _UnnamedText_75dd5: ; a118d (28:518d)
line "like I think!"
prompt
_UnnamedText_610ae: ; a11d6 (28:51d6)
_UnnamedText_610ae:: ; a11d6 (28:51d6)
text "Oh! That is"
line "@"
TX_RAM $cd6d
@ -54,7 +54,7 @@ _UnnamedText_610ae: ; a11d6 (28:51d6)
cont "again!"
done
_UnnamedText_610b3: ; a1259 (28:5259)
_UnnamedText_610b3:: ; a1259 (28:5259)
text "So! You hurry and"
line "give me that!"
@ -64,7 +64,7 @@ _UnnamedText_610b3: ; a1259 (28:5259)
text "!"
prompt
_UnnamedText_610b8: ; a128f (28:528f)
_UnnamedText_610b8:: ; a128f (28:528f)
text "I take a little"
line "time!"
@ -72,7 +72,7 @@ _UnnamedText_610b8: ; a128f (28:528f)
line "little while!"
done
_UnnamedText_610bd: ; a12c6 (28:52c6)
_UnnamedText_610bd:: ; a12c6 (28:52c6)
text "Aiyah! You come"
line "again!"
done