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)
 

Variables

s32 xscale
 
s32 yscale
 
s32 xoffset
 
s32 yoffset
 

Macro Definition Documentation

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

Function Documentation

s32 myReadTouchValue ( int  measure,
int  retry,
int  range 
)

References abs, and i.

void VblankHandler ( void  )

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

Variable Documentation

s32 xoffset

Referenced by VblankHandler().

s32 xscale

Referenced by VblankHandler().

s32 yoffset

Referenced by VblankHandler().

s32 yscale

Referenced by VblankHandler().