refactored recent file list logic, supporting 10 records now .

This commit is contained in:
Zero Fanker 2024-05-31 15:24:48 -04:00
parent 89bce98a13
commit 893427625d
5 changed files with 54 additions and 72 deletions

View file

@ -37,10 +37,12 @@
#include "ddeml.h"
#include "loading.h"
static auto constexpr RecentFilesSlots = 10;
struct OPTIONS {
CString TSExe;
CString LanguageName;
CString prev_maps[4];
CString prev_maps[RecentFilesSlots];
bool bPreferLocalTheaterFiles = true;
BOOL bFlat;
BOOL bEasy;