2021-12-26 13:38:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
2021-12-26 18:58:52 +00:00
|
|
|
#include "maptypes.h"
|
2021-12-26 13:38:36 +00:00
|
|
|
|
2021-12-26 16:45:26 +00:00
|
|
|
struct FUsermapEntry
|
2021-12-26 13:38:36 +00:00
|
|
|
{
|
|
|
|
FString displayname;
|
2021-12-26 16:45:26 +00:00
|
|
|
FString container;
|
|
|
|
FString filename;
|
|
|
|
FString info;
|
2021-12-26 18:58:52 +00:00
|
|
|
int size = 0;
|
|
|
|
bool wallsread = false;
|
|
|
|
TArray<walltype> walls; // for rendering a preview of the map
|
2021-12-26 13:38:36 +00:00
|
|
|
};
|
|
|
|
|
2021-12-26 16:45:26 +00:00
|
|
|
struct FUsermapDirectory
|
2021-12-26 13:38:36 +00:00
|
|
|
{
|
2021-12-26 16:45:26 +00:00
|
|
|
FString dirname;
|
|
|
|
FUsermapDirectory* parent = nullptr;
|
|
|
|
TArray<FUsermapDirectory> subdirectories;
|
|
|
|
TArray<FUsermapEntry> entries;
|
2021-12-26 13:38:36 +00:00
|
|
|
};
|
|
|
|
|