mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-18 04:06:45 -04:00
implement achievements, console supports copy to clipboard
This commit is contained in:
parent
f5450c0f92
commit
936bafca5a
12 changed files with 133 additions and 25 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue