Redo file prompts with in-game UI

This commit is contained in:
elasota
2020-09-12 22:29:57 -04:00
parent 8518d01c70
commit b23bb93506
44 changed files with 1133 additions and 362 deletions

View File

@@ -201,7 +201,7 @@ void PageDownHouses (Dialog *theDial)
//-------------------------------------------------------------- LoadFilter
#ifndef COMPILEDEMO
int16_t LoadFilter(Dialog *dial, const TimeTaggedVOSEvent *evt)
int16_t LoadFilter(void *context, Dialog *dial, const TimeTaggedVOSEvent *evt)
{
short screenCount, i, wasIndex;
@@ -398,7 +398,7 @@ void DoLoadHouse (void)
while (!leaving)
{
int16_t item = theDial->ExecuteModal(LoadFilter);
int16_t item = theDial->ExecuteModal(nullptr, LoadFilter);
bool requiresRedraw = false;