Paul Noome
0871efa475
Remove svn:executable property from source files.
2013-08-01 15:00:19 +00:00
Paul Noome
e0bedb0b79
Add simple GUI sample.
2013-08-01 14:18:14 +00:00
Aster Jian
2ddd6cea4d
Replace ExecuteFile with require.
2013-08-01 11:14:26 +00:00
Aster Jian
e778b225ad
Add loader for require function.
2013-08-01 11:13:10 +00:00
Wei Tjong Yao
a42763c76e
Fixed Urho3D shared (dynamic) library generation under Linux GCC. Fixed the custom command for SVN revision number generation to return 'Unversioned' as the output when the build is run in unversioned build tree.
2013-08-01 04:08:18 +00:00
Lasse Öörni
dafa08d4ba
Fixed UI element layout sometimes getting sorted upside down.
...
Added editing of misc. material attributes (depth bias, cull mode.)
Refresh material editor if the current material is externally edited & reloaded.
2013-07-31 23:19:23 +00:00
Wei Tjong Yao
1e5f08ae7b
Excluded Assimp objects from static and shared library. Fixed kNet to solve the multiple definition issue when build shared library.
2013-07-31 16:59:57 +00:00
Lasse Öörni
afb9e2ce5f
Change virtual functions in Application back to public so that making conforming derived classes is more straightforward.
2013-07-31 09:34:57 +00:00
Aster Jian
51a1e1bd3f
Report Lua script error in ErrorDialog.
2013-07-31 05:53:06 +00:00
Wei Tjong Yao
256eb5ac78
Refactored CMake build script to separate reusable commands and macros into module for easy inclusion in external project. Added option to build Urho3D static/shared library (currently only works in Linux GCC). Added new FindUrho3D.cmake module for setting up Urho3D as external library in other user-defined project.
2013-07-31 02:10:08 +00:00
Lasse Öörni
8a94f363ee
Material technique editing.
2013-07-30 22:57:11 +00:00
Lasse Öörni
6284d0db72
Expose material's TechniqueEntries to script.
...
Accuracy fixes to some classes' AngelScript app class type.
2013-07-30 15:12:57 +00:00
Lasse Öörni
0eb06b2438
Updated to AngelScript 2.27.
...
Renamed Thread::Start() to Thread::Run() to match Application class.
2013-07-30 13:24:18 +00:00
Lasse Öörni
e72aefca9a
Applied Color class improvements from Paul Noome.
2013-07-30 11:17:56 +00:00
Lasse Öörni
75b187588f
Make the material revert action undoable.
2013-07-30 07:59:46 +00:00
Aster Jian
c142daf891
Restore script file name for iOS and Android.
2013-07-30 07:31:49 +00:00
Aster Jian
deee8e8162
Change function argument from const char* to String.
2013-07-30 06:30:16 +00:00
Lasse Öörni
ab50955ec4
Added alternative API to serialize Material into an XML element instead of a file.
...
Material edit undo/redo actions.
2013-07-29 10:38:37 +00:00
Lasse Öörni
4780daa022
Avoid fullupdate to material editor's textures when picking a texture.
2013-07-29 07:06:36 +00:00
Lasse Öörni
58add4d8e0
UI event order consistency on mouse click. Fix the order to click, double click, drag, first handled by the elements themselves and then sent as an event.
...
Bring material editor window to front when opened.
2013-07-28 22:00:12 +00:00
Lasse Öörni
d13fb7fc81
Treat empty textedit as 0 value when editing material shader parameters.
2013-07-28 21:08:45 +00:00
Lasse Öörni
c5dd749509
Texture picking in the material editor.
2013-07-28 20:52:15 +00:00
Lasse Öörni
05178ba2e9
Remember last path when selecting material to edit.
2013-07-28 19:14:56 +00:00
Lasse Öörni
0b657a893d
Continue work on material editor.
...
Added shaderParameterNames property to Material's AngelScript API.
Added error prints to possible resource loading error situations.
2013-07-28 18:57:00 +00:00
Wei Tjong Yao
0e8d03a66e
Fixed mouse wheel event handling.
2013-07-28 16:50:16 +00:00
Lasse Öörni
8516b9335a
If a child element set a style name without a style file, apply it when added to parent.
2013-07-28 13:24:25 +00:00
Wei Tjong Yao
0cd4d9cbe3
Quick fixed DocConverter tool to handle wiki table.
2013-07-28 05:53:59 +00:00
Wei Tjong Yao
70479632a0
Fixed typo error on comment.
2013-07-28 02:40:38 +00:00
Wei Tjong Yao
1a5670b65c
Updated documentation on Raspberry Pi port.
2013-07-28 01:03:38 +00:00
Aster Jian
e97a4f6407
Add BAT and SH file for Lua Sample.
2013-07-27 15:02:15 +00:00
Aster Jian
85b9268cba
Add write only property.
2013-07-27 14:25:14 +00:00
Aster Jian
1c02a7a7a7
Change Lua Hello World sample in OOP.
2013-07-27 13:45:29 +00:00
Wei Tjong Yao
320d6fd9e6
Grab the input device while engine is running on a Raspberry Pi so that the keystrokes intended for Urho3D do not redundantly get echoed out in the virtual terminal or shell that starts the engine.
2013-07-27 12:26:29 +00:00
Wei Tjong Yao
fec4a8fef5
Fixed the SystemOpen() on Mac/Linux platform to use the full path to the executable as the new file check in the SystemRun() does not consider system-wide search PATH environment variable.
2013-07-27 08:55:49 +00:00
Lasse Öörni
3652088894
Removed bool operator from shared & weak pointers, as it led to erroneous comparisons between shared pointers of base & subclass. The conversion operator to raw pointer should rather work as expected.
2013-07-26 23:13:20 +00:00
Lasse Öörni
6095d2ac11
Ensure cursor is rendered on top of all other UI elements. Removed the SetTempVisible() hack from UIElement.
2013-07-26 22:43:56 +00:00
Lasse Öörni
1d57f729a9
Renamed the Urho3D executable's application class to Urho3D.
2013-07-26 17:17:02 +00:00
Lasse Öörni
7ff755194d
Set OpenGL pixel alignment to 1 for texture reads/writes to support textures with odd widths without padding.
2013-07-26 16:08:59 +00:00
Aster Jian
bbfdc536ad
Support call Lua function in a table. Add CreateChild support in UIElement.
2013-07-26 15:48:42 +00:00
Lasse Öörni
57899bce0c
Added skeleton of a material editor window.
2013-07-26 15:46:55 +00:00
Aster Jian
91841334df
Add Lua HelloWorld Sample.
2013-07-26 14:20:41 +00:00
Lasse Öörni
ae5871d912
Documented Application class.
...
Added deprecation note to the C++ Quickstart documentation page.
Fixed ScriptCompiler.
2013-07-26 14:04:27 +00:00
Lasse Öörni
d9b6362305
Refactored Application class to not require exit codes in the virtual functions. Rather the ErrorExit() function can be called if the application should not go on to the main loop.
2013-07-26 13:30:39 +00:00
Lasse Öörni
5136dcab3f
Added Sample base class for samples, adapted from Aster Jian's code.
2013-07-26 12:51:46 +00:00
Aster Jian
9e7bfd2c1f
Remove unused function in Object.pkg.
2013-07-26 12:45:21 +00:00
Aster Jian
6225222566
Add base class for Console.
2013-07-26 12:43:56 +00:00
Lasse Öörni
17970c184d
Added Context.h include to Application.h.
2013-07-26 12:16:08 +00:00
Lasse Öörni
dc7898ba1f
Added an Application base class which can be optionally used to execute an engine main loop, and perform initialization/shutdown.
...
Modified Urho3D, CharacterDemo & HelloWorld to use the Application class.
Modified engine initialization so that subsystems are created before initialization where possible.
Modified Renderer to not cache the ResourceCache pointer to prevent crash depending on event handling order when setting the screen mode.
2013-07-26 12:06:19 +00:00
Wei Tjong Yao
485bcf9b8c
Code cleanup.
2013-07-26 10:11:10 +00:00
Wei Tjong Yao
6a6a5e4adc
Fixed GetPlatform() to correctly return 'Raspberry Pi' as the platform name on Pi. Fixed Editor's mouse cursor not visible on Pi.
2013-07-26 08:04:29 +00:00