Last change
on this file since 10469 was
4262,
checked in by bensch, 19 years ago
|
orxonox/trunk: moved around some files, and deleted the obsolete DataTank
|
File size:
679 bytes
|
Line | |
---|
1 | /*! |
---|
2 | \file message_structures.h |
---|
3 | \brief contains defintitons of messages that can be passed between classes |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _MESSAGE_STRUCTURES_H |
---|
7 | #define _MESSAGE_STRUCTURES_H |
---|
8 | |
---|
9 | #include "stdincl.h" |
---|
10 | |
---|
11 | #define CMD_LENGHT 16 |
---|
12 | |
---|
13 | //! structure that contains a command message |
---|
14 | typedef struct |
---|
15 | { |
---|
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 | //!@{ |
---|
21 | Uint16 x, y; |
---|
22 | //!@} |
---|
23 | |
---|
24 | //! if cmd is "cursor" the relative motion of the mouse cursor is stored here |
---|
25 | //!@{ |
---|
26 | Sint16 xrel, yrel; |
---|
27 | //!@} |
---|
28 | } Command; |
---|
29 | |
---|
30 | #endif /* _MESSAGE_STRUCTURES_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.