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
RevLine 
[2141]1/*!
2        \file message_structures.h
3        \brief contains defintitons of messages that can be passed between classes
4*/
[2551]5
6#ifndef _MESSAGESTRUCTURES_H
7#define _MESSAGESTRUCTURES_H
8
[2066]9#define CMD_LENGHT 16
10
[2141]11//! structure that contains a command message
[2066]12typedef struct
[3155]13{       float tottime;
[3172]14        float rottime;
15        float angle;
16        bool angleturn;
17       
18       
[2141]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        //!@{
[2066]24        Uint16 x, y;
[2141]25        //!@}
26       
27        //! if cmd is "cursor" the relative motion of the mouse cursor is stored here
28        //!@{
29        Sint16 xrel, yrel; 
30        //!@}
[2551]31} Command;
32
[2066]33#endif
Note: See TracBrowser for help on using the repository browser.