troy56 / palibds

Automatically exported from code.google.com/p/palibds
0 stars 0 forks source link

Data and GFX are converted to .c / .h files #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Data and GFX should not be converted to .c/.h files, makes things more
complex than they need to be.

1. Use a recent libnds template makefile
2. Tell the makefile to look in the 'data' directory
3. Tell the makefile each type of data you want (default is only .bin)
4. Data will be compiled automatically, no need to create .c or .h files

To make things even worse, the .c files are #included into the main file!!
#include "gfx/all_gfx.c" // bad practice

Instead, you should compile the .c files separately. Either by:
A. putting the .c files in the source directory
B. telling the makefile to look in the source/gfx directory to compile

What version of PAlib are you using ?
PAlib061025.zip

Original issue reported on code.google.com by dro...@gmail.com on 28 Oct 2006 at 1:28

GoogleCodeExporter commented 9 years ago
Or you could actually look at what PAGfx, see that it also outputs .bin files, 
and
use these in the data folder...

Original comment by Molo...@gmail.com on 28 Oct 2006 at 6:37

GoogleCodeExporter commented 9 years ago
Change "Invalid" to "Rejected" to follow acceptance statuses more closely.

Original comment by kiswa....@gmail.com on 31 Oct 2008 at 4:18