Move types.h out of 3ds section.

This commit is contained in:
Steven Smith 2015-01-23 22:46:15 -08:00
parent 766aeba32f
commit a092ac8f7d
7 changed files with 6 additions and 8 deletions

View file

@ -3,7 +3,6 @@
#include "cbmd.h" #include "cbmd.h"
#include "lz11.h" #include "lz11.h"
#include "types.h"
#include "util.h" #include "util.h"
#endif #endif

View file

@ -1,7 +1,7 @@
#ifndef __CBMD_H__ #ifndef __CBMD_H__
#define __CBMD_H__ #define __CBMD_H__
#include "types.h" #include "../types.h"
typedef enum { typedef enum {
CGFX_COMMON, CGFX_COMMON,

View file

@ -1,7 +1,7 @@
#ifndef __LZ11_H__ #ifndef __LZ11_H__
#define __LZ11_H__ #define __LZ11_H__
#include "types.h" #include "../types.h"
u8* lz11_compress(u8* input, u32 inputSize, u32* size); u8* lz11_compress(u8* input, u32 inputSize, u32* size);

View file

@ -1,7 +1,7 @@
#ifndef __UTIL_H__ #ifndef __UTIL_H__
#define __UTIL_H__ #define __UTIL_H__
#include "types.h" #include "../types.h"
u8* image_to_tiles(const char* image, u32 width, u32 height, u32* size); u8* image_to_tiles(const char* image, u32 width, u32 height, u32* size);

File diff suppressed because one or more lines are too long

View file

@ -1,13 +1,12 @@
#include "3ds/3ds.h" #include "3ds/3ds.h"
#include "data.h"
#include "commandline.h" #include "commandline.h"
#include "data.h"
#include "types.h"
#include <stdio.h> #include <stdio.h>
#include <malloc.h> #include <malloc.h>
#include <string.h> #include <string.h>
#include <map>
u8* convert_to_cgfx(const char* image, u32 width, u32 height, u32* size) { u8* convert_to_cgfx(const char* image, u32 width, u32 height, u32* size) {
u32 convertedSize = 0; u32 convertedSize = 0;
u8* converted = image_to_tiles(image, width, height, &convertedSize); u8* converted = image_to_tiles(image, width, height, &convertedSize);