瀏覽代碼

Moved List and Vector into templates folder

Thomas Buck 10 年之前
父節點
當前提交
9d6b4a084e
共有 8 個檔案被更改,包括 11 行新增11 行删除
  1. 2
    2
      include/OpenRaider.h
  2. 2
    2
      include/Render.h
  3. 1
    1
      include/SkeletalModel.h
  4. 1
    1
      include/System.h
  5. 2
    2
      include/World.h
  6. 1
    1
      include/games/TombRaider1.h
  7. 1
    1
      include/templates/List.h
  8. 1
    1
      include/templates/Vector.h

+ 2
- 2
include/OpenRaider.h 查看文件

@@ -11,8 +11,6 @@
11 11
 #include <map>
12 12
 
13 13
 #include "Config.h"
14
-#include "List.h"
15
-#include "Vector.h"
16 14
 #include "TombRaider.h"
17 15
 #include "Camera.h"
18 16
 #include "Render.h"
@@ -20,6 +18,8 @@
20 18
 #include "SDLSystem.h"
21 19
 #include "Network.h"
22 20
 #include "World.h"
21
+#include "templates/List.h"
22
+#include "templates/Vector.h"
23 23
 #include "utils/strings.h"
24 24
 
25 25
 /*!

+ 2
- 2
include/Render.h 查看文件

@@ -9,8 +9,6 @@
9 9
 #define _RENDER_H_
10 10
 
11 11
 #include "Config.h"
12
-#include "List.h"
13
-#include "Vector.h"
14 12
 #include "Matrix.h"
15 13
 #include "ViewVolume.h"
16 14
 #include "World.h"
@@ -19,6 +17,8 @@
19 17
 #include "Texture.h"
20 18
 #include "Camera.h"
21 19
 #include "GLString.h"
20
+#include "templates/List.h"
21
+#include "templates/Vector.h"
22 22
 
23 23
 #ifdef USING_EMITTER
24 24
 #include "Emitter.h"

+ 1
- 1
include/SkeletalModel.h 查看文件

@@ -12,8 +12,8 @@
12 12
 #ifndef _SKELETALMODEL_H_
13 13
 #define _SKELETALMODEL_H_
14 14
 
15
-#include "Vector.h"
16 15
 #include "MatMath.h"
16
+#include "templates/Vector.h"
17 17
 
18 18
 typedef struct {
19 19
     int mesh;

+ 1
- 1
include/System.h 查看文件

@@ -13,7 +13,7 @@
13 13
 
14 14
 #include <map>
15 15
 
16
-#include "Vector.h"
16
+#include "templates/Vector.h"
17 17
 #include "utils/strings.h"
18 18
 
19 19
 //! \todo Replace with unicode compatible key codes

+ 2
- 2
include/World.h 查看文件

@@ -14,9 +14,9 @@
14 14
 #include "SkeletalModel.h"
15 15
 #endif
16 16
 
17
-#include "List.h"
18
-#include "Vector.h"
19 17
 #include "MatMath.h"
18
+#include "templates/List.h"
19
+#include "templates/Vector.h"
20 20
 
21 21
 // Mirrors TombRaider class' room flags really
22 22
 typedef enum {

+ 1
- 1
include/games/TombRaider1.h 查看文件

@@ -1,5 +1,5 @@
1 1
 /*!
2
- * \file include/TombRaider1.h
2
+ * \file include/games/TombRaider1.h
3 3
  * \brief Tomb Raider 1 items and states.
4 4
  *
5 5
  * Based on TR Rosetta Stone

include/List.h → include/templates/List.h 查看文件

@@ -1,5 +1,5 @@
1 1
 /*!
2
- * \file include/List.h
2
+ * \file include/templates/List.h
3 3
  * \brief Template list
4 4
  *
5 5
  * UINT_MAX is an error condition, used in place of -1

include/Vector.h → include/templates/Vector.h 查看文件

@@ -1,5 +1,5 @@
1 1
 /*!
2
- * \file include/Vector.h
2
+ * \file include/templates/Vector.h
3 3
  * \brief Template Vector
4 4
  *
5 5
  * \author Mongoose

Loading…
取消
儲存