Commit Graph

9836 Commits

Author SHA1 Message Date
Lasse Öörni
312ddc0242 Added repeat flag to delayed method calls.
Added possibility to remove delayed method calls selectively.
Documented delayed method calls.
2012-08-06 10:51:43 +00:00
Lasse Öörni
064842c6da Reset next node/component ID's when scene is cleared. 2012-08-04 15:00:26 +00:00
Lasse Öörni
b52fea0618 Fixed GCC build. 2012-08-03 22:24:26 +00:00
Lasse Öörni
94a4ee958a Fixed comment. 2012-08-03 21:54:40 +00:00
Lasse Öörni
ea2f6e967a Added DelayedStart() script object method to work around missing child scene nodes during Start(). 2012-08-03 21:06:40 +00:00
Lasse Öörni
d38bf9f95f Fixed node list in the editor sometimes scrolling to wrong position after deleting nodes/components. 2012-08-03 18:55:41 +00:00
Lasse Öörni
18f0bc23ee Fixed crash in editor. 2012-08-03 18:21:39 +00:00
Lasse Öörni
eb3af6e90f Animation state editing. Note: is a breaking change to AnimatedModel serialization, due to the extra variable needed! 2012-08-03 15:23:44 +00:00
Lasse Öörni
3d4eb6bdc8 Event refactoring. Removed the concept of targeted events and a Node forwarding a targeted event to all components, which was used only for physics node collision events. Now the node will instead send the collision event, and it can be explicitly subscribed to.
Remote node events specify a sender node instead of a receiver node. The sender connection is always available as an event parameter.
2012-08-03 09:03:02 +00:00
Lasse Öörni
0da5064e27 Added missing animation trigger files. 2012-08-02 21:33:30 +00:00
Lasse Öörni
9d3ead100c Fixed Doxygen comment. 2012-08-02 21:22:02 +00:00
Lasse Öörni
3b67320a49 Added animation trigger event system.
Added ReplaceExtension() utility function to simplify filename manipulation code.
Cleaned up NinjaSnowWar script code. Added particle effect on ninja's footsteps and landing from jump.
2012-08-02 21:19:57 +00:00
Lasse Öörni
ae0259c1e3 Remove nodes/components in Scene destructor before cleaning up the scene object maps. 2012-08-02 09:36:22 +00:00
Lasse Öörni
6dac86e2e7 Added option to disable log timestamps. 2012-08-01 22:27:32 +00:00
Lasse Öörni
76454f0385 Reset old node/component ID's consistently when scene is deleted or when node/component ID conflicts happen, in addition to removing the scene reference. 2012-08-01 13:39:43 +00:00
Lasse Öörni
146cba8bc4 Fixed typos. 2012-07-31 07:00:41 +00:00
Lasse Öörni
bdb060bd7d Moved StringHash to Math library. 2012-07-31 06:31:48 +00:00
Lasse Öörni
e7935ffaf6 Documented the new attribute flags. 2012-07-30 13:37:51 +00:00
Lasse Öörni
9557eb64b4 Added note about moving triangle mesh collision shapes. 2012-07-30 12:59:21 +00:00
Lasse Öörni
cf8d044723 Moved AreaAllocator to Math library. 2012-07-29 23:29:44 +00:00
Lasse Öörni
363e9139de Added possibility to read animation state start bone as String for handcrafted XML files. 2012-07-29 16:05:13 +00:00
Lasse Öörni
ee9809fade Added warning message when triangle mesh or convex hull generation fails due to missing CPU-side (shadowed) geometry data. 2012-07-29 11:58:08 +00:00
Lasse Öörni
e8ac213610 Use String::EMPTY for empty object typename. 2012-07-28 17:28:57 +00:00
Lasse Öörni
8c581bf8bb Cleaned up Doxygen comments. 2012-07-28 16:51:48 +00:00
Lasse Öörni
7b1adbe0f7 Root CMakeLists.txt cleanup. 2012-07-28 16:43:37 +00:00
Lasse Öörni
1b6475ae84 Fixed DecalSet not finding skinned model bones to adjust position. 2012-07-28 13:10:13 +00:00
Lasse Öörni
481fbfa220 Added visible OS mouse cursor mode. When used with an external window, this is the only supported mode, as SDL does not control the cursor visibility of an external window. 2012-07-28 10:38:04 +00:00
Lasse Öörni
4ec5cf6808 Support OpenGL mode external windows through an SDL hack, needs choosing the pixel format manually. 2012-07-28 09:31:05 +00:00
Lasse Öörni
9b8bce8e1c Fixed occlusion buffer constantly resizing itself with some resolutions. 2012-07-27 22:43:15 +00:00
Lasse Öörni
a399726d42 Added experimental Graphics::SetExternalWindow() function. Due to SDL limitations (external windows are not marked OpenGL-capable) will only work on Direct3D9 for now.
Fixed the INTZ depth stencil surface not being resized for new screen mode, which caused rendering to fail if the window was grown larger than initial size.
2012-07-27 21:32:56 +00:00
Lasse Öörni
9830627898 Use a HashMap for client connections internally, but return a Vector in Network::GetClientConnections(). 2012-07-27 13:54:23 +00:00
Lasse Öörni
1ca858cc2a Changed ListView to use PODVector for the selections, and explicitly sort them when necessary.
Circumvented ListView selections set accessor not working by defining it as a method instead.
2012-07-27 12:06:34 +00:00
Lasse Öörni
bf99702437 Fixed OpenGL build. 2012-07-26 22:40:50 +00:00
Lasse Öörni
b86f052689 Fixed using nonexistent member variable in template code. 2012-07-26 22:31:09 +00:00
Lasse Öörni
170ee77019 To avoid confusion when to use what, and as the performance is usually better, use only HashMap & HashSet instead of Map & Set.
Optimized memory use of HashMap/Set to 16 bytes so that it can be stored inside Variant.
2012-07-26 22:22:59 +00:00
Lasse Öörni
ef12e4a769 Added contributions/bugfixes category to the credits. 2012-07-25 07:21:08 +00:00
Lasse Öörni
17734e2fbb Applied OgreImporter patch (not able to find parent for first bone) from Magic.Lixin. 2012-07-25 06:43:07 +00:00
Lasse Öörni
9907e7c997 Changed RandomInt(n) to exclusive for more intuitive use with for example choosing a random index from an array. 2012-07-24 11:33:28 +00:00
Lasse Öörni
978d0d9970 Renamed batch sorting functions for clarity. 2012-07-24 06:30:54 +00:00
Lasse Öörni
41c4eb319f Use more complex but accurate batch sorting, which considers both state and distance, and tries to minimize shader changes. 2012-07-23 22:22:39 +00:00
Lasse Öörni
54dab6404f Fixed setting camera shader parameters redundantly in light prepass material pass.
Calculate number of instances more reliably from the batchgroup geometry type.
2012-07-23 18:45:58 +00:00
Lasse Öörni
088561af13 Compile shader bytecode into separate directories to keep the HLSL source directory clean. 2012-07-23 16:36:38 +00:00
Lasse Öörni
2abfa14236 Removed unnecessary command line argument. 2012-07-23 13:47:27 +00:00
Lasse Öörni
d90dbc0b3f Use a loop to set material textures. 2012-07-23 13:40:16 +00:00
Lasse Öörni
ad2e0154c9 Further tweaks of TestScene lighting. 2012-07-22 20:38:26 +00:00
Lasse Öörni
8fe755e7e6 Do not release resource if it has weak refs.
Exposed function to explicitly reload shaders.
Set a default resource path in the editor (Bin/Data/) so that scene/model import works even without setting a resource path.
2012-07-22 16:46:32 +00:00
Lasse Öörni
a9e9c7c5c5 Readme formatting. 2012-07-22 15:52:13 +00:00
Lasse Öörni
d651239e31 Doxygen formatting. 2012-07-22 15:49:18 +00:00
Lasse Öörni
be28ed3469 Fixed terrain LOD error calculation. 2012-07-22 15:19:52 +00:00
Lasse Öörni
272ba97189 Docs formatting. 2012-07-22 14:28:41 +00:00