Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/dave/src/message_structures.h @ 3172

Last change on this file since 3172 was 3172, checked in by bensch, 19 years ago

orxonox/branches/dave: (commit from dave) now the fighter banks while moving. really cool stuff

File size: 693 bytes
Line 
1/*!
2        \file message_structures.h
3        \brief contains defintitons of messages that can be passed between classes
4*/
5
6#ifndef _MESSAGESTRUCTURES_H
7#define _MESSAGESTRUCTURES_H
8
9#define CMD_LENGHT 16
10
11//! structure that contains a command message
12typedef struct
13{       float tottime;
14        float rottime;
15        float angle;
16        bool angleturn;
17       
18       
19        char cmd[CMD_LENGHT];   //!< the command delivered
20        bool bUp;       //!< false = command was activated / true = command was deactivated
21       
22        //! if cmd is "cursor" the coordinates of the mouse cursor are stored here
23        //!@{
24        Uint16 x, y;
25        //!@}
26       
27        //! if cmd is "cursor" the relative motion of the mouse cursor is stored here
28        //!@{
29        Sint16 xrel, yrel; 
30        //!@}
31} Command;
32
33#endif
Note: See TracBrowser for help on using the repository browser.