4e198c2412Fix wrong return value in HashMap Front() & Back().
Lasse Öörni
2016-07-04 18:33:38 +0300
fd5bac385aSince the SDL window is not API-specific, move it into Graphics from GraphicsImpl to simplify code.
Lasse Öörni
2016-07-01 10:17:29 +0300
eb104906aaRemove API-specific Graphics class headers and code duplication. Closes#1422.
Lasse Öörni
2016-07-01 09:37:56 +0300
fb881c3360Use CMake to auto-detect and define _TIMESPEC_DEFINED as necessary.
Yao Wei Tjong 姚伟忠
2016-06-30 21:01:41 +0800
bdce4b3dbaMove API-specific Graphics class member variables to GraphicsImpl. Rename WindowMoved & WindowResized to OnWindow.. to match convention used elsewhere (eg. OnNodeSet) Change windowIcon_ member to WeakPtr to ensure safety in later access. Minor class comment fixes.
Lasse Öörni
2016-06-30 02:11:19 +0300
e444e50175Merge pull request #1445 from TheComet93/iss1444
Lasse Öörni
2016-06-29 23:18:33 +0300
51b0a16f9aRemove API-specific RenderSurface class headers and RenderSurface code duplication.
Lasse Öörni
2016-06-27 22:42:02 +0300
46b9a90fb1Remove API-specific Texture subclass headers and code duplication for loading & SetSize().
Lasse Öörni
2016-06-26 23:26:14 +0300
26342ce69eRemove code duplication from checking max. mip levels on OpenGL.
Lasse Öörni
2016-06-26 21:12:20 +0300
f452a16f2dInitial Texture class refactoring. Get rid of API-specific Texture header.
Lasse Öörni
2016-06-26 20:35:51 +0300
11b1e2cc2dShadow batches don't need a zone, since they shouldn't use ambient color or fogging settings. This also fixes a bug with erroneous fog settings when OpenGL constant buffers are used.
Lasse Öörni
2016-06-25 19:52:17 +0300
6c77b75813Cleanup ShaderParameter related code.
Lasse Öörni
2016-06-25 17:58:37 +0300
f8d636426cMake ShaderVariation class header API-agnostic.
Lasse Öörni
2016-06-25 16:00:44 +0300
9b51baa445Separate ConstantBuffer to API-independent and -specific implementations, and unify the header. Add dummy D3D9 constant buffer implementation (that only logs error if used) so that user will not get link errors if attempting to use.
Lasse Öörni
2016-06-24 20:50:05 +0300
6775038a44Eliminate more duplication of API-independent index / vertex buffer code.
Lasse Öörni
2016-06-24 15:15:02 +0300
db7f3bb56aFix dynamic flag not being set for D3D9 vertex buffer.
Lasse Öörni
2016-06-24 14:56:12 +0300
51b026f33dUnify IndexBuffer & VertexBuffer headers for all APIs. Move API-independent parts of vertex / index buffers to their own implementation files to eliminate code duplication.
Lasse Öörni
2016-06-24 14:30:34 +0300
1ba87dae4cGet rid of API-specific GPUObject class header & implementation.
Lasse Öörni
2016-06-24 02:17:06 +0300
35a616448aMerge commit 'a1a9ce7817286783347acfbcce94bfd659915b66' into master.
Yao Wei Tjong 姚伟忠
2016-06-23 22:05:25 +0800
a1a9ce7817Squashed 'Source/ThirdParty/SDL/' changes from 707b945..a901827
Yao Wei Tjong 姚伟忠
2016-06-23 22:05:24 +0800
993e82f9ecFix cross-compiling builds using X11 shared libraries.
Yao Wei Tjong 姚伟忠
2016-06-23 17:03:48 +0800
c88891fa6fTravis CI: API documentation update at 2016-06-23 12:02:08 UTC. [ci package]
urho3d-travis-ci
2016-06-23 12:02:08 +0000
e8559b316aAdd events for node/component being cloned. These are sent by their owning scene after the cloning process (along with all attributes set) is complete.
Lasse Öörni
2016-06-23 14:52:06 +0300
2f4ed29be8For CI - attempt to fix broken multiarch support in older CMake. This should be a non-issue when we have migrated to CMake 3.2.3 (now under development in refactor-buildsystem branch).
Yao Wei Tjong 姚伟忠
2016-06-23 00:23:12 +0800
fff8b782b1Fix cross-compiling builds using readline shared library.
Yao Wei Tjong 姚伟忠
2016-06-22 18:06:21 +0800
489356a29fCleanup editor debug icon code to not do constant resizes of billboardsets to zero and back, and to use fixed screen size mode to eliminate need for manual sizing. BillboardSet::SetNumBillboards() is no-op if count remains same. Fix BillboardSet fixed size bug when changing between ortho & perspective camera. Do not care to resize scratch buffer smaller if it's below 1MB. Add scratch buffer debug messages also to OpenGL Graphics class for consistency. Closes#1434.
Lasse Öörni
2016-06-21 22:18:45 +0300
618fd25691Travis CI: API documentation update at 2016-06-21 16:05:19 UTC. [ci package]
urho3d-travis-ci
2016-06-21 16:05:19 +0000
4279990ea8Minor fixes. Add script bindings and documentation for the new renderpath command.
Lasse Öörni
2016-06-21 18:54:57 +0300
3a0488fec1Merge remote-tracking branch 'OldSnake22/master'
Lasse Öörni
2016-06-21 18:10:51 +0300
332fe215f6SendEvent new renderpath command
Franck Poulain
2016-06-21 14:15:53 +0200
1f3c4ddbc4Added contributor credit.
Lasse Öörni
2016-06-21 11:47:07 +0300
bcac85a0acTabs to spaces
Franck Poulain
2016-06-20 14:12:44 +0200
f0775adfbcChange View::FindNamedTexture() function to be public
Franck Poulain
2016-06-20 14:10:18 +0200
157e55ec44Minor documentation update on optional Linux prerequisite packages.
Yao Wei Tjong 姚伟忠
2016-06-16 17:40:31 +0800
9f90bdd571Travis CI: API documentation update at 2016-06-16 18:56:49 UTC. [ci package]
urho3d-travis-ci
2016-06-16 18:56:49 +0000
dc74d3dbc0Remove commented out lines, add MarkNetworkUpdate() to SetUpdateInvisible().
Lasse Öörni
2016-06-16 21:47:28 +0300
a9f7703f74Add update invisible parameter to RibbonTrail and use it on the samples.
Yusuf Umar
2016-06-16 18:09:09 +0700
797d33da94Travis CI: API documentation update at 2016-06-16 05:39:07 UTC. [ci package]
urho3d-travis-ci
2016-06-16 05:39:07 +0000
239c0265a0Fix a typo in RibbonTrail's attribute and other minor cleanups.
Yao Wei Tjong 姚伟忠
2016-06-16 13:28:02 +0800
54143eba49Travis CI: API documentation update at 2016-06-15 18:51:59 UTC. [ci package]
urho3d-travis-ci
2016-06-15 18:51:59 +0000
6d046d57c8More minor code, comment and tab-to-spaces changes. Use the more specific TrailPoint struct name instead of Point, and export it in case a derived class wants to manipulate them. Add RibbonTrail to documentation's drawable class list.
Lasse Öörni
2016-06-15 20:24:45 +0300
1f7c5c8a59Delete some debug leftovers and fix big index buffer size.
Yusuf Umar
2016-06-15 15:41:41 +0700
f6d413aee4Minor comment and code convention edits.
Lasse Öörni
2016-06-15 00:26:43 +0300
08fdf0dda0Fixing corrupted textures.
Yusuf Umar
2016-06-13 22:14:55 +0700
f9e65027e3Implementing RibbonTrail
Yusuf Umar
2016-06-13 21:43:44 +0700
bb658965c2Travis CI: API documentation update at 2016-06-14 18:51:53 UTC. [ci package]
urho3d-travis-ci
2016-06-14 18:51:53 +0000
27f40f15beAdd contributor credit.
Lasse Öörni
2016-06-14 21:38:06 +0300
67e80aa61eAdd brief documentation section on defining extra per-instance data.
Lasse Öörni
2016-06-14 21:36:31 +0300
c92894d250Add support of custom per-instance data in batches.
Eugene Kozlov
2016-06-13 17:56:29 +0300
224320d6d0Add missing include for iOS build.
Yao Wei Tjong 姚伟忠
2016-06-11 23:22:23 +0800
3668e1d9d1For CI - address the limitation of Travis CI's caching logic. Travis CI is not able to find the matching cache file in their cache store for the newly created CI mirror branches for new topic branch. As the result, the initial CI jobs run without the benefit of the ccache. For OSX and iOS universal binary builds, this would usually cause our custom interrupt mechanism to be triggered. To avoid that, when cache size is 0 then we configure the build system to only build for 64-bit arch. Basically half the number of archs in the universal build.
Yao Wei Tjong 姚伟忠
2016-06-11 22:56:57 +0800
a5b4512966Reduce direct exposure to SDL headers as much as possible.
Yao Wei Tjong 姚伟忠
2016-06-11 21:58:22 +0800
eff1cd46b9Sort samples list, just for consistency sake.
Yao Wei Tjong 姚伟忠
2016-06-11 13:35:00 +0800
3b4b354d51If targeting 60 fps or above on iOS, skip the framelimiter sleep loop, since it could cause running below 60 fps even if the frame was executed fast enough.
Lasse Öörni
2016-06-11 15:12:32 +0300
d0bcac5fe0Ensure iPhoneOS and iPhoneSimulator use the same code path. This commit should also fix the issue reported in issue #1369.
Yao Wei Tjong 姚伟忠
2016-06-11 13:09:45 +0800
576216c3c2Fix MOBILE_GRAPHICS define not being defined on iOS, which would break shadow rendering.
Lasse Öörni
2016-06-11 04:31:36 +0300
f4f3ffde76Improve comment for Renderer::SetDynamicInstancing().
Lasse Öörni
2016-06-11 03:48:14 +0300
391d93ced0Use nanosleep instead of usleep. Closes#1413.
Lasse Öörni
2016-06-10 23:51:09 +0300
b3f6278b6fAdd contributor credit and make the description of Boost's role more accurate.
Lasse Öörni
2016-06-10 22:03:50 +0300
843850079bUpdate sqlite version also in dox file.
Lasse Öörni
2016-06-10 21:42:23 +0300
ef949533c6Update to SQLite 3.13.0
Loic Blot
2016-06-08 21:57:59 +0200
1243d8bcdaRegex replace all the uppercase key bindings with their constants.
Yao Wei Tjong 姚伟忠
2016-06-11 02:56:39 +0800
8710de6197Fix pause in NinjaSnowWar. Fix keycodes defined in screen joystick to conform to SDL keycodes (lowercase)
Lasse Öörni
2016-06-10 20:30:40 +0300
991b0c5986Undefine first before redefine to suppress the compilation warnings.
Yao Wei Tjong 姚伟忠
2016-06-10 19:53:17 +0800
ff64de61beInitial support for Linux on generic ARM cross-compiling. Close#1384.
Yao Wei Tjong 姚伟忠
2016-06-10 17:15:19 +0800
5bdd519ce7Another attempt to reenable AS wrapper for 64-bit ARM platform. For CI - switch all the Android CI jobs to use Clang compiler toolchian instead of GCC compiler toolchain. The old GCC 4.9 is not able to handle C++11 standard for AS wrapper. Besides, the latest change log in Android NDK has marked GCC as deprecated and recommended developers to migrate to Clang.
Yao Wei Tjong 姚伟忠
2016-06-07 02:32:17 +0800
bfa62a0575Enhance Android/CMake toolchain file to support NDK r11 new layout.
Yao Wei Tjong 姚伟忠
2016-06-07 02:14:34 +0800
64d975ba1aAdd initial build support for generic ARM platform. Add a new build option "ARM_ABI_FLAGS" for supplying additional ABI compiler flags when targeting generic arm. Fix Linux build from using OpenGLES instead of GLEW, fix RPI build from using wrong OpenGLES library, fix iOS build from using arm-specific compiler flags directly which would cause problem in universal binary build containing iphonesimulator archs as well. And other minor refactoring.
Yao Wei Tjong 姚伟忠
2016-06-05 00:39:42 +0800
2090e84be1Add contributor credit.
Yao Wei Tjong 姚伟忠
2016-06-07 11:28:33 +0800
0dc85f14a9compile on arm arch with opengles2
proller
2016-06-05 15:48:50 +0300
a1c458f28eReduce amount of unnecessary Frustum::UpdatePlanes() calls. A default-constructed degenerate frustum no longer has its planes updated on construction, but instead the planes will remain in default-constructed state.
Lasse Öörni
2016-06-10 02:09:50 +0300
d759a0e51bCall GainFocus() on Input initialization instead of just setting focusedThisFrame_ true. Fixes#1411.
Lasse Öörni
2016-06-09 21:20:42 +0300
6033ffd116Fix wrong bool check.
Lasse Öörni
2016-06-09 20:02:57 +0300
7b18a9a8b2Slider knob fixed size fix from Lumak. Closes#1412.
Lasse Öörni
2016-06-09 18:47:38 +0300
3afe44678cSet the compiler flags at the target level when enabling PCH. We do not support disabling PCH per compilation unit anymore so we do not need to use custom compiler flags per compilation unit. Using this kind of configuration would result in unwanted target rebuild when the list of compilation unit gets changed due to new/deleted source files for the target in question.
Yao Wei Tjong 姚伟忠
2016-06-09 20:42:22 +0800
1535323815Set default mobile shadow bias adjustments to ineffective since they no longer appear necessary.
Lasse Öörni
2016-06-08 23:49:31 +0300
ed048b7293Transmit shadow position to GetShadow() as highp to fix remaining shadow accuracy issue on Android.
Lasse Öörni
2016-06-08 22:50:49 +0300
f36abeb57cForce highp for shadow related samplers, uniforms & varyings on GLES for better shadows on iOS. Note: may be incompatible for some mobile GPU's that don't support highp at all.
Lasse Öörni
2016-06-08 21:30:31 +0300
84eca64c6bUse rfc1034identifier modifier for the bundle name so that Urho3D samples build successfully for iOS out of the box.
Lasse Öörni
2016-06-08 20:37:09 +0300
f6a01c11afAdded contributor credit.
Lasse Öörni
2016-06-08 11:30:05 +0300
cfec9a95bcfix for typo in UTF16 decoder
ArtemKulyk
2016-06-07 18:41:07 +0300
c98d52c0a3Prefer to put the instance transform before output variables.
Lasse Öörni
2016-06-06 22:26:37 +0300
09845225b7Merge remote-tracking branch 'tungsteen/shaders-merge'
Lasse Öörni
2016-06-06 21:56:10 +0300
5fa3cff841Prevent unnecessary fullupdate when node attributes are edited.
Lasse Öörni
2016-06-06 21:30:13 +0300
b386b76c23Fix "Is enabled" checkbox getting moved on gizmo / cursor key node editing. Closes#1401.
Lasse Öörni
2016-06-06 20:13:34 +0300
683ebbdc08Fix instancing for HLSL water shader
Sergey Bosko
2016-06-06 12:02:59 +0200
0ed42d0f9dFix letter accelerator keys not working. Closes#1403.
Lasse Öörni
2016-06-06 11:01:35 +0300
e260a3354cRevert back to temporarily disable AS wrapper for 64-bit ARM platform. The earlier commit lacks the inclusion of logic to enable C++11 standard and boost preprocessor library. However, after locally tested it, it appears that Android NDK 4.9 is not able to able handle it. Need more time to experiment with it in another branch first. [ci only: Android, OSX] [skip appveyor]
Yao Wei Tjong 姚伟忠
2016-06-05 23:44:56 +0800
ccd9dac3c7Also enable AS wrapper when targeting 64-bit ARM platform.
Yao Wei Tjong 姚伟忠
2016-06-05 22:42:01 +0800
9345cff42eRemove custom memory adjustment as the default is set to 128 MB now.
Yao Wei Tjong 姚伟忠
2016-06-05 13:12:24 +0800
cc5761d09dClean up the code to check for AS_MAX_PORTABILITY define so that it could also come from AS' own config. Minor typo fix.
Lasse Öörni
2016-06-04 17:34:33 +0300
96451d891eUse the proper form of EMSCRIPTEN define throughout.
Lasse Öörni
2016-06-04 12:33:02 +0300
fb508365afFix logic for getting the script file name in web Urho3DPlayer in case arguments were already specified and the command line file is not used.
Lasse Öörni
2016-06-04 12:26:36 +0300
f097224968Avoid hardcoding the script file name on web platform Urho3DPlayer. Rather attempt to read from CommandLine.txt later once resources are initialized. Setup a default windowed resolution to match the executable web samples.
Lasse Öörni
2016-06-04 00:14:28 +0300
d3bc6e000dAdd contributor credit.
Lasse Öörni
2016-06-02 20:59:39 +0300
98dfaf3c75Add Boost Preprocessor library to Source/ThirdParty. Force C++11 for AngelScript / Emscripten combo. Default to CharacterDemo instead of NinjaSnowWar in Urho3DPlayer on Emscripten due to missing Network subsystem.
Lasse Öörni
2016-06-02 20:55:52 +0300
0803320a9aRemove mention of AngelScript not being supported on Emscripten. Leave the generic call convention autohandle fix on at all times, since it doesn't hurt. Clarify CommandLine.txt not being able to be read on Emscripten.
Lasse Öörni
2016-06-02 19:27:15 +0300