Mercurial > hg > index.fcgi > lj > lj046-2players
annotate src/talkback.h @ 2:80a2761bd3a4
change DS keys (add alt. rotate)
author | paulo@localhost |
---|---|
date | Mon, 23 Mar 2009 01:19:12 -0700 |
parents | |
children |
rev | line source |
---|---|
paulo@0 | 1 /* |
paulo@0 | 2 This struct lives in the ARM9's memory. It is used to send data back |
paulo@0 | 3 to the ARM7. |
paulo@0 | 4 |
paulo@0 | 5 By Damian Yerrick. No rights reserved and ABSOLUTELY NO WARRANTY. |
paulo@0 | 6 */ |
paulo@0 | 7 #ifndef TALKBACK_H |
paulo@0 | 8 #define TALKBACK_H |
paulo@0 | 9 |
paulo@0 | 10 typedef struct P8A7Talkback { |
paulo@0 | 11 unsigned long int sounds; |
paulo@0 | 12 signed char countdown; |
paulo@0 | 13 unsigned char cmd; |
paulo@0 | 14 } P8A7Talkback; |
paulo@0 | 15 |
paulo@0 | 16 enum { |
paulo@0 | 17 TALKBACK_NONE = 0, |
paulo@0 | 18 TALKBACK_POWER_OFF = 1, |
paulo@0 | 19 TALKBACK_PLAY_MUSIC = 2, |
paulo@0 | 20 TALKBACK_STOP_MUSIC = 3, |
paulo@0 | 21 TALKBACK_PAUSE_MUSIC = 4 |
paulo@0 | 22 }; |
paulo@0 | 23 |
paulo@0 | 24 #endif |