Commit Graph

10192 Commits

Author SHA1 Message Date
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
Lasse Öörni
c593231dae Editor documentation update. 2011-03-14 07:40:37 +00:00
Lasse Öörni
480e0a07c1 Save/load editor settings.
Support for stop() function in the Urho3D Shell. This will be run at application exit.
2011-03-14 07:32:22 +00:00
Lasse Öörni
eb319a77c9 Added octree debug display to NinjaSnowWar. 2011-03-13 23:54:14 +00:00
Lasse Öörni
bb39d663c9 Camera settings dialog expanded to be a general editor settings dialog.
Added object move/rotate/scale by ctrl + arrow keys.
Math script API additions.
Merged the license texts of different libraries into License.txt.
2011-03-13 23:43:45 +00:00
Lasse Öörni
3b386cea6c Fixed NinjaSnowWar enemy aiming. 2011-03-13 19:04:04 +00:00
Lasse Öörni
23152b4d58 Improved asset import directly invokable from the editor.
Fixed octree octants not always getting deleted when empty.
Fixed memory corruption when closing the file selector with the buttons.
API improvements.
Doxygen documentation fixes.
2011-03-13 18:17:26 +00:00
Lasse Öörni
a3150b5f11 Fixed lockup in removeResourcePath().
Fixed editor UI element priorities.
Added closebutton to the file selector.
Menus with popup activate from mouse press, not release.
Editor status display is split on two rows if width is less than 1024.
Increased default resolution to 800x600.
Removed test UI layouts.
2011-03-11 21:04:20 +00:00
Lasse Öörni
1f5d0e69a1 Skip physics collisionshape reloading, which causes crash at the moment. 2011-03-11 03:46:50 +00:00
Lasse Öörni
d0a73ddd25 Added twosided default materials.
Added simple "avatar" demo (character movement without NinjaSnowWar game)
Fixed masked shadowcaster material.
API fixes & additions.
Rudimentary Tundra (.txml) scene import option in the editor.
2011-03-11 03:29:07 +00:00
Lasse Öörni
0840721ef0 More editor features.
Added F5-save to both GraphicsTest & script-remake of NinjaSnowWar.
Clamped cascaded shadows far distance to camera far clip.
Fixed "live" octree resize.
Fixed wrong savefile extension in documentation and some code, .dat is the proper extension.
2011-03-10 22:48:56 +00:00