No external files needed for maze
This commit is contained in:
parent
7d3ce1a5b8
commit
a1be233d45
9
maze.c
9
maze.c
@ -2,7 +2,7 @@
|
|||||||
#include "haloo3d/haloo3dex_console.h"
|
#include "haloo3d/haloo3dex_console.h"
|
||||||
#include "haloo3d/haloo3dex_easy.h"
|
#include "haloo3d/haloo3dex_easy.h"
|
||||||
#include "haloo3d/haloo3dex_gen.h"
|
#include "haloo3d/haloo3dex_gen.h"
|
||||||
#include "haloo3d/haloo3dex_img.h"
|
// #include "haloo3d/haloo3dex_img.h"
|
||||||
#include "haloo3d/haloo3dex_obj.h"
|
#include "haloo3d/haloo3dex_obj.h"
|
||||||
#include "haloo3d/haloo3dex_print.h"
|
#include "haloo3d/haloo3dex_print.h"
|
||||||
|
|
||||||
@ -18,6 +18,7 @@
|
|||||||
// They're quite small...
|
// They're quite small...
|
||||||
#include "resources/mazeendsprite.h"
|
#include "resources/mazeendsprite.h"
|
||||||
#include "resources/mousesprite.h"
|
#include "resources/mousesprite.h"
|
||||||
|
#include "resources/specwall.h"
|
||||||
#include "resources/tetrahedron.h"
|
#include "resources/tetrahedron.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -868,7 +869,11 @@ void init_endtexture(haloo3d_fb *endt) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void init_paintingtexture(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) {
|
void init_mousetexture(haloo3d_fb *mouset) {
|
||||||
|
2060
resources/specwall.h
Normal file
2060
resources/specwall.h
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user