Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/message_structures.h @ 3762

Last change on this file since 3762 was 3608, checked in by patrick, 20 years ago

orxonox/trunk: now there is a real speedup in compiling time when dependencies are modified: just realy only includes, what is needed. Byside the speedup, there is more overview! never add an orxonox class to stdincl.h if it doesn't have to be

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