Commit Graph

22 Commits

Author SHA1 Message Date
BotoX
100166dafa remove Werror 2019-09-21 22:16:54 +02:00
Peace-Maker
891fa5352e Add support for the "fastcall" calling convention
Callee cleans the stack and first two arguments are passed in registers ecx and edx.
You could emulate this by choosing stdcall and setting the custom_registers on the arguments manually, but this is easier.
2019-06-20 02:14:07 +02:00
Peace-Maker
9da7e666f6 Fix |thiscall| on linux for functions with arguments
The previous fix messed up parameter getters and setters.
2018-06-02 13:36:52 +02:00
Peace-Maker
aa3018a27d Add support to define function signatures in gamedata
A "Functions" section is parsed in gamedata files that allow you to define the signature of functions including metadata like the calling convention and specifying the register an argument is passed in.
A new native DHookCreateFromConf can be used to setup a hook or detour from one of that function sections in the "Functions" section.
2018-01-25 17:18:30 +01:00
Peace-Maker
63c6addc30 Fix new - free mismatch 2016-12-12 22:47:35 -07:00
Peace-Maker
2e52ab24b7 First draft of dynamic detours using Ayuto's DynamicHooks library
https://github.com/Ayuto/DynamicHooks
2016-12-11 22:02:10 -07:00
Dr!fter
fd8866a540 Update AMBuildScript 2016-08-31 11:46:25 -04:00
Dr!fter
a9bbbe6665 Fix linux build. 2016-06-26 13:34:19 -04:00
Dr!fter
76636a84ac Fix AMBuildScript. Update MSVC project file. 2016-06-26 13:01:06 -04:00
Dr!fter
08f67ac307 Fix AMBuildScript 2016-06-26 11:53:07 -04:00
Dr!fter
79d45dd951 Fix AMBuild typo. 2016-06-26 11:39:17 -04:00
Dr!fter
6d3d6118ee Update AMBuild files. 2016-06-26 11:00:19 -04:00
Ross Bemrose
c20a4ed40f Update AMBuildScript to build against SourceMod 1.8 and 1.7 both. 2015-05-14 15:19:56 -04:00
Dr!fter
20ca71bfc9 Update AMBuildScript some more. 2015-03-26 17:14:25 -04:00
Dr!fter
b44b727d0b Update AMBuildScript. 2015-03-26 17:07:04 -04:00
Dr!fter
881a839896 Fix rtti issue 2014-09-12 09:40:45 -04:00
Dr!fter
0f64a45a2b Remove the need for SDK's. Update AMBuild scripts to AMBuild2. Fix shutdown crash. Update gamedata for testing. General code fixups. 2014-08-19 13:14:48 -04:00
Dr!fter
6c0a1b3dcb Update AMBuild for Nuclear Dawn. 2014-08-15 23:51:35 -04:00
Dr!fter
bb4070e4b8 Dont support legacy mm:s games. 2013-09-01 22:06:22 -04:00
Dr!fter
9f545ab269 Fix build 2013-09-01 21:42:13 -04:00
Dr!fter
b907372e39 Fix the build 2013-09-01 13:28:56 -04:00
Dr!fter
f331c3dfaf Add AMBuild 2013-09-01 11:11:38 -04:00