phobos2077
66ea6a7609
Simplify function wrapper definitions using macros.
...
Moved all non-wrapper functions to Utils.
Added basic structs for some prototypes.
2016-11-07 22:13:28 +07:00
phobos2077
0efdf7096b
Fixed build errors.
2016-11-07 20:49:39 +07:00
phobos2077
80dad0d5d0
Refactor ScriptExtender: replaced some engine function calls with wrappers, fix code style.
2016-11-07 18:55:13 +07:00
NovaRain
3668a1c94f
Improved the functionality of ProcessorIdle (from Crafty)
2016-11-07 15:04:55 +08:00
NovaRain
5cb3ca2a59
Removed queue9x and vector9x.
...
Disabled ComputeSprayMod by default.
Updated version number.
2016-11-07 10:16:57 +08:00
phobos2077
10ec39ab60
Refactoring ScriptExtender module.
2016-11-07 03:44:25 +07:00
phobos2077
bd7518ca33
Fixed mistake of using constant pointer variables in ASM blocks (resulted in incorrect references in most cases).
...
Now each variable has preprocessor constant with prefix VARPTR_ .
2016-11-07 01:34:35 +07:00
phobos2077
8b264db28a
Moved all engine variable pointers to separate namespace.
...
Replaced all usages of variable defines with variable pointers.
2016-11-07 00:09:12 +07:00
phobos2077
c44ca6adc1
Add some FO enums and tidy up existing ones.
...
Removed accidentally added sublime workspace from repo.
2016-11-06 21:54:28 +07:00
phobos2077
96db48626a
Renamed all engine function wrappers to their original names and moved to separate namespace for code clarity.
2016-11-06 21:20:23 +07:00
phobos2077
7705e43ce4
Moved all function offsets to separate namespace.
2016-11-06 20:33:54 +07:00
phobos2077
8da65a92e9
Merge branch '3.8-maintenance' into develop
2016-11-06 19:43:25 +07:00
phobos2077
4ef88959e3
Moved argument validation to opcodeMetaTable. Now old-style opcode and sfall_funcX scripting functions work almost identical and their handlers can be interchanged.
...
Fixed some bugs with sfall_funcX.
2016-11-06 17:37:25 +07:00
phobos2077
4cc9cb0b83
- Refactor opcode handling.
...
- Made new-style "sfall_funcX" functions compatible with old-style opcodes, this allows to use one handler function to act as both metarule and normal opcode.
- Added table of opcode meta-data.
2016-11-06 16:52:09 +07:00
phobos2077
6eb9a37a07
Simplify function definitions
2016-11-06 15:39:45 +07:00
phobos2077
363d7a1cc5
Rename types in function references for consistency and clarity.
2016-11-06 00:56:59 +07:00
phobos2077
d9d86e3fe4
Added macros for new scripting functions
2016-11-06 00:32:28 +07:00
phobos2077
6290effd93
Merge branch '3.8-maintenance' into develop
2016-11-06 00:16:28 +07:00
phobos2077
ce1fd719cf
Limit maximum string length for arrays to prevent certain strange crashes
2016-11-06 00:15:25 +07:00
phobos2077
1595d75f7c
Added docs for new opcodes and scripting functions
2016-11-06 00:14:25 +07:00
phobos2077
f3209d282d
Removed fallout2.cpp
2016-11-05 23:35:52 +07:00
phobos2077
a05d440ad6
Get rid of warnings in Movie.cpp
2016-11-05 23:35:13 +07:00
phobos2077
87e28277ad
Moved engine Functions, Variables and Wrappers into separate files;
...
Added most function offsets from Fallout2.exe
2016-11-05 22:19:21 +07:00
phobos2077
935f7ead89
Removed queue9x and vector9x
2016-11-05 20:20:12 +07:00
phobos2077
84042f1736
New folder and project structure #7 ;
...
Removed vector9x and queue9x;
Reorganized some includes.
2016-11-05 20:19:34 +07:00