28 #ifndef AGS_ENGINE_PLUGIN_PLUGIN_ENGINE_H 29 #define AGS_ENGINE_PLUGIN_PLUGIN_ENGINE_H 31 #include "common/std/vector.h" 32 #include "ags/engine/ac/dynobj/cc_script_object.h" 33 #include "ags/engine/game/game_init.h" 34 #include "ags/shared/game/plugin_info.h" 35 #include "ags/shared/util/string.h" 57 :
Type(type), Reader(reader) {}
61 void pl_stop_plugins();
62 void pl_startup_plugins();
64 void pl_run_plugin_init_gfx_hooks(
const char *driverName,
void *data);
65 int pl_run_plugin_debug_hooks(
const char *scriptfile,
int linenum);
69 bool pl_query_next_plugin_for_event(
int event,
int &pl_index,
Shared::String &pl_name);
71 int pl_run_plugin_hook_by_index(
int pl_index,
int event,
int data);
73 int pl_run_plugin_hook_by_name(
Shared::String &pl_name,
int event,
int data);
77 bool pl_is_plugin_loaded(
const char *pl_name);
80 bool pl_any_want_hook(
int event);
83 void pl_clear_file_handle();
85 bool RegisterPluginStubs(
const char* name);
Definition: achievements_tables.h:27
Definition: cc_script_object.h:121
Definition: plugin_engine.h:52