diff options
| author | Steven Fuller <relnev@icculus.org> | 2008-05-04 20:47:08 -0700 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:37 +0200 |
| commit | 5d3725f9d972cde917ab9b076cb0b89b33557c7a (patch) | |
| tree | 7378f5fac1dc90fd3d8f52f02db25714010f8912 /src/win95/obchunk.cpp | |
| parent | 9b449609fac7b23f2f9655ce2d766f1f56679ba4 (diff) | |
Removed a lot of tool code.
Diffstat (limited to 'src/win95/obchunk.cpp')
| -rw-r--r-- | src/win95/obchunk.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/win95/obchunk.cpp b/src/win95/obchunk.cpp index 6f159d8..b062570 100644 --- a/src/win95/obchunk.cpp +++ b/src/win95/obchunk.cpp @@ -7,9 +7,6 @@ #include "md5.h" // Class Object_Chunk functions -#ifdef cencon -#define new my_new -#endif //macro for helping to force inclusion of chunks when using libraries FORCE_CHUNK_INCLUDE_IMPLEMENT(obchunk) @@ -402,19 +399,7 @@ ObjectID Object_Chunk::CalculateID() if(!chlist.size()) return retval; char Name[100]; - #if InterfaceEngine||cencon - //need to check for console specific rif files,and skip the 'sat' or 'psx' - //so that they get the same ids as the pc - const char* r_name=((RIF_Name_Chunk*)chlist.first_entry())->rif_name; - if(tolower(r_name[0])=='p' && tolower(r_name[1])=='s' && tolower(r_name[2])=='x' ) - strcpy(Name,&r_name[3]); - else if (tolower(r_name[0])=='s' && tolower(r_name[1])=='a' && tolower(r_name[2])=='t' ) - strcpy(Name,&r_name[3]); - else - strcpy(Name,r_name); - #else strcpy(Name,((RIF_Name_Chunk*)chlist.first_entry())->rif_name); - #endif strcat(Name,object_data.o_name); char buffer[16]; |
