mirror of
https://github.com/ZDoom/zdbsp.git
synced 2024-11-24 04:41:33 +00:00
24d4f0b45c
SVN r12 (trunk)
18 lines
427 B
C++
18 lines
427 B
C++
#include "doomdata.h"
|
|
#include "workdata.h"
|
|
#include "tarray.h"
|
|
|
|
class FBlockmapBuilder
|
|
{
|
|
public:
|
|
FBlockmapBuilder (FLevel &level);
|
|
WORD *GetBlockmap (int &size);
|
|
|
|
private:
|
|
FLevel &Level;
|
|
TArray<WORD> BlockMap;
|
|
|
|
void BuildBlockmap ();
|
|
void CreateUnpackedBlockmap (TArray<WORD> *blocks, int bmapwidth, int bmapheight);
|
|
void CreatePackedBlockmap (TArray<WORD> *blocks, int bmapwidth, int bmapheight);
|
|
};
|