diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-11 16:13:07 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-11 16:13:07 +0200 |
| commit | a50de53da1dc128ffbcdacba28353fe0825c4ac9 (patch) | |
| tree | 03e09fe18067d289ddc41a2291c1362f27059679 /include/objects.h | |
| parent | 2f493c24e3771bca9b9ee717cb3d7c18c406678f (diff) | |
new objects
Diffstat (limited to 'include/objects.h')
| -rw-r--r-- | include/objects.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/objects.h b/include/objects.h index 6369224..d1adf34 100644 --- a/include/objects.h +++ b/include/objects.h @@ -30,6 +30,9 @@ typedef enum t_object_type { OBJECT_SPACE_WINDOW_H = 7, OBJECT_ZOMBIE_SPAWNER = 8, // Substitute. OBJECT_LAMP_EAST = 9, + OBJECT_METAL_TABLE_H = 10, + OBJECT_CANTINE_GLASS = 11, + OBJECT_GLASS_DOOR_H, OBJECT_END, } object_type; @@ -74,6 +77,9 @@ object object_dict[OBJECT_END] = { {0,(vec3f){0, 0, 0},{1,1,1},OBJECT_SPACE_WINDOW_H, 1}, {0,(vec3f){0, 0, 0},{1,1,0.5},OBJECT_ZOMBIE_SPAWNER, 1}, {0,(vec3f){0, 0, 0},{1,1,0},OBJECT_LAMP_EAST, 0}, + {0,(vec3f){0, 0, 0},{3,1,0.5},OBJECT_METAL_TABLE_H, 1}, + {0,(vec3f){0, 0, 0},{2,2,0.5},OBJECT_CANTINE_GLASS, 1}, + {0,(vec3f){0, 0, 0},{2,1,1},OBJECT_GLASS_DOOR_H, 0}, }; object get_object_at_tile(float x, float y); |
