stringtable.h

changeset 21
ae602e667879
parent 20
d7b13805d1e0
child 50
2e333a3ca49a
--- a/stringtable.h	Sat Jul 14 20:35:50 2012 +0300
+++ b/stringtable.h	Sat Jul 14 22:03:34 2012 +0300
@@ -41,18 +41,11 @@
 #include "bots.h"
 #include "str.h"
 
-class StringTable {
-public:
-	char table[MAX_LIST_STRINGS][MAX_STRING_LENGTH];
-	StringTable();
-	
-	unsigned int Push (char* s);
-	unsigned int Count ();
-	
-	char* operator [] (unsigned int a);
-};
+void InitStringTable();
+unsigned int PushToStringTable (char* s);
+unsigned int CountStringTable ();
 
 #ifndef __STRINGTABLE_CXX__
 extern
 #endif
-StringTable* g_StringTable;
\ No newline at end of file
+char g_StringTable[MAX_LIST_STRINGS][MAX_STRING_LENGTH];
\ No newline at end of file

mercurial