Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/chris/src/message_structures.h @ 2105

Last change on this file since 2105 was 2066, checked in by chris, 20 years ago

orxonox/branches/chris: Implemented CommandNode (Keyboard handling), created some functions to convert key names to identifyers and vice versa, ensured it compiles (when compiled spereately) added a header to hold global message structures

File size: 230 bytes
Line 
1
2#ifndef _MESSAGESTRUCTURES_H
3#define _MESSAGESTRUCTURES_H
4
5#define CMD_LENGHT 16
6
7        // structure that contains commands
8typedef struct
9{
10        char cmd[CMD_LENGHT];
11        bool bUp;
12        Uint16 x, y;
13        Sint16 xrel, yrel;
14} Command;
15
16#endif
Note: See TracBrowser for help on using the repository browser.