Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/old.bezierTrack/src/message_structures.h @ 3538

Last change on this file since 3538 was 2551, checked in by patrick, 20 years ago

orxonox/trunk: minor changes - enhanced sc controll, fixed uncontrolled rotation effect, added some debug outputs for testing purposes, reformatted some src files from win style but not all

File size: 627 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{
14        char cmd[CMD_LENGHT];   //!< the command delivered
15        bool bUp;       //!< false = command was activated / true = command was deactivated
16       
17        //! if cmd is "cursor" the coordinates of the mouse cursor are stored here
18        //!@{
19        Uint16 x, y;
20        //!@}
21       
22        //! if cmd is "cursor" the relative motion of the mouse cursor is stored here
23        //!@{
24        Sint16 xrel, yrel; 
25        //!@}
26} Command;
27
28#endif
Note: See TracBrowser for help on using the repository browser.