view Renderer/Engine/KeyStat.h @ 751:1666dba6f6d9 draft

rendering, move_coll parallel running
author hiroki@henri.cr.ie.u-ryukyu.ac.jp
date Tue, 26 Jan 2010 16:18:24 +0900
parents 3bc98f6d31ff
children eb6add789a24
line wrap: on
line source

#ifndef INCLUDED_KEY_STATUS
#define INCLUDED_KEY_STATUS

enum {
    NONE,
    HOLD,
    PUSH,
};

// 可変長の構造体にする。
// int で1つ送り bit field でやると
struct key_stat {
    int length;
    int right;
    int left;
    int up;
    int down;
    int circle;
    unsigned char data[0];
};

#endif