implement achievements, console supports copy to clipboard

This commit is contained in:
Ondrej Novak 2025-04-18 20:03:47 +02:00
parent f5450c0f92
commit 936bafca5a
12 changed files with 133 additions and 25 deletions

View file

@ -20,6 +20,7 @@
#include "resources.h"
//
#include "advconfig.h"
#include "ach_events.h"
#include "skeldal.h"
#include "lang.h"
@ -1067,7 +1068,7 @@ void init_skeldal(const INI_CONFIG *cfg)
load_shops();
memset(&loadlevel,0,sizeof(loadlevel));
loadlevel.eflags = 0xFF;
SetWheelMapping('H','P');
}
void wire_main_functs();
@ -1746,6 +1747,10 @@ int skeldal_entry_point(const SKELDAL_CONFIG *start_cfg)
lang_set_folder(build_pathname(2, gpathtable[SR_LANG], start_cfg->lang_path));
}
if (!start_cfg->adventure_path) {
enable_achievements(1);
}
start_check();
purge_temps(1);
clrscr();