14 Commits
Author SHA1 Message Date
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 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 38aca973db Update visual studio project files 2018-01-23 12:19:51 +01:00
Dr!fter 2b3368e0c0 Update vcxproj. 2016-08-31 11:46:14 -04:00
Dr!fter c95724a9ac Update project files 2016-08-26 19:54:01 -04:00
Dr!fter 76636a84ac Fix AMBuildScript. Update MSVC project file. 2016-06-26 13:01:06 -04:00
Dr!fter 15e6e81f39 Update project files 2016-06-26 10:59:56 -04:00
Dr!fter 4b6664042e Update msvc project. 2015-06-03 14:32:10 -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 f331c3dfaf Add AMBuild 2013-09-01 11:11:38 -04:00
Dr!fter c5b8d2fecb More return struct fixes. Add Vector and Vector * return support. Change vfunc_call to use template. Update makefile 2013-08-28 14:20:20 -04:00
Dr!fter 61c887f042 Update 2013-08-19 22:33:44 -04:00
Dr!fter 2f38de616e Update code add natives and listeners 2013-08-19 11:07:25 -04:00
Dr!fter f9af5e9017 Intial testing 2013-08-15 23:53:38 -04:00