raze/source/core/menu/usermap.h
2021-12-30 09:58:08 +01:00

23 lines
406 B
C

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