diff TaskManager/Test/test_render/Span.h @ 164:38cbb7aecc70

TilePtr は SPE で計算した方がいいと判断して変更。
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Tue, 09 Dec 2008 10:48:49 +0900
parents 1f4c3f3238e6
children 5cde66c926b4
line wrap: on
line diff
--- a/TaskManager/Test/test_render/Span.h	Tue Dec 09 10:08:28 2008 +0900
+++ b/TaskManager/Test/test_render/Span.h	Tue Dec 09 10:48:49 2008 +0900
@@ -5,6 +5,10 @@
 #  include "Tapestry.h"
 #endif
 
+#ifndef INCLUDED_TYPES
+#  include "types.h"
+#endif
+
 #define MAX_TILE_LIST 64
 
 typedef struct tile {
@@ -27,9 +31,9 @@
 
 class Span {
 public:
-    long *tex_addr;
-    long tex_width;
-    long tex_height;
+    uint32 *tex_addr;
+    int tex_width;
+    int tex_height;
     int x;
     int y;
     int length_x;