Lasse Öörni
bb2ebf7568
Bump copyright to 2015.
2015-01-31 21:03:53 +02:00
Lasse Öörni
3115f08265
Enforce Urho3DPlayer command line format and only use the first argument as the script file name to avoid misparsing rest of the command line. See #628 .
2015-01-22 11:27:54 +02:00
Lasse Öörni
6e5d0db379
If Urho3DPlayer command line is empty, attempt to read Data/CommandLine.txt on all platforms. Closes #615 .
2015-01-20 12:42:53 +02:00
Yao Wei Tjong 姚伟忠
ed214bbeb3
Avoid the include dirs hack for finding the Urho3D.h header.
...
It is now a library user own's responsibility to include the Urho3D.h in their source code. Or to include it as part of their own precompiled header similar to what Urho3D project has done.
2015-01-20 18:15:29 +08:00
Yao Wei Tjong 姚伟忠
05dd995b85
Refactor all the codes and scripts to use the renamed 'bin' subdir.
2015-01-18 21:40:54 +08:00
Yao Wei Tjong 姚伟忠
1b2dcac1d2
Add new URHO3D_MACOSX_BUNDLE build option to build bundled apps on OSX.
2015-01-17 18:34:22 +08:00
Lasse Öörni
b6caeb02a5
Document depth rendering. Disable depth write when sampling a HW depth texture. Disable stencil optimizations when using a custom depth texture, as in that case stencil channel availability can't be guaranteed. Changed -renderpath command line option to use the full resource name instead of defaulting to the RenderPaths directory. Removed test code from ForwardHWDepth renderpath. Closes #597 .
2015-01-10 15:54:00 +02:00
Lasse Öörni
6fc05e9373
Added support for defining custom depth-stencil textures in the renderpath, and performing depth-only rendering passes. Readded support for readable HW depth format (on D3D9 it uses the INTZ hack.) Improved RenderPath & Graphics Lua bindings. Added -renderpath command line option to specify the renderpath file to use.
2015-01-10 15:54:00 +02:00
Yao Wei Tjong 姚伟忠
359efb2d37
Move the DebugNew.h from Urho3D/Container subdir to Urho3D subdir.
2015-01-05 22:31:32 +08:00
Yao Wei Tjong 姚伟忠
b51e419c88
Change impl. file to include the header file from corresponding subdir.
...
Change header file to use relative pathspec when including other files.
2015-01-04 22:40:40 +08:00
Yao Wei Tjong 姚伟忠
4feb135281
Clean up SDK include dirs. Refactor FindUrho3D CMake module.
...
For Travis CI - add new steps to install the Urho3D SDK and to reference Urho3D library from the installed SDK.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
8e6fe0da14
Refactor LuaJIT build scripts - no more generated CMakeLists.txt.
2015-01-04 22:32:39 +08:00
Yao Wei Tjong 姚伟忠
67e415acc8
Fine tune LuaJIT target arch detection logic.
2015-01-04 22:32:39 +08:00
Yao Wei Tjong 姚伟忠
0af8a30650
Fix 32-bit LuaJIT build for Linux&OSX. Fix host tool building for iOS.
2015-01-04 22:32:39 +08:00
Yao Wei Tjong 姚伟忠
f9cb911cec
Fix AngelScript binding which broke MinGW and OSX CI build.
...
Unify CMake module path setting command between Windows and non-Windows hosts for using library from SDK installation.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
d75c592bd2
Add new engine parameter to set the location of resource prefix path.
...
Remove temporary measure instead use the new URHO3D_PREFIX_PATH environment variable to set the resource prefix path for testing the executables.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
96295b4923
Ensure the application logs are created in a writeable location.
...
- Add a new function to get application preferences directory and expose it to scripting.
- Change Editor to save/load configuration file from the application preferences directory.
- Standardized the location of log files generated by Urho3DPlayer and samples. Ensure it is created in a user writeable location to prevent application locked up during closing.
2014-05-24 12:16:18 +08:00
Yao Wei Tjong 姚伟忠
6ad8c14346
Add engine param for enabling touch emulation during initialization.
...
Adjust sample base class to add screen joystick on desktop platform when touch emulation is enabled.
2014-04-29 10:36:43 +08:00
Chris Friesen
873cef9840
Folders that autoload subfolders/paks on load
2014-04-16 22:27:31 -05:00
Yao Wei Tjong 姚伟忠
6298a15bf5
Cleanup to remove unused header file after the Console enhancement.
...
[ci skip]
2014-04-09 20:40:42 +08:00
Yao Wei Tjong 姚伟忠
3748375f67
Enhance Console class to support multiple command line interpreterers.
2014-04-09 17:13:04 +08:00
Yao Wei Tjong 姚伟忠
b504e9f2c6
Fix competing command line interpreters issue in Editor.
2014-04-08 12:17:44 +08:00
Yao Wei Tjong 姚伟忠
46285baf97
Refactor build scripts to group Urho3D specific build option.
...
Initial support of project configuration and generation via cmake-gui.
2014-04-05 00:20:56 +08:00
Lasse Öörni
2ac921de60
When editor is run from Urho3DPlayer, enable Lua if possible to allow editing Lua scripted scenes. Closes #294 .
2014-04-03 10:45:24 +03:00
Lasse Öörni
35195939c1
Exposed allowed screen orientations (effective on iOS only currently) and the flush GPU setting as engine startup parameters.
2014-03-28 00:23:31 +02:00
Lasse Öörni
fb3306170e
Material quality, texture quality, texture filter mode and anisotropy level as engine startup parameters and command line options. Closes #241 .
2014-03-09 19:36:40 +02:00
Lasse Öörni
abc6fcd8b8
Shader precaching mechanism. Call Graphics::BeginDumpShaders() or use the engine command line parameter -ds <file> to create a shader dump file of the variations that are loaded during program run, and Graphics::PrecacheShaders() to load the dump file.
...
Moved GetShader() from Renderer subsystem to Graphics, which is more logical as loading shaders is a low-level operation, while Renderer should be concerned with high-level rendering of 3D scenes. Now eg. UI does not need to depend on Renderer at all.
Simplified internal state of ShaderVariation & ShaderProgram objects, the success of compile/link can be deduced from the presence of a non-null GPU object.
Fixed FILE_READWRITE mode to not clear the file contents, and to handle alternating reads and writes correctly.
2014-02-16 22:23:07 +02:00
aster2013
4f91bf9307
Add support for compiled Lua file(with luc extension).
2014-02-03 21:10:56 +08:00
Lasse Öörni
6d5ddc23e0
Bump the copyright for 2014.
2014-02-01 14:37:21 +02:00
Lasse Öörni
d1a8f38e93
Return in Urho3DPlayer if the script language is not supported to prevent showing two error dialog boxes.
2014-02-01 14:37:20 +02:00
Yao Wei Tjong 姚伟忠
59b2b02888
Fix build using Urho3D as external library. Closes 112.
...
Add test cases in Travis CI to test build using Urho3D as external library in external (non Urho3D) project.
2014-01-07 22:03:32 +08:00
Yao Wei Tjong 姚伟忠
9f0ae5cea6
For Travis CI - add NinjaSnowWar into test cases.
2014-01-02 22:46:12 +08:00
Yao Wei Tjong 姚伟忠
0fb12e5883
For Travis CI - revert back call to make test pending investigation.
2013-12-30 08:32:44 +08:00
Yao Wei Tjong 姚伟忠
088eef9e60
Add simple test cases as part of the Travis CI build.
...
Also fix Editor in case-sensitive platforms.
2013-12-30 07:48:31 +08:00
Yao Wei Tjong 姚伟忠
d719baa38b
Use on-demand shader evaluation for OpenGL as well.
...
Also correct Urho3DPlayer usage help for setting log level. There is a space between parameter key and parameter value.
Other minor changes to correct formatting.
2013-12-28 14:17:54 +08:00
Lasse Öörni
721f70fe1a
Fixed D3D9 build. Added borderless as a command line option and documented it.
2013-12-28 00:49:06 +02:00
Lasse Öörni
32a9e72752
Fixed GLES low quality shadows. Fixed Android/iOS not initializing engine parameters from CommandLine.txt.
2013-12-16 11:54:58 +02:00
StevenZhang
a17baf2695
make AngelScript an optional module, you can use -DENABLE_ANGELSCRIPT=0 to disable it.
2013-12-02 19:02:39 +02:00
Lasse Öörni
ee8e8031d2
Rework command line options that need a parameter value to have a space in between. Fixes #44 .
2013-11-12 01:33:15 +02:00
Lasse Öörni
cfa6b135ce
Moved Urho3DPlayer class definition to a .h file. Updated documentation to refer to Urho3DPlayer.
2013-11-04 19:07:00 +02:00
Yao Wei Tjong 姚伟忠
c1480abfb8
Rename Urho3D script host app from "Urho3D" to "Urho3DPlayer".
2013-11-04 19:36:36 +08:00