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/Makefile.am | 2 +- src/test.cc | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 77ce6da..a2693d4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,7 +3,7 @@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ AM_CPPFLAGS = -Wall -Wstrict-prototypes @SDL_CFLAGS@ @BALTISOT_CFLAGS@ INCLUDES = -I.. -I../include -I$(includedir) -# noinst_PROGRAMS = test +noinst_PROGRAMS = test test_SOURCES = 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