Commit Graph

9886 Commits

Author SHA1 Message Date
Lasse Öörni
560ffd03c2 Moved the Urho3D application code to Tools directory.
Updated documentation.
2013-08-06 15:09:47 +00:00
Aster Jian
192944cdd9 Remove Data folder in 01_LuaHelloWorld.bat. 2013-08-06 06:26:48 +00:00
Wei Tjong Yao
805b4a9902 Fixed compilation issue on Windows platform. 2013-08-06 02:46:56 +00:00
Wei Tjong Yao
cf7717be64 Code cleanup. 2013-08-06 02:22:39 +00:00
Lasse Öörni
ab67242052 Added sprite sample, based on the script SpriteTest.
Added missing include to ResourceCache.h.
Simplify sample CMakeLists; use wildcard to find .cpp & .h files.
2013-08-05 22:00:52 +00:00
Wei Tjong Yao
c319f35444 Code cleanup, removed redundant check as now Urho3D library build type is mutually exclusive of Urho3D executable build. 2013-08-05 16:02:29 +00:00
Wei Tjong Yao
36b653fecd Fixed code alignment. 2013-08-05 15:48:20 +00:00
Wei Tjong Yao
e952719302 In preparation for supporting shared library for Windows platform, selectively marked Engine class as public API. Setup the visibility compiler flags for GCC and Clang to hide non-marked API from shared library. 2013-08-05 15:40:35 +00:00
Lasse Öörni
391c3fef75 Mark animation dirty when per-bone weights are changed. 2013-08-04 12:04:12 +00:00
Lasse Öörni
96e80a2366 Per-bone weight control of animation state tracks. Not serialized yet. Eliminated map lookups from applying animations. 2013-08-04 11:32:44 +00:00
Lasse Öörni
744f51ddf0 Fixed resource picking in the editor.
Cache DebugRenderer shaders.
2013-08-03 14:52:57 +00:00
Wei Tjong Yao
8bfb657d15 Added bash SHEBANG for the CMake custom scripts because the default sh shell in Mac OS X platform is broken. Fixed the static and shared library build for Mac OS X platform using Makefile generator. 2013-08-03 08:13:50 +00:00
Aster Jian
7aba3391a5 Support subscribe to a specific sender's event in Lua. 2013-08-02 15:15:36 +00:00
Wei Tjong Yao
09cae8bd36 Removed CMake hack and replaced it with another better one. 2013-08-02 14:47:59 +00:00
Paul Noome
90f844ca93 Fix outdated comments to correspond to current code. 2013-08-02 10:41:11 +00:00
Wei Tjong Yao
c2b72e0e36 Added licence header lines. 2013-08-01 19:12:37 +00:00
Wei Tjong Yao
27199ea147 Use custom script to precisely locate all the required object files for building static/shared library instead of relying on regex find. 2013-08-01 19:07:39 +00:00
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