mirror of
https://github.com/ZDoom/zdbsp.git
synced 2024-11-22 03:41:29 +00:00
19 lines
427 B
C
19 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);
|
||
|
};
|