2024-05-23 17:19:28 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifndef IMAGE_H
|
|
|
|
#define IMAGE_H
|
|
|
|
|
2024-05-24 15:51:18 +00:00
|
|
|
#include "export.h"
|
|
|
|
#include "main.h"
|
|
|
|
|
|
|
|
class Image : public CClass
|
|
|
|
{
|
|
|
|
public:
|
2024-05-24 15:52:43 +00:00
|
|
|
EXPORT Image(void);
|
|
|
|
unsigned char field_4;
|
|
|
|
unsigned char field_5;
|
|
|
|
unsigned char field_6;
|
|
|
|
unsigned char field_7;
|
|
|
|
unsigned char field_8;
|
|
|
|
unsigned char field_9;
|
|
|
|
unsigned char field_A;
|
|
|
|
unsigned char field_B;
|
|
|
|
int field_C;
|
2024-05-24 15:51:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class SlicedImage2 : public Image
|
|
|
|
{
|
|
|
|
public:
|
2024-08-04 15:48:43 +00:00
|
|
|
EXPORT SlicedImage2(void);
|
2024-05-24 15:57:36 +00:00
|
|
|
EXPORT int screenHeight(void);
|
|
|
|
|
|
|
|
unsigned char padTop[0x6];
|
|
|
|
|
|
|
|
__int16 field_16;
|
|
|
|
|
|
|
|
unsigned char padBottom[0x20-0x16-4];
|
2024-05-24 15:51:18 +00:00
|
|
|
};
|
|
|
|
|
2024-05-29 17:09:09 +00:00
|
|
|
EXPORT int Load8BitBMP_2(char *, char **, int *, int *, unsigned __int16 *);
|
2024-08-04 15:48:43 +00:00
|
|
|
EXPORT void GetBMPBitDepth(char *);
|
|
|
|
EXPORT void Load4BitBMP_2(char *,char **,i32 *,i32 *,u16 *);
|
|
|
|
EXPORT void LoadNBitBMP_(char *,char **,i32 *,i32 *,u16 *,i32 *);
|
2024-05-29 17:09:09 +00:00
|
|
|
|
|
|
|
void validate_Image(void);
|
|
|
|
void validate_SlicedImage(void);
|
2024-05-24 15:51:18 +00:00
|
|
|
#endif
|