Mercurial > hg > Game > Cerium
annotate Renderer/Engine/KeyStat.h @ 539:3bc98f6d31ff draft
Reorganization..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 09:39:35 +0900 |
parents | |
children | eb6add789a24 |
rev | line source |
---|---|
539 | 1 #ifndef INCLUDED_KEY_STATUS |
2 #define INCLUDED_KEY_STATUS | |
3 | |
4 enum { | |
5 NONE, | |
6 HOLD, | |
7 PUSH, | |
8 }; | |
9 | |
10 // 可変長の構造体にする。 | |
11 // int で1つ送り bit field でやると | |
12 struct key_stat { | |
13 int length; | |
14 int right; | |
15 int left; | |
16 int up; | |
17 int down; | |
18 int circle; | |
19 unsigned char data[0]; | |
20 }; | |
21 | |
22 #endif |