mirror of
https://github.com/knightfox75/nds_nflib.git
synced 2025-06-18 16:55:32 -04:00
Reorganize includes
libc includes go first, then libraries like libnds and dswifi, then NFLib includes.
This commit is contained in:
parent
fe33d66d91
commit
54d5435650
@ -6,20 +6,15 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
// Includes propios
|
||||
#include "nf_basic.h"
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_2d.h"
|
||||
#include "nf_tiledbg.h"
|
||||
#include "nf_basic.h"
|
||||
#include "nf_sprite256.h"
|
||||
#include "nf_tiledbg.h"
|
||||
|
||||
|
||||
|
||||
|
@ -6,23 +6,14 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
// Includes propios
|
||||
#include "nf_basic.h"
|
||||
#include "nf_3d.h"
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_2d.h"
|
||||
|
||||
|
||||
|
||||
|
||||
#include "nf_3d.h"
|
||||
#include "nf_basic.h"
|
||||
|
||||
// Funcion NF_Set3D();
|
||||
void NF_Set3D(u8 screen, u8 mode) {
|
||||
|
@ -6,25 +6,16 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Includes propios
|
||||
#include "nf_basic.h"
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_2d.h"
|
||||
#include "nf_tiledbg.h"
|
||||
#include "nf_affinebg.h"
|
||||
|
||||
|
||||
|
||||
|
||||
#include "nf_basic.h"
|
||||
#include "nf_tiledbg.h"
|
||||
|
||||
// Estructura para almacenar los parametros de los fondos Affine
|
||||
NF_TYPE_AFFINE_BG NF_AFFINE_BG[2][4];
|
||||
|
@ -11,19 +11,14 @@
|
||||
#define iprintf printf
|
||||
#endif
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Includes propios
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_basic.h"
|
||||
|
||||
|
||||
|
||||
// Define la variable global NF_ROOTFOLDER
|
||||
char NF_ROOTFOLDER[64];
|
||||
|
||||
|
@ -6,22 +6,15 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Includes propios
|
||||
#include "nf_bitmapbg.h"
|
||||
#include "nf_basic.h"
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_2d.h"
|
||||
|
||||
|
||||
#include "nf_basic.h"
|
||||
#include "nf_bitmapbg.h"
|
||||
|
||||
// Define los Buffers para almacenar datos de 16 bits
|
||||
NF_TYPE_BG16B_INFO NF_BG16B[NF_SLOTS_BG16B]; // Fondos RAW de 16 bits
|
||||
|
@ -6,17 +6,12 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Includes propios
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_basic.h"
|
||||
#include "nf_collision.h"
|
||||
|
||||
|
@ -6,24 +6,15 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Includes propios
|
||||
#include "nf_media.h"
|
||||
#include "nf_bitmapbg.h"
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_basic.h"
|
||||
|
||||
|
||||
|
||||
|
||||
#include "nf_bitmapbg.h"
|
||||
#include "nf_media.h"
|
||||
|
||||
// Funcion NF_LoadBMP();
|
||||
void NF_LoadBMP(const char* file, u8 slot) {
|
||||
|
@ -6,24 +6,17 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Includes propios
|
||||
#include "nf_basic.h"
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_2d.h"
|
||||
#include "nf_tiledbg.h"
|
||||
#include "nf_basic.h"
|
||||
#include "nf_bitmapbg.h"
|
||||
#include "nf_mixedbg.h"
|
||||
#include "nf_tiledbg.h"
|
||||
|
||||
|
||||
|
||||
|
@ -6,19 +6,12 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Includes propios
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_basic.h"
|
||||
#include "nf_sound.h"
|
||||
|
||||
|
@ -6,22 +6,15 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
// Includes propios
|
||||
#include "nf_basic.h"
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_2d.h"
|
||||
#include "nf_basic.h"
|
||||
#include "nf_sprite256.h"
|
||||
|
||||
|
||||
|
@ -6,28 +6,15 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
// Includes propios
|
||||
#include "nf_basic.h"
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_3d.h"
|
||||
#include "nf_sprite3d.h"
|
||||
#include "nf_basic.h"
|
||||
#include "nf_sprite256.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////
|
||||
// Defines y variables globales //
|
||||
//////////////////////////////////
|
||||
#include "nf_sprite3d.h"
|
||||
|
||||
// Estructura de control de los sprites 3d
|
||||
NF_TYPE_3DSPRITE_INFO NF_3DSPRITE[NF_3DSPRITES];
|
||||
|
@ -6,24 +6,16 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Includes propios
|
||||
#include "nf_basic.h"
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_2d.h"
|
||||
#include "nf_tiledbg.h"
|
||||
#include "nf_basic.h"
|
||||
#include "nf_text.h"
|
||||
|
||||
|
||||
|
||||
#include "nf_tiledbg.h"
|
||||
|
||||
// Define los buffers para almacenar las capas de texto
|
||||
NF_TYPE_TEXT_INFO NF_TEXT[2][4];
|
||||
|
@ -6,22 +6,17 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Includes propios
|
||||
#include "nf_basic.h"
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_2d.h"
|
||||
#include "nf_tiledbg.h"
|
||||
#include "nf_text.h"
|
||||
#include "nf_basic.h"
|
||||
#include "nf_text16.h"
|
||||
#include "nf_text.h"
|
||||
#include "nf_tiledbg.h"
|
||||
|
||||
|
||||
|
||||
|
@ -6,21 +6,14 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20140413
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Includes devKitPro
|
||||
#include <nds.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Includes propios
|
||||
#include "nf_basic.h"
|
||||
#include <nds.h>
|
||||
|
||||
#include "nf_2d.h"
|
||||
#include "nf_basic.h"
|
||||
#include "nf_tiledbg.h"
|
||||
|
||||
|
||||
|
@ -6,19 +6,16 @@
|
||||
// http://www.nightfoxandco.com/
|
||||
// Version 20110502
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <nds.h>
|
||||
#include <dswifi9.h>
|
||||
|
||||
// Includes C
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
|
||||
// Includes propios
|
||||
#include "nf_wifi.h"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user