Commit Graph

10202 Commits

Author SHA1 Message Date
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
Lasse Öörni
7d51c583a8 Entity & component cut/copy/paste.
Entity & component data is now displayed in the same window (though entity only displays its name.)
Smoother edits for numeric values.
Minor API improvements.
Changed UI & render update order, so that deleting entities or the whole scene inside UI event handling does not result in a crash.
2011-03-10 20:06:48 +00:00
Lasse Öörni
02ffc5801c Component enum & resource editing.
API improvements & fixes.
2011-03-10 16:26:29 +00:00
Lasse Öörni
803953f41c Added choose resource path & reload resources functionality to editor.
Fixed menu accelerators.
2011-03-10 07:28:34 +00:00
Lasse Öörni
52ea7484d3 Drag and drop operations for moving components and reparenting scene nodes.
Added prevention of assigning self as a child in Node & UIElement.
2011-03-09 22:29:53 +00:00
Lasse Öörni
05edd77856 Fixed toggling child item visibility. 2011-03-09 14:00:47 +00:00
Lasse Öörni
d04a135ce5 Fix UI element drag outside window.
Enable console in the editor.
2011-03-09 13:04:40 +00:00
Lasse Öörni
24a76f7d99 Notice when the scene has been modified. 2011-03-09 09:36:26 +00:00
Lasse Öörni
5707722337 Editor fixes and cleanup. Handle changing amount of component attributes as a result of edit.
API improvements.
Minor scene XML format changes to accomodate editing.
2011-03-09 08:27:06 +00:00
Lasse Öörni
e2335ec26e Initial component editing.
API improvements & fixes. Drawing the debug geometry is manual again.
2011-03-09 01:27:24 +00:00
Lasse Öörni
9d8228f55c Registered Node::getChildren() to script.
Proper handling of child nodes in scene hierarchy window.
2011-03-08 15:59:22 +00:00
Lasse Öörni
781a1681cf Initial scene hierarchy view in the editor.
Script API additions & fixes.
2011-03-08 07:50:33 +00:00
Lasse Öörni
d7b57c45f2 Missing file. 2011-03-07 21:20:49 +00:00
Lasse Öörni
a7b269d79f Added camera settings dialog.
Respect fixed size when updating layout.
2011-03-07 21:20:19 +00:00
Lasse Öörni
5a4957b7a3 Added debug geometry drawing to Octree.
Added possibility to insert UI child elements at any position.
2011-03-07 20:21:52 +00:00
Lasse Öörni
e43c591f6e Added Renderer::setWindowTitle().
Added accelerator key support to menus.
UI bugfixes.
Changed binary scene extension to bin.
2011-03-07 07:59:45 +00:00
Lasse Öörni
bec3a65ee3 Fixed UIElement priority bug when bringing element to front and no elements to compare to. 2011-03-07 01:00:06 +00:00
Lasse Öörni
5c98ad85df Initial file menu in the editor.
Added getFilterIndex() to FileSelector. 
Popup menus hide themselves when another unrelated element focused.
2011-03-07 00:13:17 +00:00
Lasse Öörni
1f0bfd8b76 Moved to FreeType font rendering. 2011-03-06 22:44:27 +00:00
Lasse Öörni
ec327701e5 Initial skeleton of the scene editor.
Font scaling/positioning fixes.
API improvements.
2011-03-06 19:09:36 +00:00
Lasse Öörni
a31265fb65 Further input fixes.
Added getAttributeNames() to XMLElement.
Renamed EVENT_WINDOWRESIZED to EVENT_SCREENMODE.
Renamed EVENT_MOUSEMOVE delta & position parameters.
2011-03-06 11:17:32 +00:00
Lasse Öörni
c42dfa060d Added application activation & deactivation events.
Fixed mouseclick in wrong position when application reactivated in non-confined mode.
2011-03-06 01:23:23 +00:00
Lasse Öörni
962c4ec9a7 Input bugfixes. Enabled mouse move also in non-confined mode and removed the EVENT_MOUSEPOS event. 2011-03-06 01:07:56 +00:00
Lasse Öörni
1eb8498291 Added systemOpenFile() function, which will open a file in an external program.
Added non-confined mouse cursor mode.
Added Input functionality, such as setting the operating system cursor position manually.
2011-03-06 00:34:03 +00:00
Lasse Öörni
cb326b7fdf Fixed quaternion to Euler conversion and changed its signature.
Added save function to CollisionShape.
Exposed entity properties & UI element userdata directly as a map property.
Exposed Material::save() to script.
In Urho3D Shell, try to load the script or scene first from resource directories or packages, then from the filesystem.
2011-03-05 19:03:27 +00:00
Lasse Öörni
2b1bfa75f6 Register readID() & writeID() to script. 2011-03-04 22:36:36 +00:00
Lasse Öörni
f9ef9957b7 Added four-byte identifiers to binary files.
Fixed point light shape texture when used with shadows.
Removed direction from Light. Instead scene nodes now have setDirection(), which sets the node rotation from a vector.
2011-03-04 22:31:08 +00:00
Lasse Öörni
609422cc81 Initial masked pointlight support. 2011-03-04 16:38:01 +00:00
Lasse Öörni
3ca81fd464 Added support for colored spotlight texture. 2011-03-03 22:01:40 +00:00
Lasse Öörni
97d3e56a1f Split data files to Data & CoreData. CoreData contains the bare necessary files needed to run, like shaders and default materials.
Added systemCommand() function.
Added file extensions to ignore in PackageTool.
Optimized Console text update.
Cleaned up ShaderCompiler code.
2011-03-03 21:08:27 +00:00
Lasse Öörni
d33562e87a Fixed UI layout bugs. 2011-03-03 13:49:10 +00:00
Lasse Öörni
c2e9d8abf7 Added getResolutions() to Renderer, and exposed it and getMultiSampleLevels() to script.
Scene::getComponentTypes() now sorts the list alphabetically.
2011-03-03 08:04:51 +00:00
Lasse Öörni
1a04680907 Remember the current row being edited in Console. 2011-03-02 22:51:21 +00:00
Lasse Öörni
97370cc707 Added getComponentTypes() function to component factories & Scene.
Added unhandled key event also to LineEdit.
Added Console command history.
Fixed scanDirectory() returning full path for directories.
Code cleanup.
2011-03-02 22:45:02 +00:00
Lasse Öörni
2e5c04b5c0 Cache the typeid into asCDataType for increased performance. 2011-03-02 20:55:33 +00:00
Lasse Öörni
f950a3ca24 Registered VariantVector related functions to script.
Changed the array type method names to insert/remove(), push/pop() and size().
2011-03-02 17:32:28 +00:00
Lasse Öörni
c7175d4820 Variant refactoring. Uses less memory, added nested VariantVector & VariantMap support. 2011-03-02 08:29:24 +00:00
Lasse Öörni
2037d4daed GCC fixes. 2011-03-01 09:05:57 +00:00
Lasse Öörni
327e037bec Removed test code. 2011-03-01 07:24:03 +00:00
Lasse Öörni
cbbd044d95 Refactored & unified viewport handling. Now RenderSurfaces also set a viewport. Exposed Viewport struct to script.
Fixed missing auxiliary view rendering if camera is the same as in another view.
DebugRenderer takes a pointer to Pipeline when it's time to render, instead of storing subsystem pointers permanently.
Removed unnecessary includes.
Fixed profiling block names.
2011-02-28 22:58:18 +00:00
Lasse Öörni
9cd5fc423b Default resource paths are added on Engine construction.
The current working directory is no longer changed, instead the default resources are added with absolute paths.
Refactored some File operations.
2011-02-28 13:43:40 +00:00