summaryrefslogtreecommitdiff
path: root/src/test.cc
diff options
context:
space:
mode:
authorpixel <pixel>2004-07-13 06:20:33 +0000
committerpixel <pixel>2004-07-13 06:20:33 +0000
commit652aa99bd5fddbb4ee878ddd65ac637a134dbcbc (patch)
tree84c0c8f8bbb943a570d4e6d245f7410633c0fb42 /src/test.cc
parentbaac659433417ee555e3e04a28ea6c06fa23d588 (diff)
Fixed font bug + adding fixed font
Diffstat (limited to 'src/test.cc')
-rw-r--r--src/test.cc16
1 files changed, 10 insertions, 6 deletions
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 <math.h>
#include <SDL.h>
#include <vector>
-#include <lua.h>
-#include <lauxlib.h>
-#include <lualib.h>
+//#include <lua.h>
+//#include <lauxlib.h>
+//#include <lualib.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#else
@@ -17,8 +17,8 @@
#include <Input.h>
#include <Output.h>
#include <Buffer.h>
-#include <BLua.h>
-#include <LuaHandle.h>
+//#include <BLua.h>
+//#include <LuaHandle.h>
#include "glbase.h"
#include "texture.h"
#include "glfont.h"
@@ -51,6 +51,7 @@ struct tdvect {
std::vector<tdvect> points;
std::vector<tdvect> 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;