Commit Graph

10202 Commits

Author SHA1 Message Date
Lasse Öörni
360af96588 Instead of just the "generate tangents" toggle, allow to pass any parameters to AssetImporter from the editor. Default "-t". 2013-04-05 20:30:09 +00:00
Lasse Öörni
a69999894b Fixed incorrect default value for WindowResizable (should be false.) 2013-04-05 17:22:36 +00:00
Lasse Öörni
b45fac020f Applied AssetImporter & MathAPI patch from primitivewaste. 2013-04-05 06:44:47 +00:00
Lasse Öörni
35c2d83370 Added code to collect navigation mesh geometry.
Added Recast/Detour build parameters to NavigationMesh.
Register navigation components to script.
2013-04-04 22:31:22 +00:00
Wei Tjong Yao
d5ddc3b3d6 Implemented '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. 2013-04-04 18:00:52 +00:00
Lasse Öörni
b2ac526678 Added missing files. 2013-04-04 11:37:36 +00:00
Lasse Öörni
08075f0915 Reversed 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.
2013-04-04 07:49:18 +00:00
Lasse Öörni
4fd43cc290 Check for quadratic / linear attenuation being zero. 2013-04-03 20:29:31 +00:00
Lasse Öörni
8adee0c3fd Support lights in AssetImporter scene mode (untested.)
Support lightmapped materials in AssetImporter (untested.)
2013-04-03 19:19:52 +00:00
Lasse Öörni
ba1eb8ef11 Added lightmapped LitSolid shader variation.
Fixed enviroment mapping not being affected by fog in deferred mode.
2013-04-03 17:30:39 +00:00
Wei Tjong Yao
fad0ce5a3f Fixed loading child UIElement. 2013-04-03 16:56:47 +00:00
Wei Tjong Yao
3599b1e038 Fixed the editor crash when recreating var with existing var name. Fixed editing problem with multi-coordinate user-defined variable (Vector3 and Color). 2013-04-03 15:50:47 +00:00
Wei Tjong Yao
eead67f02b Fixed handling of user-defined variables for UIElement in attribute inspector, hide editor internal variables (id, filename, modification flag). 2013-04-03 13:17:49 +00:00
Lasse Öörni
b492108ff0 Fixed missing enum attribute list null termination for Text. 2013-04-03 11:08:44 +00:00
Wei Tjong Yao
7d5fbf6759 Created 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. 2013-04-03 10:25:13 +00:00
Wei Tjong Yao
2349fabdb4 Modified ESC key handling to give priority to dismiss file selector when it is displayed. 2013-04-03 07:46:02 +00:00
Wei Tjong Yao
030454b57f Cleaned up the code. 2013-04-03 07:31:36 +00:00
Wei Tjong Yao
edc8e78aa6 Cleanup the code. 2013-04-03 07:12:35 +00:00
Lasse Öörni
835da8b073 Fixed missing undo action for importing a model. 2013-04-02 20:43:03 +00:00
Lasse Öörni
c3f36b0886 Fixed missing undo action for pasting a component. 2013-04-02 20:38:49 +00:00
Lasse Öörni
ae9fd63bac Removed unnecessary enum from undo actions.
Fixed UIElement editor targets not getting correctly retrieved.
Enable undo/redo of UIElement attributes.
2013-04-02 20:28:26 +00:00
Lasse Öörni
1a98b50646 Undo actions for attribute edit, node/component enable and gizmo drag. 2013-04-02 19:49:18 +00:00
Wei Tjong Yao
8c6808d237 When have multi-selection of mixed UIElement types, hides the non-common attribute editors. 2013-04-02 17:58:37 +00:00
Lasse Öörni
9f2c01a1cc Undo actions for component create & remove.
Store undo actions for instantiating builtin or loaded nodes.
2013-04-02 17:47:08 +00:00
Wei Tjong Yao
4b8aab55f7 Reverted attribue editor count logic as it does not work for all cases. 2013-04-02 17:34:46 +00:00
Wei Tjong Yao
3bb6fd5f40 Adjusted attribute editor count when the editor is being removed. 2013-04-02 17:27:32 +00:00
Wei Tjong Yao
c999748cea Fixed multi-selection of mixed UIElement type. 2013-04-02 17:13:05 +00:00
Lasse Öörni
5375254f0b Exposed functions to create nodes & components with specified IDs. This should make it unnecessary to handle ID rewriting in undo/redo. 2013-04-02 16:55:08 +00:00
Lasse Öörni
eb54a29d8f Check 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.
2013-04-02 15:45:50 +00:00
Lasse Öörni
49b7b15ea6 Implement GetElementAt() exclusion with modal element without dynamic allocation.
Fixed popup element of a modal window not getting input.
GetVar() code shortening.
2013-04-02 15:29:11 +00:00
Wei Tjong Yao
a76a3b1ab7 Reordered 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. 2013-04-02 14:19:35 +00:00
Wei Tjong Yao
58aaf96eeb Reverted back partial changes in the Editor. 2013-04-02 04:40:34 +00:00
Wei Tjong Yao
738eef3de9 Revert back partial changes in the Editor. 2013-04-02 04:23:57 +00:00
Wei Tjong Yao
de9b19d6d4 Script subsystem prints the stack strace automatically on exception. 2013-04-02 04:21:42 +00:00
Wei Tjong Yao
276bbb1590 Updated documentation. 2013-04-02 03:49:55 +00:00
Wei Tjong Yao
e086e23383 Added PrintCallStack() function to script. 2013-04-02 03:48:46 +00:00
Wei Tjong Yao
ca227d27f3 Exposed the Window's modal shade color as property to Script and as attribute. Adjusted the shade color to match the default style theme. 2013-04-02 01:50:42 +00:00
Wei Tjong Yao
ec0658f1fe Reverted back changes in UI.cpp. Reapplied back the logic to Window.cpp so it could shade other UI elements as well. 2013-04-02 01:18:57 +00:00
Wei Tjong Yao
80794575ad Shade the UI root element when it has a modal element set to make it more stands out. 2013-04-02 00:56:37 +00:00
Lasse Öörni
4945c612f8 Started work on undo/redo. Attribute editing & component add/remove not undoable yet.
Ensure that node or component IDs are never reused.
2013-04-02 00:35:30 +00:00
Lasse Öörni
188867739c Fixed hierarchy window not updating correctly when component is removed. 2013-04-02 00:17:45 +00:00
Wei Tjong Yao
2bf7facaa7 Laying 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. 2013-04-01 16:04:41 +00:00
Lasse Öörni
0705a15c11 Further small fixes to the main loop documentation. 2013-04-01 15:22:55 +00:00
Lasse Öörni
9532e7fdd1 Renamed documentation page. 2013-04-01 15:14:59 +00:00
Lasse Öörni
a963ce7d37 Documented missing LogName parameter. 2013-04-01 14:54:03 +00:00
Lasse Öörni
b28621a3a4 Documented engine initialization parameters. 2013-04-01 14:33:38 +00:00
Lasse Öörni
3803983c3b Fixed Assimp's BoostWorkAround for GCC. 2013-03-31 23:19:33 +00:00
Lasse Öörni
42448b8924 Updated to AngelScript 2.26.2.
Small fixes to "Quickstart in C++" documentation.
2013-03-31 22:09:28 +00:00
Lasse Öörni
34df8b5e82 Fixed headless mode.
Allow StringHash & ShortStringHash to be constructed implicitly.
Code cleanup related to the above.
2013-03-31 21:41:50 +00:00
Lasse Öörni
ce562fb894 Refactored Engine to use a startup parameters VariantMap.
Enhanced VariantMap to accept indexing via strings.
2013-03-31 13:14:21 +00:00