aboutsummaryrefslogtreecommitdiff
path: root/smelt/sdl/CxImage/ximawbmp.h
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2018-02-03 00:55:26 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2018-02-03 00:55:26 +0800
commit1eb88d4f5d5cb05d62be1d4a0c88c7399f7c0de0 (patch)
tree4daf8fa3f4e8fff38a61b8e2da752df8b519f232 /smelt/sdl/CxImage/ximawbmp.h
parent6f955e10a71e364f527ea654156ea83785e9ada8 (diff)
downloadSMELT-1eb88d4f5d5cb05d62be1d4a0c88c7399f7c0de0.tar.xz
Added the GL 3.2+ port.
Fixed poor performance of the truetype renderer. (Partially) Fixed texture locking. Minor addition and fixes to the math library.
Diffstat (limited to 'smelt/sdl/CxImage/ximawbmp.h')
-rw-r--r--smelt/sdl/CxImage/ximawbmp.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/smelt/sdl/CxImage/ximawbmp.h b/smelt/sdl/CxImage/ximawbmp.h
deleted file mode 100644
index 9a7837e..0000000
--- a/smelt/sdl/CxImage/ximawbmp.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * File: ximawbmp.h
- * Purpose: WBMP Image Class Loader and Writer
- */
-/* ==========================================================
- * CxImageWBMP (c) 12/Jul/2002 Davide Pizzolato - www.xdp.it
- * For conditions of distribution and use, see copyright notice in ximage.h
- * ==========================================================
- */
-#if !defined(__ximaWBMP_h)
-#define __ximaWBMP_h
-
-#include "ximage.h"
-
-#if CXIMAGE_SUPPORT_WBMP
-
-class CxImageWBMP: public CxImage
-{
-#pragma pack(1)
-typedef struct tagWbmpHeader
-{
- uint32_t Type; // 0
- uint8_t FixHeader; // 0
- uint32_t ImageWidth; // Image Width
- uint32_t ImageHeight; // Image Height
-} WBMPHEADER;
-#pragma pack()
-public:
- CxImageWBMP(): CxImage(CXIMAGE_FORMAT_WBMP) {}
-
-// bool Load(const TCHAR * imageFileName){ return CxImage::Load(imageFileName,CXIMAGE_FORMAT_WBMP);}
-// bool Save(const TCHAR * imageFileName){ return CxImage::Save(imageFileName,CXIMAGE_FORMAT_WBMP);}
- bool Decode(CxFile * hFile);
- bool Decode(FILE *hFile) { CxIOFile file(hFile); return Decode(&file); }
-protected:
- bool ReadOctet(CxFile * hFile, uint32_t *data);
-
-public:
-#if CXIMAGE_SUPPORT_ENCODE
- bool Encode(CxFile * hFile);
- bool Encode(FILE *hFile) { CxIOFile file(hFile); return Encode(&file); }
-protected:
- bool WriteOctet(CxFile * hFile, const uint32_t data);
-#endif // CXIMAGE_SUPPORT_ENCODE
-};
-
-#endif
-
-#endif