Commit Graph

3159 Commits

Author SHA1 Message Date
yenatch
5dfe27125b Merge branch 'master' into tools-makefile-integration 2017-06-24 20:42:25 -04:00
yenatch
dbaec20534 Include front.dimensions file instead of manual pic dimensions 2017-06-24 20:21:30 -04:00
yenatch
1f8bc7772b Fix insecure fprintf 2017-06-24 19:32:35 -04:00
yenatch
60f6430d05 Merge pull request #371 from yenatch/graphics
Use sha1sum instead of md5sum to compare roms
2017-06-24 19:06:37 -04:00
yenatch
0fbc74a8c7 Fix implicit stdint 2017-06-24 19:02:02 -04:00
yenatch
44baefce06 Add a travis badge and remove pokered link 2017-06-24 18:56:21 -04:00
yenatch
f03b898250 Add a md5 tool to avoid md5sum dependency.
md5sum is missing in macOS and (presumably) BSD.

An alternative would have been to use sha1sum instead, but it's probably
a good idea to have as few dependencies as possible, so this doesn't
happen again.

fixes #364
2017-06-24 18:42:28 -04:00
yenatch
f12e42ab6d Use SHA1 to compare roms 2017-06-24 18:32:54 -04:00
yenatch
866ca63c51 Fix a misleading define for SLP 2017-06-24 17:49:31 -04:00
yenatch
d0d61cb3ab Merge pull request #354 from FredrIQ/comments
Fix a reversed label mistake and reference a major bug
2017-06-24 17:43:48 -04:00
yenatch
080704e49f Merge pull request #370 from yenatch/graphics
png everywhere
2017-06-24 17:36:21 -04:00
yenatch
7d5b9bb0c4 gcc is needed in cygwin
- also mention the new dlls in install
2017-06-24 16:56:43 -04:00
yenatch
ed99a86864 Fix implicit getopt 2017-06-24 16:47:11 -04:00
yenatch
80f7477c33 Fix tools/gfx 2017-06-24 16:42:44 -04:00
yenatch
9b1550c5e0 Explicit rules for gfx/shrink{1,2}.2bpp 2017-06-24 16:31:42 -04:00
yenatch
bc78765298 1bpp in gitignore 2017-06-24 16:31:23 -04:00
yenatch
a20664d415 Fix gfx/misc 2017-06-24 16:30:12 -04:00
yenatch
a749057b27 Fix gfx/frames 2017-06-24 16:28:50 -04:00
yenatch
803c5154f4 pngs in gfx/unknown 2017-06-24 16:27:52 -04:00
yenatch
131bda73bc pngs in gfx/misc 2017-06-24 02:50:42 -04:00
yenatch
89cb46a64d pngs in gfx/mobile 2017-06-24 00:53:38 -04:00
yenatch
afc6f8033b forgot to remove 2bpp from gfx/tilesets 2017-06-24 00:50:33 -04:00
yenatch
65809032bf forgot to remove 2bpp from gfx/intro 2017-06-24 00:49:37 -04:00
yenatch
41ae3610f6 pngs in gfx/fx
- gave up on wind.png
- add --remove-yflip
2017-06-24 00:47:55 -04:00
yenatch
f42e731d76 pngs in gfx/battle 2017-06-23 20:00:11 -04:00
yenatch
1f81d1851f pngs in gfx/ 2017-06-23 19:56:24 -04:00
yenatch
a540926345 pngs in gfx/unown_puzzle 2017-06-22 23:53:57 -04:00
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