No external files needed for maze

This commit is contained in:
Carlos Sanchez 2024-09-06 21:18:31 -04:00
parent 7d3ce1a5b8
commit a1be233d45
2 changed files with 2067 additions and 2 deletions

9
maze.c
View File

@ -2,7 +2,7 @@
#include "haloo3d/haloo3dex_console.h"
#include "haloo3d/haloo3dex_easy.h"
#include "haloo3d/haloo3dex_gen.h"
#include "haloo3d/haloo3dex_img.h"
// #include "haloo3d/haloo3dex_img.h"
#include "haloo3d/haloo3dex_obj.h"
#include "haloo3d/haloo3dex_print.h"
@ -18,6 +18,7 @@
// They're quite small...
#include "resources/mazeendsprite.h"
#include "resources/mousesprite.h"
#include "resources/specwall.h"
#include "resources/tetrahedron.h"
#include <stdlib.h>
@ -868,7 +869,11 @@ void init_endtexture(haloo3d_fb *endt) {
}
void init_paintingtexture(haloo3d_fb *endt) {
haloo3d_img_loadppmfile(endt, PAINTINGTEXTURE);
endt->width = specwall_width;
endt->height = specwall_height;
// We "promise" we won't modify the sprite...
endt->buffer = (uint16_t *)specwall_data;
// haloo3d_img_loadppmfile(endt, PAINTINGTEXTURE);
}
void init_mousetexture(haloo3d_fb *mouset) {

2060
resources/specwall.h Normal file

File diff suppressed because it is too large Load Diff