|
|
@ -8,6 +8,7 @@
|
|
|
|
#include "df/viewscreen_initial_prepst.h"
|
|
|
|
#include "df/viewscreen_initial_prepst.h"
|
|
|
|
#include "df/viewscreen_legendsst.h"
|
|
|
|
#include "df/viewscreen_legendsst.h"
|
|
|
|
#include "df/viewscreen_loadgamest.h"
|
|
|
|
#include "df/viewscreen_loadgamest.h"
|
|
|
|
|
|
|
|
#include "df/viewscreen_new_arenast.h"
|
|
|
|
#include "df/viewscreen_new_regionst.h"
|
|
|
|
#include "df/viewscreen_new_regionst.h"
|
|
|
|
#include "df/viewscreen_savegamest.h"
|
|
|
|
#include "df/viewscreen_savegamest.h"
|
|
|
|
#include "df/viewscreen_setupdwarfgamest.h"
|
|
|
|
#include "df/viewscreen_setupdwarfgamest.h"
|
|
|
@ -112,6 +113,7 @@ IMPLEMENT_HOOKS(game_cleaner)
|
|
|
|
IMPLEMENT_HOOKS(initial_prep)
|
|
|
|
IMPLEMENT_HOOKS(initial_prep)
|
|
|
|
IMPLEMENT_HOOKS(legends)
|
|
|
|
IMPLEMENT_HOOKS(legends)
|
|
|
|
IMPLEMENT_HOOKS(loadgame)
|
|
|
|
IMPLEMENT_HOOKS(loadgame)
|
|
|
|
|
|
|
|
IMPLEMENT_HOOKS(new_arena)
|
|
|
|
IMPLEMENT_HOOKS(new_region)
|
|
|
|
IMPLEMENT_HOOKS(new_region)
|
|
|
|
IMPLEMENT_HOOKS(savegame)
|
|
|
|
IMPLEMENT_HOOKS(savegame)
|
|
|
|
IMPLEMENT_HOOKS(setupdwarfgame)
|
|
|
|
IMPLEMENT_HOOKS(setupdwarfgame)
|
|
|
@ -146,6 +148,7 @@ DFhackCExport command_result plugin_enable(color_ostream &out, bool enable) {
|
|
|
|
INTERPOSE_HOOKS_FAILED(initial_prep) ||
|
|
|
|
INTERPOSE_HOOKS_FAILED(initial_prep) ||
|
|
|
|
INTERPOSE_HOOKS_FAILED(legends) ||
|
|
|
|
INTERPOSE_HOOKS_FAILED(legends) ||
|
|
|
|
INTERPOSE_HOOKS_FAILED(loadgame) ||
|
|
|
|
INTERPOSE_HOOKS_FAILED(loadgame) ||
|
|
|
|
|
|
|
|
INTERPOSE_HOOKS_FAILED(new_arena) ||
|
|
|
|
INTERPOSE_HOOKS_FAILED(new_region) ||
|
|
|
|
INTERPOSE_HOOKS_FAILED(new_region) ||
|
|
|
|
INTERPOSE_HOOKS_FAILED(savegame) ||
|
|
|
|
INTERPOSE_HOOKS_FAILED(savegame) ||
|
|
|
|
INTERPOSE_HOOKS_FAILED(setupdwarfgame) ||
|
|
|
|
INTERPOSE_HOOKS_FAILED(setupdwarfgame) ||
|
|
|
|