Mercurial > hg > Game > Cerium
comparison TaskManager/Test/test_render/KeyStat.h @ 421:6094dfd1f08c draft
comment
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 12:35:32 +0900 |
parents | 0e62e80fc039 |
children | 60f44d3ea452 |
comparison
equal
deleted
inserted
replaced
420:cd9baead0c39 | 421:6094dfd1f08c |
---|---|
5 NONE, | 5 NONE, |
6 HOLD, | 6 HOLD, |
7 PUSH, | 7 PUSH, |
8 }; | 8 }; |
9 | 9 |
10 // 可変長の構造体にする。 | |
11 // int で1つ送り bit field でやると | |
10 typedef struct key_stat { | 12 typedef struct key_stat { |
13 int length; | |
11 int right; | 14 int right; |
12 int left; | 15 int left; |
13 int up; | 16 int up; |
14 int down; | 17 int down; |
15 int circle; | 18 int circle; |
19 unsigned char data[0]; | |
16 }; | 20 }; |
17 | 21 |
18 #endif | 22 #endif |