diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-11 12:27:41 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-11 12:27:41 +0200 |
| commit | 0ed1a617a897cf241406b3b7d5ddda5b74f4d9f4 (patch) | |
| tree | 74e5537902360e8bc2ea0e165eeb44f3ee479c5c /include/objects.h | |
| parent | 981d99c229161c8afa508468032fe3ea0b924d3b (diff) | |
backdrop, floors, chairs
Diffstat (limited to 'include/objects.h')
| -rw-r--r-- | include/objects.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/objects.h b/include/objects.h index ef53d78..f5b9255 100644 --- a/include/objects.h +++ b/include/objects.h @@ -18,12 +18,15 @@ typedef struct t_light_emitter { float range; } light_emitter; +// @NEWOBJECT typedef enum t_object_type { OBJECT_NONE, OBJECT_SPACE_CONTROL_PANEL = 1, OBJECT_SPACE_WINDOW = 2, OBJECT_METAL_WALL = 3, OBJECT_METAL_WALL2 = 4, + OBJECT_SPACE_CONTROL_PANEL2 = 5, + OBJECT_CHAIR_UP = 6, OBJECT_END, } object_type; @@ -53,6 +56,8 @@ object object_dict[OBJECT_END] = { {0,(vec3f){0, 0, 0},{1,1,2},OBJECT_SPACE_WINDOW}, {0,(vec3f){0, 0, 0},{1,1,1},OBJECT_METAL_WALL}, {0,(vec3f){0, 0, 0},{1,1,1},OBJECT_METAL_WALL2}, + {0,(vec3f){0, 0, 0},{3,1,0.5f},OBJECT_SPACE_CONTROL_PANEL2}, + {0,(vec3f){0, 0, 0},{1,1,0.5f},OBJECT_CHAIR_UP}, }; object get_object_at_tile(float x, float y); |
