From 652aa99bd5fddbb4ee878ddd65ac637a134dbcbc Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 13 Jul 2004 06:20:33 +0000 Subject: Fixed font bug + adding fixed font --- src/test.cc | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'src/test.cc') diff --git a/src/test.cc b/src/test.cc index 66a2af4..f197c87 100644 --- a/src/test.cc +++ b/src/test.cc @@ -3,9 +3,9 @@ #include #include #include -#include -#include -#include +//#include +//#include +//#include #ifdef HAVE_CONFIG_H #include "config.h" #else @@ -17,8 +17,8 @@ #include #include #include -#include -#include +//#include +//#include #include "glbase.h" #include "texture.h" #include "glfont.h" @@ -51,6 +51,7 @@ struct tdvect { std::vector points; std::vector ppoints; +#if 0 static int myprint(lua_State * L) { const char * t = lua_tostring(L, -1); @@ -118,6 +119,7 @@ int myluaerror(lua_State * L) { getchar(); } +#endif unsigned int swap32(unsigned int w) { return (w >> 24) | ((w >> 8) & 0x0000ff00) | ((w << 8) & 0x00ff0000) | (w << 24); @@ -276,6 +278,7 @@ int bdlload(char * name) { CODE_BEGINS +#if 0 void checkluastack(lua_State * L) { int n = lua_gettop(L); int i, j; @@ -328,6 +331,7 @@ void checkluastack(lua_State * L) { printm(M_INFO, String(i) + ": " + t + "\n"); } } +#endif void putstar(double x, double y, double z, mogltk::Sprite * s) { double tx, ty, tz; @@ -374,7 +378,7 @@ double starst[NBSTARS]; double starso[NBSTARS]; #endif -lua_State * L; +//lua_State * L; void initstars() { int i; -- cgit v1.2.3