Thomas "elfprince13" Dickerson
6bbb05e60e
Removed constexpr use to support VS2013
2017-01-10 23:20:48 -05:00
Thomas "elfprince13" Dickerson
45ae5e71cb
fixed lots of tabs and space
2017-01-06 18:04:28 -05:00
Thomas "elfprince13" Dickerson
1eb0134a1f
minor fixes, and converted the type table
2017-01-06 16:36:25 -05:00
Thomas "elfprince13" Dickerson
1eeec6a1f7
TSShapeConstruct commands converted
2017-01-06 16:11:50 -05:00
Thomas "elfprince13" Dickerson
0acdb88494
so many variadics.
2017-01-06 15:45:06 -05:00
Thomas "elfprince13" Dickerson
59672d98ff
Another set of templates converted to be variadic
2017-01-06 14:55:21 -05:00
Thomas "elfprince13" Dickerson
3f6c269f6a
Fixed type inference for nulls in console functions
2017-01-06 14:50:41 -05:00
Thomas "elfprince13" Dickerson
41cb22421b
This commit is broken, but has a lot of important stuff in it. Trying to figure out why my constructor thinks it doesn't take any parameters
2017-01-06 02:14:38 -05:00
Thomas "elfprince13" Dickerson
92e4376b7e
Started variadic templates in engine API
2017-01-05 22:48:23 -05:00
James Urquhart
3f97c2cedd
Fix building on GCC
2015-02-09 16:14:14 +00:00
James Urquhart
4a97054f02
Workaround for GCC/LLVM
2015-02-08 11:22:17 +00:00
James Urquhart
94a46d7123
Regenerate engineAPI.h from a template
2015-02-08 00:08:19 +00:00
James Urquhart
f44a3f27d6
Fix stack balancing problems by refactoring execution calls
...
- Con::executef now uses a template
- All public execution functions now restore the console stack upon return
- Fixed bad parameters on some callbacks
- Reverts get*Arg behavior
2015-02-08 00:08:18 +00:00
Vincent Gee
acb192e2a5
Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro.
2014-11-03 22:42:51 -05:00
Daniel Buckmaster
b507dc9555
Merge branch 'master' into console-func-refactor
...
Conflicts:
Engine/source/app/net/net.cpp
Engine/source/console/astNodes.cpp
Engine/source/console/compiledEval.cpp
Engine/source/console/console.h
Engine/source/console/consoleInternal.h
Engine/source/console/engineAPI.h
2014-10-14 15:09:11 +11:00
LuisAntonRebollo
82bb19e1b5
Fix for error on Clang compiler: reinterpret_cast from 'const void *' to 'FunctionType *' (aka 'void (*)(EngineObject *, const char *, const char *)') casts away qualifiers
...
return R( reinterpret_cast< FunctionType const* >( /*const_cast<void*>*/(mFn) )( mThis, a, b ) );
2014-06-02 02:18:59 +02:00
Thomas Fischer
cd978039ac
Merge pull request #635 from just-bank/engine-fixes
...
Various engine fixes
2014-05-23 14:09:00 +02:00
bank
e7eab10ad5
Corrected the use of #pragma warning()
...
We should use #pragma warning(push/pop) instead of (default: X)
2014-05-06 12:40:41 +04:00
cpusci
4c35fd37af
Simple pass over the codebase to standardize the platform types.
2013-08-04 16:26:01 -05:00
bank
9f2b0bcaf4
Fix engine API copy/paste errors (typo).
2013-02-28 23:50:57 +04:00
jamesu
08d4f6ebc0
Improvements to console refactor code
...
- Prevent stack corruption in a few places
- Use correct type in printfs
- Reduce type conversions in EngineApi & dAto*
- Fix compilation on GCC
- Tidy up code
2012-10-12 19:12:06 +01:00
James Urquhart
38c8e52c1d
Beginnings of the "pass everything using a native type wrapper" console code.
...
- ConsoleValue class is now the base value class.
- ConsoleValueRef is now used to supply function parameters. Values are disposable.
- Script functions return values instead of just strings where possible.
- Variables can be disposable strings
- Bytecode changed
Fix the issues with console method parameters and fields which prevented missions from loading.
2012-10-12 18:56:17 +01:00
DavidWyand-GG
7dbfe6994d
Engine directory for ticket #1
2012-09-19 11:15:01 -04:00