view src/talkback.h @ 1:38c62fded078

initial builds (linux and lj.nds)
author paulo@localhost
date Fri, 13 Mar 2009 01:10:13 -0700
parents
children
line source
1 /*
2 This struct lives in the ARM9's memory. It is used to send data back
3 to the ARM7.
5 By Damian Yerrick. No rights reserved and ABSOLUTELY NO WARRANTY.
6 */
7 #ifndef TALKBACK_H
8 #define TALKBACK_H
10 typedef struct P8A7Talkback {
11 unsigned long int sounds;
12 signed char countdown;
13 unsigned char cmd;
14 } P8A7Talkback;
16 enum {
17 TALKBACK_NONE = 0,
18 TALKBACK_POWER_OFF = 1,
19 TALKBACK_PLAY_MUSIC = 2,
20 TALKBACK_STOP_MUSIC = 3,
21 TALKBACK_PAUSE_MUSIC = 4
22 };
24 #endif