Commit Graph

9836 Commits

Author SHA1 Message Date
Lasse Öörni
dc2e59af7f Do not use a layout on a ScrollBar as using it can lead to resizing the ScrollBar itself, which is irreversible. Fixes #11. 2013-10-07 23:18:44 +03:00
Lasse Öörni
4186e48b7f Set internal flag on ListView containers before adding as a child. Fixes #10. 2013-10-07 16:38:41 +03:00
weitjong
d834fd571d Merge local branch. 2013-10-07 13:09:10 +08:00
weitjong
2ef2e65872 Recreate "assets" directory back in Git repository.
Git does not handle empty directory like SVN. A directory in Git must at least contain a file to be tracked.
Added .gitignore to do the work and at the same time tell Git to ignore all the symlinks/files in this directory.
2013-10-07 12:45:07 +08:00
weitjong
633a7f4804 Renamed IOS and Mac OS X framework macros.
These macros may be used later not just to setup frameworks but also
other linker flags.

Renamed setup_ios_frameworks    -> setup_ios_linker_flags.
Renamed setup_macosx_frameworks -> setup_macosx_linker_flags.
2013-10-07 00:12:01 +08:00
Lasse Öörni
da8a3bb359 Merge remote-tracking branch 'remotes/friesencr/escape_quickmenu' 2013-10-06 14:24:35 +03:00
weitjong
1cdd74f3da Support more source file extensions.
Added support for: .mm (Objective-C++ source code) and .s (preprocessed assembly source code).
2013-10-06 18:37:05 +08:00
weitjong
1afb83b10b Generated sources are defined before normal sources.
To be consistent with the rest of the CMakeLists.txt.
2013-10-06 14:01:11 +08:00
weitjong
598c24a4aa Corrected usage of message() command for showing CMake status. 2013-10-06 14:01:10 +08:00
weitjong
d98c8b4d64 Updated documentation on build option being cached. 2013-10-06 14:01:10 +08:00
weitjong
9a90fe4665 Added execute bit for cmake_clean.sh. 2013-10-06 14:01:10 +08:00
Lasse Öörni
87e1761a31 Reorder GetType() & GetBaseType() functions in headers for consistency. 2013-10-06 02:10:03 +03:00
Chris Friesen
f96e9c1a45 add key_esc to kill quickmenu 2013-10-05 17:39:04 -05:00
Lasse Öörni
673d948950 Fix crash when loading another scene in the editor after loading a scene with physics constraints. 2013-10-06 00:11:58 +03:00
Lasse Öörni
c934342cec Trim path in AddTrailingSlash() & RemoveTrailingSlash() to be sure. Fix extra slashes appearing in scene load path in the editor. 2013-10-06 00:03:44 +03:00
Lasse Öörni
36eb726d36 Add the concept of base class type to Object to simplify determining if a ScriptInstance's handle variable is a Node, Component or Resource. Serialize script's resource handles as ResourceRef attributes and allow editing them. 2013-10-05 23:24:39 +03:00
Lasse Öörni
cfd2516000 Return window size for GetDesktopResolution() on mobile platforms due to possible SDL bug. 2013-10-05 19:20:05 +03:00
Lasse Öörni
facbae131e Store an explicit parent ListView pointer to HierarchyContainer to avoid having to search for it through the element hierarchy. 2013-10-05 16:55:24 +03:00
Lasse Öörni
db370128d5 Resized the Urho3D logos to power of two dimensions, as otherwise they don't work right on iOS. 2013-10-05 15:44:15 +03:00
Lasse Öörni
25c7aa53c3 Added GetDesktopResolution() to Graphics. 2013-10-05 02:39:58 +03:00
Lasse Öörni
2fbe931cee Added SetWindowPosition() / GetWindowPosition() to Graphics. 2013-10-05 02:22:02 +03:00
Lasse Öörni
39c8295eb3 Added editable flag to UI elements. When disabled, will not edit the value (eg. LineEdit text) through user input. Fixes #4.
Moved UIElement default virtual function implementations to the header.
Removed clip border from the default style LineEdit, as some letters (eg. lowercase y) will clip with the font size used in the editor & console.
2013-10-04 01:58:46 +03:00
Lasse Öörni
b2d356ad5e Allow using the operating system clipboard in UI. 2013-10-04 01:21:24 +03:00
Lasse Öörni
6ad8a077aa Do not place any demands on OpenGL ES 2.0 color/depth configuration to allow running on eg. RGB_565 pixel format. 2013-10-04 00:06:17 +03:00
aster2003
8098f588b4 Change LuaFunction to subclass of RefCounted. 2013-10-03 21:06:46 +08:00
weitjong
6fec33aada Simplified logic for detecting the availability of GIT command line tool
and GIT repository.
2013-10-03 19:40:52 +08:00
Lasse Öörni
9d4a0ff334 Disabled the Google Code specific wiki conversion. 2013-10-03 12:56:01 +03:00
weitjong
242f317ddd Configure Doxyfile according to the value of USE_OPENGL variable. 2013-10-03 17:41:17 +08:00
Lasse Öörni
402a027ae4 On Windows, clean also Build/CMakeFiles directory to ensure MinGW build variables do not spill over to a subsequent MSVC build. 2013-10-02 20:36:57 +03:00
Lasse Öörni
44e00ced45 Fix comments in cmake_clean.bat. 2013-10-02 20:33:58 +03:00
Lasse Öörni
9a5632f745 Use kNet debug memory leak check on MSVC only. Fixes #1. 2013-10-02 20:29:51 +03:00
weitjong
79017b26de Fixed the condition to check GIT_EXIT_CODE variable. 2013-10-02 21:44:14 +08:00
weitjong
e6b690a9dc Replace svnversion with git tool to generate library revision number." 2013-10-02 21:24:33 +08:00
Lasse Öörni
7ee92c03a7 Add compiled shaders, compiled AngelScript & generated html to .gitignore. 2013-10-02 14:56:08 +03:00
weitjong
8df8843c7a Setup git ignore. 2013-10-02 19:37:34 +08:00
weitjong
11ffd62f0c Provide new batch and shell script to clean CMake cache for convenience and document it. Adjust line width of Readme.txt to prevent text overwrap in GitHub view. 2013-10-02 17:04:56 +08:00
Lasse Öörni
165b7c8eae Default to ENABLE_SAFE_LUA=0 for improved performance. 2013-10-01 18:40:47 +00:00
Aster Jian
68a081f0b5 Fix minilua link error on Linux. 2013-10-01 05:58:11 +00:00
Lasse Öörni
c169684bcd Crashproofed most of the C++ samples when running with empty resource directories. 18 & 19 will still crash inside Bullet. 2013-09-30 20:12:45 +00:00
Lasse Öörni
869eeac20c Moved ENABLED_LUA_JIT check for InitFPU() to the outer #if directive. 2013-09-30 11:35:27 +00:00
Lasse Öörni
36e165596a Create a dedicated depth stencil texture in View3D so that temporary depth stencils are not constantly generated when resizing a View3D.
Decrease screen buffer idle time before destruction to 1 second.
2013-09-30 11:22:11 +00:00
Aster Jian
11674b421a Fix LuaJIT CMakeLists.txt. 2013-09-30 05:09:44 +00:00
Lasse Öörni
0618b5fc94 Added LuaJIT license and documented the LuaJIT CMake option. 2013-09-29 22:29:24 +00:00
Lasse Öörni
56b453c25e Update to AngelScript 2.28.0 WIP to fix a ternary operator crash bug. 2013-09-29 15:47:55 +00:00
Aster Jian
eccf0fefdd Set generated file to CMAKE_CURRENT_BINARY_DIR/generated folder. 2013-09-29 15:01:28 +00:00
Aster Jian
a570bb8ad6 Add LuaJIT support in LuaScript module, please use ENABLE_LUA_JIT to enable it, just test on Windows. 2013-09-29 14:38:03 +00:00
Aster Jian
2d3740d28c Fixed an error in PushString. 2013-09-29 09:00:59 +00:00
Lasse Öörni
fc2854167c Changed Lua library & object registration order to ensure base classes are correctly set up. 2013-09-28 19:34:45 +00:00
Lasse Öörni
bd9f229045 Documented the optimization underlying node transform dirty notifications; you must use eg. GetWorldPosition() to undirty the node to get further notifications. 2013-09-28 18:12:29 +00:00
Lasse Öörni
04c3a45d92 Fixed vegetation wind effect on billboards.
Added unlit vegetation technique & example material.
Added alphamasked variation to Unlit shader.
Fixed billboard textures displayed upside down. Note: this is a breaking change for old scene content that manually specifies non-default billboard UV:s.
2013-09-28 09:46:12 +00:00