moved SAFE_DELETE to lib.h

dyn_array supports "wrapping" other types of memory (stopgap measure)
texture codecs now load via DynArray (intermediate step to all mem stuff
going through res/mem.cpp)
simplified tex codecs by doing as many checks as possible in
tex_load_mem ("template method"-esque)

This was SVN commit r2690.
This commit is contained in:
janwas
2005-09-08 01:47:45 +00:00
parent 5c4069f5e1
commit 494d27bdd4
15 changed files with 272 additions and 164 deletions
-3
View File
@@ -7,9 +7,6 @@
#include "Game.h"
#include "Overlay.h" // for CColor
#define SAFE_DELETE(x) \
if((x)) { delete (x); (x) = NULL; }
CMaterial NullMaterial;
CMaterial IdentityMaterial;