raze/source/core/menu/usermap.h

24 lines
406 B
C
Raw Normal View History

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