Changeset 2141 in orxonox.OLD for orxonox/branches/chris/src/message_structures.h
- Timestamp:
- Jul 14, 2004, 3:31:42 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/src/message_structures.h
r2066 r2141 1 /*! 2 \file message_structures.h 3 \brief contains defintitons of messages that can be passed between classes 4 */ 1 5 2 6 #ifndef _MESSAGESTRUCTURES_H … … 5 9 #define CMD_LENGHT 16 6 10 7 // structure that contains commands 11 //! structure that contains a command message 8 12 typedef struct 9 13 { 10 char cmd[CMD_LENGHT]; 11 bool bUp; 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 //!@{ 12 19 Uint16 x, y; 13 Sint16 xrel, yrel; 20 //!@} 21 22 //! if cmd is "cursor" the relative motion of the mouse cursor is stored here 23 //!@{ 24 Sint16 xrel, yrel; 25 //!@} 14 26 } Command; 15 27
Note: See TracChangeset
for help on using the changeset viewer.