Commit Graph

3132 Commits

Author SHA1 Message Date
yenatch
89093e4670 pngs in gfx/trainers 2017-06-22 23:46:58 -04:00
yenatch
31d9c1fffa pngs in gfx/trade
game_boy.png can be rearranged in a nicer way, but it's a job for another time
2017-06-22 23:45:45 -04:00
yenatch
bcb58c2939 Add --interleave to tools/gfx and refactor.
For images composed of 8x16 sprites.

The width has to be manually passed in. If this were an rgbgfx feature this would not be necessary.

Fixes 647f9b4452
2017-06-21 23:49:45 -04:00
yenatch
647f9b4452 pngs in gfx/title 2017-06-21 23:45:01 -04:00
yenatch
967b0898a9 pngs in gfx/tilesets 2017-06-21 00:28:48 -04:00
yenatch
1fee4eb003 pngs in gfx/stats 2017-06-21 00:14:21 -04:00
yenatch
5738567985 pngs in gfx/splash 2017-06-21 00:13:09 -04:00
yenatch
2e0344e63d pngs in gfx/special/celebi 2017-06-21 00:12:01 -04:00
yenatch
99f6249de8 pngs in gfx/pokegear
- flymap_label_border.2bpp was actually 1bpp
2017-06-21 00:11:29 -04:00
yenatch
f10ed64d1a pngs in gfx/pokedex 2017-06-20 23:42:29 -04:00
yenatch
93a3a7d3c5 Use $(if) in the makefile. Fix gfx/mail.
Fixes 384788f370
2017-06-20 23:36:28 -04:00
yenatch
a71005fafa Remove debug statement from tools/gfx 2017-06-18 00:54:02 -04:00
yenatch
384788f370 pngs in gfx/mail 2017-06-18 00:13:03 -04:00
yenatch
cd3d125861 Add gfx tool for graphics postprocessing 2017-06-18 00:09:25 -04:00
yenatch
217b7b8d9b Merge pull request #366 from Ben10do/fix-deprecation-warnings
Replace ‘jp [hl]’ with ‘jp hl’
2017-06-17 23:10:53 -04:00
yenatch
e1c2876ff6 Merge pull request #367 from SkyrisBactera/patch-1
rgbds: Missing a dependency
2017-06-13 17:01:04 -04:00
SkyrisBactera
b8bf062c8f Missing a dependency
Without libpng-dev, sudo make install causes:
In file included from src/gfx/gb.c:20:0:
include/gfx/main.h:20:17: fatal error: png.h: No such file or directory
 #include <png.h>
                 ^
compilation terminated.
Makefile:90: recipe for target 'src/gfx/gb.o' failed
make: *** [src/gfx/gb.o] Error 1
2017-06-13 14:50:28 -06:00
Ben10do
fc300ab0ee
Fix parallelisation issues in Makefile
Introduces a minor hack, in order to ensure that the tools are built before the Makefile attempts to use any of the tools, even when using ‘make -j’.
2017-06-10 18:21:38 +01:00
Ben10do
848b3ba3ec
Fix warnings about assignments in ‘if’ statements
Assignments in ‘if’ statements cause a warning in Clang, asking you to enclose the assignment in brackets (to show that it was intentional).
2017-06-09 22:42:05 +01:00
Ben10do
cf390243b2
Remove ‘make tools’ step in installation
This step is no longer required, as it will be run automatically when making the ROM.
2017-06-09 22:09:38 +01:00
Ben10do
b34b1a5b0c
Add .gitignore for compiled tools 2017-06-09 22:06:07 +01:00
Ben10do
e6ea1889fb
Replace ‘jp [hl]’ with ‘jp hl’
The former is arguably misleading (as you don’t access the memory location in hl to retrieve the jump location), and is consequently deprecated in newer versions of rgbds.

This fix silences these deprecation warnings.
2017-06-09 22:01:10 +01:00
Ben10do
202cea9705
- Make the tools implicitly when making the ROM
- Add a clean target to the tools Makefile
- Run said clean target when cleaning the pokecrystal directory
2017-06-09 21:55:09 +01:00
yenatch
f4071b2ce7 pngs in gfx/icon 2017-06-08 22:28:19 -04:00
yenatch
a45b56a8c1 pngs in gfx/frames 2017-06-08 22:26:33 -04:00
yenatch
71b51b7f19 pngs in gfx/{debug,emotes,evo,font,intro} 2017-06-08 22:21:12 -04:00
yenatch
cd159dcf39 pngs in gfx/overworld 2017-06-04 21:06:36 -04:00
yenatch
fb154f5a6e Merge pull request #362 from yenatch/c-tools
Replace the python tools with C tools and rgbgfx. Add Pokemon pngs
2017-05-29 23:27:19 -04:00
yenatch
6001eeba40 makefile misc qol
- md5sum: no more --quiet. this flag is not standard and seeing "OK" is probably better
- saner use of $(roms)
2017-05-29 23:22:24 -04:00
yenatch
2f2aa10c9c Reorder the build targets for backwards compatibility with gmake 3.81. 2017-05-29 23:21:42 -04:00
yenatch
e78034eb8c Use a separate makefile for tools
- Fix crystal11
- Fix a bug where the dependency checks would run regardless of target

Fixes 0bd74cdd73
2017-05-29 19:15:34 -04:00
yenatch
c81a7aa162 pokemon_animation_graphics: remove declarations from for loops 2017-05-28 23:52:23 -04:00
yenatch
d9c329eb3c pokemon_animation_graphics: stdint.h 2017-05-28 23:49:12 -04:00
yenatch
f175c636b5 travis: make tools 2017-05-28 23:44:39 -04:00
yenatch
57e0f470b1 Put more generated files in .gitignore 2017-05-28 23:37:45 -04:00
yenatch
2dc6dd7584 Remove the now-generated animation data. 2017-05-28 23:35:08 -04:00
yenatch
1c7d4954cd Change the compression hash for Girafarig's sprite. 2017-05-28 23:26:04 -04:00
yenatch
d6bf2468a1 Add targets for the pokemon animation edge cases. 2017-05-28 23:23:11 -04:00
yenatch
6cce673501 Fix the pokemon animation tools.
Fixed a lot of serious bugs. These tools were not functional.
Also added a --girafarig flag for a special case.
2017-05-28 23:22:10 -04:00
yenatch
853abd3aa3 Fix rgbds link and version 2017-05-28 15:57:57 -04:00
yenatch
74005945b7 Fix no newline at eof in engine/time.asm 2017-05-28 15:54:03 -04:00
yenatch
0bd74cdd73 Fix crystal11 after clean 2017-05-28 15:53:30 -04:00
yenatch
1a549990da Accidentally deleted the pokemon palette rule 2017-05-28 15:53:06 -04:00
yenatch
f748d34aa3 Merge remote-tracking branch 'origin/master' into c-tools 2017-05-28 14:15:22 -04:00
yenatch
fd7cf5987a Don't use the shiny palette when extracting backsprites.
This wasn't actually desirable.
2017-05-28 14:09:25 -04:00
yenatch
e3c28297ef Add new filetypes to .gitignore 2017-05-28 14:09:12 -04:00
yenatch
e9c1d24c31 Add Pokemon pic pngs.
Copies of the matching compressed files are kept, so files with a matching hash will use the matching compressed file instead.

This is the best that can be done until the compressor is fixed, which may never happen.
2017-05-28 14:03:13 -04:00
yenatch
22058020f4 Fix intermediate files once and for all.
GNU Make defaults to deleting all intermediate files unless .SECONDARY is defined.
2017-05-28 01:22:17 -04:00
yenatch
517136b0d9 Fix the graphics rules 2017-05-28 01:20:58 -04:00
yenatch
fe38946b0e scan_includes: add --strict so it doesn't have to be default 2017-05-28 01:12:16 -04:00