diff TaskManager/Test/test_render/Tapestry.h @ 176:08e2bb36639b

fix
author gongo@localhost.localdomain
date Tue, 16 Dec 2008 17:01:24 +0900
parents 56be4a6e5513
children f7ad032575ed
line wrap: on
line diff
--- a/TaskManager/Test/test_render/Tapestry.h	Fri Dec 12 17:48:42 2008 +0900
+++ b/TaskManager/Test/test_render/Tapestry.h	Tue Dec 16 17:01:24 2008 +0900
@@ -86,8 +86,11 @@
     int pad[3];
 } Tile, *TilePtr;
 
-#define MAX_TILE 100
+#define MAX_TILE 128
 
+/**
+ * TileList 中の Tile の追い出しは、現在 FIFO で実装している
+ */
 class TileList {
 public:
     int curIndex;
@@ -99,6 +102,10 @@
     }
 
     /**
+     * 次に扱う tile を取得する
+     *
+     * @return tile
+     *
      * tile[] をリングバスっぽく扱うことで
      * FIFO を実現することに。
      */
@@ -108,6 +115,10 @@
 	return t;
     }
 
+    /**
+     * TileList のクリア
+     * tile 自体は clear する必要は無い
+     */
     void clear(void) {
 	curIndex = 0;
     }