summaryrefslogtreecommitdiff
path: root/src/cat
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-03-06 17:05:59 (GMT)
committer jacob1 <jfu614@gmail.com>2013-03-06 17:05:59 (GMT)
commit037618e6f8e6a37574f7ef8ffd90e490fb0ea137 (patch)
treed80246d31a26aee7735a566bccc8ce9e8e4e305d /src/cat
parentad951eb9af20cd1a784fab39c41ade1c19dff2ca (diff)
downloadpowder-037618e6f8e6a37574f7ef8ffd90e490fb0ea137.zip
powder-037618e6f8e6a37574f7ef8ffd90e490fb0ea137.tar.gz
remove auto generated comments from all files, fix some missing tabs, remove unused variables from config.h
Diffstat (limited to 'src/cat')
-rw-r--r--src/cat/CommandInterface.cpp7
-rw-r--r--src/cat/CommandInterface.h13
-rw-r--r--src/cat/LuaScriptHelper.h7
-rw-r--r--src/cat/LuaScriptInterface.cpp13
-rw-r--r--src/cat/LuaScriptInterface.h7
-rw-r--r--src/cat/TPTSTypes.cpp7
-rw-r--r--src/cat/TPTSTypes.h7
-rw-r--r--src/cat/TPTScriptInterface.cpp7
-rw-r--r--src/cat/TPTScriptInterface.h7
9 files changed, 6 insertions, 69 deletions
diff --git a/src/cat/CommandInterface.cpp b/src/cat/CommandInterface.cpp
index 3ebc795..992ce74 100644
--- a/src/cat/CommandInterface.cpp
+++ b/src/cat/CommandInterface.cpp
@@ -1,10 +1,3 @@
-/*
- * Kitty.cpp
- *
- * Created on: Feb 2, 2012
- * Author: Simon
- */
-
#include <iostream>
#include <string>
#include <string.h>
diff --git a/src/cat/CommandInterface.h b/src/cat/CommandInterface.h
index 5b9c31f..192e1f9 100644
--- a/src/cat/CommandInterface.h
+++ b/src/cat/CommandInterface.h
@@ -1,12 +1,5 @@
-/*
- * Kitty.h
- *
- * Created on: Feb 2, 2012
- * Author: Simon
- */
-
-#ifndef KITTY_H_
-#define KITTY_H_
+#ifndef COMMANDINTERFACE_H_
+#define COMMANDINTERFACE_H_
#include <string>
#include "interface/Engine.h"
@@ -43,4 +36,4 @@ public:
virtual ~CommandInterface();
};
-#endif /* KITTY_H_ */
+#endif /* COMMANDINTERFACE_H_ */
diff --git a/src/cat/LuaScriptHelper.h b/src/cat/LuaScriptHelper.h
index 39be806..860d919 100644
--- a/src/cat/LuaScriptHelper.h
+++ b/src/cat/LuaScriptHelper.h
@@ -1,10 +1,3 @@
-/*
- * LuaScriptHelper.h
- *
- * Created on: Feb 12, 2012
- * Author: Simon
- */
-
#ifndef LUASCRIPTHELPER_H_
#define LUASCRIPTHELPER_H_
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp
index ef0c1f6..33e10d2 100644
--- a/src/cat/LuaScriptInterface.cpp
+++ b/src/cat/LuaScriptInterface.cpp
@@ -1,10 +1,3 @@
-/*
- * LuaScriptInterface.cpp
- *
- * Created on: Feb 11, 2012
- * Author: Simon
- */
-
#include <string>
#include <iomanip>
#include <vector>
@@ -1699,8 +1692,8 @@ void LuaScriptInterface::initGraphicsAPI()
int LuaScriptInterface::graphics_textSize(lua_State * l)
{
- char * text;
- int width, height;
+ char * text;
+ int width, height;
text = (char*)lua_tostring(l, 1);
Graphics::textsize(text, width, height);
@@ -1711,7 +1704,7 @@ int LuaScriptInterface::graphics_textSize(lua_State * l)
int LuaScriptInterface::graphics_drawText(lua_State * l)
{
- char * text;
+ char * text;
int x, y, r, g, b, a;
x = lua_tointeger(l, 1);
y = lua_tointeger(l, 2);
diff --git a/src/cat/LuaScriptInterface.h b/src/cat/LuaScriptInterface.h
index 20dada1..0b9f6f3 100644
--- a/src/cat/LuaScriptInterface.h
+++ b/src/cat/LuaScriptInterface.h
@@ -1,10 +1,3 @@
-/*
- * LuaScriptInterface.h
- *
- * Created on: Feb 11, 2012
- * Author: Simon
- */
-
#ifndef LUASCRIPTINTERFACE_H_
#define LUASCRIPTINTERFACE_H_
diff --git a/src/cat/TPTSTypes.cpp b/src/cat/TPTSTypes.cpp
index a8fa962..87d1097 100644
--- a/src/cat/TPTSTypes.cpp
+++ b/src/cat/TPTSTypes.cpp
@@ -1,10 +1,3 @@
-/*
- * TPTSTypes.cpp
- *
- * Created on: Feb 4, 2012
- * Author: Simon
- */
-
#include <iostream>
#include <sstream>
#include <stdint.h>
diff --git a/src/cat/TPTSTypes.h b/src/cat/TPTSTypes.h
index dfea425..6a2cec4 100644
--- a/src/cat/TPTSTypes.h
+++ b/src/cat/TPTSTypes.h
@@ -1,10 +1,3 @@
-/*
- * TPTSTypes.h
- *
- * Created on: Feb 4, 2012
- * Author: Simon
- */
-
#ifndef TPTSTYPES_H_
#define TPTSTYPES_H_
diff --git a/src/cat/TPTScriptInterface.cpp b/src/cat/TPTScriptInterface.cpp
index 684467f..84f55ef 100644
--- a/src/cat/TPTScriptInterface.cpp
+++ b/src/cat/TPTScriptInterface.cpp
@@ -1,10 +1,3 @@
-/*
- * TPTScriptInterface.cpp
- *
- * Created on: Feb 5, 2012
- * Author: Simon
- */
-
#include <stack>
#include <iostream>
#include <string>
diff --git a/src/cat/TPTScriptInterface.h b/src/cat/TPTScriptInterface.h
index 12240fa..3cb0b5f 100644
--- a/src/cat/TPTScriptInterface.h
+++ b/src/cat/TPTScriptInterface.h
@@ -1,10 +1,3 @@
-/*
- * TPTScriptInterface.h
- *
- * Created on: Feb 5, 2012
- * Author: Simon
- */
-
#ifndef TPTSCRIPTINTERFACE_H_
#define TPTSCRIPTINTERFACE_H_