From b919ac30f4db509e0fc13988872daa656722f302 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Date: Sun, 18 Aug 2024 16:34:49 -0400 Subject: [PATCH] Better ceiling --- maze.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/maze.c b/maze.c index e35254a..02c963a 100644 --- a/maze.c +++ b/maze.c @@ -322,13 +322,15 @@ int main() { // int argc, char **argv) { maze_generate(maze, MAZESIZE); maze_wall_generate(maze, MAZESIZE, wallo); - uint16_t cols[4] = {0xFD93, 0xFB83, 0xFEEE, 0xFDDD}; + uint16_t cols[4] = {0xFD93, 0xFB83, 0xFFFF}; //, 0xFDDD}; haloo3d_fb_init_tex(floort, 64, 64); haloo3d_apply_alternating(floort, cols, 1); haloo3d_apply_noise(floort, NULL, 1.0 / 6); // haloo3d_apply_alternating(floort, cols, 2); - haloo3d_fb_init_tex(ceilt, 16, 16); - haloo3d_apply_alternating(ceilt, cols + 2, 2); + haloo3d_fb_init_tex(ceilt, 64, 64); + haloo3d_apply_alternating(ceilt, cols + 2, 1); + haloo3d_apply_noise(ceilt, NULL, 1.0 / 4); + haloo3d_apply_brick(ceilt, 16, 8, 0xFAAA); haloo3d_fb_init_tex(wallt, 64, 64); uint16_t wallcols[] = {0xFA22};