mirror of
https://github.com/rvtr/TDT.git
synced 2025-10-31 13:51:07 -04:00
24 lines
457 B
C
24 lines
457 B
C
#ifndef MAIN_H
|
|
#define MAIN_H
|
|
|
|
#include <nds.h>
|
|
#include <fat.h>
|
|
#include <stdio.h>
|
|
|
|
extern bool programEnd;
|
|
|
|
void installMenu();
|
|
void titleMenu();
|
|
void backupMenu();
|
|
void testMenu();
|
|
|
|
extern PrintConsole topScreen;
|
|
extern PrintConsole bottomScreen;
|
|
|
|
void clearScreen(PrintConsole* screen);
|
|
|
|
#define abs(X) ( (X) < 0 ? -(X): (X) )
|
|
#define sign(X) ( ((X) > 0) - ((X) < 0) )
|
|
#define repeat(X) for (int _I_ = 0; _I_ < (X); _I_++)
|
|
|
|
#endif |