Pass argc and argv through to DrivenEngine::event_init

This commit is contained in:
2021-10-14 16:41:24 -04:00
parent a9afbebbc3
commit 2e05df7ac5
9 changed files with 21 additions and 19 deletions

View File

@@ -191,7 +191,7 @@ public:
// The update callback. You may override this in a subclass.
// This will be called whenever anything changes.
//
virtual void event_init() {}
virtual void event_init(int argc, char *argv[]) {}
virtual void event_update() {}
// Specify the set of listening ports.
@@ -343,7 +343,7 @@ public:
// Invoke the init or update event.
//
void drv_invoke_event_init();
void drv_invoke_event_init(int argc, char *argv[]);
void drv_invoke_event_update();
// Check the 'rescan_lua_source' flag. If this flag is set, it means