Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
6c1227c4f8 Implemented save for Material.
Refactored material & texture parameter loading.
Modified XMLFile's save() function to fit the new signature.
2011-01-06 21:20:19 +00:00
Lasse Öörni
4e37bbd3cc Added optional save() function to Resource.
Implemented save for Model & Animation.
2011-01-06 18:12:28 +00:00
Lasse Öörni
ec1465adb7 Fixed Z-fail stencil clearing after drawing a split shadowed light.
Removed ResourceCache debug print.
2011-01-06 16:14:05 +00:00
Lasse Öörni
8efc696275 Added #include directive for scripts.
Added note of Resource::load() throwing exception on failure.
2011-01-06 14:13:39 +00:00
Lasse Öörni
a37f84c0a6 Added procedural scripted event handling support.
Reduced the maximum script execution nesting level.
2011-01-05 22:35:35 +00:00
Lasse Öörni
a9bde7738f Use asynchronous scene loading when connecting to a server, so that there is no risk of timeout if the scene takes a long time to load.
Do not render while the scene is being loaded asynchronously.
2011-01-05 20:50:36 +00:00
Lasse Öörni
e488c7a155 Scene throws exception if null file specified for async load.
Made null pointer exceptions and errors more descriptive.
2011-01-04 09:35:39 +00:00
Lasse Öörni
24ef4f94f3 Moved most of the script API registration to Engine library.
Removed static instances from subsystems that do not need them.
2011-01-03 22:57:00 +00:00
Lasse Öörni
ad9edd8e72 Moved NinjaSnowWar audio initialization to script for quick verification of the script API.
Added possibility to transmit a VariantMap of custom login data when connecting to a server.
Added isClient() and isServer() functions to the script API.
ScriptFile::execute() borrows the ScriptEngine's immediate context automatically if a null context is specified.
Changed AngelScript x86 function calls to use EMMS instead of FNINIT to clear the floating point stack, to not affect the floating point control word.
Updated documentation.
2011-01-03 20:49:08 +00:00
Lasse Öörni
526f35bf16 Minor changes to binary formats for consistency.
Documented the binary scene format.
2011-01-03 14:57:40 +00:00
Lasse Öörni
04716f5115 Documentation update. 2011-01-03 00:26:00 +00:00
Lasse Öörni
902dfd4a13 Re-commit for the new year. Let's aim for less wiki update spam this time! 2011-01-02 23:33:36 +00:00