Commit Graph

10202 Commits

Author SHA1 Message Date
Lasse Öörni
6531fa08d5 Moved Controls to Network library.
Fixed async scene loading.
Fixed crashes if two scene nodes were created with the same ID.
2011-05-12 12:41:16 +00:00
Lasse Öörni
a67db4ba05 Async scene loading support. 2011-05-11 21:25:39 +00:00
Lasse Öörni
39eefa5cd0 Adjusted function order. 2011-05-11 18:48:18 +00:00
Lasse Öörni
62c9aa3d9c Added local node & component ID's in preparation to networking.
Split rendering documentation on several pages.
2011-05-10 21:09:03 +00:00
Lasse Öörni
9dd15c95e2 DynamicCast to UIElement when creating layouts, because the returned object could theoretically be a Component or Resource as well.
Changed object typename & attribute infos to store std::strings instead of C strings.
Improved error reporting in attribute access.
2011-05-10 13:35:40 +00:00
Lasse Öörni
b56a1cd1fb Fixed memory leak in convex hull generation. 2011-05-10 07:56:01 +00:00
Lasse Öörni
df7db18c8e Updated third-party library information in Readme.txt. 2011-05-10 06:23:00 +00:00
Lasse Öörni
bcd3329c60 Code cleanup. 2011-05-09 22:25:16 +00:00
Lasse Öörni
cae6b1eff5 Replaced as_callfunc_x86.cpp with unmodified version from the SDK. 2011-05-09 20:01:29 +00:00
Lasse Öörni
3be29ceb0c Removed the ACCESSORS workaround for reference type value properties as it's no longer needed. 2011-05-09 19:44:48 +00:00
Lasse Öörni
cb68328d06 Updated to AngelScript 2.20.3 WIP.
Fixed crashes with script value types and GCC.
Implemented default arguments in script API.
2011-05-09 19:32:39 +00:00
Lasse Öörni
97d698e922 Code cleanup.
Minor documentation update.
2011-05-09 16:10:45 +00:00
Lasse Öörni
a71d4d7b0e Added mention of AnimationController to the documentation. 2011-05-08 18:24:16 +00:00
Lasse Öörni
37f696be12 Added rest of the reference documentation. 2011-05-08 17:24:13 +00:00
Lasse Öörni
020232744a Even more documentation. 2011-05-08 12:20:22 +00:00
Lasse Öörni
9a5cbb6016 More documentation.
Tweaked NinjaSnowWar difficulty.
Moved CreateObject from Object to Context.
Made EventHandler & AnimationState RefCounted to simplify memory management.
2011-05-07 22:44:40 +00:00
Lasse Öörni
3979d4bbb7 Updated ODE to svn rev 1806. 2011-05-07 17:54:47 +00:00
Lasse Öörni
6098409700 Upgraded to ENet 1.3.1.
Disabled buffer security checks for smaller executable size.
Removed deprecated ODE files.
2011-05-07 16:25:25 +00:00
Lasse Öörni
fe56f0118b Renamed the UserData VariantMap in UIElement to Vars, to distinguish from low-level userdata that is typically a pointer. Added same VariantMap to Node. 2011-05-07 10:51:38 +00:00
Lasse Öörni
b8155e9558 Added support for ALT qualifier.
Fixed LineEdit input when ALT-GR held down.
2011-05-07 10:00:13 +00:00
Lasse Öörni
5f3e34a7d5 Comments & attribute macro cleanup. 2011-05-06 22:45:30 +00:00
Lasse Öörni
b64d298336 Added template Variant::Get() functions.
Added Serializable accessor attributes, for which Get & Set functions are provided instead of variable offset.
Cleaned up PhysicsWorld & RigidBody serialization code by using accessor attributes.
2011-05-06 22:32:05 +00:00
Lasse Öörni
0b33502ce4 Expose all bone properties (except animation enable) as read-only, as they won't be serialized. 2011-05-06 12:58:24 +00:00
Lasse Öörni
b5a43134a9 Simplified AnimationController API.
Merged the concept of AnimationState priority and AnimationController group. It is now called 'layer'.
Added ScriptInstance methods & properties as global to make ScriptInstance appear more as if it and the script object are the same.
2011-05-05 20:09:42 +00:00
Lasse Öörni
74993d525e Added ID code to binary scenes.
Re-added application post-update event. Currently used by UI.
2011-05-05 06:44:13 +00:00
Lasse Öörni
dbebed33c4 Fixed bug with setting only the minimum Text width when the text changes. 2011-05-04 21:51:28 +00:00
Lasse Öörni
caa4017416 Fixed Billboard & Bone property set access.
Renamed animationEnabled_ in Bone to animated_.
2011-05-04 21:44:44 +00:00
Lasse Öörni
ee9b6232c1 Added readme for the BlueHighway font. 2011-05-04 11:17:26 +00:00
Lasse Öörni
2a986cf8e3 Quickstart wording tweaks. 2011-05-04 07:14:49 +00:00
Lasse Öörni
a7a458b3a9 Script API registration cleanup: asMETHODPR changed to asMETHOD where possible.
Added Remove() to Component & Node & UIElement; before it was script-only.
Renamed FrameUpdate back to FrameInfo.
Documentation update.
2011-05-04 07:05:26 +00:00
Lasse Öörni
2a6c10874c Documentation structure and Getting Started-documentation.
Fixed deletion of object, if no shared pointer to it existed previously, and it sent an event.
Fixed threading issue with objects' static type names. Now they are defined inside OBJECTTYPESTATIC macro as well.
Fixed Engine crash when running without the script system.
2011-05-03 23:17:15 +00:00
Lasse Öörni
9d4deaf853 AnimationController functions refactoring.
Documentation update.
Moved Engine scripting initialization to a separate function. This will result in significantly smaller executable if skipped.
Fixed ErrorDialog() when called from script.
2011-05-03 14:47:02 +00:00
Lasse Öörni
5d033b7f62 Moved Urho3D.dox into the Docs subdirectory. 2011-05-03 06:59:06 +00:00
Lasse Öörni
f2d02bb275 Added initial Doxygen-based documentation pages. 2011-05-02 21:27:37 +00:00
Lasse Öörni
20cfc26070 Added vertex color techniques for deferred & light prepass rendering. 2011-05-02 19:38:09 +00:00
Lasse Öörni
e5867952a9 Added a search cache for engine API AngelScript object types. 2011-05-02 18:22:32 +00:00
Lasse Öörni
c928ee04f3 Added epsilon to Vector, Quaternion & Color equality compare.
Fixed slight camera stuttering when rotating in NinjaSnowWar.
2011-05-02 15:50:31 +00:00
Lasse Öörni
8cc3b18944 Use Set/Get functions in AnimationController instead of properties for consistency. 2011-05-02 11:09:01 +00:00
Lasse Öörni
7c45da5588 Import new code.
Coding convention changed.
Large refactoring of the object model, scene model and script API.
Rendering improvements, including automatic instancing.
High-level network protocol and scene editor need reimplementation.
2011-05-02 06:21:40 +00:00
Lasse Öörni
a48885a729 Make way for import of new code. 2011-05-02 06:11:00 +00:00
Lasse Öörni
04f5ab2271 Fixed Zone's isInside() test. 2011-04-08 17:53:07 +00:00
Lasse Öörni
f0fecccacb Removed unused Matrix operations.
Optimized defining a Matrix4x3 transform.
2011-03-20 15:23:37 +00:00
Lasse Öörni
d8f7e6a688 Renamed Quaternion definition methods to define() to match the convention of Matrix, BoundingBox etc. 2011-03-20 13:58:24 +00:00
Lasse Öörni
61f9f5e38c Added matrix decomposition and construction of quaternion from a rotation matrix. 2011-03-20 13:36:08 +00:00
Lasse Öörni
7b8b7d9fd5 Fixed invisible animated objects always updating. 2011-03-20 10:43:09 +00:00
Lasse Öörni
1009db5487 Optimized light prepass to use only the g component of light shape texture for specular strength. 2011-03-15 07:54:43 +00:00
Lasse Öörni
7b5c761d20 Fixed erroneous specular lighting outside the light cone in prepass rendering. 2011-03-15 00:02:20 +00:00
Lasse Öörni
8659977c52 GCC fixes. 2011-03-14 23:47:24 +00:00
Lasse Öörni
9d9d7ec870 VS2010 fixes. 2011-03-14 22:53:48 +00:00
Lasse Öörni
bdf76d2445 Refactored ScriptInstance recreation when the ScriptFile is reloaded. Now it uses events. Same system used also for CollisionShapes and Models to ensure proper reloading.
Added possibility to get primitive & batchcount from the Pipeline. This will only include the actual 3D scene statistics, not UI or debug geometry.
Fixed import of model in the editor in case the Models subdirectory did not exist yet.
Fixes to handling of root derived transforms in AssetImporter.
Renamed the NinjaSnowWar scene.
2011-03-14 22:29:07 +00:00