Dedmen Miller

Results 377 comments of Dedmen Miller

First part of implementation done. It looks like this for the client ```cpp void myOnDraw() { sqf::system_chat("onDraw"); } void __cdecl intercept::post_init() { static auto drawEH = client::addMissionEventHandler(myOnDraw); } ``` Or...

Implementation has just moved to `develop` branch. Examples: ``` static auto drawEH = client::addMissionEventHandler(myOnDraw); static auto firedEH = client::addEventHandler(sqf::player(),[](object unit, r_string weapon, r_string muzzle, r_string mode, r_string ammo, r_string magazine,...

Implementation is already on master branch. Besides addMPEventhandler which is included in #169 Also added a easy way to bind a lambda function to a SQF call. `generate_custom_callback()` uses the...

Reopened to remind me of adding documentation. This stuff is very hard to use without proper examples. Biggest problem is finding what arguments the callback function needs. Maybe just make...

Windows only afaik. Need to find out how to tell CMake to include the rc file in the project. Though we need some way to grab the current version. Which...

I'd like to have this before the next pre-release. As this is also important when analyzing crash dumps.

Yep. Now you only have the performance impact left.

We already have that sanity check. https://github.com/intercept/intercept/blob/master/src/host/invoker/invoker.cpp#L180 https://github.com/intercept/intercept/blob/master/rv/addons/core/lib.sqf#L8-L17 https://github.com/intercept/intercept/blob/master/rv/addons/core/lib.sqf#L76

Yeah. It only runs at preInit and sets the `Intercept_invoker_ok` variable. So it doesn't actually throw any error at preStart.

Yeah. That could very easilly check if the Host library can load. But doesn't handle any errors while it initalizes.