35c2d83370Added code to collect navigation mesh geometry. Added Recast/Detour build parameters to NavigationMesh. Register navigation components to script.
Lasse Öörni
2013-04-04 22:31:22 +0000
d5ddc3b3d6Implemented 'Create new UI Element' functionality in the editor with undo/redo support. Some cosmetic changes in editor. Enhanced UI Script API to be able to define element event sender. Enhanced Menu to auto popup child menu when parent menu item is being hovered.
Wei Tjong Yao
2013-04-04 18:00:52 +0000
b2ac526678Added missing files.
Lasse Öörni
2013-04-04 11:37:36 +0000
08075f0915Reversed if's in Variant code to favor the correct type. Added non-const Variant functions to get modifiable collection objects (buffer, variant vector, variant map.) Added Recast & Detour libraries. Added skeleton of a Navigation library & component, no functionality yet.
Lasse Öörni
2013-04-04 07:49:18 +0000
4fd43cc290Check for quadratic / linear attenuation being zero.
Lasse Öörni
2013-04-03 20:29:31 +0000
8adee0c3fdSupport lights in AssetImporter scene mode (untested.) Support lightmapped materials in AssetImporter (untested.)
Lasse Öörni
2013-04-03 19:19:52 +0000
ba1eb8ef11Added lightmapped LitSolid shader variation. Fixed enviroment mapping not being affected by fog in deferred mode.
Lasse Öörni
2013-04-03 17:30:39 +0000
fad0ce5a3fFixed loading child UIElement.
Wei Tjong Yao
2013-04-03 16:56:47 +0000
3599b1e038Fixed the editor crash when recreating var with existing var name. Fixed editing problem with multi-coordinate user-defined variable (Vector3 and Color).
Wei Tjong Yao
2013-04-03 15:50:47 +0000
eead67f02bFixed handling of user-defined variables for UIElement in attribute inspector, hide editor internal variables (id, filename, modification flag).
Wei Tjong Yao
2013-04-03 13:17:49 +0000
b492108ff0Fixed missing enum attribute list null termination for Text.
Lasse Öörni
2013-04-03 11:08:44 +0000
7d5fbf6759Created new event for UIElement name changed. Enhanced Hierarchy window to update the list item when the UIElement's 'Name' and 'Is Visible' attribute value changes. Changed editor to ignore other shortcut keys (except ESC) when file selector is modal.
Wei Tjong Yao
2013-04-03 10:25:13 +0000
2349fabdb4Modified ESC key handling to give priority to dismiss file selector when it is displayed.
Wei Tjong Yao
2013-04-03 07:46:02 +0000
030454b57fCleaned up the code.
Wei Tjong Yao
2013-04-03 07:31:36 +0000
edc8e78aa6Cleanup the code.
Wei Tjong Yao
2013-04-03 07:12:35 +0000
835da8b073Fixed missing undo action for importing a model.
Lasse Öörni
2013-04-02 20:43:03 +0000
c3f36b0886Fixed missing undo action for pasting a component.
Lasse Öörni
2013-04-02 20:38:49 +0000
ae9fd63bacRemoved unnecessary enum from undo actions. Fixed UIElement editor targets not getting correctly retrieved. Enable undo/redo of UIElement attributes.
Lasse Öörni
2013-04-02 20:28:26 +0000
1a98b50646Undo actions for attribute edit, node/component enable and gizmo drag.
Lasse Öörni
2013-04-02 19:49:18 +0000
8c6808d237When have multi-selection of mixed UIElement types, hides the non-common attribute editors.
Wei Tjong Yao
2013-04-02 17:58:37 +0000
9f2c01a1ccUndo actions for component create & remove. Store undo actions for instantiating builtin or loaded nodes.
Lasse Öörni
2013-04-02 17:47:08 +0000
4b8aab55f7Reverted attribue editor count logic as it does not work for all cases.
Wei Tjong Yao
2013-04-02 17:34:46 +0000
3bb6fd5f40Adjusted attribute editor count when the editor is being removed.
Wei Tjong Yao
2013-04-02 17:27:32 +0000
c999748ceaFixed multi-selection of mixed UIElement type.
Wei Tjong Yao
2013-04-02 17:13:05 +0000
5375254f0bExposed functions to create nodes & components with specified IDs. This should make it unnecessary to handle ID rewriting in undo/redo.
Lasse Öörni
2013-04-02 16:55:08 +0000
eb54a29d8fCheck that modal element is parented to root, as the input exclusion does not work right otherwise. Allow currently modal element to unset its own modal status.
Lasse Öörni
2013-04-02 15:45:50 +0000
49b7b15ea6Implement GetElementAt() exclusion with modal element without dynamic allocation. Fixed popup element of a modal window not getting input. GetVar() code shortening.
Lasse Öörni
2013-04-02 15:29:11 +0000
a76a3b1ab7Reordered UIElement's attributes, common attributes got registered first. Enhanced Attribute Inspector to show UIElement's attributes for single selection case. Multiple selection is still WIP.
Wei Tjong Yao
2013-04-02 14:19:35 +0000
58aaf96eebReverted back partial changes in the Editor.
Wei Tjong Yao
2013-04-02 04:40:34 +0000
738eef3de9Revert back partial changes in the Editor.
Wei Tjong Yao
2013-04-02 04:23:57 +0000
de9b19d6d4Script subsystem prints the stack strace automatically on exception.
Wei Tjong Yao
2013-04-02 04:21:42 +0000
276bbb1590Updated documentation.
Wei Tjong Yao
2013-04-02 03:49:55 +0000
e086e23383Added PrintCallStack() function to script.
Wei Tjong Yao
2013-04-02 03:48:46 +0000
ca227d27f3Exposed the Window's modal shade color as property to Script and as attribute. Adjusted the shade color to match the default style theme.
Wei Tjong Yao
2013-04-02 01:50:42 +0000
ec0658f1feReverted back changes in UI.cpp. Reapplied back the logic to Window.cpp so it could shade other UI elements as well.
Wei Tjong Yao
2013-04-02 01:18:57 +0000
80794575adShade the UI root element when it has a modal element set to make it more stands out.
Wei Tjong Yao
2013-04-02 00:56:37 +0000
4945c612f8Started work on undo/redo. Attribute editing & component add/remove not undoable yet. Ensure that node or component IDs are never reused.
Lasse Öörni
2013-04-02 00:35:30 +0000
188867739cFixed hierarchy window not updating correctly when component is removed.
Lasse Öörni
2013-04-02 00:17:45 +0000
2bf7facaa7Laying the groundwork in the Attribute Inspector for showing the UIElement's attributes (still need more work). Enhanced UI subsystem to support modal element, currently only support modal Window. Exposed a new Variant readonly property to test for 'empty' variant. New UIElement's method to get a child by matching the child's user-defined variant map and exposed it to script, also exposed the existing GetVar() method to script.
Wei Tjong Yao
2013-04-01 16:04:41 +0000
0705a15c11Further small fixes to the main loop documentation.
Lasse Öörni
2013-04-01 15:22:55 +0000
9532e7fdd1Renamed documentation page.
Lasse Öörni
2013-04-01 15:14:59 +0000
a963ce7d37Documented missing LogName parameter.
Lasse Öörni
2013-04-01 14:54:03 +0000
b28621a3a4Documented engine initialization parameters.
Lasse Öörni
2013-04-01 14:33:38 +0000
3803983c3bFixed Assimp's BoostWorkAround for GCC.
Lasse Öörni
2013-03-31 23:19:33 +0000
42448b8924Updated to AngelScript 2.26.2. Small fixes to "Quickstart in C++" documentation.
Lasse Öörni
2013-03-31 22:09:28 +0000
34df8b5e82Fixed headless mode. Allow StringHash & ShortStringHash to be constructed implicitly. Code cleanup related to the above.
Lasse Öörni
2013-03-31 21:41:50 +0000
ce562fb894Refactored Engine to use a startup parameters VariantMap. Enhanced VariantMap to accept indexing via strings.
Lasse Öörni
2013-03-31 13:14:21 +0000
217682a696Require Ogre .mesh.xml & .skeleton.xml files to have correctly named root elements.
Lasse Öörni
2013-03-31 10:46:16 +0000
89bc93069aRefactored EditorUI.as to use funcdef callback for menu handling.
Wei Tjong Yao
2013-03-31 08:42:34 +0000
8bdd0d7a5bAdded new file for the UI element editor.
Wei Tjong Yao
2013-03-31 01:50:05 +0000
31abcd7158Fixed warning & off-by-one error.
Lasse Öörni
2013-03-30 22:44:04 +0000
6a7ffdcd19Updated 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.
Lasse Öörni
2013-03-30 22:35:11 +0000
1c533b5611Fixed camera position incorrectly depending on view angle in CharacterDemo first person mode.
Lasse Öörni
2013-03-30 19:41:39 +0000
3539fcd26eImproved the final error message printed when an include file is missing. Split CharacterDemo into multiple files. Fixed missing VectorBuffer.h include in AnimationController.h.
Lasse Öörni
2013-03-30 18:56:53 +0000
29b23c16d9Cleanup source code indentation.
Wei Tjong Yao
2013-03-30 14:11:05 +0000
75df330fe3Started 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.
Wei Tjong Yao
2013-03-30 13:59:47 +0000
895f909297Include cleanup.
Lasse Öörni
2013-03-30 00:54:14 +0000
dde474149fFixed camera raycast when character has back to wall.
Lasse Öörni
2013-03-30 00:23:33 +0000
47438c4a35Set character & static objects on different physics collision layers so that the camera raycast does not hit the character mistakenly.
Lasse Öörni
2013-03-30 00:04:28 +0000
6fbd76183bComment cleanup. Use a WeakPtr for the character because the scene already owns it.
Lasse Öörni
2013-03-29 23:49:08 +0000
1d60bc59faAdded 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.
Lasse Öörni
2013-03-29 23:40:51 +0000
4f0fad1d54Fixed the copy paste error which caused an inbalance in the layout update control.
Wei Tjong Yao
2013-03-29 17:26:25 +0000
8aee95c85bFixed 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.
Lasse Öörni
2013-03-29 16:01:59 +0000
62e3d47f6bAdded option to ParseArguments() to not skip the first argument.
Lasse Öörni
2013-03-29 12:04:56 +0000
aa820590fbFixed the Editor crash when selecting node and scene at the same time in the Hierarchy window.
Wei Tjong Yao
2013-03-28 16:33:57 +0000
06f3580948Enhanced 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.
Wei Tjong Yao
2013-03-28 11:00:18 +0000
f226c4bc4aAdded equality operators for Matrix classes.
Lasse Öörni
2013-03-27 21:27:51 +0000
1930041147Optimization: DecalSet & ScriptInstance unsubscribe from scene update when disabled.
Lasse Öörni
2013-03-27 17:30:10 +0000
aea4ca178cFixed 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.
Wei Tjong Yao
2013-03-27 11:14:02 +0000
827035e36eFixed 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.
Wei Tjong Yao
2013-03-27 09:02:10 +0000
a26fe6eba0Updated the comment and moved back audio initialization to before scene initialization as it does not depends on it once more.
Wei Tjong Yao
2013-03-27 06:07:00 +0000
251e31eb23Update also attributes when updating node icons, to ensure the "Is Enabled" checkboxes are in sync.
Lasse Öörni
2013-03-27 00:10:05 +0000
d35f3b5035Removed 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.
Lasse Öörni
2013-03-26 22:23:39 +0000
f5b837f460Exposed 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.
Lasse Öörni
2013-03-26 21:23:15 +0000
e037de8c74Added Enable/Disable flag for RigidBody. Reduced GCC optimization level to -O2 for stability.
Lasse Öörni
2013-03-26 18:54:15 +0000
305ab9a5f4Fixed Physics example.
Lasse Öörni
2013-03-26 17:00:19 +0000
5a6ff56b1eAdded 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.
Lasse Öörni
2013-03-26 16:58:23 +0000
ec4db66a46When node or component has mixed enabled state, show the icon with mixed color also.
Wei Tjong Yao
2013-03-26 09:41:21 +0000
3cbf2cd402Detach AnimationController & ParticleEmitter from the scene post-update when disabled.
Lasse Öörni
2013-03-26 08:37:07 +0000
eabed117acFixed the terrain example for new convention.
Lasse Öörni
2013-03-26 07:53:09 +0000
c3f4906bd0Fixed the NinjaSnowWar demo to 'attach' the BGM SourceSource component to the main scene node to make it (effectively) enabled.
Wei Tjong Yao
2013-03-26 05:39:38 +0000
2a4a089fc1Detached component is considered as not enabled effectively regardless of its own enabled flag. Tweaked the 'expansion triangle' icon.
Wei Tjong Yao
2013-03-26 05:11:46 +0000
5830f0e5d1Convention change: prefer Enabled instead of Active where possible. Do not transmit hover to input-disabled UI elements. Documented the node/component enable/disable mechanism.
Lasse Öörni
2013-03-26 00:37:02 +0000
9be174c473Disabled Camera does not render. Disabled SoundListener does not hear 3D sounds.
Lasse Öörni
2013-03-25 22:43:57 +0000
5b2d3bc430Icon tweaks.
Lasse Öörni
2013-03-25 21:50:32 +0000
b21a1ed0aaFixed LightTest.
Lasse Öörni
2013-03-25 21:09:55 +0000
af8825047aStarted 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.
Lasse Öörni
2013-03-25 21:02:35 +0000
978f098841Tweaked the terrain icon.
Lasse Öörni
2013-03-25 17:45:42 +0000
f8e309a07dAdded initial editor icons.
Lasse Öörni
2013-03-25 17:36:00 +0000
30ec39c8e3Updated Editor to support iconized texts. Removed redundant code.
Wei Tjong Yao
2013-03-25 12:59:28 +0000
b865108ecdApplied patch for poor CPU performance on MinGW builds.
Lasse Öörni
2013-03-25 12:35:54 +0000
141ef101a9Fixed 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.
Wei Tjong Yao
2013-03-25 07:43:57 +0000
a3c66ca360Detect sRGB capability also on Direct3D9. Detect sRGB sampling & writing capability separately.
Lasse Öörni
2013-03-24 23:56:19 +0000
6b6ab3da74Fixed sRGB flag in renderpath RT definitions not being taken into account.
Lasse Öörni
2013-03-24 23:25:29 +0000
6fe17dd966Documentation and wiki update.
Lasse Öörni
2013-03-24 23:07:58 +0000
5cda61c090OpenGL sRGB framebuffer write mode. If sRGB mode changed on a OpenGL Texture after it has already been created, recreate.
Lasse Öörni
2013-03-24 22:45:41 +0000
3068d3c46cFixed D3D9 build.
Lasse Öörni
2013-03-24 21:32:14 +0000
b4599e046dHardware sRGB texture support. OpenGL sRGB framebuffer writing implementation still missing.
Lasse Öörni
2013-03-24 20:05:08 +0000
25372fafd8Added new ListView attribute to control the root base indent in hierarchy mode. Enhanced the Hierarchy window in Editor to show icon for each item. Need better and more assets for the icons though.
Wei Tjong Yao
2013-03-24 19:00:19 +0000
e9aacd1df9Removed the AttributeListChanged event for now, as it was causing stack overflows in the editor. It was only needed to track changed attributes on script file reload. Added fast path optimization into Text when has only one texture page (construct vertex data directly without creating the GlyphLocation structure.)
Lasse Öörni
2013-03-24 12:10:57 +0000