Mercurial > hg > Game > Cerium
diff 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 |
line wrap: on
line diff
--- a/TaskManager/Test/test_render/KeyStat.h Wed Sep 23 21:29:30 2009 +0900 +++ b/TaskManager/Test/test_render/KeyStat.h Thu Sep 24 12:35:32 2009 +0900 @@ -7,12 +7,16 @@ PUSH, }; +// 可変長の構造体にする。 +// int で1つ送り bit field でやると typedef struct key_stat { + int length; int right; int left; int up; int down; int circle; + unsigned char data[0]; }; #endif