Small fixes to ps2 maze
This commit is contained in:
parent
cd74a29aba
commit
9aa3aefc53
@ -3,7 +3,6 @@
|
||||
// #define H3DEBUG_NOCLIPPING
|
||||
// #define H3DEBUG_SKIPTRIPIX
|
||||
#define H3D_VOLATILE_FLOATS
|
||||
// #include <SDL2/SDL_video.h>
|
||||
#define MATHC_USE_UNIONS
|
||||
#define MATHC_NO_STRUCT_FUNCTIONS
|
||||
#include "../haloo3d/lib/mathc.c"
|
||||
@ -12,7 +11,6 @@
|
||||
#include "../haloo3d/haloo3d.c"
|
||||
#include "../haloo3d/haloo3dex_easy.c"
|
||||
#include "../haloo3d/haloo3dex_gen.c"
|
||||
//#include "../haloo3d/haloo3dex_img.c"
|
||||
#include "../haloo3d/haloo3dex_obj.c"
|
||||
#include "../haloo3d/haloo3dex_print.c"
|
||||
// clang-format on
|
||||
@ -25,7 +23,6 @@
|
||||
#include "SDL2/SDL.h"
|
||||
|
||||
#include "../ecs2.h"
|
||||
// #include "keys.h"
|
||||
#include "../maze_ecstypes.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
@ -1094,6 +1091,7 @@ int main() { // int argc, char **argv) {
|
||||
haloo3d_easyrender_init(&render, WIDTH, HEIGHT);
|
||||
render.camera.pos.y = 0.5;
|
||||
render.tprint.fb = &screen;
|
||||
render.tprint.bcolor = 0x8000; // Because ps2 is A1B5G5R5
|
||||
render.autolightfix = 1;
|
||||
render.rendersettings.ditherclose = DITHERSTART;
|
||||
render.rendersettings.ditherfar = DITHEREND;
|
||||
@ -1340,7 +1338,7 @@ int main() { // int argc, char **argv) {
|
||||
|
||||
haloo3d_print(
|
||||
&render.tprint,
|
||||
"\n\n Pframe: %05.2f (%05.2f)\n MinMax: %05.2f / %05.2f\n PSDLFl: "
|
||||
"\n Pframe: %05.2f (%05.2f)\n MinMax: %05.2f / %05.2f\n PSDLFl: "
|
||||
"%05.2f (%05.2f)\n Fill: %05.2f "
|
||||
"(%05.2f)\n Logic: %05.2f (%05.2f)\n Tris: %d / %d\n Verts: "
|
||||
"%d\n WState: %d",
|
||||
|
Loading…
Reference in New Issue
Block a user