Removed the SmallInt typedef.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 16 Jun 2010 15:56:18 -0400
changeset 25 f08b7288f92c
parent 24 85690966232c
child 26 bbc81e2595d9
child 34 3f38f750f3d3
Removed the SmallInt typedef. This saves non-Windows platforms about 30 megabytes of memory.
Aquaria/Game.h
--- a/Aquaria/Game.h	Wed Jun 16 11:08:17 2010 -0400
+++ b/Aquaria/Game.h	Wed Jun 16 15:56:18 2010 -0400
@@ -104,12 +104,6 @@
 class WaterSurfaceRender;
 class ToolTip;
 
-#ifdef BBGE_BUILD_WINDOWS
-	typedef __int8 SmallInt;
-#else
-	typedef int SmallInt;
-#endif
-
 #include "Path.h"
 
 struct EntityGroupEntity
@@ -1173,8 +1167,8 @@
 
 
 
-	SmallInt grid[MAX_GRID][MAX_GRID];
-	SmallInt baseGrid[MAX_GRID][MAX_GRID];
+	signed char grid[MAX_GRID][MAX_GRID];
+	signed char baseGrid[MAX_GRID][MAX_GRID];
 
 
 	Quad *bg, *bg2;