Move bmf files to data folder

This commit is contained in:
Crayon2000 2019-04-29 08:31:30 -04:00
parent 78cf06a5a9
commit 6967adc093
7 changed files with 12 additions and 7302 deletions

View file

@ -131,6 +131,14 @@ $(OFILES_SOURCES) : $(HFILES)
@echo $(notdir $<) @echo $(notdir $<)
$(bin2o) $(bin2o)
#---------------------------------------------------------------------------------
# This rule links in binary data with the .bmf extension
#---------------------------------------------------------------------------------
%.bmf.o : %.bmf
#---------------------------------------------------------------------------------
@echo $(notdir $<)
$(bin2o)
-include $(DEPENDS) -include $(DEPENDS)
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,14 +0,0 @@
/*
This file was autogenerated by raw2c.
Visit http://www.devkitpro.org
*/
//---------------------------------------------------------------------------------
#ifndef _ocean_h_
#define _ocean_h_
//---------------------------------------------------------------------------------
extern const unsigned char ocean[];
extern const int ocean_size;
//---------------------------------------------------------------------------------
#endif //_ocean_h_
//---------------------------------------------------------------------------------

View file

@ -18,9 +18,9 @@
#include "gfx/BMfont5.h" #include "gfx/BMfont5.h"
#include "gfx/test_jpg.h" #include "gfx/test_jpg.h"
#include "gfx/test_bmp.h" #include "gfx/test_bmp.h"
#include "gfx/ocean.h"
#include "gfx/frontal.h"
#include "gfx/sprite.h" #include "gfx/sprite.h"
#include "ocean_bmf.h"
#include "frontal_bmf.h"
// Tile stuff // Tile stuff
#define TILE_DELAY 10 #define TILE_DELAY 10
@ -71,8 +71,8 @@ int main() {
GRRLIB_texImg *tex_test_jpg = GRRLIB_LoadTexture(test_jpg); GRRLIB_texImg *tex_test_jpg = GRRLIB_LoadTexture(test_jpg);
GRRLIB_texImg *tex_test_bmp = GRRLIB_LoadTexture(test_bmp); GRRLIB_texImg *tex_test_bmp = GRRLIB_LoadTexture(test_bmp);
GRRLIB_bytemapFont *bmf_Font1 = GRRLIB_LoadBMF(ocean); GRRLIB_bytemapFont *bmf_Font1 = GRRLIB_LoadBMF(ocean_bmf);
GRRLIB_bytemapFont *bmf_Font2 = GRRLIB_LoadBMF(frontal); GRRLIB_bytemapFont *bmf_Font2 = GRRLIB_LoadBMF(frontal_bmf);
GRRLIB_texImg *tex_sprite_png = GRRLIB_LoadTexture(sprite); GRRLIB_texImg *tex_sprite_png = GRRLIB_LoadTexture(sprite);
GRRLIB_InitTileSet(tex_sprite_png, 24, 32, 0); GRRLIB_InitTileSet(tex_sprite_png, 24, 32, 0);