Commit Graph

  • 3b386cea6c Fixed NinjaSnowWar enemy aiming. Lasse Öörni 2011-03-13 19:04:04 +0000
  • 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. Lasse Öörni 2011-03-13 18:17:26 +0000
  • 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. Lasse Öörni 2011-03-11 21:04:20 +0000
  • 1f5d0e69a1 Skip physics collisionshape reloading, which causes crash at the moment. Lasse Öörni 2011-03-11 03:46:50 +0000
  • 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. Lasse Öörni 2011-03-11 03:29:07 +0000
  • 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. Lasse Öörni 2011-03-10 22:48:56 +0000
  • 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. Lasse Öörni 2011-03-10 20:06:48 +0000
  • 02ffc5801c Component enum & resource editing. API improvements & fixes. Lasse Öörni 2011-03-10 16:26:29 +0000
  • 803953f41c Added choose resource path & reload resources functionality to editor. Fixed menu accelerators. Lasse Öörni 2011-03-10 07:28:34 +0000
  • 52ea7484d3 Drag and drop operations for moving components and reparenting scene nodes. Added prevention of assigning self as a child in Node & UIElement. Lasse Öörni 2011-03-09 22:29:53 +0000
  • 05edd77856 Fixed toggling child item visibility. Lasse Öörni 2011-03-09 14:00:47 +0000
  • d04a135ce5 Fix UI element drag outside window. Enable console in the editor. Lasse Öörni 2011-03-09 13:04:40 +0000
  • 24a76f7d99 Notice when the scene has been modified. Lasse Öörni 2011-03-09 09:36:26 +0000
  • 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. Lasse Öörni 2011-03-09 08:27:06 +0000
  • e2335ec26e Initial component editing. API improvements & fixes. Drawing the debug geometry is manual again. Lasse Öörni 2011-03-09 01:27:24 +0000
  • 9d8228f55c Registered Node::getChildren() to script. Proper handling of child nodes in scene hierarchy window. Lasse Öörni 2011-03-08 15:59:22 +0000
  • 781a1681cf Initial scene hierarchy view in the editor. Script API additions & fixes. Lasse Öörni 2011-03-08 07:50:33 +0000
  • d7b57c45f2 Missing file. Lasse Öörni 2011-03-07 21:20:49 +0000
  • a7b269d79f Added camera settings dialog. Respect fixed size when updating layout. Lasse Öörni 2011-03-07 21:20:19 +0000
  • 5a4957b7a3 Added debug geometry drawing to Octree. Added possibility to insert UI child elements at any position. Lasse Öörni 2011-03-07 20:21:52 +0000
  • e43c591f6e Added Renderer::setWindowTitle(). Added accelerator key support to menus. UI bugfixes. Changed binary scene extension to bin. Lasse Öörni 2011-03-07 07:59:45 +0000
  • bec3a65ee3 Fixed UIElement priority bug when bringing element to front and no elements to compare to. Lasse Öörni 2011-03-07 01:00:06 +0000
  • 5c98ad85df Initial file menu in the editor. Added getFilterIndex() to FileSelector. Popup menus hide themselves when another unrelated element focused. Lasse Öörni 2011-03-07 00:13:17 +0000
  • 1f0bfd8b76 Moved to FreeType font rendering. Lasse Öörni 2011-03-06 22:44:27 +0000
  • ec327701e5 Initial skeleton of the scene editor. Font scaling/positioning fixes. API improvements. Lasse Öörni 2011-03-06 19:09:36 +0000
  • a31265fb65 Further input fixes. Added getAttributeNames() to XMLElement. Renamed EVENT_WINDOWRESIZED to EVENT_SCREENMODE. Renamed EVENT_MOUSEMOVE delta & position parameters. Lasse Öörni 2011-03-06 11:17:32 +0000
  • c42dfa060d Added application activation & deactivation events. Fixed mouseclick in wrong position when application reactivated in non-confined mode. Lasse Öörni 2011-03-06 01:23:23 +0000
  • 962c4ec9a7 Input bugfixes. Enabled mouse move also in non-confined mode and removed the EVENT_MOUSEPOS event. Lasse Öörni 2011-03-06 01:07:56 +0000
  • 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. Lasse Öörni 2011-03-06 00:34:03 +0000
  • 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. Lasse Öörni 2011-03-05 19:03:27 +0000
  • 2b1bfa75f6 Register readID() & writeID() to script. Lasse Öörni 2011-03-04 22:36:36 +0000
  • 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. Lasse Öörni 2011-03-04 22:31:08 +0000
  • 609422cc81 Initial masked pointlight support. Lasse Öörni 2011-03-04 16:38:01 +0000
  • 3ca81fd464 Added support for colored spotlight texture. Lasse Öörni 2011-03-03 22:01:40 +0000
  • 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. Lasse Öörni 2011-03-03 21:08:27 +0000
  • d33562e87a Fixed UI layout bugs. Lasse Öörni 2011-03-03 13:49:10 +0000
  • c2e9d8abf7 Added getResolutions() to Renderer, and exposed it and getMultiSampleLevels() to script. Scene::getComponentTypes() now sorts the list alphabetically. Lasse Öörni 2011-03-03 08:04:51 +0000
  • 1a04680907 Remember the current row being edited in Console. Lasse Öörni 2011-03-02 22:51:21 +0000
  • 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. Lasse Öörni 2011-03-02 22:45:02 +0000
  • 2e5c04b5c0 Cache the typeid into asCDataType for increased performance. Lasse Öörni 2011-03-02 20:55:33 +0000
  • f950a3ca24 Registered VariantVector related functions to script. Changed the array type method names to insert/remove(), push/pop() and size(). Lasse Öörni 2011-03-02 17:32:28 +0000
  • c7175d4820 Variant refactoring. Uses less memory, added nested VariantVector & VariantMap support. Lasse Öörni 2011-03-02 08:29:24 +0000
  • 2037d4daed GCC fixes. Lasse Öörni 2011-03-01 09:05:57 +0000
  • 327e037bec Removed test code. Lasse Öörni 2011-03-01 07:24:03 +0000
  • 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. Lasse Öörni 2011-02-28 22:58:18 +0000
  • 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. Lasse Öörni 2011-02-28 13:43:40 +0000
  • 4a18fd3dff Draw Pipeline & PhysicsWorld debug geometry automatically if enabled. Lasse Öörni 2011-02-28 07:42:37 +0000
  • 3f492e729f Fixed script registration bug. Lasse Öörni 2011-02-28 00:22:19 +0000
  • 20b23ced83 Engine & script API improvements. Multiple viewport support. Refactoring of scene updates & debug geometry handling. Urho3D Shell can now either load a script, or load a scene. More helper macros for script-safe exceptions. Fixed InstancedModel::setMaterial(). Optimized functions that return a std::vector by value to take a reference instead. Close button UI graphics. Lasse Öörni 2011-02-28 00:16:18 +0000
  • fd141c7cf1 Registered XML file creation to script. Registered component & entity XML load/save to script. Fixed possible null pointer access in loading XML parameter files. Lasse Öörni 2011-02-27 00:18:03 +0000
  • ab3bec9d3f Added AngelScript 2.20.2. Fixed ParticleEmitter not initializing particle count correctly. Removed ParticleEmitter public functions whose effect would not be saved or replicated across network (practically, this means that ParticleEmitter must be exclusively configured via the particle XML file.) Fixed Octree resize to not remove scene nodes. Instead, they are temporarily moved to the root octant. Removed LogListener. Instead log messages are also sent as events. Fixed FileSelector ListView no longer being focused after changing directory. Optimized Text::setStyle(). The text is recalculated last, once everything has been setup. AngelScript garbage collection is now intentionally disabled also from script classes, to ensure objects are destroyed immediately once their refcount reaches zero. As a downside, this means that any circular references in script will leak memory. Lasse Öörni 2011-02-26 16:27:16 +0000
  • 63ccafc437 Added optional clearing of selection on defocus to ListView. Added -uitest switch to GraphicsTest script, which will instantiate test UI layouts. Lasse Öörni 2011-02-25 20:38:54 +0000
  • 10d59b4c92 Fix crash when no mouse cursor in UI. Lasse Öörni 2011-02-25 16:20:19 +0000
  • e46c13a8a9 ListView bugfixes. Lasse Öörni 2011-02-25 12:22:58 +0000
  • f52a494b1a ListView multiselect mode. Documentation update. Lasse Öörni 2011-02-25 08:14:49 +0000
  • 748a1fe381 Documentation update and code cleanup. Lasse Öörni 2011-02-23 22:17:41 +0000
  • fd24ca3c69 UI improvements and cleanup. Drag and drop & window resize visualization by changing the mouse cursor shape. Lasse Öörni 2011-02-23 18:38:45 +0000
  • c30b162267 Support for different UI cursor shapes. Lasse Öörni 2011-02-23 08:01:33 +0000
  • f2492935d4 Initial UI drag and drop support. No visualization yet. Lasse Öörni 2011-02-22 23:03:23 +0000
  • bc79209861 Added simple hierarchical mode to ListView. UIElement userdata is now a VariantMap. Lasse Öörni 2011-02-22 22:17:50 +0000
  • e343f0c631 Replaced TryFocus event with UIMouseClick. Added ListViewKey event for unhandled keypressed while the ListView is focused. Now ListView no longer equates enter press as a doubleclick by itself. Lasse Öörni 2011-02-22 19:40:21 +0000
  • d02e959f9a Improved replaceInPlace(). Focus FileSelector file list initially. Lasse Öörni 2011-02-22 16:39:10 +0000
  • c3acff9a2d Added entity group flags for group-based scene queries. Fixed Input error message in headless mode. Lasse Öörni 2011-02-22 07:40:12 +0000
  • 0dc5690767 Exposed FileSelector to script fully. Added safety checks to Entity::onEvent. Replaced scanDirectory() booleans with flags. UI tweaks. Lasse Öörni 2011-02-21 22:23:37 +0000
  • fa7cf0041f EventListener refactoring for safety. ScriptEventListener simplification. Lasse Öörni 2011-02-21 17:42:04 +0000
  • cafd3c1491 Proper stacking of eventsenders for getEventSender(). Fixed crash if event sender is destroyed while sending. Tweaked default UI style. Lasse Öörni 2011-02-21 12:25:37 +0000
  • 24cec6fac5 Initial FileSelector implementation. Console & DebugHud changed to load style from XML file. UI bugfixes. Lasse Öörni 2011-02-21 09:13:23 +0000
  • ae7efc8683 Added doubleclick event to ListView. Send ListView item selected event even if selection is the same. Lasse Öörni 2011-02-20 11:47:56 +0000
  • 9350f4056e UI layout system refactoring. DropDownList improvements. UI bugfixes. Lasse Öörni 2011-02-19 18:59:11 +0000
  • 93632f9e54 Small fix to DropDownList. Lasse Öörni 2011-02-18 16:22:56 +0000
  • dd24a35ab6 Initial DropDownList implementation. Renamed MenuItem to Menu. Bugfixes. Lasse Öörni 2011-02-18 08:43:09 +0000
  • 4aa57980fb ListView API & code cleanup. Fixed bug in Node & UIElement where moving a child from one parent to another, with no other references, would cause its deletion and a crash. Lasse Öörni 2011-02-17 21:04:54 +0000
  • c4d329d86f Exposed ListView to script, added functionality. Added mouse wheel input to UI. Lasse Öörni 2011-02-17 13:49:13 +0000
  • cae8301062 Initial ListView implementation. UI bugfixes. Lasse Öörni 2011-02-17 08:23:27 +0000
  • abc4b39adb Normalized scrollbar step size, by default on. UI code cleanup. Lasse Öörni 2011-02-16 11:02:14 +0000
  • 0d79f489d9 Simplified the default UI style. Lasse Öörni 2011-02-16 07:26:47 +0000
  • 0bea69e546 ScrollView refactoring. Now ScrollView creates its own scrollbars. Added UI element visibility change event. UI bugfixes. Lasse Öörni 2011-02-15 23:16:51 +0000
  • 7930515a57 Bugfixes. Lasse Öörni 2011-02-15 19:58:13 +0000
  • cb4d88a8f2 Replaced explicit image rect settings with offsets. Added project() to Ray. Lasse Öörni 2011-02-15 19:30:22 +0000
  • 47faf427f8 Fixed more possible layout bugs. Replaced focus related UI element bools with FocusMode. Lasse Öörni 2011-02-15 11:52:18 +0000
  • d8a75f7d03 Simplified UI layout file structure (root UI element is also the root XML element.) Fixed bug with element layout. Changed ScrollBar to use layout instead of manual positioning. Lasse Öörni 2011-02-15 07:45:16 +0000
  • d3031713e2 Added ScrollBar UI element. Modified ScrollView to use scrollbars. Take child UI element visibility into account when calculating the layout. More UI code cleanup (use events instead of tick update.) Clearing the focus can be set per UI element. Moved createScriptObject() functions to RegisterScript. Lasse Öörni 2011-02-14 23:35:14 +0000
  • df29fef170 Added error logging to createScriptObject(). Lasse Öörni 2011-02-14 17:34:57 +0000
  • 9ef192a337 Common ScriptFile uninit code moved to releaseModule() function. Lasse Öörni 2011-02-14 17:18:34 +0000
  • c492a2ee69 Added the scriptFile property for accessing the currently executing script file. Immediate script code can be optionally executed in a specified script file to access its classes. Code cleanup. Lasse Öörni 2011-02-14 08:09:23 +0000
  • fe4ccf7c58 Added auto-adjusting layout support to UIElement. Fixed event sending order. Optimized UI drawing (less batches if there are child elements with same priority and renderstate.) Adjusted subsystem creation/destruction order. Delete renderer last to avoid being unable to free GPU resources at exit. Proper fix for BillboardSet zero size animation LOD bug. Code cleanup. Lasse Öörni 2011-02-13 22:33:08 +0000
  • d5a35e6530 Garbage collection moved before rendering update so that "ghost" objects will not be rendered in any case. Accumulate collision events during physics update, then send them later. This is to prevent crashes in case entities or rigid bodies are deleted in response to the events, while the world is locked for update. Fixed BillboardSet bug of billboards possibly staying after being removed, if update LOD is being used. Fixed player rotation stutter in singleplayer NinjaSnowWar. Disabled AngelScript threading for slight performance gain. Lasse Öörni 2011-02-12 21:44:28 +0000
  • 4e7da409cc Fixed AnimatedModel unnecessary update in case it is within the influence of an invisible light. Lasse Öörni 2011-02-12 12:55:32 +0000
  • 8d943e5e4c Invisible animation update can be controlled per AnimatedModel. Default is to not update when invisible. Lasse Öörni 2011-02-12 12:15:42 +0000
  • 0a8cfb5acf Cleanup of UI element code by using onResize(). Lasse Öörni 2011-02-11 23:44:38 +0000
  • 9a640e1d10 Moved minimum & maximum size to UIElement. Added UI element resize event and onResize() virtual function. Lasse Öörni 2011-02-11 15:01:52 +0000
  • 553b5055ad Exposed EventListener, sending events to any EventListener (not just entities or components) and subscribing to sender specific events to script. Fixed and simplified script function to ScriptFile mapping. Renamed methods to get sub-elements (Console, LineEdit) TextFinished event also sends the text like TextChanged. Lasse Öörni 2011-02-10 22:30:32 +0000
  • 03e19a7ac2 Event refactoring. Now it is possible to subscribe to events of a specific sender. To be able to send events, one must also derive from EventListener. Event library removed for containing only a few files. Event unsubscribing optimized. Remote events changed back to a whitelist system. Lasse Öörni 2011-02-10 07:38:01 +0000
  • 19acc85c8a Added delay-executed method calls to ScriptInstance. Removed the getLastScriptFile() hack. Instead the executing function is queried from the script context and is mapped back to the ScriptFile. Lasse Öörni 2011-02-09 18:04:31 +0000
  • 9e2da6555f Removed delay functionality from events. To work properly, it would need serialization when the scene is saved/loaded, but events may contain non-serializable data (pointers.) This is to be replaced with another, more manageable system. Lasse Öörni 2011-02-09 07:16:42 +0000
  • 13ca9b42fe Added arrow key scrolling to ScrollView. Clear UI element focus when a non-focusable element clicked. ESC defocusing is now a property of UIElement. Defocusing is handled by UI. Fixed UIElement::setSelected(). Renamed some keys. Lasse Öörni 2011-02-08 21:31:45 +0000
  • 9f01763599 BillboardSet & ParticleEmitter UV animation support. Lasse Öörni 2011-02-08 20:26:55 +0000
  • 1d3e0bbe41 Added cycling focus with TAB key to UI. Remove text selection from LineEdit when defocusing. Lasse Öörni 2011-02-08 18:21:14 +0000
  • 6d22d95d97 LineEdit copy-paste & selection by shift-cursor. Lasse Öörni 2011-02-08 11:06:12 +0000
  • 5d5cf9e0e0 LineEdit drag selection support. Lasse Öörni 2011-02-08 07:38:22 +0000