浏览代码

Added my Todo list

Thomas Buck 10 年前
父节点
当前提交
9e8f12da88
共有 1 个文件被更改,包括 32 次插入0 次删除
  1. 32
    0
      TODO.md

+ 32
- 0
TODO.md 查看文件

@@ -0,0 +1,32 @@
1
+## General
2
+
3
+There are these DebugModel, DebugMap flags...?
4
+
5
+* Endian dependence ugly, shouldn't dereference to different types?
6
+    * TombRaider.h/cpp structs aren't aligned... unportable to some big endian & other archs?!
7
+* Use more asserts
8
+* Don't use C-Style code, try to replace with C++ lib
9
+    * Use shared_ptr, should make memory handling/segfaults much less of a problem
10
+        * Don't even new ... the data structures but use std::make_shared or allocate_shared?
11
+        * Pass object references to all other objects that need it, completely remove gOpenRaider
12
+    * Use streams for (file) I/O
13
+    * Use std::strings
14
+
15
+## Changes
16
+
17
+* Using std::vector with [] is not bound checked. Segfaults were caused because the upper bound of the argument was never checked and garbage was returned... Do consistent checks, or use .at() as it throws an exception
18
+
19
+## Future Features
20
+
21
+* Use only assets from old TR games?
22
+* PCX image reading for eg. TR2 built-in menu background
23
+    * Cut TGA image reader, currently only used for menu background?!
24
+* When cutscene rendering is working, use TR4/5 style menu?
25
+
26
+## Errors
27
+
28
+* Sometimes this on quitting OpenRaider:
29
+
30
+    OpenRaider(92329,0x7fff7a8c4310) malloc: *** error for object 0x7fabc2001000: incorrect checksum for freed object - object was probably modified after being freed.
31
+
32
+

正在加载...
取消
保存