Commit Graph

9869 Commits

Author SHA1 Message Date
Lasse Öörni
09644088b8 Removed the autosyncsource feature from AnimatedModel as it is difficult to ensure that animation LOD updates line up correctly. Manual sync should be used instead.
Added local animation flag for AnimatedModel. When enabled, animation and morph updates will not be sent over network.
Added missing registration of syncAnimation() & syncMorphs() to script.
2011-01-09 16:01:48 +00:00
Lasse Öörni
265239438e Combined script API registration includes to one file.
Optimized quaternion * vector function.
Separated VolumeNode update before octree reinsertion, and the actual reinsertion. Now the update has to be requested explicitly.
Changed animation update. Now also invisible AnimatedModels will update at a low frequency, so that renderer raycasts can be performed on invisible parts of the world with relative accuracy. Headless mode always updates all animated models at full frequency, as there is no concept of visibility.
Removed tracking of whether a skeleton has attached nodes, because it is no longer necessary.
2011-01-09 14:42:50 +00:00
Lasse Öörni
7b7e885515 Changed View related profiling block names.
Simplified the signature of markInView() & isInView().
2011-01-08 19:29:49 +00:00
Lasse Öörni
925512a1f9 Added Channel::getTimePosition().
Simulated sound playback uses the time position to also support compressed sounds.
2011-01-08 16:38:04 +00:00
Lasse Öörni
852cdeef0e Added Signal & Thread classes. Audio is now a Thread subclass.
Removed MutexImpl class. Now the critical section is dynamically allocated instead.
Re-added LOD levels to the Jack model.
2011-01-08 14:58:30 +00:00
Lasse Öörni
46f4938c37 Removed cppunit, because Open Asset Import Library itself does not need it.
Script garbage collection is now one step only on each frame.
Audio thread adjusts its sleep time on how long it took to update (aims for 100 FPS.)
2011-01-08 10:37:10 +00:00
Lasse Öörni
51629b18c6 Added Open Asset Import Library.
Added skeleton of AssetImporter tool.
2011-01-07 17:08:09 +00:00
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