Better ceiling

This commit is contained in:
Carlos Sanchez 2024-08-18 16:34:49 -04:00
parent e09d1a2413
commit b919ac30f4

8
maze.c
View File

@ -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};