Lasse Öörni
2b259e85e0
Change Texture::SetData() to take a raw pointer instead of shared to match rest of the API and simplify script bindings.
2016-04-12 22:02:58 +03:00
Lasse Öörni
49400b4b19
Fix using SDL booleans instead of window flags in SDL_SetWindowFullscreen(). Does not change actual behavior since SDL_TRUE & SDL_WINDOW_FULLSCREEN both equal 1.
2016-04-12 22:02:57 +03:00
Lasse Öörni
b3ff024cef
Merge pull request #1319 from neat3d/ShaderAnimationHotfix
...
Shader animation bug.
2016-04-12 21:07:57 +03:00
Orz
09292b415b
Shader animation bug is fixed.
...
Changed the conditions when unsubscribes the shader animation events.
Or it will unsubcribe all the events if you call SetShaderParameterAnimation function twice. (For example, you need to animate texture U and V )
2016-04-13 00:41:35 +08:00
Yao Wei Tjong 姚伟忠
8d7027179e
Refactor to move the map's populate logic to base class for code reuse.
2016-04-12 12:51:34 +08:00
Lasse Öörni
2203cd41a6
Hack fix for window always getting maximized after fullscreen -> windowed change on D3D9 & D3D11.
2016-04-12 00:56:04 +03:00
Lasse Öörni
181c24e380
Since D3D9/11 graphics systems don't initialize OpenGL, it's arguably incorrect to call SDL_GL_GetDrawableSize. Use SDL_GetWindowSize instead. Correct line endings in Drawable2D.
2016-04-11 23:55:35 +03:00
Lasse Öörni
9cd0cbb200
Prevent taking screenshot when device is lost.
2016-04-11 23:36:07 +03:00
Lasse Öörni
5dc030c1dd
Prevent taking screenshot when device is lost.
2016-04-11 22:03:56 +03:00
Yao Wei Tjong 姚伟忠
422406c3e7
Add C++11 variadic template version of the SendEvent() method.
2016-04-11 16:06:42 +08:00
Lasse Öörni
44133d00d9
Fix typo.
2016-04-11 00:35:41 +03:00
Lasse Öörni
a8ed3dd3a5
Updated VertexBuffer Lua bindings + demonstrate arbitrary vertex elements in DynamicGeometry Lua example.
2016-04-11 00:27:55 +03:00
Lasse Öörni
25f039b7e1
Add GetElementOffset & HasElement function bindings to AS VertexBuffer API.
2016-04-10 22:46:16 +03:00
Lasse Öörni
c872d6d335
Fix missing offset member in VertexElement AS binding.
2016-04-10 15:56:49 +03:00
urho3d-travis-ci
63c4cfa443
Travis CI: API documentation update at 2016-04-10 12:46:31 UTC.
...
[ci package]
Commit: fcb687bd08
Message: For Travis CI - attempt to free up more space on OSX build environment.
2016-04-10 12:46:31 +00:00
Lasse Öörni
644eecfa7d
Demonstrate defining non-legacy vertex elements in the DynamicGeometry C++ & AngelScript examples.
2016-04-10 15:37:48 +03:00
Yao Wei Tjong 姚伟忠
fcb687bd08
For Travis CI - attempt to free up more space on OSX build environment.
2016-04-10 20:31:47 +08:00
Mike3D
b606060b98
Revert Graphics API commits af42c37
and b751108
2016-04-10 14:21:47 +02:00
Yao Wei Tjong 姚伟忠
bb428a1c21
Minor clean up to remove unused struct member.
2016-04-10 12:57:11 +08:00
Lasse Öörni
35b516b866
AngelScript binding for VertexElement struct + related enums.
2016-04-10 03:13:41 +03:00
urho3d-travis-ci
78bfb744ab
Travis CI: API documentation update at 2016-04-09 15:25:13 UTC.
...
[ci package]
Commit: 4c8bd3efdd
Message: When debug drawing NavigationMesh, use earlier collected areas. Fix typos. Do not skip areas with ID 0, as it isn't documented anywhere that the default ID should equal ineffective.
2016-04-09 15:25:14 +00:00
Lasse Öörni
4c8bd3efdd
When debug drawing NavigationMesh, use earlier collected areas. Fix typos. Do not skip areas with ID 0, as it isn't documented anywhere that the default ID should equal ineffective.
2016-04-09 17:37:08 +03:00
MonkeyFirst
070957e9b6
add Clear() on rebuild navMesh
2016-04-09 17:37:07 +03:00
MonkeyFirst
46d084b4e5
delete old get
2016-04-09 17:37:07 +03:00
MonkeyFirst
2f3290be26
gcc space inbetweene
2016-04-09 17:37:06 +03:00
MonkeyFirst
81f949faa6
add forwardecl
2016-04-09 17:37:05 +03:00
MonkeyFirst
320e8dac5c
prefer nearest navArea & weakPtr array
2016-04-09 17:37:04 +03:00
MonkeyFirst
f9dbe2930c
fix-areaID
2016-04-09 17:37:03 +03:00
Yao Wei Tjong 姚伟忠
8ac6bc2666
Add new API to get joystick by its name.
2016-04-09 22:29:14 +08:00
urho3d-travis-ci
c8fdc6eb2c
Travis CI: API documentation update at 2016-04-09 14:13:25 UTC.
...
[ci package]
Commit: 3b1ab0ffea
Message: Partially revert back changes from commit af42c37
.
2016-04-09 14:13:25 +00:00
Yao Wei Tjong 姚伟忠
3b1ab0ffea
Partially revert back changes from commit af42c37
.
2016-04-09 22:01:19 +08:00
Yao Wei Tjong 姚伟忠
0486b3bb3e
Fix SDL 2.0.4 Android code to exclude bogus joystick registration.
...
Fix Android sample browser glitch when being launched in landscape orientation.
Close #1315 .
2016-04-09 21:43:39 +08:00
Mike3D
af42c37179
More AS bindings fixes for Graphics API
2016-04-09 11:36:53 +02:00
urho3d-travis-ci
b682f559b6
Travis CI: API documentation update at 2016-04-08 17:23:36 UTC.
...
[ci package]
Commit: b751108456
Message: Fixed AS bindings for Animation and AnimationState
2016-04-08 17:23:36 +00:00
Mike3D
b751108456
Fixed AS bindings for Animation and AnimationState
2016-04-08 19:13:58 +02:00
Lasse Öörni
33e9aa7462
Merge remote-tracking branch '1vanK/master'
2016-04-08 00:37:48 +03:00
Lasse Öörni
4b7b520862
Add a documentation page on vertex buffers.
2016-04-08 00:12:41 +03:00
1vanK
49a25f787c
OgreImporter: fix relative to absolute transform and Jack's walk animation
2016-04-07 18:45:24 +03:00
Yao Wei Tjong 姚伟忠
f657a70b18
Fix STBI_NO_SIMD wrongly being defined on iOS build.
2016-04-07 23:15:13 +08:00
Lasse Öörni
e0b76920ea
Merge branch 'master' into vertexdeclaration
2016-04-07 15:58:20 +03:00
Lasse Öörni
de956301a0
D3D11 arbitrary vertex attributes. Eliminate constant string manipulation when switching shaders on D3D11.
2016-04-07 14:36:42 +03:00
Lasse Öörni
d6ccd8a644
Reinstate the "null VBO" check to prevent crash from rendering with an uninitialized vertex buffer.
2016-04-07 00:59:05 +03:00
Lasse Öörni
8215c42e37
OpenGL arbitrary vertex attributes. Change GLSL attribute indexing to zero-based to match HLSL, so the second texcoord (lightmaps, billboard sizes) is now called texCoord1, and instancing texcoords are texCoord4,5,6.
2016-04-07 00:32:41 +03:00
Yao Wei Tjong 姚伟忠
9181173e43
For Travis - do not split the time when reaching each make's target.
...
Tighten up to only perform more granular timeup check on the longest build process on Xcode as it may overshoot due to universal binary build.
2016-04-06 13:24:46 +08:00
Lasse Öörni
06d8ea602d
Move legacy vertex element information to GraphicsDefs.cpp so that it doesn't have to be repeated for different graphics APIs.
2016-04-06 00:39:23 +03:00
Lasse Öörni
ab1902ad0a
When creating a vertex declaration, do not go through current buffer's elements unnecessarily when looking for elements to override.
2016-04-06 00:16:12 +03:00
Yao Wei Tjong 姚伟忠
6d089c28a3
For Travis - use alternative way to detect make's time up.
...
Do not rely on the actual exit code from GNU make because it appears the code is different between Linux version and Darwin version.
[ci only: OSX] [skip appveyor]
2016-04-05 22:14:51 +08:00
urho3d-travis-ci
1f2ee21135
Travis CI: API documentation update at 2016-04-05 11:40:12 UTC.
...
[ci package]
Commit: 0c10106cd8
Message: Dummy implementation for D3D9 Texture2DArray. Texture2DArray Lua bindings.
2016-04-05 11:40:12 +00:00
Lasse Öörni
0c10106cd8
Dummy implementation for D3D9 Texture2DArray. Texture2DArray Lua bindings.
2016-04-05 14:31:33 +03:00
Lasse Öörni
e0e5bb713a
Special case check for LOG_RAW in Log::Write(). Closes #1307 .
2016-04-05 12:21:17 +03:00