blob: 397504b4a6426d7de74c5f0e15204511a1df1d74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef T2DLL_UT2BKGNDINFO_H
#define T2DLL_UT2BKGNDINFO_H
#include "../common.h"
struct BkgndInfo {
int vRange;
int hRange;
int zRange;
unsigned int *arrays[1];
};
class AFX_CLASS_EXPORT UT2BkgndInfo {
public:
static BkgndInfo* SetupBkgndInfo(const RECT&, int);
static void DisposeBkgndInfo(BkgndInfo*&);
static unsigned int GetBkgndInfo(BkgndInfo* const, int, int);
static void UnitToBkgndRect(const RECT&, RECT&);
static void BkgndToUnitRect(const RECT&, RECT&);
static void GetOffBkgndRect(int, RECT&);
static void ReplaceID(const BkgndInfo*, unsigned int, int);
};
#endif
|