scoutos / scout / scoutsim / src / scoutsim_internal.h @ 3a73516c
History | View | Annotate | Download (489 Bytes)
1 | 3a73516c | Alex | /**
|
---|---|---|---|
2 | * @file scoutsim_internal.h
|
||
3 | *
|
||
4 | * @ingroup scoutsim
|
||
5 | * @{
|
||
6 | */
|
||
7 | d47defa6 | Alex | |
8 | #ifndef _SCOUTSIM_INTERNAL_
|
||
9 | #define _SCOUTSIM_INTERNAL_
|
||
10 | |||
11 | /**
|
||
12 | * State of the whole world, positions of all scouts!
|
||
13 | * Passed by reference to scouts for reading on update loop.
|
||
14 | * Updated only by sim_frame to prevent concurrency problems.
|
||
15 | */
|
||
16 | typedef struct world_state |
||
17 | { |
||
18 | float canvas_width;
|
||
19 | float canvas_height;
|
||
20 | |||
21 | } world_state; |
||
22 | |||
23 | #endif /* _SCOUTSIM_INTERNAL_ */ |
||
24 | 3a73516c | Alex | |
25 | /** @} */ |