|
|
@ -56,7 +56,7 @@ int main(int argc, const char *argv[]) |
|
|
display_setClearColor(world.worldSpawn->skyColor); |
|
|
display_setClearColor(world.worldSpawn->skyColor); |
|
|
|
|
|
|
|
|
u_short fps = time_getFrameRate(); |
|
|
u_short fps = time_getFrameRate(); |
|
|
FntPrint(-1, "Time: %d, frame: %d, delta time: %3d, fps: %d.%02d\n", (time_getRealTime() * 1000) >> 12, time_getFrameNumber(), time_getDeltaTime(), fps >> 8, ((fps & 0xFF) * 100) >> 8); |
|
|
|
|
|
|
|
|
FntPrint(-1, "Time: %d, frame: %d, delta: %3d, fps: %d.%02d %s\n", (time_getRealTime() * 1000) >> 12, time_getFrameNumber(), time_getDeltaTime(), fps >> 8, ((fps & 0xFF) * 100) >> 8, GetVideoMode() ? "PAL" : "NTSC"); |
|
|
FntPrint(-1, "Camera pos: (%d, %d, %d) rot: (%d, %d, %d) leaf: %d\n", cam_pos.vx, cam_pos.vy, cam_pos.vz, cam_rot.vx, cam_rot.vy, cam_rot.vz, cam_leaf); |
|
|
FntPrint(-1, "Camera pos: (%d, %d, %d) rot: (%d, %d, %d) leaf: %d\n", cam_pos.vx, cam_pos.vy, cam_pos.vz, cam_rot.vx, cam_rot.vy, cam_rot.vz, cam_leaf); |
|
|
|
|
|
|
|
|
// Draw stuff |
|
|
// Draw stuff |
|
|
|