diff --git a/dffwrite.cpp b/dffwrite.cpp index 69ebe51..d9e3396 100644 --- a/dffwrite.cpp +++ b/dffwrite.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include "rw.h" @@ -59,10 +60,12 @@ main(int argc, char *argv[]) rw::Image::setSearchPath("./;/home/aap/gamedata/ps2/gtavc/MODELS/gta3_archive/txd_extracted/"); +/* // rw::Image *tga = rw::readTGA("b.tga"); rw::Image *tga = rw::readTGA("player.tga"); assert(tga != NULL); rw::writeTGA(tga, "out.tga"); +*/ // for(rw::int32 i = 0; i < c->numAtomics; i++) // rw::Gl::Instance(c->atomicList[i]); diff --git a/src/rwbase.h b/src/rwbase.h index 783c4ba..81223e5 100644 --- a/src/rwbase.h +++ b/src/rwbase.h @@ -15,7 +15,6 @@ typedef float float32; typedef int32 bool32; typedef uint8 byte; typedef uint32 uint; -typedef uint64 uintptr; class Stream {