1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-12 00:08:50 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
Pavol Marko
524e0f1629 Fixed vafmt/nonvoid test
vafmt/nonvoid now works on msvc

--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40568
2007-11-19 14:36:42 +00:00
Pavol Marko
84a87208ac Added test for an void (int, double, int) function (in case doubles are aligned on an 8-byte boundary and we don't know about it)
Added tests for vafmt functions with non-void return types (basic, float, object)

--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40567
2007-11-19 13:39:44 +00:00
Pavol Marko
14c51ca8d1 Made testhookmangen easier for the compiler
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40566
2007-11-18 15:08:03 +00:00
Pavol Marko
3de86ccca8 Hookmangen support for vafmt on gcc
Added vafmt_void test to testhookmangen
Recalls should work now with vafmt

--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40564
2007-11-18 11:58:07 +00:00
Pavol Marko
365d5fc5ee Added CProtoInfoBuilder helper class (sourcehook_pibuilder.h)
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40558
2007-11-11 17:35:24 +00:00
Pavol Marko
926a23d0bd Removed old g_Genc stuff and fixed GenContext::Equal
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40556
2007-11-10 16:32:16 +00:00
Pavol Marko
92c795e830 Added IHookManagerAutoGen interface
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40555
2007-11-10 16:10:55 +00:00
Pavol Marko
e9089e6730 POD returns work on GCC
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40549
2007-11-08 18:17:26 +00:00
Pavol Marko
d4bd0261f1 ForcedByRef works; next step will be: returns!
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40548
2007-11-07 16:56:03 +00:00
Pavol Marko
b6f0b74f5b First step to gcc support: it compiles now
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40542
2007-11-02 20:15:19 +00:00
Pavol Marko
b7e00841b0 Completed support for reference returns + added simple test for it
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40539
2007-11-02 12:41:00 +00:00
Pavol Marko
ebf7cf8fee Return type can now also be an object with normal ctor/copy ctor/dtor/assign op
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40537
2007-11-02 00:53:32 +00:00
Pavol Marko
83c51e6cfa Implemented memory returns on MSVC for POD types.
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40536
2007-11-01 17:29:39 +00:00
Pavol Marko
7fa9f150fb First version of automatic hookman/hookfunc generation functionality + test
Currently supports (msvc): all params, ret types: integeral, floating-point
Todo: other rettypes (pod/objects, ctors/dtors), gcc support, integration with ISourceHook::AddHook

--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40532
2007-10-21 21:47:53 +00:00