Limited printing option

This commit is contained in:
Carlos Sanchez 2024-09-21 00:15:10 -04:00
parent 31ccf3c218
commit 29358c9258

View File

@ -35,6 +35,8 @@
#include <stdlib.h>
#include <time.h>
// #define LIMITEDPRINT
#ifdef _EE
#define WIDTH 160
#define HEIGHT 120
@ -678,14 +680,18 @@ int main() { // int argc, char **argv) {
// clang-format off
haloo3d_print(&pt,
"Pframe: %05.2f (%05.2f) DT: %0.3f\n"
#ifndef LIMITEDPRINT
"PSDLFl: %05.2f (%05.2f)\n"
"Render: %05.2f (%05.2f)\n"
"PlPos: %05.2f (%05.2f)\n"
#endif
"Tris: %d\n",
frametimer.last * 1000, frametimer.sum * 1000, ecs.delta_s,
#ifndef LIMITEDPRINT
sdltimer.last * 1000, sdltimer.sum * 1000,
drawtimer.last * 1000, drawtimer.sum * 1000,
playerpos->pos.x, playerpos->pos.z,
#endif
ecs.totaldrawn);
// clang-format on