Download
cyberslak
/lightsout
/entity.h
(View History)
| cyberslak Add LICENSE information | Latest amendment: 22 on 2025-03-15 |
| 1 | // SPDX-License-Identifier: MIT |
| 2 | |
| 3 | #pragma once |
| 4 | #include "list.h" |
| 5 | |
| 6 | struct entity_state |
| 7 | { |
| 8 | char name[128]; |
| 9 | short brightness; |
| 10 | }; |
| 11 | |
| 12 | struct entity |
| 13 | { |
| 14 | char id[128]; |
| 15 | struct entity_state state; |
| 16 | short selected; |
| 17 | list_t node; |
| 18 | ControlHandle ctrl; |
| 19 | RgnHandle outerRgn; |
| 20 | }; |