Commit Graph

1228 Commits

Author SHA1 Message Date
yenatch
173f38346c get rid of bank 25 hard addresses in scripting.asm 2013-07-20 02:27:48 -04:00
yenatch
6fb2cd6613 no more incbins in bank 25 2013-07-20 01:46:56 -04:00
yenatch
f2888a2d75 more overworld wram labels 2013-07-20 01:25:20 -04:00
yenatch
92152c98fc script command scripttalkafter is an ender 2013-07-20 01:20:33 -04:00
yenatch
c2b485a1d6 script command reloadandreturn takes a parameter 2013-07-20 01:20:04 -04:00
yenatch
8d75f962e4 more sprite asm 2013-07-14 14:51:07 -04:00
yenatch
9540a15b0c type/pal constants in sprite headers 2013-07-14 13:49:53 -04:00
yenatch
4071137870 more sprite constants 2013-07-14 13:49:37 -04:00
yenatch
4ac88d6cdc sprite constants in map events 2013-07-12 17:06:11 -04:00
yenatch
5f6d69fdd3 extra sprite constant 2013-07-12 17:03:03 -04:00
yenatch
bf2a4b8a84 Sprite headers 2013-07-12 16:18:52 -04:00
yenatch
1da2a7a5c4 Outdoor sprites and sprite constants 2013-07-12 14:50:37 -04:00
yenatch
90c18c5cf3 rst $28 -> JumpTable 2013-07-10 19:17:04 -04:00
yenatch
37c009ca1c player/script events 2013-07-10 19:17:04 -04:00
yenatch
0988d69d9d more scripting cleanup 2013-07-10 19:17:04 -04:00
yenatch
a3870db643 Clean up and remove incbins from script commands 2013-07-10 19:17:04 -04:00
yenatch
82ebad99de MapObjects and ScriptRunning 2013-07-10 19:17:04 -04:00
yenatch
aa62a4b88d version constant 2013-07-10 19:17:04 -04:00
yenatch
e7a7fcc924 crystal: add more movements 2013-07-10 19:17:03 -04:00
yenatch
24daef7afb SelectMenu 2013-07-10 19:17:03 -04:00
yenatch
dca6fd37cd start using relevant constants in wram.asm 2013-07-10 19:17:03 -04:00
yenatch
425b727784 make: check wram/constants 2013-07-10 19:17:02 -04:00
yenatch
fbf9ae7877 clean up StartMenu 2013-07-10 19:17:02 -04:00
yenatch
d3872d1aa9 chars: â–· 2013-07-10 19:17:02 -04:00
yenatch
6597eb7e50 Overworld input handling 2013-07-10 19:17:02 -04:00
yenatch
b9dfd607bb DoPlayerMovement and recomment ow surfing checks 2013-06-27 00:34:49 -04:00
Bryan Bishop
fbf561cfa5 Merge pull request #153 from yenatch/gbz80disasm-data
data detection in gbz80disasm
2013-06-25 20:32:52 -07:00
Bryan Bishop
b710b8721e don't mix tabs/whitespace 2013-06-25 22:25:50 -05:00
Bryan Bishop
ad6e271dec Merge pull request #148 from yenatch/master
Re-organizing some engine-related asm and constants.
2013-06-25 20:17:18 -07:00
Bryan Bishop
4b2d4337b4 Merge pull request #149 from yenatch/new-install
reformat install + fix source preprocessing
2013-06-25 20:10:38 -07:00
yenatch
859c70ff42 install: less abrasive outro 2013-06-25 22:10:15 -04:00
yenatch
44571dc236 give prequeue a reason to exist 2013-06-25 21:51:57 -04:00
yenatch
8d2df72cb8 pre: restore separate_comment's behavior 2013-06-25 21:24:09 -04:00
yenatch
fdf1070dff install: elaborate on make targets 2013-06-25 21:19:09 -04:00
yenatch
03b407a0c4 install: get pip and be less vague about the base rom 2013-06-25 20:32:29 -04:00
yenatch
3d0314b562 replace broken mibbit links with kiwiirc 2013-06-25 19:08:14 -04:00
yenatch
2896cb93d4 gbz80disasm: just use lowercase labels 2013-06-25 04:04:19 -04:00
yenatch
91f7c123f4 gbz80disasm: fix data handling
get the scalpel out of there
2013-06-25 03:57:49 -04:00
yenatch
6630406043 gbz80disasm: local/global address conversion + fix find_label 2013-06-25 03:55:38 -04:00
yenatch
7804dedce4 gbz80disasm: detect data tables referenced in asm 2013-06-25 03:43:58 -04:00
yenatch
e199aaa8fd gbz80disasm: data detection
the is_data flag never did anything. now it does

encountering the end of a branch with outstanding labels will read anything between said labels as data
2013-06-25 03:24:38 -04:00
yenatch
01954388ea make: don't recompile if it's not necessary
the preprocessor queue was preventing files from being recognized as out-of-date

this highlights similar errors with graphics targets, which need to be fixed anyway
2013-06-21 23:23:22 -04:00
yenatch
e733c4234c preprocess asm files individually
this fixes a lot of previous hacks

first off, rgbds requires that labels from includes be marked as globals.
instead, 3626ddeb stuffed includes into the parent file in the preprocessor.
this meant one huge file got preprocessed every time, adding an additional
ten seconds to compile time.

running the preprocessor once for each file would create too much overhead,
so a list is fed into prequeue.py, which then makes calls to preprocessor.py.

this paves the way for compiling source files separately some day.

next, compiling previously required `make clean` to be executed first.
f3340de6 touched main.asm to force a fresh compile instead. this behavior
has been reverted. now, `make all` will only attempt to recompile if a
source file has changed.

preprocessor.py has some marginal changes. prequeue.py is created to keep
the original functionality of preprocessor.py intact. so many files are
preprocessed on first compile (1951 as of this commit) that the prequeue
call has been hidden.

compile time is reduced to 15-30 seconds on first compile, and 5-10 seconds
subsequently. the majority of this time is spent in rgbasm.
2013-06-21 16:12:40 -04:00
yenatch
f3340de6dc make clean is no longer required to compile 2013-06-18 22:39:13 -04:00
yenatch
4577af01de updated install instructions 2013-06-18 22:39:12 -04:00
yenatch
fb931fe616 move miscellaneous asm into engine/ 2013-06-17 21:30:36 -04:00
yenatch
41dbd3b4a6 move constants files into constants/ 2013-06-17 21:30:25 -04:00
Bryan Bishop
ac773a9dc1 Merge pull request #147 from yenatch/master
gbz80disasm/sym fixes + odds and ends
2013-06-17 16:56:00 -07:00
yenatch
20c0c0e233 BadgeStatBoosts 2013-06-17 18:31:11 -04:00
yenatch
869de91bd5 LostBattle and HalveMoney 2013-06-17 18:19:45 -04:00