view Renderer/Engine/KeyStat.h @ 1798:3babb36ac459 draft

array(bmskip table) allocate size change 256 to 256*sizeof(int)
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Thu, 05 Dec 2013 16:41:38 +0900
parents eb6add789a24
children
line wrap: on
line source

#ifndef INCLUDED_KEY_STATUS
#define INCLUDED_KEY_STATUS

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

#endif