Commit Graph

11 Commits

Author SHA1 Message Date
Rangi be7a5e09b5 Factor out usage_exit into into tools/common.h 2021-09-21 17:37:43 -04:00
Rangi 021702628c Rewrite tools/pokemon_animation.c 2021-09-02 18:37:36 -04:00
Rangi a18f83b911 Rewrite tools/pokemon_animation_graphics.c, and keep `void usage` and `void parse_args` at the top of tools' files 2021-09-02 17:15:50 -04:00
yenatch 40305f205e fix unused fread return value warnings 2017-12-28 01:25:25 -05:00
yenatch c719ff4f0b Fix unused variable warnings 2017-08-20 12:33:12 -04:00
IIMarckus 80888726b9 Check some errors (not enough).
malloc can always fail. Check to avoid null dereference.

malloc(0) is well defined but leads to an eventual crash on some systems.
Check it too.
2017-06-29 22:45:30 -06: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 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 27ba16d827 Fix pokemon_animation_graphics 2017-05-28 01:11:32 -04:00
yenatch 2ab468268a Add C build tools. 2016-08-24 21:56:07 -04:00