Angband
Macros | Functions | Variables
arm7_main.c File Reference
#include <nds.h>
#include <nds/bios.h>
#include <nds/arm7/touch.h>
#include <nds/arm7/clock.h>

Macros

#define abs(n)   (n<0?-n:n)
 
#define REPEATS   9
 

Functions

s32 myReadTouchValue (int measure, int retry, int range)
 
void VblankHandler (void)
 
int main (int argc, char **argv)
 

Variables

s32 xscale
 
s32 yscale
 
s32 xoffset
 
s32 yoffset
 

Macro Definition Documentation

#define abs (   n)    (n<0?-n:n)
#define REPEATS   9

Function Documentation

int main ( int  argc,
char **  argv 
)
s32 myReadTouchValue ( int  measure,
int  retry,
int  range 
)

References abs, and i.

void VblankHandler ( void  )

References i, xoffset, xscale, yoffset, yscale, z1, and z2.

Referenced by main().

Variable Documentation

s32 xoffset

Referenced by main(), and VblankHandler().

s32 xscale

Referenced by main(), and VblankHandler().

s32 yoffset

Referenced by main(), and VblankHandler().

s32 yscale

Referenced by main(), and VblankHandler().