Commit Graph

9886 Commits

Author SHA1 Message Date
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
Wei Tjong Yao
fa2c5aba99 Fixed Raspberry Pi build for Raspbian - add module file itself. 2013-07-26 07:03:27 +00:00
Wei Tjong Yao
648c363ba1 Fixed Raspberry Pi build for Raspbian. 2013-07-26 07:01:42 +00:00
Wei Tjong Yao
1addaa979d Changed the build script to make Raspberry Pi build has the same behaviour between native build and cross-compile build. 2013-07-26 00:03:33 +00:00
Wei Tjong Yao
5d28038fa4 Fixed the subproject dependency problem for Raspberry Pi native build. 2013-07-25 23:29:07 +00:00
Wei Tjong Yao
f5d649077d Reverted Doxyfile. 2013-07-25 15:58:12 +00:00
Wei Tjong Yao
cc99a07a53 Added Raspberry Pi port, currently only supported in GCC build either natively or cross compiling (if the CC tool is detected). Moved the gcc out-of-source build directory one more level up as it is better supported by cmake/eclipse generator this way. Enhanced shell scripts so they can be invoked in any directory. A few bug bug fixes on SDL library code. 2013-07-25 15:56:53 +00:00
Lasse Öörni
eea9b8da0d Added a larger version of the Urho3D logo.
Make GPUObject::GetGraphics() not inline so that including GPUObject.h does not also require including Graphics.h.
Added possibility to enable OpenGL mode through CMake command line.
2013-07-25 12:59:38 +00:00
Lasse Öörni
10bfa2423a Removed unneeded includes. 2013-07-24 23:50:07 +00:00
Lasse Öörni
0a70acdad0 Added Samples directory & first sample (HelloWorld) contributed by Paul Noome. 2013-07-24 23:41:57 +00:00
Wei Tjong Yao
e3b7eede33 Cleanup now unused member variable. 2013-07-24 12:07:20 +00:00
Lasse Öörni
adf668b386 Refactored the system cursor shape definition inside Cursor class; use SetUseSystemShapes() to enable.
Define OS cursors on demand when setting the shape; removed OS cursor visible parameter from Cursor::DefineShape().
2013-07-24 10:52:46 +00:00
Lasse Öörni
53d2404aee Applied OS cursor shape patch from Paul Noome. 2013-07-23 23:29:00 +00:00
Lasse Öörni
6325520ef3 Include large vertex shader array uniforms only when needed. 2013-07-23 23:05:27 +00:00
Aster Jian
fba80ac13b rename Eq with Equals. 2013-07-21 13:25:41 +00:00
Lasse Öörni
6dcffc2f67 Serialize the node animation states of an AnimationController.
Merged DecalSet & ParticleEmitter components to the Geometry component category.
2013-07-20 20:09:12 +00:00
Lasse Öörni
ad8b44d478 Added GetModel() & GetNode() to AnimationState.
Avoid double update in animation test, if an AnimationController is also playing the same animation.
2013-07-20 17:40:55 +00:00
Aster Jian
3f3d58c050 Rename StringEq to StringEquals. 2013-07-20 14:30:32 +00:00
Aster Jian
4248c9f65b Update Lua api. 2013-07-20 14:08:22 +00:00
Lasse Öörni
e908a9076a Support defining different action buttons for different resource types in the editor.
Added functionality to test animations in the editor.
Expose RefCounted class properly to script so that WeakHandle can point to all RefCounted types instead of just Object.
2013-07-20 13:53:42 +00:00
Aster Jian
35757c88fa Update TestScene.lua, Replace some method with property. 2013-07-20 13:49:57 +00:00
Lasse Öörni
9ff5b3d222 Renamed "Label Offset" attribute in Button to "Pressed Child Offset" to more accurately reflect what it does. 2013-07-20 09:30:31 +00:00
Lasse Öörni
3cd4625ad1 Store shader parameters as Variants to preserve the coordinate count & distinguish between eg. floats and Vector4's.
Fixed Lua API (bindings of RenderSurface object) in OpenGL mode.
2013-07-19 19:58:58 +00:00
Aster Jian
522ea62a33 Add default value in GetMaterial function, so we can use material as a property. 2013-07-19 15:03:11 +00:00
Aster Jian
ed8eec63bd Replace some method with property in lua. 2013-07-19 15:01:57 +00:00
Aster Jian
6ba4451ffd Update Core, IO, Math Lua API. 2013-07-19 14:59:20 +00:00
Lasse Öörni
fc841ce8d1 Applied global UI double click patch from Chris Friesen. Removed individual double click handling in LineEdit & ListView elements.
Fixed RigidBody potentially moving too fast when its rotation is being forced.
Fixed NinjaSnowWar server freelook camera movement speed.
2013-07-19 10:30:59 +00:00
Aster Jian
a5abda17b7 Update Graphics Lua API. 2013-07-19 06:38:28 +00:00
Aster Jian
5e203f1bba Update Audio, Input, IO module Lua API. 2013-07-19 04:54:21 +00:00
Aster Jian
8d10c165ed Update Navigation, Network, Physics, Resource, Scene, UI Lua API. 2013-07-18 06:04:35 +00:00
Aster Jian
bf02252c65 Update Navigation Lua API. 2013-07-18 04:29:26 +00:00
Aster Jian
29b3207a8c Update Network Lua API. 2013-07-18 04:28:25 +00:00
Lasse Öörni
97af5ba002 Removed unused function declarations in RigidBody and fixed misleading comments. 2013-07-16 22:01:33 +00:00
Aster Jian
ad5bf73d10 Update Lua API. In SpriteTest.lua replace some function with property to make the code clean. 2013-07-16 15:45:27 +00:00