Merge remote-tracking branch 'yenatch/png'

This commit is contained in:
yenatch 2014-04-15 21:29:01 -07:00
commit b45dbd8970
1635 changed files with 84 additions and 1816 deletions

8
.gitignore vendored
View file

@ -1,6 +1,3 @@
# global label defs are generated
globals.asm
# precompiled python
*.pyc
@ -21,6 +18,11 @@ globals.asm
# generated
*.tx
# converted image data
*.2bpp
*.1bpp
*.pic
# swap files for vim
.*.swp

View file

@ -1,8 +1,16 @@
PYTHON := python
.SUFFIXES:
.SUFFIXES: .asm .tx .o .gbc
.PHONY: all clean red blue compare
.PHONY: all clean red blue compare pngs
.PRECIOUS: %.2bpp
.SECONDEXPANSION:
POKEMONTOOLS := extras/pokemontools
GFX := $(PYTHON) $(POKEMONTOOLS)/gfx.py
PIC := $(PYTHON) $(POKEMONTOOLS)/pic.py
INCLUDES := $(PYTHON) $(POKEMONTOOLS)/scan_includes.py
PREPROCESS := $(PYTHON) prequeue.py
TEXTQUEUE :=
@ -23,10 +31,8 @@ OBJS := $(sort $(OBJS))
ROMS := pokered.gbc pokeblue.gbc
# generate dependencies for each object
$(shell $(foreach obj, $(OBJS), \
$(eval $(obj:.o=)_DEPENDENCIES := $(shell $(PYTHON) extras/pokemontools/scan_includes.py $(obj:.o=.asm))) \
))
# object dependencies
$(shell $(foreach obj, $(OBJS), $(eval $(obj:.o=)_DEPENDENCIES := $(shell $(INCLUDES) $(obj:.o=.asm)))))
all: $(ROMS)
red: pokered.gbc
@ -36,7 +42,10 @@ compare:
clean:
rm -f $(ROMS)
rm -f $(OBJS)
find . -iname '*.tx' -exec rm {} +
find . -iname '*.tx' -exec rm {} +
find gfx -iname '*.[12]bpp' -exec rm {} +
find pic -iname '*.pic' -exec rm {} +
find pic -iname '*.2bpp' -exec rm {} +
rm -f redrle
@ -50,8 +59,14 @@ redrle: extras/redtools/redrle.c
@rm -f $@
$(OBJS): $$*.tx $$(patsubst %.asm, %.tx, $$($$*_DEPENDENCIES))
@$(PYTHON) prequeue.py $(TEXTQUEUE)
@$(PREPROCESS) $(TEXTQUEUE)
@$(eval TEXTQUEUE :=)
@$(GFX) 2bpp $(2BPPQUEUE)
@$(eval 2BPPQUEUE :=)
@$(GFX) 1bpp $(1BPPQUEUE)
@$(eval 1BPPQUEUE :=)
@$(PIC) compress $(PICQUEUE)
@$(eval PICQUEUE :=)
rgbasm -o $@ $*.tx
@ -65,3 +80,15 @@ pokeblue.gbc: $(BLUE_OBJS)
rgblink -n $*.sym -m $*.map -o $@ $^
rgbfix $(OPTIONS) -t "POKEMON BLUE" $@
%.2bpp: %.png
$(eval 2BPPQUEUE += $<)
@rm -f $@
%.1bpp: %.png
$(eval 1BPPQUEUE += $<)
@rm -f $@
%.pic: %.2bpp
$(eval PICQUEUE += $<)
@rm -f $@

2
extras

@ -1 +1 @@
Subproject commit 61b83803be9ccdcdcd95b7f8ea7accafab8d4d4d
Subproject commit 1840111de5b4c8aa18717d088f0718dbc0d17841

Binary file not shown.

BIN
gfx/AB.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 B

View file

@ -1 +0,0 @@
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 

BIN
gfx/ED_tile.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

BIN
gfx/attack_anim_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

BIN
gfx/attack_anim_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 999 B

Binary file not shown.

BIN
gfx/badge_numbers.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

BIN
gfx/badges.w16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

BIN
gfx/battle_hud1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

Binary file not shown.

BIN
gfx/battle_hud2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

BIN
gfx/battle_hud3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 B

View file

@ -1 +0,0 @@
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>

BIN
gfx/battle_transition.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 B

Binary file not shown.

BIN
gfx/blank_leader_names.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 B

Binary file not shown.

BIN
gfx/blue/blueversion.h8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

Binary file not shown.

BIN
gfx/blue/sgbborder.w128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

BIN
gfx/blue/slotmachine1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

BIN
gfx/blue/slotmachine2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

BIN
gfx/circle_tile.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 B

Binary file not shown.

BIN
gfx/copyright.h8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

BIN
gfx/diagonal_lines.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

Binary file not shown.

BIN
gfx/emotion_bubbles.w16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

BIN
gfx/falling_star.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 B

Binary file not shown.

BIN
gfx/font.w128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 719 B

BIN
gfx/game_boy.norepeat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

BIN
gfx/gamefreak.h8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

BIN
gfx/gamefreak_intro.h8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

BIN
gfx/gamefreak_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

BIN
gfx/hp_bar_and_status.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

BIN
gfx/intro_fight.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 B

BIN
gfx/link_cable.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

View file

@ -1 +0,0 @@
<~<$

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 B

View file

@ -1 +0,0 @@
Bf˙˝™˙Z$

BIN
gfx/mon_nest_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 B

Binary file not shown.

BIN
gfx/mon_ow_sprites.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

BIN
gfx/p_tile.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 B

Binary file not shown.

BIN
gfx/player_title.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

BIN
gfx/pokeball.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

BIN
gfx/pokecenter_ball.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

BIN
gfx/pokedex.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

BIN
gfx/pokemon_logo.w128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

BIN
gfx/red/sgbborder.w128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

BIN
gfx/red/slotmachine1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

BIN
gfx/red/slotmachine2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

View file

@ -1 +0,0 @@
?3,?+?Эл4ЭтЭ≤x8ЬХЬЬpp

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

View file

@ -1 +0,0 @@
?2/?'?<0F>פ<>ה<EFBFBD>ר˜ר˜טרננ

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 B

View file

@ -1 +0,0 @@
ßÐûü??<'?'ðà`0ðpðÐðpð àÀÀ

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more