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