diff options
author | Chris Xiong <chirs241097@gmail.com> | 2015-10-11 22:04:05 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2015-10-11 22:04:05 +0800 |
commit | 627d814f487ac38d4f9b9b71da9bef46f33b3dad (patch) | |
tree | 8fe9ffba654b40ede31575874793b735df0fdf2e /extensions | |
parent | f54345e4fc889471513cba99151a5e6a2dcef2d8 (diff) | |
download | bullet-lab-remix-627d814f487ac38d4f9b9b71da9bef46f33b3dad.tar.xz |
Implement the collision system and a simple effect.
Fixed a problem that keeps the screen black on start up.
Replace the build script in dtputil with makefile.
Sync with the newest SMELT revision.
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/smdatapack.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/smdatapack.cpp b/extensions/smdatapack.cpp index 8b2c12b..fa572da 100644 --- a/extensions/smdatapack.cpp +++ b/extensions/smdatapack.cpp @@ -126,6 +126,8 @@ void smDtpFileR::releaseFilePtr(const char* path) } DWORD smDtpFileR::getFileSize(const char* path) {if(m.find(std::string(path))==m.end()){printf("error: file not found in the archive.\n");return 0;}return m[std::string(path)].size;} +DWORD smDtpFileR::getFileCRC(const char* path) +{if(m.find(std::string(path))==m.end()){printf("error: file not found in the archive.\n");return 0;}return m[std::string(path)].crc;} smDtpFileW::smDtpFileW(){fcnt=0;} bool smDtpFileW::addFile(const char* path,const char* realpath) |