Commit Graph

1182 Commits

Author SHA1 Message Date
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
20c0c0e233 BadgeStatBoosts 2013-06-17 18:31:11 -04:00
yenatch
869de91bd5 LostBattle and HalveMoney 2013-06-17 18:19:45 -04:00
yenatch
a4235e11bf symfile: fix address handling 2013-06-16 11:20:12 -04:00
yenatch
dfb2416192 gbz80disasm: fix labels outside of banks 0 and 1 2013-06-15 14:11:50 -04:00
yenatch
ef6767f1a9 OakSpeech formatting 2013-06-14 02:29:46 -04:00
yenatch
2f21ff4ef5 gbz80disasm: only use gbhw/hram constants >= 0xff00 2013-06-14 02:19:35 -04:00
yenatch
7213916ccc DrawIntroPlayerPic 2013-06-14 01:09:23 -04:00
Bryan Bishop
d9779c5852 Merge pull request #146 from yenatch/master
statdown comments + fix make pngs
2013-06-13 14:57:26 -07:00
yenatch
bbed370d84 gfx: return mass-decompress command
still reqd by make pngs
2013-06-13 17:26:50 -04:00
yenatch
c9ff12cc5d use stat constants in statdown commands 2013-06-13 16:31:50 -04:00
yenatch
2b2d3e5e68 Merge branch 'master' of github.com:kanzure/pokecrystal 2013-06-13 16:11:30 -04:00
yenatch
8ae709be9f comment statdown move command 2013-06-13 16:10:39 -04:00
yenatch
eab37ef920 hexdump for binary diffs
those with an existing repo should run:

git config diff.hex.textconv hexdump
2013-06-13 14:24:45 -04:00
Bryan Bishop
4eebcf0ae2 Merge remote-tracking branch 'yenatch/master'
Also merge pull request #145.
2013-06-12 22:44:45 -05:00
Bryan Bishop
358b5b074b Revert "make gfx.py png take only a path"
This reverts commit 915c635849.
2013-06-12 22:44:35 -05:00
yenatch
a923bf768a Merge branch 'master' of github.com:kanzure/pokecrystal
Conflicts:
	extras/gfx.py
2013-06-12 23:31:21 -04:00
yenatch
6ba758aa53 expand shortened palettes
rather than keep up inconsistent palette formats, just incbin a portion of each
2013-06-12 21:40:37 -04:00
yenatch
5803db714c gfx: workable command line functions 2013-06-12 21:40:32 -04:00
yenatch
b06c96e4d2 gfx: palette checking in to_png 2013-06-12 14:38:38 -04:00
yenatch
5d204ce569 fix palette functions and output palettes in 2bpp conversion 2013-06-12 14:29:39 -04:00
yenatch
5cf1754b08 gfx: handling for <4-color pngs when converting to 2bpp
without a .pal file as reference, palettes are sorted by luminance.
pokemon crystal reads palettes exactly 4 colors in length.
if an image used fewer than 4 colors, invalid palettes were produced.

instead, dummy colors are inserted to pad out the palette.
2013-06-12 14:29:35 -04:00
yenatch
c26d758fee DecompressPredef 2013-06-10 21:58:25 -04:00
yenatch
33371d77b9 split out constants 2013-06-10 21:57:58 -04:00
yenatch
a018828016 Player backpic and consistent names for player characters
Male player is now Chris. Female player is Kris.
2013-06-09 14:32:13 -04:00
yenatch
77aa2d9e16 recomment text box functions 2013-05-31 19:07:07 -04:00
yenatch
3975e86baa remove \@s from local labels
\@ is used for anonymous labels in rgbds macros. this has no effect on local labels.
2013-05-31 18:22:32 -04:00
Bryan Bishop
723645b470 rename bank3{0,1}.asm to sprites_{1,2}.asm 2013-05-30 16:29:53 -05:00
Bryan Bishop
3517a4f500 remove two commented incbin lines 2013-05-30 16:28:56 -05:00
Bryan Bishop
6a26978bbe Merge pull request #144 from kanzure/temporarily-fix-overworld-sprites
Temporarily fix overworld sprites.
2013-05-30 14:24:11 -07:00
Bryan Bishop
f8da14960d include overworld sprite .2bpp files 2013-05-30 16:20:31 -05:00
Bryan Bishop
dbc5cbd701 remove overworld sprite pngs
These png files cannot be successfully converted back into 2bpp files
because of a bug in gfx.py.
2013-05-30 16:19:26 -05:00
Bryan Bishop
915c635849 make gfx.py png take only a path 2013-05-29 19:44:08 -05:00
yenatch
3bb2a65eac wram: room decorations 2013-05-29 18:56:09 -04:00
yenatch
11cb016019 JpDe 2013-05-29 14:49:42 -04:00
yenatch
2df19fef15 remove makefile clutter 2013-05-28 17:19:37 -04:00
yenatch
eb75c58023 heavy ball 2013-05-27 23:28:21 -04:00
Bryan Bishop
128dce7aac Merge pull request #142 from cogitokat/overworld-sprites
Include overworld sprites
2013-05-27 20:21:25 -07:00
Kat Harrison
e08e7cf7b2 Include overworld sprites
Created /extras/overworldripper.py and used it to extract overworld sprites and convert them to png files.
2013-05-27 23:07:34 -04:00
yenatch
122e243624 mistook sprout tower pillar for minecart graphics 2013-05-22 17:07:18 -04:00
Bryan Bishop
103ac439ed Merge pull request #140 from yenatch/master
tile animations and map header updates
2013-05-22 13:48:45 -07:00
yenatch
f4db6f6029 music constants in map headers 2013-05-22 16:36:51 -04:00
yenatch
f4e9dc2d33 label banks in map headers 2013-05-22 15:09:37 -04:00
yenatch
ee4203a56d minecart tile animations 2013-05-22 14:57:33 -04:00
Bryan Bishop
dff781c057 Merge pull request #139 from iimarckus/peecee
PC stuff
2013-05-22 00:15:06 -07:00
IIMarckus
620cf7a2a7 Disassemble Kris's PC. 2013-05-22 01:11:07 -06:00
yenatch
c15e7b8619 safari fountain tile animations 2013-05-22 02:56:25 -04:00