diff options
| author | tslil clingman <> | 2021-09-11 23:43:51 -0400 |
|---|---|---|
| committer | tslil clingman <> | 2021-09-11 23:43:51 -0400 |
| commit | 842d498f81e4733452e03f01d1c570ab5bb02771 (patch) | |
| tree | 73dfd262b2057003b195e35ec90f47826ca4bed2 /src/main.zig | |
| parent | a0c7e2508df1cb0a094b9311ce90d4c25c6c31fd (diff) | |
Render tops of low walls!
But it's very inefficient right now
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig index f51c3a3..218ba92 100644 --- a/src/main.zig +++ b/src/main.zig @@ -55,7 +55,7 @@ pub fn main() !void { } map.cells.items[16 * 7 + 7] = level.Cell{ .height = constants.MAX_HEIGHT, .wall_texture = 1 }; - map.cells.items[16 * 7 + 6] = level.Cell{ .height = constants.MAX_HEIGHT / 3, .wall_texture = 1, .floor_texture = 1 }; + map.cells.items[16 * 7 + 6] = level.Cell{ .height = constants.MAX_HEIGHT / 4, .wall_texture = 1, .floor_texture = 0 }; try map.objects.append(level.Object{ .pos_x = 5.5, .pos_y = 7.5, .pos_z = 1, .texture = 2, .height = 1, .width = 1 }); try map.objects.append(level.Object{ .pos_x = 4, .pos_y = 8.5, .texture = 1, .height = 1, .width = 1 }); |
