Lasse Öörni
217682a696
Require Ogre .mesh.xml & .skeleton.xml files to have correctly named root elements.
2013-03-31 10:46:16 +00:00
Wei Tjong Yao
89bc93069a
Refactored EditorUI.as to use funcdef callback for menu handling.
2013-03-31 08:42:34 +00:00
Wei Tjong Yao
8bdd0d7a5b
Added new file for the UI element editor.
2013-03-31 01:50:05 +00:00
Lasse Öörni
31abcd7158
Fixed warning & off-by-one error.
2013-03-30 22:44:04 +00:00
Lasse Öörni
6a7ffdcd19
Updated to newest AssImp from git repository.
...
Fixed File::GetChecksum() logging numerous errors if file open in write mode. This prevented AssetImporter scene mode from working properly.
Fixed DocConverter asserting in debug mode. Added safe IsAlpha() & IsDigit() functions to StringUtils and exposed them to script.
2013-03-30 22:35:11 +00:00
Lasse Öörni
1c533b5611
Fixed camera position incorrectly depending on view angle in CharacterDemo first person mode.
2013-03-30 19:41:39 +00:00
Lasse Öörni
3539fcd26e
Improved the final error message printed when an include file is missing.
...
Split CharacterDemo into multiple files.
Fixed missing VectorBuffer.h include in AnimationController.h.
2013-03-30 18:56:53 +00:00
Wei Tjong Yao
29b23c16d9
Cleanup source code indentation.
2013-03-30 14:11:05 +00:00
Wei Tjong Yao
75df330fe3
Started work on UI element editor, pardon the dust. Added 'traversalMode' property to UIElement and exposed it to ScriptAPI to control the children UI batches generation. Enhanced Scene to safe keep the filename used in last serialization, fixed to perform a Clear() before Load()/LoadXML(). Exposed String's Clear() method to Script API. Fixed ListView to insert multiple top-level items in hierarchy mode correctly.
2013-03-30 13:59:47 +00:00
Lasse Öörni
895f909297
Include cleanup.
2013-03-30 00:54:14 +00:00
Lasse Öörni
dde474149f
Fixed camera raycast when character has back to wall.
2013-03-30 00:23:33 +00:00
Lasse Öörni
47438c4a35
Set character & static objects on different physics collision layers so that the camera raycast does not hit the character mistakenly.
2013-03-30 00:04:28 +00:00
Lasse Öörni
6fbd76183b
Comment cleanup. Use a WeakPtr for the character because the scene already owns it.
2013-03-29 23:49:08 +00:00
Lasse Öörni
1d60bc59fa
Added check to ListView to see if has been destroyed as a response to the selection event.
...
Added CharacterDemo C++ example to Extras.
Improved the QuickStart in C++ to be cross-platform.
2013-03-29 23:40:51 +00:00
Wei Tjong Yao
4f0fad1d54
Fixed the copy paste error which caused an inbalance in the layout update control.
2013-03-29 17:26:25 +00:00
Lasse Öörni
8aee95c85b
Fixed editor doing always a fullupdate on attributes (caused a crash as ListView was destroyed while it was sending the selection event.)
...
Fixed LOD mode in AssetImporter not saving vertex & index buffers.
2013-03-29 16:01:59 +00:00
Lasse Öörni
62e3d47f6b
Added option to ParseArguments() to not skip the first argument.
2013-03-29 12:04:56 +00:00
Wei Tjong Yao
aa820590fb
Fixed the Editor crash when selecting node and scene at the same time in the Hierarchy window.
2013-03-28 16:33:57 +00:00
Wei Tjong Yao
06f3580948
Enhanced the Attribute Inspector to show the 'Is Enabled' check box on the node/component 'title bar' instead of in the attribute list; and small refactoring to reduce the number of parameters being passed in a number of functions. Refactored to modify AttributeInfo's name to become a String. Exposed 'internal' property of UIElement to Script API. Enhanced Text class so that it renders the selected text being hovered by mouse a little differently than those without.
2013-03-28 11:00:18 +00:00
Lasse Öörni
f226c4bc4a
Added equality operators for Matrix classes.
2013-03-27 21:27:51 +00:00
Lasse Öörni
1930041147
Optimization: DecalSet & ScriptInstance unsubscribe from scene update when disabled.
2013-03-27 17:30:10 +00:00
Wei Tjong Yao
aea4ca178c
Fixed the Editor so it does not change the opacity of the 'popup' window (e.g. menu popup or file selector) when hiding the UI. The string representation of the accel key is now auto computed instead of passing by parameter manually.
2013-03-27 11:14:02 +00:00
Wei Tjong Yao
827035e36e
Fixed the UIElement to perform the parent's UpdateLayout() when an element's indent or indentSpacing is changed. Fixed the UIElement from altering the child element's alignment during UpdateLayout(). Enhanced Editor to show menu accelerator keys in the menu popup. Replaced the accel key for attribute inspector window to 'Ctrl+I' to match its current window name. Added accel key for new scene menu item.
2013-03-27 09:02:10 +00:00
Wei Tjong Yao
a26fe6eba0
Updated the comment and moved back audio initialization to before scene initialization as it does not depends on it once more.
2013-03-27 06:07:00 +00:00
Lasse Öörni
251e31eb23
Update also attributes when updating node icons, to ensure the "Is Enabled" checkboxes are in sync.
2013-03-27 00:10:05 +00:00
Lasse Öörni
d35f3b5035
Removed duplicate error message from ScriptCompiler when script compilation fails.
...
Removed the "None" constraint & collision shape type for editing convenience. Note: Either the SetBox() etc. functions or ApplyAttributes() needs to be called to create the initial shape. This is to prevent a dummy shape first being created on scene load, then immediately being destroyed.
Do not debug draw disabled components.
Fixed music cutting off in networked NinjaSnowWar.
Fixed signed/unsigned mismatch in LightTest script code.
2013-03-26 22:23:39 +00:00
Lasse Öörni
f5b837f460
Exposed recursive SetEnabled() differently, to match convention of the rest of recursive Node functions and eliminate code duplication.
...
Added Ctrl+E in editor to toggle enabled/disabled state of selected node hierarchies and components.
2013-03-26 21:23:15 +00:00
Lasse Öörni
e037de8c74
Added Enable/Disable flag for RigidBody.
...
Reduced GCC optimization level to -O2 for stability.
2013-03-26 18:54:15 +00:00
Lasse Öörni
305ab9a5f4
Fixed Physics example.
2013-03-26 17:00:19 +00:00
Lasse Öörni
5a6ff56b1e
Added Enable flag to CollisionShape & Constraint (RigidBody still missing.)
...
Draw CollisionShape debug geometry in white if its associated RigidBody is active.
Set plane CollisionShape plane parameter to a fixed 0, as it can be offsetted using offset position/rotation, like other shapes.
2013-03-26 16:58:23 +00:00
Wei Tjong Yao
ec4db66a46
When node or component has mixed enabled state, show the icon with mixed color also.
2013-03-26 09:41:21 +00:00
Lasse Öörni
3cbf2cd402
Detach AnimationController & ParticleEmitter from the scene post-update when disabled.
2013-03-26 08:37:07 +00:00
Lasse Öörni
eabed117ac
Fixed the terrain example for new convention.
2013-03-26 07:53:09 +00:00
Wei Tjong Yao
c3f4906bd0
Fixed the NinjaSnowWar demo to 'attach' the BGM SourceSource component to the main scene node to make it (effectively) enabled.
2013-03-26 05:39:38 +00:00
Wei Tjong Yao
2a4a089fc1
Detached component is considered as not enabled effectively regardless of its own enabled flag. Tweaked the 'expansion triangle' icon.
2013-03-26 05:11:46 +00:00
Lasse Öörni
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
...
Do not transmit hover to input-disabled UI elements.
Documented the node/component enable/disable mechanism.
2013-03-26 00:37:02 +00:00
Lasse Öörni
9be174c473
Disabled Camera does not render.
...
Disabled SoundListener does not hear 3D sounds.
2013-03-25 22:43:57 +00:00
Lasse Öörni
5b2d3bc430
Icon tweaks.
2013-03-25 21:50:32 +00:00
Lasse Öörni
b21a1ed0aa
Fixed LightTest.
2013-03-25 21:09:55 +00:00
Lasse Öörni
af8825047a
Started work on node/component enable & disable.
...
Converted Drawable components to use the Enabled flag (replaces Visible attribute.)
Converted ScriptInstance to use the Enabled flag.
Converted SoundSource & SoundSource3D to use the Enabled flag.
Show disabled node/component icons in red.
2013-03-25 21:02:35 +00:00
Lasse Öörni
978f098841
Tweaked the terrain icon.
2013-03-25 17:45:42 +00:00
Lasse Öörni
f8e309a07d
Added initial editor icons.
2013-03-25 17:36:00 +00:00
Wei Tjong Yao
30ec39c8e3
Updated Editor to support iconized texts. Removed redundant code.
2013-03-25 12:59:28 +00:00
Lasse Öörni
b865108ecd
Applied patch for poor CPU performance on MinGW builds.
2013-03-25 12:35:54 +00:00
Wei Tjong Yao
141ef101a9
Fixed a few issues in Editor: reselect the nodes back after unparenting; correct the child components and nodes insertion index after unparenting or dragdropfinishing; removed duplicate call to update node attributes.
2013-03-25 07:43:57 +00:00
Lasse Öörni
a3c66ca360
Detect sRGB capability also on Direct3D9.
...
Detect sRGB sampling & writing capability separately.
2013-03-24 23:56:19 +00:00
Lasse Öörni
6b6ab3da74
Fixed sRGB flag in renderpath RT definitions not being taken into account.
2013-03-24 23:25:29 +00:00
Lasse Öörni
6fe17dd966
Documentation and wiki update.
2013-03-24 23:07:58 +00:00
Lasse Öörni
5cda61c090
OpenGL sRGB framebuffer write mode.
...
If sRGB mode changed on a OpenGL Texture after it has already been created, recreate.
2013-03-24 22:45:41 +00:00
Lasse Öörni
3068d3c46c
Fixed D3D9 build.
2013-03-24 21:32:14 +00:00