Limited printing option
This commit is contained in:
parent
31ccf3c218
commit
29358c9258
@ -35,6 +35,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
// #define LIMITEDPRINT
|
||||||
|
|
||||||
#ifdef _EE
|
#ifdef _EE
|
||||||
#define WIDTH 160
|
#define WIDTH 160
|
||||||
#define HEIGHT 120
|
#define HEIGHT 120
|
||||||
@ -678,14 +680,18 @@ int main() { // int argc, char **argv) {
|
|||||||
// clang-format off
|
// clang-format off
|
||||||
haloo3d_print(&pt,
|
haloo3d_print(&pt,
|
||||||
"Pframe: %05.2f (%05.2f) DT: %0.3f\n"
|
"Pframe: %05.2f (%05.2f) DT: %0.3f\n"
|
||||||
|
#ifndef LIMITEDPRINT
|
||||||
"PSDLFl: %05.2f (%05.2f)\n"
|
"PSDLFl: %05.2f (%05.2f)\n"
|
||||||
"Render: %05.2f (%05.2f)\n"
|
"Render: %05.2f (%05.2f)\n"
|
||||||
"PlPos: %05.2f (%05.2f)\n"
|
"PlPos: %05.2f (%05.2f)\n"
|
||||||
|
#endif
|
||||||
"Tris: %d\n",
|
"Tris: %d\n",
|
||||||
frametimer.last * 1000, frametimer.sum * 1000, ecs.delta_s,
|
frametimer.last * 1000, frametimer.sum * 1000, ecs.delta_s,
|
||||||
|
#ifndef LIMITEDPRINT
|
||||||
sdltimer.last * 1000, sdltimer.sum * 1000,
|
sdltimer.last * 1000, sdltimer.sum * 1000,
|
||||||
drawtimer.last * 1000, drawtimer.sum * 1000,
|
drawtimer.last * 1000, drawtimer.sum * 1000,
|
||||||
playerpos->pos.x, playerpos->pos.z,
|
playerpos->pos.x, playerpos->pos.z,
|
||||||
|
#endif
|
||||||
ecs.totaldrawn);
|
ecs.totaldrawn);
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user