Revision 340
more changes in ent.h, ent.c
proj_structures.h | ||
---|---|---|
1 | 1 |
#ifndef PROJ_STRUCTURES_H_INCLUDED |
2 | 2 |
#define PROJ_STRUCTURES_H_INCLUDED |
3 | 3 |
|
4 |
/** |
|
5 |
* @defgroup proj_structures proj_structures |
|
6 |
* @brief Project structures. |
|
7 |
* |
|
8 |
* @{ |
|
9 |
*/ |
|
10 |
|
|
4 | 11 |
#include <stdint.h> |
5 | 12 |
#include "ent.h" |
6 | 13 |
|
7 | 14 |
/** |
8 |
* @brief Key presses.
|
|
15 |
* @}
|
|
9 | 16 |
*/ |
17 |
|
|
18 |
/** |
|
19 |
* @defgroup keys_t keys_t |
|
20 |
* @ingroup proj_structures |
|
21 |
* @brief Keys pressed module. |
|
22 |
* |
|
23 |
* @{ |
|
24 |
*/ |
|
25 |
|
|
26 |
/** |
|
27 |
* @brief Keys pressed. |
|
28 |
*/ |
|
10 | 29 |
typedef struct { |
11 | 30 |
/// @brief W is pressed when 1 |
12 | 31 |
uint8_t w_pressed : 1; |
... | ... | |
27 | 46 |
} keys_t; |
28 | 47 |
|
29 | 48 |
/** |
49 |
* @} |
|
50 |
*/ |
|
51 |
|
|
52 |
/** |
|
53 |
* @defgroup host_info_t host_info_t |
|
54 |
* @ingroup proj_structures |
|
55 |
* @brief Host info module. |
|
56 |
* |
|
57 |
* @{ |
|
58 |
*/ |
|
59 |
|
|
60 |
/** |
|
30 | 61 |
* @brief Information to transmit from host to remote. |
31 | 62 |
*/ |
32 | 63 |
typedef struct { |
... | ... | |
82 | 113 |
void host_info_dtor(host_info_t *p); |
83 | 114 |
|
84 | 115 |
/** |
116 |
* @} |
|
117 |
*/ |
|
118 |
|
|
119 |
/** |
|
120 |
* @defgroup remote_info_t remote_info_t |
|
121 |
* @ingroup proj_structures |
|
122 |
* @brief Remote info module. |
|
123 |
* |
|
124 |
* @{ |
|
125 |
*/ |
|
126 |
|
|
127 |
/** |
|
85 | 128 |
* @brief Information to transmit from remote to host. |
86 | 129 |
*/ |
87 | 130 |
typedef struct { |
... | ... | |
102 | 145 |
void remote_info_dtor(remote_info_t *p); |
103 | 146 |
|
104 | 147 |
/** |
148 |
* @} |
|
149 |
*/ |
|
150 |
|
|
151 |
/** |
|
152 |
* @defgroup bullet_info_t bullet_info_t |
|
153 |
* @ingroup proj_structures |
|
154 |
* @brief Bullet event module. |
|
155 |
* |
|
156 |
* @{ |
|
157 |
*/ |
|
158 |
|
|
159 |
|
|
160 |
/** |
|
105 | 161 |
* @brief Bullet event to transmit from remote to host. |
106 | 162 |
*/ |
107 | 163 |
typedef struct { |
... | ... | |
119 | 175 |
*/ |
120 | 176 |
void bullet_info_dtor(bullet_info_t *p); |
121 | 177 |
|
178 |
/** |
|
179 |
* @} |
|
180 |
*/ |
|
181 |
|
|
122 | 182 |
#endif /* end of include guard: PROJ_STRUCTURES_H_INCLUDED */ |
Also available in: Unified diff