summaryrefslogtreecommitdiff
path: root/src/win95/bmpnames.hpp
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2008-05-04 20:47:08 -0700
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commit5d3725f9d972cde917ab9b076cb0b89b33557c7a (patch)
tree7378f5fac1dc90fd3d8f52f02db25714010f8912 /src/win95/bmpnames.hpp
parent9b449609fac7b23f2f9655ce2d766f1f56679ba4 (diff)
Removed a lot of tool code.
Diffstat (limited to 'src/win95/bmpnames.hpp')
-rw-r--r--src/win95/bmpnames.hpp34
1 files changed, 2 insertions, 32 deletions
diff --git a/src/win95/bmpnames.hpp b/src/win95/bmpnames.hpp
index 40d7c80..1b9ec81 100644
--- a/src/win95/bmpnames.hpp
+++ b/src/win95/bmpnames.hpp
@@ -4,22 +4,10 @@
#include "chunk.hpp"
// for assert
-#if engine
-
#define UseLocalAssert No
#include "ourasert.h"
#define assert(x) GLOBALASSERT(x)
-#else
-
-#if cencon
-#include "ccassert.h"
-#else
-#include <assert.h>
-#endif
-
-#endif
-
enum BMPN_Flags
{
ChunkBMPFlag_Null = 0x00000000, // all flags reset
@@ -165,24 +153,6 @@ public:
void Validate(void);
- #if cencon
- int const * md5val; // space to put a pointer
-
- void DeleteAssociatedFiles() const;
- void DeleteAssociatedMipFiles() const;
- // changes the filename member, returns FALSE on failure
- BOOL Rename(char const * newname);
-
- // use these to prevent DeleteAssociatedMipFiles & DeleteAssociatedFiles
- // from deleting specific files
- static void PreventDeleteFile(char const * pszFileName);
- static void ReallowDeleteFile(char const * pszFileName);
- private:
- static List<char *> ms_listFilesCantDelete;
- static void DeleteFileProt(char const * pszFileName);
- public:
- #endif
-
unsigned GetTranspRedVal() const;
unsigned GetTranspGreenVal() const;
unsigned GetTranspBlueVal() const;
@@ -346,8 +316,8 @@ public:
virtual void SetMD5Val(BMP_Name const & rcbmp, int const * md5id);
virtual void RemoveMD5Val(char const * bname);
- friend class BMP_Group; // for cencon
- friend class BMP_Info; // for cencon
+ //friend class BMP_Group; // for cencon
+ //friend class BMP_Info; // for cencon
protected:
virtual Bitmap_MD5_Chunk * GetMD5Chunk(char const * bname) = 0;