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/mishchnk.cpp | |
| parent | 9b449609fac7b23f2f9655ce2d766f1f56679ba4 (diff) | |
Removed a lot of tool code.
Diffstat (limited to 'src/win95/mishchnk.cpp')
| -rw-r--r-- | src/win95/mishchnk.cpp | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/win95/mishchnk.cpp b/src/win95/mishchnk.cpp index 649eed2..a0e3795 100644 --- a/src/win95/mishchnk.cpp +++ b/src/win95/mishchnk.cpp @@ -10,17 +10,9 @@ #include "huffman.hpp" -#ifdef cencon -#define new my_new -#endif - - // Class Lockable_Chunk_With_Children functions -#if cencon -#else extern char * users_name; -#endif //macro for helping to force inclusion of chunks when using libraries FORCE_CHUNK_INCLUDE_IMPLEMENT(mishchnk) @@ -1033,12 +1025,6 @@ BOOL File_Chunk::check_file() } -#if InterfaceEngine - - extern File_Chunk * Env_Chunk; - -#endif - BOOL File_Chunk::update_file() { @@ -1074,22 +1060,6 @@ BOOL File_Chunk::update_file() #else -#if InterfaceEngine - - // log, to track error - char fname [256]; - char * dotpos; - - strcpy (fname, filename); - - dotpos = strrchr (fname, '.'); - - sprintf (dotpos, ".log"); - - FILE * log = fopen (fname, "a"); - -#endif - if (!filename) return FALSE; twprintf("Updating %s\n",filename); @@ -1237,13 +1207,6 @@ BOOL File_Chunk::update_file() ed = (Environment_Data_Chunk *)lookup_single_child ("REBENVDT"); if (ed) { - -#if InterfaceEngine - - fprintf (log, "Env_Data %d %d %d %d", ed->updated, ed->local_lock, ed->updated_outside, ed->external_lock); - -#endif - if (ed->updated && !(ed->updated_outside || ed->external_lock)) ed->update_chunk_in_file(rif_file); @@ -1272,11 +1235,6 @@ BOOL File_Chunk::update_file() CloseHandle (rif_file); -#if InterfaceEngine - - fclose (log); - -#endif return TRUE; #endif //DisableLock |
