Browse Source

some minor changes

master
milang 1 year ago
parent
commit
a19bd237ee
4 changed files with 7 additions and 7 deletions
  1. BIN
      libfxengine.a
  2. +5
    -5
      src/fxengine.c
  3. +1
    -1
      src/space.c
  4. +1
    -1
      src/zbuffer.c

BIN
libfxengine.a View File


+ 5
- 5
src/fxengine.c View File

@@ -21,7 +21,7 @@

GNORETURN void system_error(uint32_t code)
{
ll_display_log();
ll_display();
while(1)
getkey();
}
@@ -64,12 +64,12 @@ void fe_display(const uint32_t libprof_channel)
dupdate();

#ifdef USE_LIBLOG
ll_log("VRAM contents sent.");
ll_send("VRAM contents sent.");
#endif
dclear(C_WHITE);

#ifdef USE_LIBLOG
ll_log("VRAM cleared.");
ll_send("VRAM cleared.");
#endif
}

@@ -103,9 +103,9 @@ void fe_update(const uint32_t libprof_channel)
#ifdef USE_LIBLOG
char fps_str[10];
sprintf(fps_str, ">> FPS = %d", fps);
ll_log(fps_str);
ll_send(fps_str);
#else
ll_log(">> FPS not available");
ll_send(">> FPS not available");
#endif
//dclear(C_WHITE);
}


+ 1
- 1
src/space.c View File

@@ -90,7 +90,7 @@ void fe_vertex_translate(fe_ivertex * v)
v->translated.x,
v->translated.y,
v->translated.z);
ll_log(str);
ll_send(str);
#endif
}



+ 1
- 1
src/zbuffer.c View File

@@ -31,7 +31,7 @@ void fe_zbuffer_clear()
for (indice = 0; indice < size_uint32; indice ++)
zbuffer[indice] = fe_max_dist;
#ifdef USE_LIBLOG
ll_log(">> ZBuffer cleared.");
ll_send(">> ZBuffer cleared.");
#endif
}



Loading…
Cancel
Save