Commit Graph

5243 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
7fc9aa816a Make clean for MinGW/Android/Web platforms.
The rest of the platforms are already taken care of by this commit, however, only tested explicitly on Linux native, RPI, and ARM.
2017-07-09 21:58:33 +08:00
Lasse Öörni
a725b608ec Merge remote-tracking branch 'Mezozoysky/bgload' 2017-07-08 13:38:28 +03:00
Stanislav Demyanovich
9bb48ed015 Background loading: add resource into cache before sending E_RESOURCEBACKGROUNDLOADED. 2017-07-08 15:29:56 +07:00
Lasse Öörni
18df5b8525 Also send highdpi parameter in window resize event on D3D9/D3D11 to match OpenGL behavior. 2017-07-06 20:04:10 +03:00
Iain Merrick
237b2b0fe6 Fix Graphics::GetHighDPI() on OS X (closes #2009) 2017-07-06 09:44:50 -05:00
Iain Merrick
7ced601b6c Scale kerning values correctly (closes #2007) 2017-07-05 11:47:39 -05:00
Lasse Öörni
650f380623 Add base64 license, apply Urho code convention to base64 code since it's inside StringUtils.cpp. 2017-07-05 13:55:22 +03:00
Konstantin Guschin
dddbdcc595 Add csv and base64 encodings for tmxfile 2017-07-05 13:55:22 +03:00
urho3d-travis-ci
6c5f0f4815 Travis CI: API documentation update at 2017-07-05 08:42:09 UTC.
[ci package]

Commit: cd38109ddf

Message: Minor doc edit & header comment fix.
2017-07-05 08:42:09 +00:00
Lasse Öörni
cd38109ddf Minor doc edit & header comment fix. 2017-07-05 11:31:04 +03:00
Iain Merrick
0450bcd11e Add configurable oversampling to improve subpixel font rendering (#1953)
Subpixel-positioned text looks blurry, due to bilinear filtering of the
underlying texture. The basic idea here is to stretch the font glyphs
horizontally to increase the sharpness at subpixel positions. The
stretched images need to be smoothed to avoid aliasing artifacts; this
is done in FontFaceFreeType::BoxFilter().

Glyphs are always pixel-aligned vertically, so no vertical oversampling
is needed.

To make this feature comprehensible (I hope!) I've removed the
'subpixelGlyphPositions' flag and replaced it with a couple of values:
'fontSubpixelThreshold' sets the point at which subpixel positioning
kicks on, and 'fontOversampling' controls the amount of stretching.

The default values are 12pt text and 2x oversampling. These are fairly
conservative settings, which should improve small text without wasting
a lot of memory.

Note that when the font hint level is NORMAL (the default), subpixel
positioning and oversampling are both disabled. So, this feature doesn't
change any default behavior, and applies some hopefully sensible values
if the hint level is set to LIGHT or NONE.
2017-07-03 11:21:47 -05:00
Iain Merrick
2ab978e968 Fix kerning pairs (#2003)
Kerning values were being associated with the wrong char codes.
This was broken in commit 39930c9a, which moved some code around
to ensure that the space character is always the first one loaded.
2017-07-02 21:42:03 -05:00
Lasse Öörni
3c9881faca Further consistency edit to return (?) on failure path in all ProcessUtils detection functions. Improve function comments in header. 2017-07-01 21:12:56 +03:00
Florastamine
e602496be7 Minor incoherent fix. 2017-07-01 19:37:47 +07:00
Yao Wei Tjong 姚伟忠
752609701b Indirectly detect the availability of the "RtlGetVersion" function.
Fix #1998.
2017-07-01 17:49:17 +08:00
Lasse Öörni
0bdb20fd8e Add MINI_URHO check to disable Windows OS version detection, to help with issue #1998. 2017-06-27 20:18:32 +03:00
Lasse Öörni
ce98afc76e Add contributor credits. Re-add old behavior of also acquiring properties directly from tileElem in TmxFile2D, if defined. 2017-06-26 18:37:01 +03:00
Georgii Pelageikin
3981a92a05 Added b2ChainShape::Clear() call into CollisionChain2D::RecreateFixture() (fixes #1995) 2017-06-26 18:36:59 +03:00
Thomas Böhm
ef63c079cb fixed loading user defined tile properties from tileset-file. 2017-06-26 18:36:57 +03:00
urho3d-travis-ci
ecacd32e33 Travis CI: API documentation update at 2017-06-26 10:23:08 UTC.
[ci package]

Commit: 1826fdb73a

Message: Merge pull request #1997 from eugeneko/master

Add Vector3::Orthogonalize helper function.
2017-06-26 10:23:08 +00:00
Eugene Kozlov
7f1f44d5cc Add Vector3::Orthogonalize helper function. 2017-06-26 00:39:10 +03:00
urho3d-travis-ci
7a905bd056 Travis CI: API documentation update at 2017-06-23 22:50:38 UTC.
[ci package]

Commit: 071b42819d

Message: Amend porting note.
2017-06-23 22:50:38 +00:00
Lasse Öörni
bb31dee5f9 Merge remote-tracking branch 'iainmerrick/fractional_glyph_advances' 2017-06-23 18:24:05 +03:00
urho3d-travis-ci
b51625df5b Travis CI: API documentation update at 2017-06-23 06:45:43 UTC.
[ci package]

Commit: 58277e3621

Message: Add AS bindings for searching Node children by name.
2017-06-23 06:45:43 +00:00
Eugene Kozlov
58277e3621 Add AS bindings for searching Node children by name. 2017-06-23 09:35:45 +03:00
Iain Merrick
e603eed814 Add a 'subpixel glyph positions' option to UI (#1953)
When this option is enabled, text will be formatted with subpixel
(fractional) positions on the x-axis. Positions on the y-axis are
still pixel-aligned.

Note that this option has no effect if the hinting level is set
to FONT_HINT_LEVEL_NORMAL, as each glyph is rounded to an integral
pixel size by the hinter. It only makes a different if the hinting
mode is LIGHT (vertical hinting only) or NONE.

With subpixel positioning, the output will look blurrier due to
texture filtering. TODO: Add horizontal oversampling to improve
sharpness. That needs extra memory so it should be configurable.
2017-06-20 17:04:56 -05:00
urho3d-travis-ci
7fa6f9c960 Travis CI: API documentation update at 2017-06-19 20:16:14 UTC.
[ci package]

Commit: 216cf57e96

Message: Add font size porting note.
2017-06-19 20:16:14 +00:00
Iain Merrick
1e3a1edd45 Change font size to a float (closes #1952)
This commit changes the 'pointSize' parameter in Font, Text
and Text3D from an int to a float, allowing e.g. 14.5pt text.
Note that when hinting is enabled, font metrics are snapped
to pixel boundaries, so the effect may be hard to see unless
you also set UI.FontHintLevel to LIGHT or NONE.

This is a change to the public API, but existing code (including
scripts) should compile and run as before.
2017-06-18 22:27:59 -05:00
urho3d-travis-ci
c1e3969440 Travis CI: API documentation update at 2017-06-18 01:22:28 UTC.
[ci package]

Commit: bcd90a977d

Message: Change attribute to default type & accessor. Add contributor credit.
2017-06-18 01:22:28 +00:00
Lasse Öörni
bcd90a977d Change attribute to default type & accessor. Add contributor credit. 2017-06-17 22:43:26 +03:00
Lasse Öörni
6ab29705d2 Merge remote-tracking branch 'kostik1337/master' 2017-06-17 22:34:36 +03:00
Lasse Öörni
b9c3199a25 Merge remote-tracking branch 'iainmerrick/font_hinting' 2017-06-17 22:17:59 +03:00
Lasse Öörni
9ef8ac9ba9 Tabs to spaces. 2017-06-17 00:09:05 +03:00
Lasse Öörni
e5dcfdafbb Merge remote-tracking branch 'dragonCASTjosh/master' 2017-06-17 00:08:03 +03:00
Lasse Öörni
0b8af7cf04 Remove the FreeType docs/reference folder, as it has been Urho3D tradition to not include it. 2017-06-17 00:06:00 +03:00
Konstantin Guschin
0fd29cfd3b renamed 'is_emitting' angelscript method to 'get_emitting' 2017-06-17 00:42:43 +07:00
Guschin Konstantin
cc3c544485 use 'logical AND' instead of nested ifs 2017-06-16 22:00:39 +07:00
Guschin Konstantin
448b3a66b1 added emitting flag for ParticleEmitter2D 2017-06-16 18:50:08 +07:00
Lasse Öörni
38cf46df54 Merge remote-tracking branch 'iainmerrick/freetype2.8' into update-freetype 2017-06-16 00:21:40 +03:00
Iain Merrick
282f250e3a Add UI.FontHintLevel property
There are three levels: NORMAL (the default), LIGHT and NONE.
The LIGHT level makes FreeType align font outlines to pixel
boundaries vertically, but not horizontally.
2017-06-15 15:30:28 -05:00
Lasse Öörni
77e1232556 Merge pull request #1980 from iainmerrick/typography
Add a 'Typography' sample program
2017-06-15 22:55:39 +03:00
Lasse Öörni
8c18d60896 Merge remote-tracking branch 'iainmerrick/typography' 2017-06-15 22:39:47 +03:00
Iain Merrick
4e851dbd4d Update FreeType to 2.8. 2017-06-15 13:07:34 -05:00
Iain Merrick
a476c43a24 Add a 'Typography' sample program
Displays text in various sizes, with checkboxes to play with settings
that affect the way text is rendered:
- Color (white-on-black versus black-on-white)
- Autohinter
- sRGB output conversion (not available on all platforms)
2017-06-13 13:40:22 -05:00
dragonCASTjosh
eebc9f04c3 Fixed sphere light issue 2017-06-13 06:01:59 +01:00
Lasse Öörni
e41b74c463 Merge branch 'update-bullet' 2017-06-12 19:27:06 +03:00
urho3d-travis-ci
31f698fa60 Travis CI: API documentation update at 2017-06-10 21:26:46 UTC.
[ci package]

Commit: 00eb0c6ff0

Message: Merge pull request #1979 from eugeneko/master

Add Model metadata support.
2017-06-10 21:26:46 +00:00
Lasse Öörni
86ba5e5bdd Update Bullet to 2.86.1. Thanks to slapin for the initial work. 2017-06-10 21:30:19 +03:00
Eugene Kozlov
52e99da087 Add Model metadata support. 2017-06-10 00:24:48 +03:00
Lasse Öörni
1741073835 Merge remote-tracking branch 'iainmerrick/fontfix' 2017-06-09 22:14:05 +03:00
Iain Merrick
457976366b Fix rounding error that can lead to clipped glyphs (closes #1978)
The key thing is to to trust the metrics in slot->bitmap, which
are always correctly rounded up to integral values, rather than
also looking at the fixed-point values in slot->metrics and
rounding them manually.

Previously, CanLoadAllGlyphs was pre-flighting the texture atlas
allocation without rendering the glyphs. However, slot->bitmap
isn't populated until the glyph is rendered. I've therefore
removed CanLoadAllGlyphs entirely, and tweaked the preflight
process so that it calls LoadCharGlyph directly.

This should be slightly faster, as we don't have to load the
glyphs twice. It also reduces the total code size a bit, and
guarantees that the "preflight" is always consistent.

The new preflight behavior is *slightly* different, in that it
will expand the first texture atlas up to its maximum size (but
won't move on to a second atlas). Previously, if CanLoadAllGlyphs
failed, we would render only as far as char code 255 (probably
leaving some of the initial texture atlas free).
2017-06-09 13:46:04 -05:00
Iain Merrick
39930c9ab4 Fix bug in FontFaceFreeType::CanLoadAllGlyphs that can make text vanish
Closes #1976

FontFaceFreeType checks at runtime whether the whole font can be loaded
into a single texture, by preflighting all the necessary texture atlas
placements in CanLoadAllGlyphs.

However, this preflight operation was slightly different from the real
texture atlas generation, so sometimes CanLoadAllGlyphs was incorrectly
returning true. The LoadCharGlyph would then switch to a new texture
atlas (via SetupNextTexture). This would usually make Text elements
vanish, as the rendered glyphs were in the wrong texture.

We fix this bug with two changes:
- Make CanLoadAllGlyphs process the same char codes in the same order
- Make CanLoadAllGlyphs skip zero-size glyphs (as LoadCharGlyph does)

We also log an error if SetupNextTexture is called unexpectedly, to
help catch future occurrences.
2017-06-08 11:25:50 -05:00
Lasse Öörni
14bb9f98be Remember custom depth stencil surface if defined during renderpath, and use it also for any debug rendering. Closes #1975. 2017-06-08 18:22:17 +03:00
Lasse Öörni
fb6492a948 Reposition the window also in borderless mode if it's sized as large as the monitor bounds. 2017-06-07 18:30:51 +03:00
Pengfei Li
d9d98cd35b restore the commits in Sample.inl 2017-06-07 18:30:49 +03:00
Pengfei Li
353fc4d7b3 Consider the initial position for the borderless window 2017-06-07 18:30:47 +03:00
Yao Wei Tjong 姚伟忠
3a6f3e5543 Avoid hard-coding of shell script / batch file names.
Fix #1974.
2017-06-06 22:42:43 +08:00
Henrik Heino
6ff0a0b53a Static VertexBuffer::UpdateOffsets() 2017-06-06 01:02:51 +03:00
Yao Wei Tjong 姚伟忠
c7a0149dc9 Another sweep for tvOS conditional code branch. 2017-06-05 23:04:09 +08:00
Yao Wei Tjong 姚伟忠
75b8420a31 Initial work for porting Urho3D to AppleTV platform. 2017-06-05 23:04:09 +08:00
Lasse Öörni
392155397b Add / remove the vehicle Action when RaycastVehicle component is enabled or disabled. Closes #1954. Minor code reformatting in 46_RaycastVehicleDemo.as. 2017-06-03 23:22:29 +03:00
urho3d-travis-ci
5c7ee10f5f Travis CI: API documentation update at 2017-06-02 23:52:55 UTC.
[ci package]

Commit: d2ac2067c6

Message: Merge pull request #1966 from eugeneko/master

Re-factored PhysicsWorld2D::ContactInfo. Removed NodeEndContact2D::P_…
2017-06-02 23:52:55 +00:00
Eugene Kozlov
d2ac2067c6 Merge pull request #1966 from eugeneko/master
Re-factored PhysicsWorld2D::ContactInfo. Removed NodeEndContact2D::P_…
2017-06-03 01:46:38 +03:00
Lasse Öörni
3f99b1e630 Minor code formatting. 2017-06-03 01:31:26 +03:00
Lasse Öörni
b5e664d4c3 Merge remote-tracking branch 'ricab/master' 2017-06-03 00:39:04 +03:00
Lasse Öörni
3b799b7712 Avoid duplication of code for the float-to-raw-unsigned-bits conversion. 2017-06-03 00:28:04 +03:00
Eugene Kozlov
792c4900a8 Remove P_CONTACT parameter from 2D physics events. Rename P_CONTACTPOINTS to P_CONTACTS. 2017-06-02 22:48:04 +03:00
Lasse Öörni
e4fe4f04bb Add contributor. Prefer union-based float to raw bits conversion. 2017-06-02 18:42:34 +03:00
Eugene Kozlov
9b1fc0715f Re-factored PhysicsWorld2D::ContactInfo. Removed NodeEndContact2D::P_CONTACT and PhysicsEndContact2D::P_CONTACT event parameters. Fixed #1958. Fixed #1965. 2017-06-01 21:59:45 +03:00
CG-SS
07e2c6fcca Update Vector3.h 2017-05-29 17:53:49 -03:00
CG-SS
75db281fcc Hash code calculation for Vector3
Added ToHash() for Vector3, using FloatToRawIntBits from MathDefs.h
2017-05-29 17:36:56 -03:00
CG-SS
98a8097de6 Update MathDefs.h 2017-05-29 17:23:39 -03:00
CG-SS
59e0939c75 Adding FloatToRawIntBits
The FloatToRawIntBits function is used to calculate float hashes.
2017-05-29 17:22:56 -03:00
Ricardo Abreu
5fbbec8b7a Fix RigidBody2D failure to apply transforms that would return it to original position and rotation; fixes #1960 2017-05-28 00:45:00 +01:00
Lasse Öörni
07dfd7b720 Fix copypaste error in SpriteSheet2D load code. Closes #1951. 2017-05-24 00:01:58 +03:00
Lasse Öörni
ba9444ee72 Code convention edits. 2017-05-21 21:46:01 +03:00
Sergey Lapin
2fd97bd798 Fixed memleak by running Init multiple times (ApplyAttributes/Editor thing) 2017-05-21 21:46:01 +03:00
Sergey Lapin
d6ed2104a1 Remove vehicle from Bullet action list
...on component removal
Closes #1949
2017-05-21 21:46:01 +03:00
Yao Wei Tjong 姚伟忠
c935c7dc3f Glue main module and side module(s) together in final output. 2017-05-21 20:21:27 +08:00
Lasse Öörni
364521c1ee Do not transform root bone with model's root node in AssetImporter, only with nodes in between (if any). Possible fix to #1944. 2017-05-20 15:39:23 +03:00
urho3d-travis-ci
110ac2fe84 Travis CI: API documentation update at 2017-05-18 15:07:05 UTC.
[ci package]

Commit: 363f68d36e

Message: When the search path is required, search it as rooted and not-rooted.
2017-05-18 15:07:05 +00:00
Eugene Kozlov
ef304f6bca Fix Node::GetSignedWorldScale. Related to #1926. 2017-05-17 23:38:27 +03:00
Eugene Kozlov
c93d95854d Add helper getters for Matrix3, Matrix3x4, Matrix4. Minor style and typo fixes. 2017-05-17 23:38:23 +03:00
Eugene Kozlov
268c4523cb Merge pull request #1939 from eugeneko/master
Add support of arbitrary data in Sound, Animation and Texture resources.
2017-05-17 21:14:37 +03:00
Lasse Öörni
77170d68ad Avoid calling strlen unnecessarily within AngelScript's ParseToken. May have effect on #1946. 2017-05-17 10:52:55 +03:00
Eugene Kozlov
34adb450f0 Remove trailing spaces. 2017-05-17 00:46:05 +03:00
Eugene Kozlov
baf0daf7aa Add support of arbitrary data in Sound, Animation and Texture resources. 2017-05-17 00:46:05 +03:00
Lasse Öörni
7493684840 Disable unsupported functions on iOS. 2017-05-16 10:22:20 +03:00
Lasse Öörni
9be9330851 Merge remote-tracking branch 'Florastamine/master' into platform-query-functions 2017-05-16 10:09:16 +03:00
Huy Nguyen
497d09f997 Fixed coding convention, replaced atoi(), minor cleanup. 2017-05-15 20:23:14 +07:00
Huy Nguyen
3db26b4fad Fixed missing include for atoi(). 2017-05-14 21:37:20 +07:00
Huy Nguyen
fea5ece69b Added macOS/Mac OS X support for OSGetVersion(). 2017-05-14 21:30:10 +07:00
Huy Nguyen
973c426d69 Rewrote GetLoginName() to properly detect the logged on user. 2017-05-14 21:26:42 +07:00
Huy Nguyen
0df11623c6 Sync with the platform-query-functions branch. 2017-05-14 19:10:21 +07:00
Lasse Öörni
ea15976d7c Add Print() 64-bit integer overloads to AngelScript API. 2017-05-14 12:39:51 +03:00
Lasse Öörni
2af2ec66a2 Merge pull request #1943 from PredatorMF/master
Add missing monitor/refresh rate members initialization
2017-05-13 23:04:42 +03:00
Lasse Öörni
8e32ad01b4 Code convention / comment edits and remove unnecessary ? operator. 2017-05-13 18:26:06 +03:00
urho3d-travis-ci
e88a03154f Travis CI: API documentation update at 2017-05-13 11:38:55 UTC.
[ci package]

Commit: a90bc49b56

Message: Move SoundSource new function registration to APITemplates.h so it works on both SoundSource & SoundSource3D. Minor comment formatting fix. Add contributor.
2017-05-13 11:38:55 +00:00
Lasse Öörni
a90bc49b56 Move SoundSource new function registration to APITemplates.h so it works on both SoundSource & SoundSource3D. Minor comment formatting fix. Add contributor. 2017-05-13 13:05:51 +03:00
Lasse Öörni
e6b9b9557b Squashed commit of the following:
commit 2542705105c840d7507893d24af70ca4673532bd
Author: meshonline <artgolf1000@gmail.com>
Date:   Fri May 12 18:46:45 2017 +0800

    add seek method.
2017-05-13 12:12:06 +03:00
Huy Nguyen
c88c5e6779 Update ProcessUtils.cpp 2017-05-12 21:49:59 +07:00
Huy Nguyen
c29baecbe2 Update ProcessUtils.cpp 2017-05-12 19:32:32 +07:00
Huy Nguyen
dc1746bc6e Exclude other platforms except Windows and Linux. 2017-05-12 19:29:30 +07:00
lhinuz
51935fdcc2 Fix missing #pragma once; 2017-05-11 00:08:51 +08:00
Florastamine
31d0a8afc5 Oops. 2017-05-10 11:23:01 +07:00
Florastamine
4b627f7f72 Fix & minor cleanup. 2017-05-10 11:13:04 +07:00
Florastamine
4c7647aa29 GetOSVersion() returns the version of the OS. 2017-05-09 14:15:57 +07:00
Florastamine
c0c3f56678 GetHostName() returns name of the computer. 2017-05-09 14:13:57 +07:00
Florastamine
de1af331ac GetLoginName() returns the name of the currently logged in user. 2017-05-09 14:09:44 +07:00
Florastamine
c7981ecad1 GetTotalMemory(), which returns the total amount of useable memory. 2017-05-09 14:07:00 +07:00
urho3d-travis-ci
1d4be4ca65 Travis CI: API documentation update at 2017-05-08 10:41:33 UTC.
[ci package]

Commit: cc26cac198

Message: Use base16 for VariantMap hash key conversion in both directions in JSONValue. Expose JSONValue Get/Set Variant & VariantMap to script.
2017-05-08 10:41:33 +00:00
Lasse Öörni
cc26cac198 Use base16 for VariantMap hash key conversion in both directions in JSONValue. Expose JSONValue Get/Set Variant & VariantMap to script. 2017-05-08 13:31:28 +03:00
urho3d-travis-ci
ce69ad556e Travis CI: API documentation update at 2017-05-06 09:47:10 UTC.
[ci package]

Commit: af2ecd5414

Message: Fix copy-paste error in bindings.
2017-05-06 09:47:10 +00:00
Lasse Öörni
af2ecd5414 Fix copy-paste error in bindings. 2017-05-06 12:23:02 +03:00
Lasse Öörni
db29964574 Apply CollisionShape2D / signed world scale patch from Ricardo Abreu. Closes #1926. 2017-05-06 12:21:50 +03:00
Lasse Öörni
d9b5db969f Merge pull request #1930 from 1vanK/master
40_Localization: Center mouse on start
2017-05-06 10:46:12 +03:00
1vanK
16412186e0 Allow trailing commas in JSON 2017-05-05 23:12:30 +03:00
1vanK
fa767d1dc1 40_Localization: Center mouse on start 2017-05-05 19:39:45 +03:00
Lasse Öörni
60f4a3b80f Merge remote-tracking branch '1vanK/master' 2017-05-05 11:56:15 +03:00
Lasse Öörni
71270913b2 Fix issue in SanitateResourceName() on OSX where there could be /./ in executable path, leading the function to fail. 2017-05-04 22:13:16 +03:00
urho3d-travis-ci
d79f0f6122 Travis CI: API documentation update at 2017-05-04 17:43:08 UTC.
[ci package]

Commit: c1da87a498

Message: Merge pull request #1927 from eugeneko/master

Minor fix and helper function
2017-05-04 17:43:08 +00:00
1vanK
e1e6016eeb Update rapidjson lib 2017-05-04 17:28:02 +03:00
Eugene Kozlov
06901b3eb2 Add methods to get rotation axis and angle from Quaternion. 2017-05-03 15:09:30 +03:00
Eugene Kozlov
f42bd0d24f Fix crash when ScriptObject constructor throws. 2017-05-03 12:43:44 +03:00
urho3d-travis-ci
81fc8cb79f Travis CI: API documentation update at 2017-05-02 18:52:39 UTC.
[ci package]

Commit: 29ebd52590

Message: Expose getting JSONValue keys & values as arrays in AngelScript. Closes #1924.
2017-05-02 18:52:39 +00:00
Lasse Öörni
29ebd52590 Expose getting JSONValue keys & values as arrays in AngelScript. Closes #1924. 2017-05-02 21:43:10 +03:00
Lasse Öörni
d57e7bc5c4 Fix JSONValue::End() and typo. Closes #1925. 2017-05-02 20:46:46 +03:00
urho3d-travis-ci
c211d51e6b Travis CI: API documentation update at 2017-04-29 18:44:32 UTC.
[ci package]

Commit: 61d73cf659

Message: Add contributor credit.
2017-04-29 18:44:32 +00:00
Lasse Öörni
d4df1937c8 Line breaks formatting for RaycastVehicle demo code. 2017-04-29 20:33:36 +03:00
Lasse Öörni
13cfad66ef RaycastVehicle code / comments formatting and AngelScript fix. RegisterRaycastVehicleLibrary function removed and class registration performed as part of Physics library initialization instead. 2017-04-29 20:21:55 +03:00
Lasse Öörni
c145b3e03d Merge remote-tracking branch 'slapin/raycast-vehicle' 2017-04-29 19:04:50 +03:00
Lasse Öörni
0fe1f9d6ca Fix the GetElementAt() layout optimization, which should not check up/left limits for child elements in layout. Closes #1923. 2017-04-28 16:40:26 +03:00
Yao Wei Tjong
108530ff45 Merge pull request #1921 from cosmy1/libs-update
Libs update
2017-04-28 09:36:14 +08:00
Lasse Öörni
1dcc111e72 Fixed remaining morph weight check to just check for not equal to zero. 2017-04-27 15:59:33 +03:00
Lasse Öörni
fd68fb6a5e Remove morph clamping. 2017-04-27 13:37:32 +03:00
cosmy
aa6c87f18d Update LZ4 license year. 2017-04-26 20:39:09 +02:00
cosmy
7902fba3b9 Replace deprecated LZ4 functions in Urho3D. 2017-04-26 20:15:04 +02:00
cosmy
0d91c33e22 Update LZ4 to 1.7.5. 2017-04-26 20:14:28 +02:00
Lasse Öörni
cbed718c31 Merge remote-tracking branch 'viva64/loop_conditional' 2017-04-25 21:00:00 +03:00
Svyatoslav
e063eae963 IKSolver.spp: PVS-Studio: Non-void function should return a value
Signed-off-by: Svyatoslav <razmyslov@viva64.com>
2017-04-25 18:40:00 +03:00
Svyatoslav
128230d462 PackageTool.cpp: PVS-Studio: fixed conditional expression of the loop.
Signed-off-by: Svyatoslav <razmyslov@viva64.com>
2017-04-25 18:25:02 +03:00
cosmy1
3c360b9627 Update SQLite to 3.18.0. 2017-04-25 13:26:25 +02:00
cosmy1
0a66603da7 Update boost preprocessor to 1.64.0. 2017-04-25 13:14:15 +02:00
Sergey Lapin
2eb3a1183a RaycastVehicle C++ demo code 2017-04-25 13:45:09 +03:00
Sergey Lapin
18868d74c9 Bullet RaycastVehicle support 2017-04-23 01:29:49 +03:00
Lasse Öörni
218f48ea98 Add lowdpi command line option to force low DPI on Retina display. 2017-04-22 00:32:55 +03:00
Lasse Öörni
493b97225d Clarify ResourceCache function documentation regarding manual resources. 2017-04-21 12:47:53 +03:00
Yao Wei Tjong 姚伟忠
d53928310c Workaround struct redefinition on some newer MinGW header files.
Fix #1899.
2017-04-15 00:55:49 +08:00
urho3d-travis-ci
c3622175d3 Travis CI: API documentation update at 2017-04-14 12:06:07 UTC.
[ci package]

Commit: 1d3c20aa70

Message: Double up the editor UI when on High DPI display.
2017-04-14 12:06:07 +00:00
Yao Wei Tjong 姚伟忠
1d3c20aa70 Double up the editor UI when on High DPI display. 2017-04-14 19:57:16 +08:00
Lasse Öörni
de5a3c118a Add comment to Node::RemoveChild(). 2017-04-13 23:55:25 +03:00
Lasse Öörni
ac9867669f Merge remote-tracking branch 'ssinai1/recursive-remove' 2017-04-13 22:04:44 +03:00
Yao Wei Tjong 姚伟忠
0e4060b61a Use no_weak_imports linker flag to ignore weak symbol during detection. 2017-04-13 19:35:23 +08:00
Yao Wei Tjong 姚伟忠
5b1fdb8852 Also exclude the IK sample when the URHO3D_IK option is disabled. 2017-04-13 17:13:41 +08:00
TheComet
183d2d835e fixes #1907 - Compiler error when URHO3D_IK=OFF 2017-04-12 23:36:55 +02:00
ssinai1
ed3c298106 Fixed: Erasing sibling nodes from component destructor can result in segfault. 2017-04-12 19:32:58 +02:00
Lasse Öörni
e76fea99e8 Fix compile fail if including ValueAnimationInfo.h without other needed includes. 2017-04-12 12:24:04 +03:00
urho3d-travis-ci
f9c811f61c Travis CI: API documentation update at 2017-04-11 08:51:06 UTC.
[ci package]

Commit: 5b0aa268c5

Message: Handle namespace of constants in AngelScript API dump.
2017-04-11 08:51:06 +00:00
Lasse Öörni
5b0aa268c5 Handle namespace of constants in AngelScript API dump. 2017-04-11 11:41:07 +03:00
urho3d-travis-ci
129205a9b1 Travis CI: API documentation update at 2017-04-10 18:11:53 UTC.
[ci package]

Commit: 150c4fb26d

Message: Export some consts to AngelScript
2017-04-10 18:11:53 +00:00
1vanK
150c4fb26d Export some consts to AngelScript 2017-04-09 22:17:34 +03:00
Lasse Öörni
afc5618d5e Merge remote-tracking branch 'ombre5733/fix-rapidjson-usage' 2017-04-09 19:06:30 +03:00
Manuel Freiberger
33179317a6 Populate a newly created rapidjson-value before adding it to the parent.
When converting JSONValue to rapidsjon::Value, create the array elements and
object properties fully before adding them to rapidjson. This makes the
whole operation more efficient because it avoids a useless lookup on the
newly created/added elements.
2017-04-09 15:53:24 +02:00
Manuel Freiberger
f37ffb57a8 Fixed blend modes for 2D particles
The 2D particles had missing blend mode functions for
BlendMode::BLEND_SUBTRACT and BLEND_SUBTRACTALPHA. The values for the
functions have been copied from OGLGraphics.cpp.

If C++11 is enabled, the size of the struct is checked with a static
assertion, now.
2017-04-09 15:19:55 +02:00
Lasse Öörni
76ae937ceb When texture size is assigned for Texture2D / Texture2DArray / TextureCube, set depth to 1 to allow generic width * height * depth calculations. Closes #1894. 2017-04-08 20:50:44 +03:00
orefkov
e4c5001bfb Copy changes from AngelScript's sources, revision r2382.
Fixed problem with calling function expecting @&in where the argument was itself a & argument.
https://www.gamedev.net/topic/686912-array-with-objects-handles/
2017-04-08 20:50:44 +03:00
Yao Wei Tjong 姚伟忠
9daf887f10 Phasing out universal binary build for macOS platform.
Close #1895.
2017-04-09 00:04:41 +08:00
Yao Wei Tjong 姚伟忠
ec102aadfc Reorder initialization order to suppress Xcode warnings. 2017-04-08 23:52:44 +08:00
urho3d-travis-ci
0ae20c528b Travis CI: API documentation update at 2017-04-05 19:35:46 UTC.
[ci package]

Commit: dd0caa6ab7

Message: Move ParticleEmitter2D events into Urho2DEvents header file. Add event parameters and safeguard for event handling causing component destruction. Add contributor credit.
2017-04-05 19:35:46 +00:00
Lasse Öörni
dd0caa6ab7 Move ParticleEmitter2D events into Urho2DEvents header file. Add event parameters and safeguard for event handling causing component destruction. Add contributor credit. 2017-04-05 22:23:13 +03:00
Lasse Öörni
f1513fcaae Allow name-based child attribute animation also on UIElement. 2017-04-05 21:54:37 +03:00
PredatorMF
1bbcdbc42e Add missing monitor/refresh rate members initialization 2017-04-05 21:50:00 +03:00
Lasse Öörni
af6ee8e438 Merge remote-tracking branch 'orefkov/master' 2017-04-05 21:00:08 +03:00
Yao Wei Tjong 姚伟忠
420ce387e0 Partial revert on commit f74f4dd so it doesn't have harcoding anymore.
The change in that commit was done before we have introduced the resource prefix path which is more flexible in setting up where the resources can be searched.
2017-04-05 18:16:49 +08:00
Yao Wei Tjong 姚伟忠
2efbcd570c Rename "define_resource_files" macro to "define_resource_dirs".
Enhance it to take extra arguments for specifiying target-specific resource directories and other extra for Web platform support.
Close #809.
2017-04-05 18:16:36 +08:00
orefkov
c6714aa70b Merge remote-tracking branch 'upstream/master' 2017-04-05 01:24:35 +03:00
orefkov
ef5f4ddd12 Add class factories to script api dump. 2017-04-05 01:11:34 +03:00
urho3d-travis-ci
4078b9f842 Travis CI: API documentation update at 2017-04-04 18:11:18 UTC.
[ci package]

Commit: cd6f76f26e

Message: Merge pull request #1856 from eugeneko/master

Improve Box2D integration
2017-04-04 18:11:18 +00:00
Eugene Kozlov
29952585b1 Revert contacts auto-disabling. 2017-04-04 10:11:42 +03:00
Eugene Kozlov
eba18bcc99 Add events for b2ContactListener::PreSolve callback. Suppress re-enabling contact on each update. 2017-04-04 09:44:07 +03:00
Eugene Kozlov
fc88f5a32b Expose additional info in PhysicsEvents2D. 2017-04-04 09:44:07 +03:00
Yao Wei Tjong 姚伟忠
240e4d1c54 Fix unnecessary exposure of ik's generated header files. 2017-04-04 13:47:06 +08:00
urho3d-travis-ci
d59424daae Travis CI: API documentation update at 2017-04-03 23:26:36 UTC.
[ci package]

Commit: 0eb813518a

Message: Merge remote-tracking branch 'origin/TheComet93-InverseKinematics'
2017-04-03 23:26:36 +00:00
Lasse Öörni
0eb813518a Merge remote-tracking branch 'origin/TheComet93-InverseKinematics' 2017-04-03 21:26:17 +03:00
Lasse Öörni
98322561be Minor code formatting. Add contributor. 2017-04-03 21:16:46 +03:00
orefkov
3020b9062a Clearing code. 2017-04-03 20:31:50 +03:00
orefkov
36a2f29580 Fix tabs 2017-04-03 18:48:34 +03:00
orefkov
1d69458d27 Fix particle emitting duration.
Add event for ending particles emitting.
Add event for all particles over.
2017-04-03 17:16:36 +03:00
orefkov
fb9fcfba6c Added the ability to specify a child node by name when setting attribute animation path. 2017-04-03 17:14:34 +03:00
orefkov
2d3f3fd122 Improve AngelScript API dump. 2017-04-03 17:11:47 +03:00
Manuel Freiberger
0a09c97588 Fix Thread::GetCurrentThreadID() if threading is disabled.
When URHO3D_THREADING is not defined, Thread::GetCurrentThreadID() was missing a return statement.
2017-04-02 21:21:29 +02:00
Yao Wei Tjong 姚伟忠
3758048112 Fix mini-urho build. 2017-04-01 23:32:18 +08:00
Yao Wei Tjong 姚伟忠
b3f4b1d9a0 Include memory backtrace source code only when the option is enabled.
Prevent Web platform to enable the memory backtracing build option.
2017-04-01 23:32:14 +08:00
Yao Wei Tjong 姚伟忠
11299ce86e Fix the Lua IK sample crash due to missing bindings. 2017-04-01 21:28:27 +08:00
Yao Wei Tjong 姚伟忠
8c9122ce25 Minor refactoring and cleaning on IK component's code. 2017-04-01 21:28:27 +08:00
Yao Wei Tjong 姚伟忠
e62179f133 Integrate IK sub-library with Urho3D's build system. 2017-04-01 21:28:27 +08:00
Yao Wei Tjong 姚伟忠
a8dcfa2be9 Merge branch 'InverseKinematics' of https://github.com/TheComet93/Urho3D into TheComet93-InverseKinematics 2017-04-01 14:20:56 +08:00
urho3d-travis-ci
f2c01b1c00 Travis CI: API documentation update at 2017-03-30 14:09:06 UTC.
[ci package]

Commit: 7bf75955d8

Message: Minor code convention edit to avoid underscore in function name.
2017-03-30 14:09:07 +00:00
Lasse Öörni
7bf75955d8 Minor code convention edit to avoid underscore in function name. 2017-03-30 16:54:59 +03:00
Konstant
795af77d74 Bind ResourceCache::GetResources. 2017-03-30 15:49:07 +02:00
Lasse Öörni
84605eec12 Fix comment. Closes #1884. 2017-03-30 10:29:01 +03:00
Lasse Öörni
9df8cfd0a8 Add note on usage of DebugNew.h. Closes #1879. 2017-03-27 11:35:15 +03:00
Yao Wei Tjong 姚伟忠
9d84ccffe4 Initial attempt to support MODULE library type for Web platform.
Disallow memory growth when using MODULE lib-type.
Move the resource defining and checking logic into their own macros.
2017-03-26 22:18:35 +08:00
Lasse Öörni
2e19e8a28f Merge remote-tracking branch 'rokups/feature/move-ui-root-element' 2017-03-24 13:37:29 +02:00
Rokas Kupstys
ca76683568 IntVector2 constants 2017-03-23 19:27:48 +02:00
Rokas Kupstys
5e9579b23a Allow root UI element to be moved. 2017-03-23 18:09:02 +02:00
urho3d-travis-ci
c73f0651e7 Travis CI: API documentation update at 2017-03-22 21:12:55 UTC.
[ci package]

Commit: e92c0ee093

Message: Merge pull request #1872 from Florastamine/master

Add Animation::GetTrack(unsigned)
2017-03-22 21:12:55 +00:00
Florastamine
eb9e5c8b6e Fixed coding style; added AngelScript binding. 2017-03-23 01:27:35 +07:00
Florastamine
00599723aa Added Animation::GetTrack(unsigned) 2017-03-23 00:24:41 +07:00
Alex Murray
68f8d23411 Fixing issues raised by Mike3D (incorrect offset in sample, exposing auto solve) 2017-03-22 14:23:14 +01:00
TheComet
327965a40c Fixing build on windows, fixing segfault in release builds 2017-03-22 02:15:32 +01:00
TheComet
d355540f41 Trying proposed _PSTDINT_H_INCLUDED fix. Reformatting some docstrings 2017-03-21 17:51:14 +01:00
TheComet
816577e98a Fix compiler error 2017-03-21 15:56:47 +01:00
TheComet
d2911ad455 Adding ik library to Urho3D thirdparty libs 2017-03-21 15:56:47 +01:00
TheComet
e6208ab85f Adding detailed docstrings in IK headers 2017-03-21 15:56:47 +01:00
TheComet
8fc0aa2866 Lua script bindings and CPP sample 2017-03-21 15:56:47 +01:00
TheComet
f73b1d16ab Adding IKConstraint support, but it is not not yet usable 2017-03-21 15:56:47 +01:00
TheComet
269a219aae Fixing undefined reference issues in IK sample 2017-03-21 15:56:47 +01:00
TheComet
2be9286d38 Wrote AngelScript bindings, I'm still considering renaming a few things here and there 2017-03-21 15:56:47 +01:00
TheComet
124fd3e0b5 Exposing target rotation settings 2017-03-21 15:56:47 +01:00
TheComet
ea5580f357 Weighted rotations (experimental) 2017-03-21 15:56:47 +01:00
TheComet
073f7ef571 Exposing weighted nlerp 2017-03-21 15:56:47 +01:00
TheComet
b5ded0814a Updating enums 2017-03-21 15:56:47 +01:00
TheComet
1b780a219f Update initial pose every frame to support animated models 2017-03-21 15:56:46 +01:00
TheComet
06a9e87391 IKEffector sets weight (and clamps) correctly 2017-03-21 15:56:46 +01:00
TheComet
b0affd8d9b IKSolver options to enable/disable angle calculations and continuous solving 2017-03-21 15:56:46 +01:00
TheComet
7e36538c44 Reset to initial pose when the tree changes 2017-03-21 15:56:46 +01:00
TheComet
7b3cd64b02 More attributes for settings things. Adapting IKSolver so multiple solvers can be created. It is no longer a subsystem. All child chains terminate at the IKSolver node 2017-03-21 15:56:46 +01:00
TheComet
47a5a077a6 Adapting to changed callback function signature 2017-03-21 15:56:46 +01:00
TheComet
b22871ff20 Applying positions as well as rotations 2017-03-21 15:56:46 +01:00
TheComet
e45d37c230 Adding more debug drawing stuff 2017-03-21 15:56:46 +01:00
TheComet
067785d022 Setting the algorithm creates a new solver 2017-03-21 15:56:46 +01:00
TheComet
cf30fb98c0 Adding IK library to Urho3D, enable/disable it with -DURHO3D_IK 2017-03-21 15:56:46 +01:00
urho3d-travis-ci
eeb4eab788 Travis CI: API documentation update at 2017-03-20 16:32:22 UTC.
[ci package]

Commit: 90e95ab2e3

Message: Update documentation. Add contributor credit. Minor code comment fixes.
2017-03-20 16:32:22 +00:00
Lasse Öörni
90e95ab2e3 Update documentation. Add contributor credit. Minor code comment fixes. 2017-03-20 18:11:12 +02:00
Lasse Öörni
4e30d6f522 Merge remote-tracking branch 'PredatorMF/master' 2017-03-20 17:07:48 +02:00
PredatorMF
0b560f3667 Fix get_monitorCount causing error in AS 2017-03-19 15:35:45 +02:00
PredatorMF
61b7993b20 Expose monitor count to scripting API 2017-03-19 14:44:51 +02:00
PredatorMF
41cca32000 Add Graphics::GetMonitorCount() 2017-03-19 14:42:22 +02:00
PredatorMF
7190e053c4 Fix fullscreen mode not using the correct monitor 2017-03-19 14:40:36 +02:00
urho3d-travis-ci
03fdf19758 Travis CI: API documentation update at 2017-03-19 03:39:21 UTC.
[ci package]

Commit: 8c91b0b32f

Message: Use a dummy enum declaration to avoid duplicate Lua global constants.
2017-03-19 03:39:21 +00:00
Yao Wei Tjong 姚伟忠
8c91b0b32f Use a dummy enum declaration to avoid duplicate Lua global constants. 2017-03-19 11:30:21 +08:00
PredatorMF
2bef979152 Add monitor and refreshrate parameters to E_SCREENMODE 2017-03-18 12:59:27 +02:00
PredatorMF
11c8bf9d16 Fix DX11 renderer with monitor/refresh rate options 2017-03-18 00:00:19 +02:00
PredatorMF
f8beaad5cb Fix OpenGL renderer with monitor/refresh rate options 2017-03-17 23:26:01 +02:00
PredatorMF
07b9675dfd Add monitor and refresh rate options for fullscreen/borderless 2017-03-17 22:01:23 +02:00
urho3d-travis-ci
b8515b563f Travis CI: API documentation update at 2017-03-16 18:26:27 UTC.
[ci package]

Commit: 53d18649d4

Message: Redefine AutoRemoveMode where used in the Lua pkgs to prevent incorrect bindings code generation.
2017-03-16 18:26:27 +00:00
Lasse Öörni
53d18649d4 Redefine AutoRemoveMode where used in the Lua pkgs to prevent incorrect bindings code generation. 2017-03-16 20:17:13 +02:00
Lasse Öörni
3f177185eb Merge remote-tracking branch 'Enhex/master' 2017-03-16 19:20:01 +02:00
Enhex
a3795cfc3a Fix Doxygen comment 2017-03-15 21:15:37 +02:00
Lasse Öörni
a5ff4f43c6 Avoid calling asGetActiveContext() in template functions, as it might result in undefined symbol when used in application code with shared library Urho3D build. Make GetScriptContext() safe to call when it would return null. Provide function GetActiveASContext() (in ScriptInstance.h) as a wrapper. 2017-03-15 17:37:07 +02:00
Lasse Öörni
eccf7cef88 Added documentation chapter on scene graph events, and that individual component removals are not signaled when node is removed. Closes #1864. 2017-03-15 12:12:06 +02:00
Enhex
516fcf18e5 Updated sound effects sample to use SetAutoRemoveMode() instead of nodes. 2017-03-14 23:58:59 +02:00
Lasse Öörni
8561254832 Remove no longer used function declaration. Closes #1861. 2017-03-14 11:34:11 +02:00
Rokas Kupstys
c92d668940 Fix jumping slider knob when it's size is fixed. 2017-03-11 17:34:01 +02:00
Lasse Öörni
5f0b5a6211 Fix ParticleEmitter finish event not working when emission is explicitly disabled with SetEmitting(false). Cleanup ParticleEmitter code. Closes #1854. 2017-03-11 16:25:17 +02:00
Lasse Öörni
d27da7d81c Fix call to Vector & PODVector::EraseSwap(). Closes #1855. 2017-03-11 00:58:05 +02:00
Yao Wei Tjong
106bfcb919 Merge pull request #1849 from iSLC/master
Remove duplicate macro in SDL windows joystick implementation.
2017-03-08 21:42:11 +08:00
Lasse Öörni
48a1f3dcdd Take fix from AngelScript WIP version to fix temp variable corruption. Remove now unnecessary fix from Editor script code. Closes #1850. 2017-03-08 14:26:52 +02:00
Sandu Liviu Catalin
d94a10f488 Remove duplicate macro in SDL windows joystick implementation. 2017-03-07 21:38:50 +02:00
Lasse Öörni
1b725367fc Place proper type check for StaticModel vs. AnimatedModel SetModel() into AngelScript API instead of StaticModel C++ code logging a warning and redirecting. Add a porting note related to this. 2017-03-07 17:36:58 +02:00
Yao Wei Tjong 姚伟忠
5579d1cca8 Prevent unnecessary incremental build due to git branch switching. 2017-03-06 23:09:50 +08:00
Yao Wei Tjong 姚伟忠
ff85c9522a Rename the module and toolchain names to follow new naming convention. 2017-03-06 22:12:27 +08:00
Yao Wei Tjong 姚伟忠
d7eded9178 Add new build option to enable WASM support.
Remove redundant Emscripten build option for pre-generating the system libraries because newer Emscripten version has fixed the cache lock issue.
2017-03-05 08:46:29 +08:00
Yao Wei Tjong 姚伟忠
0c88c99112 Allow possibility of building Urho3D without C++ exceptions feature.
Disallow Android build to turn off C++ RTTI feature.
2017-03-05 08:46:22 +08:00
Yao Wei Tjong 姚伟忠
2f8a80def4 Rewrite from scratch a new Android toolchain file.
The new toolchain file requires Android NDK r12b and above. Default to use 'arm-linux-androideabi-clang' toolchain and LLVM libc++ STL runtime.
Align all the compiler and linker flags according to new ndk-build configuration in Android NDK r12b, i.e. no more '-f[no-]strict-aliasing' and '-f[no-]omit-frame-pointer', but more stringent warnings check.
Improve over the old toolchain file where most of the options are now changeable after the initial configuration. The exceptions are ANDROID_NDK and ANDROID_TOOLCHAIN_NAME due to limitation of CMake.
Close #1441.
Other changes in this commit includes:
- Fix Android sample launcher app to support shared C++ STL runtime library.
- Remove temporary fix in FindUrho3D module as it is not required anymore with our new toolchain file.
- Fix Log::WriteRaw() method to pass the parameters correctly to __android_log_print() function.
- Fix enable_pch() macro to emit -fPIC compiler flags correctly based on target's POSITION_INDEPENDENT_CODE property.
- Fix linker flags for ld.bfd where it needs help to find the location of the rooted shared libraries. The flags are not required for ld.gold but they do no harm for gold linker.
- Enhance the CheckCompilerToolchain module to auto-detect if the NEON SIMD is enabled or not for Android build (based on the chosen ANDROID_ABI).
2017-03-05 08:45:40 +08:00
Yao Wei Tjong 姚伟忠
f32cbb72b0 Rename Urho3D-CMake-common.cmake module to UrhoCommon.cmake.
To be consistent with the other modules. Drop the '3D' simply because it sticks out in 'Urho3DCommon'.
2017-03-05 08:45:39 +08:00
Yao Wei Tjong 姚伟忠
ffd24cafa1 Take advantage of CMAKE_SYSROOT available in the newer CMake.
Use CMAKE_SYSROOT to manage the sysroot automatically when cross-compiling instead of adding the '--sysroot' flag manually everywhere. We only need to add it manually in places where CMake does not, like in our custom GCC/Clang response file for PCH.
Differentiate between setting up header search path for system headers and for application headers so that GCC/Clang may suppress compilation warnings from the former, if any.
2017-03-05 08:45:39 +08:00
Yao Wei Tjong 姚伟忠
3b02eeb5eb For CI - suppress all the 3rd-party libraries' warnings.
Somehow after bumping up the CMake minimum version, CMake configures Xcode to work "better" with xcpretty that now the warnings are piping through the xcpretty's filter. Unfortunately when performing CI build, this is undesirable because not only now the log size is swelling, the build is slower too.
2017-03-05 08:45:38 +08:00
Yao Wei Tjong 姚伟忠
73c97d9f64 Only add defines at the scope they are actually required. 2017-03-05 08:45:38 +08:00
Yao Wei Tjong 姚伟忠
3d9eb3f694 Bake CC and CXX env-vars in case they are short lived in init process. 2017-03-05 08:45:38 +08:00
Yao Wei Tjong 姚伟忠
bbbbdb0108 Check native compiler toolchain is available before proceeding.
Some cross-compiling build tree configuration needs native compiler toolchain for host tool building via ExternalProject_Add(). This additional check ensures the native compiler toolchain is available up front before the build tree is even generated. Close #1300.
2017-03-05 08:45:21 +08:00
Yao Wei Tjong 姚伟忠
9f19d51c08 Remove older constructs that have been earmarked previously. 2017-03-05 08:34:41 +08:00
Yao Wei Tjong 姚伟忠
3475afba54 Bump the CMake minimum version in the CMakeLists.txt files. 2017-03-05 08:34:41 +08:00
urho3d-travis-ci
e63db60b9a Travis CI: API documentation update at 2017-03-04 18:23:30 UTC.
[ci package]

Commit: c9331a6cc9

Message: Merge pull request #1832 from eugeneko/master

Extract some code to increase reusability.
2017-03-04 18:23:30 +00:00
Eugene Kozlov
d60e96c866 Add script binding for Node::IsChildOf. 2017-03-04 19:13:20 +03:00
Eugene Kozlov
0c400e3d9d Split Engine::Initialize 2017-03-04 19:13:20 +03:00
Eugene Kozlov
94bf1f3a85 Prepare to extract code from Engine::Initialize. 2017-03-04 19:13:20 +03:00
Eugene Kozlov
76ddec737e Add Node::IsChildOf member function. 2017-03-04 19:13:20 +03:00
Eugene Kozlov
042efb8943 Add [POD]Vector::IndexOf function. 2017-03-04 19:13:20 +03:00
urho3d-travis-ci
f219fb5d23 Travis CI: API documentation update at 2017-03-04 14:22:17 UTC.
[ci package]

Commit: 07da64de58

Message: Fix registration of NamedPipe to AngelScript API to use the proper class.
2017-03-04 14:22:17 +00:00
Lasse Öörni
07da64de58 Fix registration of NamedPipe to AngelScript API to use the proper class. 2017-03-04 15:59:03 +02:00
Lasse Öörni
fbe80c964e Merge remote-tracking branch 'rokups/AbstractFile' 2017-03-04 15:23:05 +02:00
1vanK
658baf4f3a Add info about shapes to PhysicsEvents2D 2017-03-04 14:00:07 +02:00
Yao Wei Tjong 姚伟忠
e45275e689 Add conditional compiler define for MSVC compiler.
Fix #1845 [skip travis]
2017-03-04 13:13:08 +08:00
urho3d-travis-ci
8230d0bb99 Travis CI: API documentation update at 2017-03-02 20:19:12 UTC.
[ci package]

Commit: 08fd3b7690

Message: Minor documentation expansion on use of std::bind() for events.

commit 873adf5565f8537f9d06f69a649c57635ab1c2de
Merge: 0a19418 f75a784
Author: carnalis <carnalis.j@gmail.com>
Date:   Thu Mar 2 14:25:42 2017 -0500

    Merge branch 'master' of github.com:carnalis/Urho3D

commit 0a1941814ec656d31bb5399c919ba516a2cda7cb
Author: carnalis <carnalis.j@gmail.com>
Date:   Fri Jan 13 21:24:53 2017 -0500

    Minor documentation expansion on use of std::bind() for events.

commit f75a784102708998841302c70736be39eeb2300d
Merge: 84a1f82 06d2100
Author: carnalis <carnalis.j@gmail.com>
Date:   Thu Mar 2 04:42:56 2017 -0500

    Merge branch 'master' of github.com:carnalis/Urho3D

commit 84a1f827752335260b7a5bd6a180613bd018af7e
Author: carnalis <carnalis.j@gmail.com>
Date:   Fri Jan 13 21:24:53 2017 -0500

    Minor documentation expansion on use of std::bind() for events.

commit 06d210045af24646a6161daeaff28fd9828dccfd
Merge: 20877d0 71e9501
Author: carnalis <carnalis.j@gmail.com>
Date:   Fri Jan 20 09:59:31 2017 -0500

    Merge branch 'master' of github.com:carnalis/Urho3D

commit 20877d01c805f58234798f6a0b1baeeee1e1628e
Author: carnalis <carnalis.j@gmail.com>
Date:   Fri Jan 13 21:24:53 2017 -0500

    Minor documentation expansion on use of std::bind() for events.

commit 71e9501934cc9a67eeae1d0c524dbc11a1bd96db
Author: carnalis <carnalis.j@gmail.com>
Date:   Fri Jan 13 21:24:53 2017 -0500

    Minor documentation expansion on use of std::bind() for events.
2017-03-02 20:19:12 +00:00
Lasse Öörni
874f853c1f Change Quaternion Slerp & Nlerp parameters to use a const reference by using a sign variable instead. Closes #1835. 2017-03-02 21:52:05 +02:00
urho3d-travis-ci
70186e700e Travis CI: API documentation update at 2017-03-01 19:27:37 UTC.
[ci package]

Commit: 00816efec2

Message: Add XMLElement::GetInt64 & GetUInt64 for completeness.
2017-03-01 19:27:37 +00:00
Lasse Öörni
00816efec2 Add XMLElement::GetInt64 & GetUInt64 for completeness. 2017-03-01 21:13:42 +02:00
Lasse Öörni
39c41dc6a6 Shorten long long int to long long. 2017-03-01 20:29:18 +02:00
Rokas Kupstys
ea655297dc Added AbstractFile class. It is used as parent class for classes that implement both Serializer and Deserialized. 2017-03-01 12:44:30 +02:00
Rokas Kupstys
6a7a57eace More 64bit variant work, lua and angelscript bindings. 2017-03-01 12:42:27 +02:00
Rokas Kupstys
f90dde08fe 64bit integer variant 2017-02-28 17:21:19 +02:00
1vanK
779d2835be Rename CheckDrawableVisibility() to CheckDrawableVisibilityWork() to match common style 2017-02-26 02:14:14 +03:00
urho3d-travis-ci
1760b0fa7c Travis CI: API documentation update at 2017-02-25 12:46:18 UTC.
[ci package]

Commit: e1202b725a

Message: Add other body nodeID attribute to Constraint2D for proper body connection serialization. Closes #1825.
2017-02-25 12:46:18 +00:00
Lasse Öörni
e1202b725a Add other body nodeID attribute to Constraint2D for proper body connection serialization. Closes #1825. 2017-02-25 14:37:07 +02:00
urho3d-travis-ci
af1aba2011 Travis CI: API documentation update at 2017-02-20 19:27:37 UTC.
[ci package]

Commit: 7451d6fece

Message: Add EndAllViewsRender event, emitted when Renderer::Render() is finished. Closes #1830.
2017-02-20 19:27:37 +00:00
Lasse Öörni
7451d6fece Add EndAllViewsRender event, emitted when Renderer::Render() is finished. Closes #1830. 2017-02-20 21:18:01 +02:00
Yao Wei Tjong 姚伟忠
cdbb694c2a Bake 'SDL_USE_IME' compiler define into SDL config header. 2017-02-19 12:34:55 +08:00
Lasse Öörni
540404bee2 Minor refactor for .ies extension detection. 2017-02-18 22:42:07 +02:00
Yao Wei Tjong 姚伟忠
45b1d173cf Realign SDL's CMakeLists.txt with the cherry-picked SDL commits.
Those commits are mainly for fixing the keyboard input handling on RPI platform.
2017-02-18 01:21:57 +08:00
Yao Wei Tjong 姚伟忠
4a738662ee Merge commit 'c109e4b51d143493be185f0e74ba7ba2a1411d6e' into cherry-picked-SDL-keyboard-fix 2017-02-18 00:54:58 +08:00
Lasse Öörni
011a8f9ad6 Merge remote-tracking branch 'Florastamine/master' into update-assimp 2017-02-17 11:11:18 +02:00
urho3d-travis-ci
7c1af59287 Travis CI: API documentation update at 2017-02-16 11:56:12 UTC.
[ci package]

Commit: 472d0dc549

Message: Merge remote-tracking branch '1vanK/master'
2017-02-16 11:56:12 +00:00
Lasse Öörni
472d0dc549 Merge remote-tracking branch '1vanK/master' 2017-02-16 12:16:38 +02:00
1vanK
93b880d7d2 Workaround for resetting mass in CreateFixture() and DestroyFixture() 2017-02-15 16:15:43 +03:00
1vanK
c5014a8399 Update Box2D lib, add RigidBody2D::ApplyLinearImpulseToCenter()
Avoid requirement C++11 by Box2D lib
2017-02-15 14:50:27 +03:00
Lasse Öörni
bc7d96d434 Merge branch 'update-libcpuid' 2017-02-14 19:55:53 +02:00
Lasse Öörni
6a490f05f2 Update LibCpuId to 0.4.0. Closes #1819. 2017-02-13 22:20:48 +02:00
1vanK
9263d1c7da Allow access to PhysicsWorld2D members from chield classes 2017-02-13 22:06:42 +03:00
1vanK
07df060f1f GetDerivedComponent for Physics2D to allow using custom PhysicsWorld2D 2017-02-13 18:24:06 +03:00
Florastamine
74e234a63d Updated Assimp to v3.2 2017-02-12 14:10:43 +07:00
Lasse Öörni
2821837f2a Remove zero damping from Urho2DConstraints sample to eliminate jittering behavior. Closes #1816. 2017-02-11 15:33:09 +02:00
Lasse Öörni
131e87e91f Merge remote-tracking branch 'JSandusky/master' 2017-02-11 13:00:15 +02:00
urho3d-travis-ci
15c2da904e Travis CI: API documentation update at 2017-02-10 10:18:17 UTC.
[ci package]

Commit: 26574dcc27

Message: Add explicit Vector2 & Vector3 constructors taking IntVector2 & IntVector3. Add Graphics::GetSize(). Closes #1814.
2017-02-10 10:18:17 +00:00
Lasse Öörni
26574dcc27 Add explicit Vector2 & Vector3 constructors taking IntVector2 & IntVector3. Add Graphics::GetSize(). Closes #1814. 2017-02-10 11:58:42 +02:00
JSandusky
306daeded5 Change sigma table naming to fit conventions 2017-02-09 13:16:42 -05:00
JSandusky
7a3ddb11ee JS: Add IES cookie generation to RampGenerator 2017-02-09 00:48:19 -05:00
Lasse Öörni
b167cc1640 Merge pull request #1800 from cosmy1/update-sqlite
Update sqlite
2017-02-07 11:01:37 +02:00
cosmy1
bf64ce42f2 Update SQLite to 3.16.2. 2017-02-05 21:22:12 +01:00
Mateus Vendramini
78b77ed48f Fixing small typos in comments 2017-02-05 17:33:01 -02:00
Lasse Öörni
ebdf905538 Always recalculate scale factor for fixed size billboards. Does not dirty the buffer unless actually changed. Closes #1790. 2017-02-04 01:23:52 +02:00
Lasse Öörni
0cc2bf595e Fix multisample quality handling on D3D11 feature level 10.0. Closes #1792. 2017-02-02 22:01:30 +02:00
urho3d-travis-ci
638398faa8 Travis CI: API documentation update at 2017-02-02 16:55:43 UTC.
[ci package]

Commit: 4dce27a248

Message: Add missing IntVector3 global functions to Angelscript.
2017-02-02 16:55:43 +00:00
Lasse Öörni
4dce27a248 Add missing IntVector3 global functions to Angelscript. 2017-02-02 18:40:51 +02:00
Lasse Öörni
8e8bf35378 Add contributor. Fix missing script expose in ConstraintDistance2D. 2017-02-02 18:40:35 +02:00
Lasse Öörni
cb59f60be2 Merge remote-tracking branch 'barograf/fix/joints-handling' 2017-02-02 18:15:33 +02:00
Lasse Öörni
22c421989f Merge remote-tracking branch 'henu/intvector3' 2017-02-02 18:14:19 +02:00
Mariusz Richtscheid
f0eda3dfd6 Improve Box2D joints handling, fixes #1787 2017-02-02 08:31:05 +01:00
Lasse Öörni
97b594de36 Fix assigning of global animation start/end time variables which would have unintended consequences when saving multiple animations. Closes #1789. 2017-02-01 13:59:42 +02:00
Lasse Öörni
b8ee493454 Restore FreeType gzip debug build fix. 2017-01-31 14:29:12 +02:00
Lasse Öörni
858786f9af Remove old unneeded input code brought back by merge. 2017-01-31 11:34:16 +02:00
Lasse Öörni
be9257a3fd Add MINI_URHO guards to Context for SDL init / uninit. No-op when MINI_URHO defined. Minor code style edits. 2017-01-30 18:41:59 +02:00
urho3d-travis-ci
a926e43496 Travis CI: API documentation update at 2017-01-30 14:19:08 UTC.
[ci package]

Commit: 32310a2c12

Message: Rename FONT_TYPE enum to FontType and expose it to Font public API. Closes #1786.
2017-01-30 14:19:08 +00:00
Lasse Öörni
32310a2c12 Rename FONT_TYPE enum to FontType and expose it to Font public API. Closes #1786. 2017-01-30 16:03:45 +02:00
Henrik Heino
2d8c0cf247 IntVector2 bindings, conversions, serialization, etc.
Also two typos "Intvector2" and "Intrect" fixed.
2017-01-29 17:57:16 +02:00
TheComet
be4dc04f9a Removing SDL_INIT_NOPARACHUTE, it does nothing in SDL 2.x 2017-01-29 13:33:24 +01:00
TheComet
92d50f025a Fix coding conventions 2017-01-29 13:33:24 +01:00
TheComet
10c878b42b fixes #1781 - Moved SDL_Init() into Context class 2017-01-29 13:33:24 +01:00
Lasse Öörni
b8c03fb7ec Fix ifdef. 2017-01-28 20:29:36 +02:00
Lasse Öörni
dd32227ed7 Implement Graphics::GetMultiSampleLevels() on OpenGL by querying GL_MAX_SAMPLES. Closes #1774. 2017-01-28 18:12:33 +02:00
Henrik Heino
37cf41de42 IntVector3 2017-01-27 23:04:36 +02:00
Lasse Öörni
23c5dd19e8 Merge pull request #1777 from urho3d/update-freetype
Update FreeType to 2.7.1.
2017-01-27 12:16:03 +02:00
Gauthier Billot
0073217862 Fix crash related to TileMap2D and StaticSprite2D 2017-01-26 16:24:47 +01:00
Lasse Öörni
a8b58c0c28 Merge pull request #1771 from urho3d/update-angelscript
Update AngelScript
2017-01-24 12:33:01 +02:00
Lasse Öörni
0640c2075d Clarify GeometryType enum, according to suggestion from eugeneko. Closes #1778. 2017-01-24 12:18:13 +02:00
Lasse Öörni
2ebbbd477b Update FreeType to 2.7.1. 2017-01-21 13:21:43 +02:00
Lasse Öörni
da8a39cf5a Unconditionally disable the x86 syscall prologs / epilogs on GCC, since the assembler error related to cfi instructions could also happen on newer versions. 2017-01-18 19:57:16 +02:00
Lasse Öörni
459923949c Old GCC version check in as_callfunc_x86.cpp for CI. 2017-01-17 17:29:34 +02:00
Konstant
2e38a651c7 Fix another typo in Serializable macro docs. 2017-01-15 14:43:02 +02:00
Konstant
ff12f61382 Fix small error in Serializable.h in URHO3D_ACCESSOR_VARIANT_VECTOR_STRUCTURE_ATTRIBUTE docs. 2017-01-15 14:33:43 +02:00
Lasse Öörni
a4d2c052ec Fix Text3D not showing other batches correctly, than the first. Closes #1758. 2017-01-14 22:36:50 +02:00
urho3d-travis-ci
cc2e166157 Travis CI: API documentation update at 2017-01-12 16:29:43 UTC.
[ci package]

Commit: f20475161f

Message: Add XMLFile::GetOrCreateRoot() & XMLElement::GetOrCreateChild(). Closes #1756.
2017-01-12 16:29:43 +00:00
Lasse Öörni
f20475161f Add XMLFile::GetOrCreateRoot() & XMLElement::GetOrCreateChild(). Closes #1756. 2017-01-12 18:15:36 +02:00
Lasse Öörni
bd95787c1a Fix Web build Urho3DPlayer not reading script file name from Module.arguments. Make sure the error exit due to no script name happens. 2017-01-11 14:56:54 +02:00
Lasse Öörni
0e1e46fbb9 Refactor Urho3DPlayer to attempt reading CommandLine.txt from the resource system later on all platforms, if reading from the filesystem fails. Closes #1754. 2017-01-10 20:13:59 +02:00
Yao Wei Tjong 姚伟忠
d42723a45e Enable high DPI on Apple retina display device by default.
High DPI mode can still be programmatically disabled via Engine parameter only.
2017-01-10 23:43:03 +08:00
urho3d-travis-ci
9fb189a51c Travis CI: API documentation update at 2017-01-10 08:03:34 UTC.
[ci package]

Commit: d229db148c

Message: When Input detects screen mode change (initial or otherwise), calculate scaling ratio from SDL window size and Graphics backbuffer size. Scale mouse positions and deltas with the input scale. Inspired by work of Elissa Ross in PR #1725. Related to issue #1252, might resolve it, but not tested on actual Retina hardware.
2017-01-10 08:03:34 +00:00
Lasse Öörni
d229db148c When Input detects screen mode change (initial or otherwise), calculate scaling ratio from SDL window size and Graphics backbuffer size. Scale mouse positions and deltas with the input scale. Inspired by work of Elissa Ross in PR #1725. Related to issue #1252, might resolve it, but not tested on actual Retina hardware. 2017-01-10 09:52:42 +02:00
Lasse Öörni
8b4ddd5289 Use ALPHAMAP shader define in Text shader to differentiate between alpha texture (TTF) and RGBA (bitmap fonts). Closes #1750. 2017-01-07 19:09:05 +02:00
Lasse Öörni
883b5105cb Merge branch 'master' into update-angelscript 2017-01-07 16:40:55 +02:00
Yao Wei Tjong 姚伟忠
53d213eb50 Minor refactor to remove the '***' as the repeat indicator.
The script already knows when the nested attributes repeat itself.
2017-01-07 14:08:37 +08:00
Lasse Öörni
e22de44be5 Restore Urho3D tweaks to as_config.h and earlier ifdef check for C++11 features. 2017-01-06 15:54:42 +02:00
Lasse Öörni
080bf36f9f Restore earlier ifdef for AS type traits due to some Android CI builds failing. 2017-01-06 11:12:55 +02:00
Lasse Öörni
fe2d6cf21a Add contributor credit. 2017-01-04 16:13:46 +02:00
Lasse Öörni
c548d8ed24 Merge remote-tracking branch 'arnislielturks/console-update' 2017-01-04 16:05:28 +02:00
Lasse Öörni
458830d1c7 Fix crash in usedGlyphs mode. Fix AS binding for Font::SaveXML taking a Serializer. Closes #1746. 2017-01-04 15:48:47 +02:00
Arnis Lielturks
e89a769a76 console text highlighting, style detection by log level improved 2017-01-04 10:50:19 +02:00
Yao Wei Tjong
b6f10c6f48 Merge pull request #1739 from koja/cmake_fix
Avoid special chars in paths in MRI script passed to ar utility
2017-01-04 09:24:03 +08:00
Arnis Lielturks
fad8c6c51b Console.cpp indentation fixed 2017-01-03 20:02:37 +02:00
urho3d-travis-ci
42f40ad64f Travis CI: API documentation update at 2017-01-03 16:25:53 UTC.
[ci package]

Commit: 48b82e136e

Message: Fix typo in Editor scripts.
2017-01-03 16:25:53 +00:00
Jan Korous
524fba130f Simplified regex for MRI script special chars 2017-01-03 16:22:35 +01:00
Arnis Lielturks
ffbe619c8a log message colour in console displayed based on it's type 2017-01-03 17:09:59 +02:00
Lasse Öörni
019862a8f7 Fix end of line typo in FontFace.cpp. Closes #1744. 2017-01-03 13:25:43 +02:00
Lasse Öörni
f5b68769d0 ElementsNames -> ElementNames. 2017-01-02 18:19:58 +02:00
Lasse Öörni
c9884af9a6 Minor code edit, prefer GetObjectAttributeInfos() since it's asking for a single object's attributes. 2017-01-02 17:57:47 +02:00
Lasse Öörni
1f1433847d Merge remote-tracking branch 'KonstantinTomashevich/allow-define-vector-structs-attributes' 2017-01-02 17:43:15 +02:00
Konstant
b155da4f16 Add checking if object has any attributes. 2017-01-02 11:47:20 +02:00
Konstant
c70b6cf7ae Fix another misspelling. 2017-01-02 11:23:52 +02:00
Lasse Öörni
a6a99c1faf Clang internal error workaround to as_callfunc_x86.cpp 2017-01-02 01:32:43 +02:00
urho3d-travis-ci
39b6089615 Travis CI: API documentation update at 2017-01-01 20:43:44 UTC.
[ci package]

Commit: 11f099c655

Message: Minor style edits. Use position instead of iterator in autocomplete to be safe against iterator invalidation. Add Lua binding to autocomplete. Add short description of the new feature being demonstrated in sample 26.
2017-01-01 20:43:44 +00:00
Lasse Öörni
11f099c655 Minor style edits. Use position instead of iterator in autocomplete to be safe against iterator invalidation. Add Lua binding to autocomplete. Add short description of the new feature being demonstrated in sample 26. 2017-01-01 22:35:16 +02:00
Enhex
d75cee7e1c Switched to using Urho3D::Vector, and conforming with Urho's contribution requirements. 2017-01-01 22:35:15 +02:00
Enhex
f0e05cb7e1 Console auto complete 2017-01-01 22:35:14 +02:00
Konstant
e96bc6eaa8 Fix misspelling. 2017-01-01 21:49:28 +02:00
Konstant
c3e9f4617d Another small fixes in codestyle. 2017-01-01 21:41:40 +02:00
Konstant
73f72be922 Fix codestyle. 2017-01-01 21:38:39 +02:00
Konstant
d2364ed342 Update components with variant vector structures. 2017-01-01 20:52:15 +02:00
Konstant
8bde966269 Add macro. 2017-01-01 20:24:33 +02:00
Konstant
59c123630d Add GetObjectsAttriuteInfos to angel script api. 2017-01-01 20:06:51 +02:00
Konstant
f0a872ad2b Add variantStructureElementsNames_ list to attribute. 2017-01-01 19:22:34 +02:00
urho3d-travis-ci
ee054a1507 Travis CI: bump copyright to 2017.
[ccache clear]
2017-01-01 13:01:31 +00:00
Lasse Öörni
d8a7b2ed8f Safeguard against zero sized root UI element. Closes #1738. 2017-01-01 14:52:43 +02:00
Jan Korous
d977be0d59 Avoid special chars in paths in MRI script passed to ar utility 2017-01-01 10:05:02 +01:00
eugeneko
ec5f1f6d02 Merge pull request #1735 from eugeneko/master
Rename Resource::Load and Resource::Save filename overloads to Resour…
2016-12-31 12:55:15 +03:00
Eugene Kozlov
c59b0d941d Rename Resource::Load and Resource::Save filename overloads to Resource::LoadFile and Resource::SaveFile to prevent Resource::Save shadowing. 2016-12-30 20:53:36 +03:00
Lasse Öörni
6b03450f46 Compiler incompatibility fix for UINT64_MAX. 2016-12-30 19:13:32 +02:00
1vanK
9d7dceb2f2 06_SkeletalAnimatin: fix running out bounds, lighting correction
Fix excessive specular on Kachujin texture
2016-12-30 13:58:41 +03:00
Lasse Öörni
299dbf803b Squashed commit of the following:
commit 8b67f0edcb9b588c70df1676bdbfa4853e50c3aa
Author: Lumak <lumak5309@gmail.com>
Date:   Thu Dec 29 10:18:40 2016 -0800

    corrected to stonetiled mat

commit c17d68b1e0ed5435c492a26ed8010c4f4aa708eb
Author: Lumak <lumak5309@gmail.com>
Date:   Thu Dec 29 10:14:20 2016 -0800

    removed proto mat/texture

commit 1c322d19556d7796c4958a920203e5b1c80af843
Author: Lumak <lumak5309@gmail.com>
Date:   Wed Dec 28 12:18:59 2016 -0800

    replaced the Jack with Jill in 06_SkeletalAnimation sample
2016-12-29 20:39:28 +02:00
Konstant
435fb3687d Add missing namespace prefix in URHO3D_ACESSOR_ATTRIBUTE 2016-12-29 20:25:07 +02:00
Lasse Öörni
dae1c615a9 Initial work to update to AngelScript 2.31.2. 2016-12-29 19:51:46 +02:00
urho3d-travis-ci
d1af23bebc Travis CI: API documentation update at 2016-12-27 19:48:39 UTC.
[ci package]

Commit: a44f5299ee

Message: Register Variant::GetTypeName & Variant::GetTypeFromName as global functions into AngelScript. Closes #1730.
2016-12-27 19:48:40 +00:00
Lasse Öörni
a44f5299ee Register Variant::GetTypeName & Variant::GetTypeFromName as global functions into AngelScript. Closes #1730. 2016-12-27 21:39:46 +02:00
Lasse Öörni
7783d815e8 Minor include order change. 2016-12-26 21:12:15 +02:00
Henrik Heino
faa8fc8854 Fix minor Terrain bugs.
- Missing include added.
- Terrain UV coordinates fixed.
2016-12-26 18:51:34 +02:00
Yao Wei Tjong 姚伟忠
68293002b5 Fix Urho3DAll.h generation in an non out-of-source build tree.
Close #1720.
2016-12-23 23:00:10 +08:00
Lasse Öörni
fef73ba4c4 Squashed commit of the following:
commit 06f4d6afab933e32eaf3428dd080766b11a87f82
Author: Lasse Öörni <loorni@gmail.com>
Date:   Sun Dec 18 18:31:39 2016 +0200

    Black variant of logo.

commit 8fa11f888de023fcc76f26908e2ea77ebfd3146b
Author: Lasse Öörni <loorni@gmail.com>
Date:   Sun Dec 18 17:12:14 2016 +0200

    New logo in Lua samples.

commit 1283e38db1164a1c1e5db7d1042feabf996031fb
Merge: 4062553 4f5a2ea
Author: Lasse Öörni <loorni@gmail.com>
Date:   Sun Dec 18 16:51:04 2016 +0200

    Merge remote-tracking branch 'Modanung/new-logo'

commit 4f5a2ea104feeac12b87d3fb89d116e1866c2513
Author: Modanung <frode@lindeijer.nl>
Date:   Sun Dec 18 05:36:37 2016 +0100

    Also replaced logo in angelscript samples

commit 7c6e5e90c4dc82705883806e46b0957a44fbc787
Author: Modanung <frode@lindeijer.nl>
Date:   Sun Dec 18 03:34:31 2016 +0100

    Changed logo in samples to fishbone logo
2016-12-18 18:48:39 +02:00
urho3d-travis-ci
4062553b4f Travis CI: API documentation update at 2016-12-18 12:56:19 UTC.
[ci package]

Commit: 475bed04a8

Message: Fix nearest aniso filtering on Direct3D9 (At least NVIDIA GPUs.) Add documentation note on nearest aniso mode support. Closes #1718.
2016-12-18 12:56:19 +00:00
Lasse Öörni
475bed04a8 Fix nearest aniso filtering on Direct3D9 (At least NVIDIA GPUs.) Add documentation note on nearest aniso mode support. Closes #1718. 2016-12-18 14:42:33 +02:00
Lasse Öörni
6da62ecfe4 Aniso-nearest texture filter mode. 2016-12-18 13:42:24 +02:00
Lasse Öörni
59be3a2a17 Increase default VSM light bleeding prevention to 0.9 (from dragonCASTjosh.) Closes #1716. 2016-12-17 21:02:07 +02:00
Yao Wei Tjong 姚伟忠
d4e74a35c0 Set the default for SDL's VIDEO_MIR build option to FALSE.
Related to issue #1714.
2016-12-16 22:24:21 +08:00
Eugene Kozlov
705c5a17fa Extract AnimatedModel::ApplyAnimation method to force animation update. Make AnimationController::Update virtual. 2016-12-14 22:25:01 +03:00
Lasse Öörni
23b29fdb57 Reassign shader defines in SDF text pass when updating material so that later text effect changes work. Closes #1710. 2016-12-14 20:02:19 +02:00
Lasse Öörni
bbee668dfa Fix typo in header comment. Add mention of EngineDefs.h in documentation. 2016-12-10 18:00:10 +02:00
Lasse Öörni
f65ca809e2 Merge remote-tracking branch '1vanK/master' 2016-12-10 15:22:28 +02:00
1vanK
2a703a5ab1 Add engine parameters const 2016-12-10 08:18:18 +03:00
Lasse Öörni
0010226c0b Initialize new VertexBuffer / IndexBuffer variable for completeness. 2016-12-08 21:47:58 +02:00
Lasse Öörni
ed15cc21e4 Pass discard flag to buffer "unlock" on OpenGL. Closes #1706. 2016-12-08 18:41:58 +02:00
Lasse Öörni
bc1926eea3 Fade other animations in AnimationController::PlayExclusive() only if starting the new animation succeeded. Thanks to orefkov. Closes #1703. 2016-12-07 18:37:21 +02:00
Lasse Öörni
54ad428b4b Fix nearest filter mode not using mipmaps on OpenGL. Closes #1701. 2016-12-05 19:01:25 +02:00
Yao Wei Tjong 姚伟忠
e045b29c59 Split 3rd-party licenses into its own file. 2016-12-05 23:28:39 +08:00
Yao Wei Tjong 姚伟忠
f1d1b757b8 Change all CMakeLists.txt to use LF for consistency sake. 2016-12-05 22:33:59 +08:00
Lasse Öörni
1edc5f306e Disable rendertarget mipmaps on iOS as they appear not to work. 2016-12-04 01:12:34 +02:00
Lasse Öörni
db6b91cd7d If no Text3D text vertices, set local bounding box to zero sized. 2016-11-30 14:24:17 +02:00
urho3d-travis-ci
ea3a97a078 Travis CI: API documentation update at 2016-11-30 11:45:48 UTC.
[ci package]

Commit: 71731961bd

Message: Add function to return Text3D UI element height.
2016-11-30 11:45:48 +00:00
Lasse Öörni
71731961bd Add function to return Text3D UI element height. 2016-11-30 13:35:05 +02:00
Lasse Öörni
a8a29d757b Set node's final position before ApplyAttributes when instantiating. When node containing CrowdAgent has transform dirtied, readd to crowd if far enough. Operate on WorldPosition consistently to allow being parented to a non-identity transform parent node. Closes #1695. 2016-11-29 23:07:30 +02:00
Yao Wei Tjong 姚伟忠
e071b20967 Another attempt to auto-detect clock_gettime() on Apple platforms.
It is strange that Apple does not honour the deployment target and only based on base SDK when defining __CLOCK_AVAILABILITY internally.
[ci only: OSX]
2016-11-30 01:55:16 +08:00
Lasse Öörni
290f671e91 Ensure skinning matrix pointers do not change after late creation of bones. (e.g. prefab without bones.) Found while investigating #1695. 2016-11-29 18:42:20 +02:00
Yao Wei Tjong 姚伟忠
9290ebf6e0 Use auto-detection for clock_gettime() function on Apple platforms.
Fix #1692 [ci only: OSX]
2016-11-29 22:50:08 +08:00
Lasse Öörni
8e2ecb9617 Revert the check to not allow to set null sprite, as it should work without crashing. Safety checks in UpdateDrawRect() left. 2016-11-29 10:55:10 +02:00
Lasse Öörni
aa1600b91c Tabs to spaces, rephrase log message 2016-11-29 00:46:12 +02:00
Y-way
be8cbb43ba Crash due to call of StaticSprite2D::SetSprite if param is null.
If mouse left button hit a sprite tile in 36_Urho2DTileMap sample, it
make a crash.
2016-11-29 00:25:27 +02:00
Lasse Öörni
b9e8bf7ca0 Eliminate BillboardSet 16 bit index limitation and use large indices when necessary. 2016-11-25 12:16:46 +02:00
urho3d-travis-ci
13b3d9e9e6 Travis CI: API documentation update at 2016-11-22 18:11:01 UTC.
[ci package]

Commit: 1efb0d9085

Message: Enable IME for Linux platform. Only tested using ibus.
2016-11-22 18:11:01 +00:00
Yao Wei Tjong 姚伟忠
1efb0d9085 Enable IME for Linux platform. Only tested using ibus. 2016-11-23 01:59:55 +08:00
Lasse Öörni
0edcd340c0 Remove unused Matrix2 member variable. 2016-11-22 13:26:29 +02:00
Yao Wei Tjong 姚伟忠
2fb158d089 Add support for FCITX (an alternative IME to ibus). 2016-11-20 13:50:24 +08:00
urho3d-travis-ci
c7a63ac03e Travis CI: API documentation update at 2016-11-19 23:29:28 UTC.
[ci package]

Commit: df808db28d

Message: Update DebugRenderer comments. Render lines with depth write on and solid triangles with depth write off.
2016-11-19 23:29:28 +00:00
Lasse Öörni
df808db28d Update DebugRenderer comments. Render lines with depth write on and solid triangles with depth write off. 2016-11-20 01:05:45 +02:00
Lasse Öörni
681e9f832c Merge remote-tracking branch '1vanK/master' 2016-11-19 23:55:56 +02:00
Yao Wei Tjong 姚伟忠
05690e0a36 Fix #1681 for good. The ibus devel pacakge is optional once more. 2016-11-20 01:25:59 +08:00
Yao Wei Tjong 姚伟忠
b2af56a14b Minor bug fixes. 2016-11-20 01:24:10 +08:00
Yao Wei Tjong 姚伟忠
98d1eba903 Fix Android build error due to declaration after statement (using GCC).
Close #1690 [ci only: Android]
2016-11-19 13:07:54 +08:00
urho3d-travis-ci
1176e9daab Travis CI: API documentation update at 2016-11-18 08:12:47 UTC.
[ci package]

Commit: ade01f61af

Message: Remove isAreaLight variable completely from Light class, as it's unused. Some cleanup / comment changes. Fix PBRDeferred GLSL shader.
2016-11-18 08:12:47 +00:00
Lasse Öörni
ade01f61af Remove isAreaLight variable completely from Light class, as it's unused. Some cleanup / comment changes. Fix PBRDeferred GLSL shader. 2016-11-18 10:03:23 +02:00
Lasse Öörni
b8d55583f7 Squashed commit of the following:
commit a384431cd1ce230630d6a4522022de919cb55ac9
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Thu Nov 10 00:16:26 2016 +0000

    Fixed typing and style errors

commit d4f8ca2eeed2b0196b46bd391e96a511594dc738
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Thu Nov 10 00:14:02 2016 +0000

    Removed isAreaLight from attibutes

commit 62d50f3ba94d9c665358dcd7377730d968fde7be
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Mon Nov 7 22:53:45 2016 +0000

    Added documentation on area lighting options

commit 53e5844bee5caccc2a37f0dcdac3b8d4a984dd62
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Sat Nov 5 17:15:14 2016 +0000

    Fixd spacing

commit 5afa4ec59c1ecd2aa4892d4854e3b954af9cc73f
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Sat Nov 5 06:00:19 2016 +0000

    Fixed materials under deferred and light position in the scene

commit 314bc5847a44979b89f46a0272fcf5cd0f04e866
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Sat Nov 5 05:14:27 2016 +0000

    Fixed Deferred rendering

commit bde3560de71ab5a33c9cc3a4ee40029567cca5bf
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Sat Nov 5 03:26:54 2016 +0000

    Area lighting, improved IBL and improved attenuation for OpenGL

commit 52be0fc67626a9c8901091445be52bdbe99657d1
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Sat Nov 5 01:23:53 2016 +0000

    Intergrated Area ligthing with the editor, and improved texture quality

commit 5044bebe3d8799dee687ca676334f4493586d376
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Mon Oct 24 09:25:15 2016 +0100

    Tube lighting HLSL

commit f3849a93d1812345b21918a7418d12c8d3e1e3dd
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Mon Oct 24 09:01:10 2016 +0100

    Improve IBL

commit 210bfaebb40ed977eb46f0f6f91b3b6a49ec25a7
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Thu Sep 15 12:32:15 2016 +0100

    Made sphere lights closer to epics paper

commit c186870e9e79de9572b5302019598ac059af58cf
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Thu Sep 15 11:57:39 2016 +0100

    Added sphere light and beginning of tube lights
2016-11-18 02:02:05 +02:00
Lasse Öörni
84c36e10e5 Ensure proper recursive calculation of UI element combined screen rect. Closes #1687. 2016-11-17 22:14:48 +02:00
Lasse Öörni
4144ff27c6 Make sure nodes with CrowdAgent component are excluded from nav geometry generation. Related to #1689. 2016-11-17 21:58:17 +02:00
Yao Wei Tjong 姚伟忠
628e4b2795 Quick fix for #1681 on Linux build, requires ibus-dev(el) package. 2016-11-17 01:20:47 +08:00
Yao Wei Tjong 姚伟忠
ad97bfacd0 Fix Android build. 2016-11-09 23:10:02 +08:00
Yao Wei Tjong 姚伟忠
805932a498 Merge commit '8eb652a0d09b97901540c9721f5afb37b903a286' into upstream.master 2016-11-09 23:08:19 +08:00
urho3d-travis-ci
b9b88591fb Travis CI: API documentation update at 2016-11-07 20:21:46 UTC.
[ci package]

Commit: 10e97395e3

Message: Add contributor credit.
2016-11-07 20:21:47 +00:00
Lasse Öörni
467729bae7 Minor comment edits and missing bindings. Move VAR_RECT last in the enum to not break potential binary scenes/prefabs. Set StaticSprite2D rect attribute default values to Rect::ZERO for more pleasant editing. Editing of VAR_RECT attributes. 2016-11-07 22:04:46 +02:00
Lasse Öörni
c3fc83c7f3 Merge remote-tracking branch 'gogoprog/feature-draw_and_texture_rects' 2016-11-07 21:24:08 +02:00
Gauthier Billot
43a1a22f1c Added Lua and AngelScript bindings 2016-11-07 13:28:28 +01:00
Gauthier Billot
552f2d107b Added attributes to StaticSprite2D 2016-11-07 13:20:47 +01:00
Gauthier Billot
44224786d2 Added Set/Get Use[Draw/Texture]Rect 2016-11-07 13:20:04 +01:00
Gauthier Billot
544bd1eefe Updated Variant to support Rect 2016-11-07 13:09:19 +01:00
Igor
90312d21b1 Remove redundant assignment 2016-11-07 11:07:39 +03:00
1vanK
32032d60f7 Solid debug geometry for NavArea 2016-11-06 11:35:23 +03:00
Matan Shukry
22b16e2aa3 Added namespace prefix for various calls to GetVariantType 2016-11-05 20:18:49 +02:00
Gauthier Billot
44adda4f17 Added SetDrawRect and SetTextureRect in StaticSprite2D 2016-11-03 13:33:51 +01:00
urho3d-travis-ci
e550dda403 Travis CI: API documentation update at 2016-11-01 18:11:07 UTC.
[ci package]

Commit: e44dda965c

Message: Merge pull request #1669 from eugeneko/master

Optimize Editor work with temporary objects
2016-11-01 18:11:07 +00:00
eugeneko
e44dda965c Merge pull request #1669 from eugeneko/master
Optimize Editor work with temporary objects
2016-11-01 20:58:18 +03:00
Eugene Kozlov
e556f63291 Add 'temporary' parameter to Node::CreateChild and Node::CreateTemporaryChild. 2016-10-30 00:13:41 +03:00
Johnathan Jenkins
d78fc4020f minor typos 2016-10-28 13:07:14 -07:00
Lasse Öörni
02ab74ec6a Fix FontFaceFreeType signedness warning on MSVC. 2016-10-28 22:21:23 +03:00
urho3d-travis-ci
7ccffe217d Travis CI: API documentation update at 2016-10-28 14:56:35 UTC.
[ci package]

Commit: 098679893f

Message: Expose SDLK_UNKNOWN as KEY_UNKNOWN in InputEvents.h. Closes #1666.
2016-10-28 14:56:35 +00:00
Lasse Öörni
098679893f Expose SDLK_UNKNOWN as KEY_UNKNOWN in InputEvents.h. Closes #1666. 2016-10-28 17:40:31 +03:00
Lasse Öörni
ce78e3217c Fix material removal while handling attribute animation causing potential crash. Fix material animation event being transmitted already on the first frame. 2016-10-26 00:00:43 +03:00
urho3d-travis-ci
d010c1ff2f Travis CI: API documentation update at 2016-10-25 19:03:28 UTC.
[ci package]

Commit: 0acd25e763

Message: Add logarithm function to Math API.
2016-10-25 19:03:28 +00:00
Eugene Kozlov
0acd25e763 Add logarithm function to Math API. 2016-10-25 21:40:39 +03:00
Eugene Kozlov
87a3e7e2fb Replace some expressions with new functions. 2016-10-25 21:40:39 +03:00
Eugene Kozlov
a785c1f37c Add missing binding for Image::SaveDDS. 2016-10-25 21:40:39 +03:00
Lasse Öörni
9a5d9af6b7 Fix event frame not expanding the ValueAnimation's time range properly. Fix removing an animating object during an event frame causing crash. Thanks to vudugun for noticing (forum thread http://urho3d.prophpbb.com/topic2464.html) 2016-10-25 21:38:04 +03:00
Lasse Öörni
3d2987c2ba Reset levelsDirty / resolveDirty when releasing a texture. Resolve multisampled texture in GetData() if necessary. Fix getting multisampled texture data on D3D9/11. 2016-10-23 19:48:13 +03:00
Lasse Öörni
05b47d8913 Always set history position after pressing enter, even if row wasn't saved. 2016-10-23 01:33:14 +03:00
Lasse Öörni
408398dc83 Merge remote-tracking branch 'Enhex/patch-1' 2016-10-23 01:16:27 +03:00
urho3d-travis-ci
cb459449d9 Travis CI: API documentation update at 2016-10-22 21:08:25 UTC.
[ci package]

Commit: 875ebcfef5

Message: Disable rendertarget mipmaps on WebGL for now, as they appeared to not be working.
2016-10-22 21:08:25 +00:00
Lasse Öörni
875ebcfef5 Disable rendertarget mipmaps on WebGL for now, as they appeared to not be working. 2016-10-22 23:56:47 +03:00
Lasse Öörni
1bb6d3d1ac Support for mipmapped rendertargets & automatic mip regeneration after rendering. Renderer allocated screen buffers are not mipmapped, but a manually created rendertarget texture will be (like regular textures), unless disabled by calling SetNumLevels(1). 2016-10-22 23:56:46 +03:00
Mike3D
066448b26d Fixed return value of Viewport::WorldToScreenPoint() for AS [ci skip] 2016-10-22 22:01:18 +02:00
Enhex
1736c67487 Don't save line repetitions in the console's history 2016-10-22 01:45:46 +03:00
Lasse Öörni
d01facfb56 Word wrap char positions fix contributed by Fastran. Closes #1659. 2016-10-20 01:05:51 +03:00
Lasse Öörni
a8f1fbc7ed Ensure work item gets inserted last into the queue if no other option. Closes #1656. 2016-10-19 17:53:39 +03:00
Lasse Öörni
3bf13318fc Sync Urho3DPlayer command line help from the documentation. 2016-10-18 22:49:13 +03:00
urho3d-travis-ci
e035fa0b8d Travis CI: API documentation update at 2016-10-16 17:40:18 UTC.
[ci package]

Commit: b09fd98bef

Message: Tab to spaces. Cast to float in IntVector2::Length() to avoid warning spam.
2016-10-16 17:40:18 +00:00
Lasse Öörni
b09fd98bef Tab to spaces. Cast to float in IntVector2::Length() to avoid warning spam. 2016-10-16 20:26:38 +03:00
Lasse Öörni
7af7cf202a Merge remote-tracking branch 'rokups/utility-functions' 2016-10-16 19:54:40 +03:00
Eugene Kozlov
89ce82e0ed Fix copy-paste error in math AS bindings. 2016-10-16 19:36:03 +03:00
Lasse Öörni
17e2122a6e Allow to set desired mouse mode or mouse visibility before Input initialization. 2016-10-16 17:49:43 +03:00
Rokas Kupstys
964351a03a Node::GetChildren* that return a collection of children (for use in ranged for loops) 2016-10-16 17:35:14 +03:00
Rokas Kupstys
e71fa46e89 Node::SetTransform(const Matrix3x4& matrix) 2016-10-16 17:35:14 +03:00
Rokas Kupstys
f9aa090c92 IntVector2::Length() 2016-10-16 17:35:14 +03:00
Rokas Kupstys
5d1ef7fdbb UIElement::GetChildrenWithTag() that returns PODVector. 2016-10-16 17:35:14 +03:00
urho3d-travis-ci
9b88d79945 Travis CI: API documentation update at 2016-10-16 13:39:24 UTC.
[ci package]

Commit: b23a1bd856

Message: Merge branch 'update-api'
2016-10-16 13:39:24 +00:00
Eugene Kozlov
b23a1bd856 Merge branch 'update-api' 2016-10-16 16:00:24 +03:00
Yao Wei Tjong 姚伟忠
123d06471a Remove mouse centering logic from screen mode change event handler.
Remove Linux-specific workaround for fixing the initial input focus lose problem.
Close #1652.
2016-10-16 20:30:31 +08:00
Lasse Öörni
fff10e15cf Eliminate a few uses of NULL, and mention preference to not use it in the code convention. Ensure UIElementLoadChildXML returns a value. 2016-10-16 14:03:01 +03:00
Eugene Kozlov
14bc9b0085 Make UniquePtr non-copyable. 2016-10-16 13:41:56 +03:00
Eugene Kozlov
eac08de5cb Add extra check to prevent deletion of incomplete type in UniquePtr. 2016-10-16 11:40:29 +03:00
Eugene Kozlov
b85efd2462 Fix Image::SaveDDS implementation. 2016-10-16 00:51:41 +03:00
Eugene Kozlov
a69df6344a Replace new/delete with UniquePtr in simplest cases. 2016-10-16 00:51:27 +03:00
urho3d-travis-ci
e60bc58099 Travis CI: API documentation update at 2016-10-15 18:58:36 UTC.
[ci package]

Commit: d81b2b414c

Message: More rendertarget formats. Add porting note.
2016-10-15 18:58:36 +00:00
Lasse Öörni
fd4a9bdb9b Load & store a different set of shader variations into Pass if necessary, when a renderpath scenepass command defines additional shader compile defines. 2016-10-15 21:47:18 +03:00
Lasse Öörni
05c0e7741b Allow also scenepass & forwardlights commands to define shader parameters. 2016-10-15 21:47:17 +03:00
TheComet
82e09e8632 UIElement::CreateChildXML() returns child instead of bool. If loading fails, child is destroyed instead of keeping an empty child around 2016-10-15 21:47:16 +03:00
Eugene Kozlov
89fb47f550 Add stable random generator. 2016-10-15 21:43:24 +03:00
Eugene Kozlov
e150bb29ec Fix include in Ptr.h 2016-10-15 21:43:23 +03:00
Eugene Kozlov
8acd69046a Add Image::SaveDDS function. Add Resource::Save|Load(fileName) functions. 2016-10-15 21:43:23 +03:00
Eugene Kozlov
f437d858a7 Fix AS bindings. 2016-10-15 18:50:08 +03:00
Eugene Kozlov
3087632f84 Add Math API functions: InverseLerp, Vector2|3|4::ProjectOntoAxis 2016-10-15 16:56:57 +03:00
Eugene Kozlov
a49dab7456 Add math API functions: vector Lerp, Min, Max, Floor, Round and Ceil. 2016-10-15 16:32:08 +03:00
Eugene Kozlov
0c144b542d Add math API functions: Sqrt, Pow, Mod, Fract, Floor, Round, Ceil and their integer counterparts. 2016-10-15 15:04:27 +03:00
Eugene Kozlov
583c851b03 Add LowerBound and UpperBound functions. 2016-10-15 15:04:26 +03:00
Eugene Kozlov
92b151d4aa Add template FromString. Add begin() and end() for Pair<T, T>. 2016-10-15 15:04:26 +03:00
Eugene Kozlov
49a4c46c97 Add UniquePtr template. Add MakeUnique and MakeShared helpers. 2016-10-15 11:58:35 +03:00
Yao Wei Tjong 姚伟忠
8d76730f5c Declare the template specialization in the header to keep MSVC happy. 2016-10-14 07:42:42 +08:00
Lasse Öörni
31744b797c Fix potential use of dangling EventReceiverGroup (leading to assert) by making it refcounted and holding onto it until event sending is complete. 2016-10-13 21:40:21 +03:00
urho3d-travis-ci
fdfbb742f5 Travis CI: API documentation update at 2016-10-13 17:25:15 UTC.
[ci package]

Commit: c13084b962

Message: Add Lua binding for Model's SetVertexBuffer() and SetIndexBuffer().
Related to #1638.
2016-10-13 17:25:15 +00:00
Yao Wei Tjong 姚伟忠
c13084b962 Add Lua binding for Model's SetVertexBuffer() and SetIndexBuffer().
Related to #1638.
2016-10-14 00:59:15 +08:00
Lasse Öörni
3143336a76 Rewrite event receiver tracking to allow safe receiver removal during event send, even when same number of receivers is added and removed. Closes #1642. 2016-10-12 01:04:29 +03:00
urho3d-travis-ci
dbb589855e Travis CI: API documentation update at 2016-10-11 19:34:59 UTC.
[ci package]

Commit: 9aca15f4d6

Message: Add contributor credit. Code style edits to ProgressBar. Fix ProgressBar resize. Calculate percent as value / range and convert to integer to prevent showing too many decimals.
2016-10-11 19:34:59 +00:00
Lasse Öörni
9aca15f4d6 Add contributor credit. Code style edits to ProgressBar. Fix ProgressBar resize. Calculate percent as value / range and convert to integer to prevent showing too many decimals. 2016-10-11 22:24:30 +03:00
Lasse Öörni
0e0066ad21 Merge remote-tracking branch 'victorholt/master' 2016-10-11 19:30:55 +03:00
Yao Wei Tjong 姚伟忠
82f7fd56d0 Remove CMake workaround for Bullet library building.
The workaround is not needed anymore as the offending code has been patched.
[ci only: master] [skip appveyor]
2016-10-11 22:33:25 +08:00
Lasse Öörni
00f414416e Explicitly cast infinity to float in btVector3 code to prevent narrowing errors on TDM-GCC. Closes #1637. 2016-10-11 10:16:15 +03:00
Victor Holt
a2261f5a56 Updated the ProgressBar PR to include Lua and AngelScript bindings
Added the ability to show or hide the percent text
2016-10-10 23:38:48 -05:00
urho3d-travis-ci
91b919ea30 Travis CI: API documentation update at 2016-10-10 12:55:05 UTC.
[ci package]

Commit: 20af1aa85f

Message: Demonstrate listing the vertex + index buffers to Model so that it can be saved correctly. Lua bindings not added for now due to problem with serializing a vector of object pointers. Closes #1638.
2016-10-10 12:55:05 +00:00
Lasse Öörni
20af1aa85f Demonstrate listing the vertex + index buffers to Model so that it can be saved correctly. Lua bindings not added for now due to problem with serializing a vector of object pointers. Closes #1638. 2016-10-10 15:44:31 +03:00
Lasse Öörni
9065247c45 Merge remote-tracking branch 'victorholt/master' 2016-10-10 10:50:36 +03:00
Victor Holt
b232eb1114 Removed an unnecessary variable. 2016-10-10 01:26:15 -05:00
Victor Holt
c486b1608b Fixed an issue for SQLite queries where String::Trimmed was returning a corrupted version of the query string 2016-10-09 19:36:43 -05:00
urho3d-travis-ci
02066e2ac8 Travis CI: API documentation update at 2016-10-09 03:52:52 UTC.
[ci package]

Commit: 1ef164d741

Message: Minor typo correction on a Lua property name for AnimationControl.
2016-10-09 03:52:52 +00:00
Yao Wei Tjong 姚伟忠
1ef164d741 Minor typo correction on a Lua property name for AnimationControl. 2016-10-09 11:43:36 +08:00
Lasse Öörni
44748322d5 Urho2D sprite related classes 64bit warning fixes. 2016-10-09 03:04:17 +03:00
Lasse Öörni
9a2d373d29 Assert receiver in derived template implementation, not in base class, which allows to set a null pointer instead of one cast from unsigned int. Closes #1634. 2016-10-09 03:03:58 +03:00
urho3d-travis-ci
92afe3521e Travis CI: API documentation update at 2016-10-08 18:11:48 UTC.
[ci package]

Commit: f099b8e0a2

Message: Expose read-only access to AnimationController's internal AnimationControl structures.
2016-10-08 18:11:48 +00:00
Lasse Öörni
f099b8e0a2 Expose read-only access to AnimationController's internal AnimationControl structures. 2016-10-08 21:01:32 +03:00
urho3d-travis-ci
763e99367d Travis CI: API documentation update at 2016-10-07 07:57:13 UTC.
[ci package]

Commit: f545877cc8

Message: Merge pull request #1632 from 1vanK/master

Add AnimationController::IsPlaying(layer) method
2016-10-07 07:57:13 +00:00
Lasse Öörni
f545877cc8 Merge pull request #1632 from 1vanK/master
Add AnimationController::IsPlaying(layer) method
2016-10-07 10:47:46 +03:00
urho3d-travis-ci
07f02972ed Travis CI: API documentation update at 2016-10-06 19:42:20 UTC.
[ci package]

Commit: 47e016eca4

Message: Add function to check Rect <-> Rect intersection.
2016-10-06 19:42:20 +00:00
Lasse Öörni
47e016eca4 Add function to check Rect <-> Rect intersection. 2016-10-06 22:21:39 +03:00
Lasse Öörni
08ff3f6629 Clarify comment. Closes #1631. 2016-10-06 14:43:32 +03:00
urho3d-travis-ci
ca263bef55 Travis CI: API documentation update at 2016-10-05 09:00:11 UTC.
[ci package]

Commit: 203cb06048

Message: Merge remote-tracking branch 'eugeneko/master'
2016-10-05 09:00:11 +00:00
Lasse Öörni
203cb06048 Merge remote-tracking branch 'eugeneko/master' 2016-10-05 11:27:41 +03:00
urho3d-travis-ci
c3c45a0c1b Travis CI: API documentation update at 2016-10-04 21:28:16 UTC.
[ci package]

Commit: f8ebf2dbc9

Message: Line antialiasing support in Graphics, Material, DebugRenderer classes. Closes #1627.
2016-10-04 21:28:16 +00:00
Lasse Öörni
f8ebf2dbc9 Line antialiasing support in Graphics, Material, DebugRenderer classes. Closes #1627. 2016-10-05 00:17:05 +03:00
Eugene Kozlov
dec0361792 Fix Texture2D::GetImage and TextureCube::GetImage Lua bindings. Simplify some Lua bindings. 2016-10-04 23:12:07 +03:00
Eugene Kozlov
6a469e6af8 Update return value of SharedPtr<T>::Detach. 2016-10-04 22:41:38 +03:00
Eugene Kozlov
b16b7f6f7a Move Texture2D::GetImage and TextureCube::GetImage implementations. 2016-10-04 22:11:31 +03:00
Lasse Öörni
bf4591b158 Define WINVER in SDL_windowsjoystick.c if not defined. Related to #1629. 2016-10-04 16:28:20 +03:00
urho3d-travis-ci
9b78bbacb6 Travis CI: API documentation update at 2016-10-02 10:55:35 UTC.
[ci package]

Commit: 6068963457

Message: Preserve anchored size if setting horiz/vert alignment while anchored.
2016-10-02 10:55:35 +00:00
Lasse Öörni
6068963457 Preserve anchored size if setting horiz/vert alignment while anchored. 2016-10-02 13:43:22 +03:00
Lasse Öörni
ab5cdf9da7 Update documentation on UI element anchoring. 2016-10-02 13:43:21 +03:00
Lasse Öörni
a5d20441dd Adjustments to UI element anchoring to make it more foolproof and intuitive. Anchoring must now be enabled explicitly. 2016-10-02 13:43:20 +03:00
Lasse Öörni
6f8164c492 Script bindings for anchor/pivot settings. Edit comments. 2016-10-02 13:43:19 +03:00
ninjastone
93f009d882 Fixed missing argument 2016-10-02 13:43:18 +03:00
ninjastone
e1724b84e5 Changed FLT_MAX to std::numeric_limits 2016-10-02 13:43:17 +03:00
ninjastone
9c4b0b169d Fixed read only attributes in serialization.
Added flags to UIElement for compatibility.
2016-10-02 13:43:17 +03:00
ninjastone
6fb6de2873 Added some comments. 2016-10-02 13:43:16 +03:00
ninjastone
68f4657528 Add anchor and pivot to UIElement. 2016-10-02 13:43:15 +03:00
urho3d-travis-ci
1377657b2d Travis CI: API documentation update at 2016-10-01 13:05:53 UTC.
[ci package]

Commit: 0ea9ed6e34

Message: Possibility in DecalSet to size VB/IB to only size used by decals. Default off; causes reallocation whenever decals are added/removed and thus can have worse performance.
2016-10-01 13:05:53 +00:00
Lasse Öörni
0ea9ed6e34 Possibility in DecalSet to size VB/IB to only size used by decals. Default off; causes reallocation whenever decals are added/removed and thus can have worse performance. 2016-10-01 15:51:10 +03:00
Lasse Öörni
72c2e82ee8 Support for bool & int constants in materials on OpenGL & Direct3D11. Added int uniform support to OpenGL. Removed code duplication for setting a Variant shader parameter. 2016-09-30 18:55:00 +03:00
Lasse Öörni
fa42bc6a8f Fix erroneous reuse of the backbuffer depth buffer when multisampling is used. Closes #1625. 2016-09-30 14:48:24 +03:00
urho3d-travis-ci
c797ba266c Travis CI: API documentation update at 2016-09-29 20:38:21 UTC.
[ci package]

Commit: 562b193ef5

Message: Add delta parameter to UIElement::OnResize() and the Resized event.
2016-09-29 20:38:22 +00:00
Lasse Öörni
562b193ef5 Add delta parameter to UIElement::OnResize() and the Resized event. 2016-09-29 23:12:25 +03:00
urho3d-travis-ci
102a137a4d Travis CI: API documentation update at 2016-09-28 18:04:08 UTC.
[ci package]

Commit: 2868854338

Message: Clarify Texture2D::SetSize() & fix tabs.
2016-09-28 18:04:08 +00:00
Lasse Öörni
2868854338 Clarify Texture2D::SetSize() & fix tabs. 2016-09-28 20:26:26 +03:00
Lasse Öörni
fc42e5d98e Merge branch 'multisample-textures' 2016-09-28 19:41:08 +03:00
Lasse Öörni
3a5a85151e Instead of specific fix in Material, convert double Variants to float on demand in Graphics::SetShaderParameter(). Closes #1621. 2016-09-28 19:39:01 +03:00
Lasse Öörni
1bb04b2cbd Avoid getting a light's lightMask constantly when looping over geometries, rather get it once into a stack variable. 2016-09-28 01:16:01 +03:00
Lasse Öörni
fee755e942 To restore lost performance, move less critical Node variables to an implementation struct to reduce Node instance memory size, and restore old unsafe PODVector operation that does not allow self-insertion. 2016-09-28 00:43:43 +03:00
Lasse Öörni
174e555303 Fix incorrect transform of decal normals when decal is not in same node as target geometry. Closes #1618. 2016-09-26 23:03:58 +03:00
Lasse Öörni
bb057522ad Remove static TypeInfo checking functions, as they cannot function properly due to always accessing the TypeInfo of Object class. 2016-09-26 21:53:46 +03:00
Lasse Öörni
3ca4bb25c3 For consistency/safety, release the surface also when failing to acquire. Closes #1050. 2016-09-26 12:29:19 +03:00
Lasse Öörni
90e376c9cc Add documentation on multisampled rendertargets. 2016-09-26 12:04:03 +03:00
Lasse Öörni
c923476847 Merge branch 'master' into multisample-textures
# Conflicts:
#	Docs/Reference.dox
2016-09-26 10:52:54 +03:00
Lasse Öörni
f01024881f Add multisampling possibility for VSM shadows. 2016-09-25 23:59:57 +03:00
Lasse Öörni
46793bbb72 Match multisample mode of the substitute rendertarget & screen buffers with the final destination rendertarget. 2016-09-25 19:31:24 +03:00
Lasse Öörni
749c283fb7 Since it appears none of the APIs support sampling a multisampled cube texture, remove the autoresolve parameter and always set it true if multisampled for cube textures. Make it a warning (not error) to attempt no autoresolve for a 2D multisampled texture on Direct3D9. 2016-09-25 17:14:10 +03:00
Lasse Öörni
76911afe38 Fix D3D11 multisampled cube texture creation. 2016-09-25 02:53:25 +03:00
Lasse Öörni
37e002e58b D3D11 multisampled cube texture. Refactoring / cleanup of D3D error logging and GPU object release. 2016-09-25 01:46:58 +03:00
Lasse Öörni
f07f3e8c91 OpenGL multisampled cube texture. 2016-09-25 00:12:53 +03:00
Lasse Öörni
32192bc7fb Remove unnecessary iteration from StaticModelGroup to update node ID's. Instead update ID's when asked. 2016-09-24 19:24:51 +03:00
Lasse Öörni
f635df3cb1 Fix uninitialized memory in Material. Closes #1615. 2016-09-24 19:24:50 +03:00
Lasse Öörni
f89c4e4dfb Merge pull request #1612 from eugeneko/master
Minor changes
2016-09-23 22:32:13 +03:00
Lasse Öörni
4c2e2b713b Fix out of bounds array access when material quality is higher than high. Closes #1611. 2016-09-23 22:21:41 +03:00
Eugene Kozlov
3c585a15c9 Add Vector::Resize and PODVector::Resize overloads. 2016-09-23 21:01:07 +03:00
Eugene Kozlov
14e057a70d Make EnumAttributeAccessorImpl compatible with enum classes. 2016-09-23 20:43:32 +03:00
Eugene Kozlov
12499aa0d0 Virtualize some member functions of StaticModel. 2016-09-23 20:43:32 +03:00
urho3d-travis-ci
52efdb31cb Travis CI: API documentation update at 2016-09-23 15:48:26 UTC.
[ci package]

Commit: a1e2bc9bd3

Message: Make shader cache location configurable, default urho3d/shadercache in app preferences, to avoid writing to write-protected installation directory by default. Instructions in porting notes to restore earlier behavior. ShaderCacheDir & PackageCacheDir parameters added to engine startup parameters. Fix GetResourceFileName() function to return the unmodified filename if it's absolute and exists. Remove unnecessary mutex lock from GetResourceFileName(). Remove some code duplication from Graphics class implementations. Closes #1610.
2016-09-23 15:48:26 +00:00
Lasse Öörni
a1e2bc9bd3 Make shader cache location configurable, default "urho3d/shadercache" in app preferences, to avoid writing to write-protected installation directory by default. Instructions in porting notes to restore earlier behavior. ShaderCacheDir & PackageCacheDir parameters added to engine startup parameters. Fix GetResourceFileName() function to return the unmodified filename if it's absolute and exists. Remove unnecessary mutex lock from GetResourceFileName(). Remove some code duplication from Graphics class implementations. Closes #1610. 2016-09-23 18:36:40 +03:00
Lasse Öörni
c745d2ea52 Multisampled cube rendertarget on Direct3D9. 2016-09-23 09:55:10 +03:00
urho3d-travis-ci
5aa0b0613e Travis CI: API documentation update at 2016-09-22 18:51:31 UTC.
[ci package]

Commit: fe2e70db13

Message: Clean up view event sending code. Add 2 new view events: buffers allocated, and global shader parameters set.
2016-09-22 18:51:31 +00:00
Lasse Öörni
fe2e70db13 Clean up view event sending code. Add 2 new view events: buffers allocated, and global shader parameters set. 2016-09-22 21:42:30 +03:00
Lasse Öörni
3b4f4d4c0c Clear multisampling from texture on GLES and log warning. 2016-09-21 00:41:00 +03:00
urho3d-travis-ci
d13a92d616 Travis CI: API documentation update at 2016-09-20 08:53:23 UTC.
[ci package]

Commit: 886e48ab8a

Message: Script bindings for new input functions.
2016-09-20 08:53:23 +00:00
Lasse Öörni
886e48ab8a Script bindings for new input functions. 2016-09-20 11:36:32 +03:00
Lasse Öörni
f6ce114830 Multisampled texture without autoresolve on OpenGL. 2016-09-19 23:05:44 +03:00
Lasse Öörni
d068842bf5 Error logging for attempting to use non-autoresolve multisampled texture on Direct3D9. 2016-09-19 21:35:04 +03:00
Lasse Öörni
f75fbfa688 Add multisample & autoresolve definitions to RenderTargetInfo. 2016-09-19 21:27:38 +03:00
Lasse Öörni
a7f3c61bdf Multisampled texture on D3D11. 2016-09-19 21:06:40 +03:00
Rokas Kupstys
19012714e1 Expose mouse position manipulation api in Input class 2016-09-19 18:24:30 +03:00
Lumak
4fd62537e6 implemented a much simpler version 2016-09-19 00:40:17 -07:00
Lasse Öörni
4e40cf849e Work on OpenGL multisample textures. 2016-09-19 02:35:28 +03:00
Lumak
7341c9a48b a bit of clean up 2016-09-18 14:42:26 -07:00
Lumak
931b9bbd98 added a feature to be able to export fbx animation w/o skinned mesh 2016-09-18 13:12:49 -07:00
1vanK
eda96cd128 Add AnimationController::IsPlaying(layer) method 2016-09-18 19:47:10 +03:00
Lasse Öörni
eb62fd941b Next attempt to fix civetweb for XCode 8. 2016-09-18 00:27:25 +03:00
Eugene Kozlov
d4039d5bc6 Add functions for mipmap manipulation to Image. 2016-09-17 01:20:59 +03:00
Lasse Öörni
c1ad7ea5b7 Modified Civetweb patch from Josh Engebretson. Related to #1588. 2016-09-16 23:11:32 +03:00
Lasse Öörni
5b67d284e1 Let Box2D world stay at default values for continuous (true) & substepping (false), since substepping enabled leads to erratic behavior under load. Closes #1592. 2016-09-16 18:29:52 +03:00
Lasse Öörni
43535f4087 Add script bindings for the new texture read-only properties. 2016-09-16 14:15:28 +03:00
Lasse Öörni
508db7feb8 Create additional screen buffers as non-antialiased to avoid extra resolves, with the assumption that they will be used for quad ping-ponging in postprocess effect chain. 2016-09-16 01:36:08 +03:00
Lasse Öörni
56edbef9d6 Initial multisample support for Texture2D on Direct3D9. 2016-09-16 01:24:36 +03:00
Eugene Kozlov
9c6e6071b2 Fix memory leak in Dictionary. 2016-09-14 23:02:55 +03:00
Lasse Öörni
781dc31143 Merge remote-tracking branch '1vanK/master' 2016-09-14 18:18:33 +03:00
Yao Wei Tjong 姚伟忠
952408eba0 Update code comment. [ci skip] 2016-09-14 21:13:09 +08:00
1vanK
bba9766c66 39_CrowdNavigation: animation sync 2016-09-14 11:24:20 +03:00
Lasse Öörni
4c1d729a21 Merge pull request #1581 from eugeneko/master
Fix LookAt Mixed rotation mode.
2016-09-14 10:17:45 +03:00
Lasse Öörni
00f0a87dc5 Stop existing weight fade when AnimationController::SetWeight() is called, to ensure the set weight is not overridden one frame later. Closes #1583. 2016-09-14 09:50:50 +03:00
Eugene Kozlov
7c72c36676 Fix LookAt Mixed rotation mode. 2016-09-13 20:45:13 +02:00
Lasse Öörni
4f1de66529 Merge remote-tracking branch 'Gordon-F/Gordon-F-delfix' 2016-09-13 13:45:45 +03:00
urho3d-travis-ci
1f6be30c98 Travis CI: API documentation update at 2016-09-12 21:07:18 UTC.
[ci package]

Commit: b22768227f

Message: Possibility to enable alpha-to-coverage in either pass or material (all passes). Requires D3D11 or OpenGL and hardware multisampling enabled. Seems to look slightly different on D3D / OpenGL. Fixed depth bias not being copied in Material::Clone(). Closes #1578.
2016-09-12 21:07:19 +00:00
Lasse Öörni
b22768227f Possibility to enable alpha-to-coverage in either pass or material (all passes). Requires D3D11 or OpenGL and hardware multisampling enabled. Seems to look slightly different on D3D / OpenGL. Fixed depth bias not being copied in Material::Clone(). Closes #1578. 2016-09-12 23:43:45 +03:00
Lasse Öörni
90d7d226fc Do not make a value copy of the VariantVector inside the attribute in SceneResolver. Closes #1576. 2016-09-12 17:33:12 +03:00
Igor
c72ea82b5f fix delete in SpritePacker.cpp 2016-09-12 12:29:52 +03:00
Lasse Öörni
32ef767485 Make a value copy of the node IDs when resolving. Potential solution for #1576. 2016-09-12 02:23:59 +03:00
urho3d-travis-ci
acbbaacc5c Travis CI: API documentation update at 2016-09-11 13:53:23 UTC.
[ci package]

Commit: 91141412c9

Message: Add missing enum string name for serialization.
2016-09-11 13:53:23 +00:00
Lasse Öörni
91141412c9 Add missing enum string name for serialization. 2016-09-11 16:42:11 +03:00
Lasse Öörni
8968fa4bb2 Merge remote-tracking branch '1vanK/master' 2016-09-11 16:40:15 +03:00
Lasse Öörni
83acf5bc14 Optional per-texture specifiable max. anisotropy level. Closes #1563. 2016-09-11 16:28:45 +03:00
1vanK
6323aed69a Add NavigationPushiness::NAVIGATIONPUSHINESS_NONE 2016-09-11 15:38:57 +03:00
Lasse Öörni
a10aba4cfa Remove debug print. 2016-09-10 20:51:42 +03:00
Lasse Öörni
19300a3dd7 Add note that ResetTarget() doesn't stop automatically. Do not debug draw a "velocity" target for CrowdAgent. Closes #1572. 2016-09-10 20:50:12 +03:00
urho3d-travis-ci
e3834b7cf9 Travis CI: API documentation update at 2016-09-08 21:39:21 UTC.
[ci package]

Commit: 6895a512af

Message: Pass-level mechanism for eliminating unnecessary shader compilation defines. Closes #1567. Use this mechanism to eliminate PACKEDNORMAL define from depth & shadow pass in normalmapped techniques.
2016-09-08 21:39:21 +00:00
Lasse Öörni
6895a512af Pass-level mechanism for eliminating unnecessary shader compilation defines. Closes #1567. Use this mechanism to eliminate PACKEDNORMAL define from depth & shadow pass in normalmapped techniques. 2016-09-09 00:29:19 +03:00
Lasse Öörni
4e5f83acc9 Make it safe to remove CrowdAgent during the reposition event. Closes #1570. 2016-09-08 22:00:30 +03:00
Yao Wei Tjong 姚伟忠
d19d8d3dbf Minor refactor for code reuse. 2016-09-08 23:02:03 +08:00
urho3d-travis-ci
13dbb22564 Travis CI: API documentation update at 2016-09-07 20:45:59 UTC.
[ci package]

Commit: 6be0d71814

Message: Fix keeping track of RigidBody2D constraints. Closes #1569.
2016-09-07 20:45:59 +00:00
Lasse Öörni
6be0d71814 Fix keeping track of RigidBody2D constraints. Closes #1569. 2016-09-07 21:49:05 +03:00
Lasse Öörni
4bf27d1a0e Synchronize the two definitions of FaceCameraMode in Lua bindings. 2016-09-07 21:49:04 +03:00
urho3d-travis-ci
508b916769 Travis CI: API documentation update at 2016-09-07 17:44:46 UTC.
[ci package]

Commit: 02fae13ad6

Message: Update face camera mode name and add script bindings.
2016-09-07 17:44:46 +00:00
Eugene Kozlov
02fae13ad6 Update face camera mode name and add script bindings. 2016-09-06 22:52:19 +03:00
Eugene Kozlov
d344cae791 Add new face camera mode to BillboardSet and Text3D. 2016-09-06 22:23:35 +03:00
urho3d-travis-ci
64220a1c13 Travis CI: API documentation update at 2016-09-06 17:52:30 UTC.
[ci package]

Commit: 2fe4cb0131

Message: Add max extrusion parameter for directional lights. Default to 1000. This prevents large far clip causing poor shadow map depth resolution and too strong effect of depth bias parameters, but can be increased if very tall shadows are needed.
2016-09-06 17:52:30 +00:00
Lasse Öörni
2fe4cb0131 Add max extrusion parameter for directional lights. Default to 1000. This prevents large far clip causing poor shadow map depth resolution and too strong effect of depth bias parameters, but can be increased if very tall shadows are needed. 2016-09-06 20:41:55 +03:00
Lasse Öörni
dc90a2d5de Remove ambiguous weak ptr constructor call. 2016-09-06 11:02:10 +03:00
urho3d-travis-ci
1954c550ed Travis CI: API documentation update at 2016-09-06 07:16:12 UTC.
[ci package]

Commit: 48f779e234

Message: Add possibility for materials to define vertex & pixel shader compilation defines, like techniques & passes. Related to #1566. As a consequence, removed the alphamask hint from techniques (render order can be used instead) and automatic determination if material should occlude. Fixed bugs in Material JSON save. Allow JSONValue::Size() to also work in object mode. Added porting notes as necessary.
2016-09-06 07:16:12 +00:00
Lasse Öörni
48f779e234 Add possibility for materials to define vertex & pixel shader compilation defines, like techniques & passes. Related to #1566. As a consequence, removed the "alphamask" hint from techniques (render order can be used instead) and automatic determination if material should occlude. Fixed bugs in Material JSON save. Allow JSONValue::Size() to also work in object mode. Added porting notes as necessary. 2016-09-06 10:01:32 +03:00
Lasse Öörni
3dfb4a4c0b Find navigation mesh from the scene in a delayed manner. Plus other codepath consistency fixes for CrowdManager. Closes #1565. 2016-09-05 20:38:42 +03:00
Yao Wei Tjong 姚伟忠
13ed7bbbb6 Workaround a linking issue when using MinGW >= 6.1.0. 2016-09-04 12:02:05 +08:00
Lasse Öörni
1dbb9908b5 Convert double to float when assigning a shader parameter (possible danger when setting material parameters from Lua) 2016-09-03 17:03:16 +03:00
Lasse Öörni
0201718c87 Add missing assert to PODVector. 2016-09-03 16:42:49 +03:00
Lasse Öörni
2d59e72df7 Guard against self-assignment clearing the containers. 2016-09-03 15:36:19 +03:00
Eugene Kozlov
7a600befd2 Refactor Vector and PODVector implementation. 2016-09-03 09:40:43 +03:00
Lasse Öörni
000b1af6d7 Check for obstacle node moving and update navigation mesh appropriately. Needs a hack to skip this during scene deletion to avoid crash. Closes #1558. 2016-09-02 23:26:31 +03:00
urho3d-travis-ci
b2c3a96197 Travis CI: API documentation update at 2016-09-01 18:09:10 UTC.
[ci package]

Commit: b7c7568c24

Message: Add to/from string conversions for JSONValueType & JSONNumberType. Minor code cleanup and missing JSONValue script bindings. Closes #1546.
2016-09-01 18:09:10 +00:00
Lasse Öörni
b7c7568c24 Add to/from string conversions for JSONValueType & JSONNumberType. Minor code cleanup and missing JSONValue script bindings. Closes #1546. 2016-09-01 20:57:30 +03:00
Lasse Öörni
84fa0ba977 Squashed commit of the following:
commit 7cb949170f3585c860e9946dc4465fb73791e692
Author: Henrik Heino <henrik.heino@gmail.com>
Date:   Wed Aug 31 23:53:53 2016 +0300

    Suggested modifications to hash function.

commit ca28aa5cb5ecf5cb746bbc78e417ee580327e676
Author: Henrik Heino <henrik.heino@gmail.com>
Date:   Tue Aug 30 02:39:42 2016 +0300

    IntVector2::ToHash()
2016-09-01 10:40:42 +03:00
Lasse Öörni
ab4095829d Detect Push / Insert to Vector or PODVector from inside itself and make a value copy in that case. Closes #1556. 2016-09-01 00:03:11 +03:00
Lasse Öörni
773ba488ea Merge pull request #1550 from Lumak/master
fixed a bug where crash is caused by geometry having key animation
2016-08-31 12:45:54 +03:00
Lasse Öörni
8bef941082 Fix slowed down navigation crowd agent when node dirtied in E_CROWD_AGENT_NODE_REPOSITION. Send the event only after position has been updated. Check for only rotation changing when node dirtied, and do not update position / reset state in that case. Closes #1548. 2016-08-31 12:41:10 +03:00
Lasse Öörni
d72de15898 Add note that GetNextLevel() will keep returning 1x1x1 image if necessary. Closes #1554. 2016-08-31 10:52:43 +03:00
Yao Wei Tjong 姚伟忠
11f319c2cd Fix the version check so the MinGW workaround is applied for >= 6.1.0.
Close #1552.
2016-08-31 14:52:35 +08:00
Lasse Öörni
5b70c5da64 Restore earlier method of defining camera frustum when a custom projection matrix is not in use, to improve deferred depth reconstruction accuracy. Related to #1551. 2016-08-30 23:08:05 +03:00
Lasse Öörni
b3964e21c5 Demonstrate Z fighting elimination by depth bias in 10_RenderToTexture sample. Closes #1543. 2016-08-30 21:21:10 +03:00
Lasse Öörni
fcb7808aff Minor edit to reduce unnecessary whitespace. 2016-08-30 20:44:32 +03:00
Lasse Öörni
b3e1791b19 Merge remote-tracking branch 'eugeneko/master' 2016-08-30 20:38:37 +03:00
Lumak
79f1a1bdcd added a check for invalid boneIndex caused by geometry key animation 2016-08-30 10:19:43 -07:00
Lumak
d7085d2c7c copy and paste edit 2016-08-30 09:06:56 -07:00
Lumak
a1aa049e2f fixed geometry having animation key problem
a geometry being animated causes crash because the suppression looks for
a parent bone
2016-08-30 08:44:12 -07:00
Lasse Öörni
489f759e00 Fix slope-scale depth bias potentially not creating new rasterizer state on D3D11 due to poor hashing. Remove mistaken adjustment of slope-scale bias on OpenGL. Now behavior should be uniform between D3D9/D3D11/OpenGL. Closes #1547. 2016-08-29 22:15:42 +03:00
Eugene Kozlov
6a72b70b41 Fix copypaste error in attribute accessor. 2016-08-27 12:11:18 +03:00
Eugene Kozlov
273a3ac881 Add support of free functions as attribute accessors. 2016-08-26 23:30:36 +03:00
urho3d-travis-ci
f0f1711037 Travis CI: API documentation update at 2016-08-26 12:21:57 UTC.
[ci package]

Commit: 6c4a112fce

Message: Add note on camera projection matrix API change.
2016-08-26 12:21:57 +00:00
Lasse Öörni
a53f19151f Remove redundant comment. 2016-08-26 14:36:13 +03:00
Lasse Öörni
48e9f8e112 Merge branch 'projection-matrix' 2016-08-26 13:59:43 +03:00
Yao Wei Tjong 姚伟忠
02e1aec083 Add "-Wno-narrowing" compiler flag to MinGW 6.1.0 for all build config. 2016-08-25 18:21:58 +08:00
Yao Wei Tjong 姚伟忠
4b964a6989 Workaround MinGW build issue when using version 6.1.0 and above.
Fix internal compilation error by reducing the optimization level from -O3 to -O2. Suppress compilation error caused by narrowing conversions.
2016-08-25 08:49:44 +08:00
urho3d-travis-ci
5c855f1040 Travis CI: API documentation update at 2016-08-24 19:32:43 UTC.
[ci package]

Commit: d9c0ce7f15

Message: Send also node-specific 2D collision events. Closes #1535.
2016-08-24 19:32:43 +00:00
Lasse Öörni
d9c0ce7f15 Send also node-specific 2D collision events. Closes #1535. 2016-08-24 22:23:17 +03:00
Lasse Öörni
9df9a5c77c Add new AssetImporter flag to Doxygen docs. 2016-08-24 17:32:54 +03:00
Lasse Öörni
341f2d9b48 Normalize slash / backslash when AnimationController queries for existence of an animation state. Closes #1537. 2016-08-24 17:32:21 +03:00
Lasse Öörni
bc8074a6f5 Added SetProjection() to camera, which sets custom projection matrix. This is reset by modifying any of the standard projection parameters (farClip, FOV etc.) Make sure camera's actual far & near clip are based on the projection matrix. 2016-08-24 00:12:04 +03:00
Lasse Öörni
871e52fadd Base frustum calculation on the projection matrix. 2016-08-23 18:58:26 +03:00
Lumak
3af3c2b695 fixed channelIndices[] indexing in ExpandAnimatedChannelKeys() func.
-and removed dbg dump code
2016-08-22 21:48:39 -07:00
Lasse Öörni
48cd15bc5a Store camera projection matrix as API-independent and convert as necessary (preparation for allowing the user to define a custom projection matrix.) Camera GetProjection() API changed; GetGPUProjection() is now used to get the API-specific projection for use as a shader parameter. 2016-08-23 01:34:06 +03:00
Lasse Öörni
dc2acfdf6e Minor typo, code convention and whitespace fixes. 2016-08-22 21:32:50 +03:00
Lumak
9636bba26d corrected copying scalingkey in ExpandAnimatedChannelKeys func. 2016-08-22 08:59:41 -07:00
Lumak
501dc3b364 max compile error fix 2016-08-22 07:58:25 -07:00
Lumak
dbd6465169 added assetimporter feature to suppress $fbx nodes 2016-08-22 07:34:43 -07:00
urho3d-travis-ci
2ef87e27b6 Travis CI: API documentation update at 2016-08-20 15:46:10 UTC.
[ci package]

Commit: bef8df21bb

Message: Support defining neighbor terrains to avoid LOD level discontinuities at the edges.
2016-08-20 15:46:10 +00:00
Lasse Öörni
bef8df21bb Support defining neighbor terrains to avoid LOD level discontinuities at the edges. 2016-08-20 18:33:49 +03:00
Lasse Öörni
98a3c8d49a Remove Abs() from NinjaSnowWar & CharacterDemo ground contact handling to prove that we can check for normals pointing up to detect ground. 2016-08-17 23:52:13 +03:00
Lasse Öörni
d3cc0118e8 Handle flipping of normals in collision event sending if body pointers were swapped. Do not discard contact results from the "other" manifold, rather concatenate them into the same collision event. Thanks to Enhex for highlighting the issue. 2016-08-17 23:45:11 +03:00
Yao Wei Tjong 姚伟忠
ecfa732d52 Workaround GCC issue producing shared lib containing undefined symbol.
Close #1519.
2016-08-17 16:58:57 +08:00
Lasse Öörni
9f3e5e9cbb Squashed commit of the following:
commit da349be28508316a690086f5f8cec4be80d4a0a9
Author: Lasse Öörni <loorni@gmail.com>
Date:   Tue Aug 16 21:40:50 2016 +0300

    Convert mutant textures to .jpg to conserve repository size.

commit 086bfd662631df30bbad033b8be967b04db44f0b
Merge: 84e5da6 d135d76
Author: Lasse Öörni <loorni@gmail.com>
Date:   Tue Aug 16 21:38:44 2016 +0300

    Merge remote-tracking branch 'Lumak/master'

commit d135d760460e1bc925b1a3ea6a14a9d7ed5e8283
Author: Lumak <lumak5309@gmail.com>
Date:   Tue Aug 16 10:01:53 2016 -0700

    replaced char model w/ mutant model in 18 char demo lua,

commit 9255fd76e5393b636f2c32d33dce99c00caa555a
Author: Lumak <lumak5309@gmail.com>
Date:   Mon Aug 15 16:08:39 2016 -0700

    replaced jack model w/ mutant model in 18 character demo
2016-08-16 21:45:17 +03:00
urho3d-travis-ci
84e5da6155 Travis CI: API documentation update at 2016-08-16 17:41:26 UTC.
[ci package]

Commit: d2abcc89a6

Message: Add brief documentation section on physical light values.
2016-08-16 17:41:26 +00:00
Lasse Öörni
d839b2afb8 Minor attribute order and name tweak for the editor. 2016-08-16 19:57:44 +03:00
Lasse Öörni
291b33df99 Squashed commit of the following:
commit c2f7ab8735bed357555bed7a901f02372cdd5be0
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Tue Aug 16 13:46:34 2016 +0100

    Physical based light values

commit 60f87b92a85635c20200d1bff16432e6f4a01e7c
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Tue Aug 16 10:50:45 2016 +0100

    removed unused share code and fixes spacing

commit 04a6961576ba1034d32b1abcf5cd2dab6599e9d4
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Sat Aug 13 15:47:19 2016 +0100

    cleaned up naming a little

commit 7742eebcb51506c338c7bc93dd9fe683ca7c7293
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Sat Aug 13 15:43:32 2016 +0100

    Made light temperature calculate outside of the shaders, and optional

commit ff784e3af0a23838ac932a1c54ca508687f1ca78
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Fri Aug 12 22:40:06 2016 +0100

    Added AS binding

commit d96634a5af41a230d481f13aaed444bbeaa285bf
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Fri Aug 12 22:25:17 2016 +0100

    Added light temputure
2016-08-16 19:43:27 +03:00
urho3d-travis-ci
6b4825d798 Travis CI: API documentation update at 2016-08-16 11:54:58 UTC.
[ci package]

Commit: 5ce39a2955

Message: Support setting a custom size for the UI root element (UI::SetCustomSize()) instead of always auto-resizing according to window size. When renderui renderpath command is used, use the current viewport size for UI rendering projection matrix to avoid distortion. If UI root element is smaller than the screen, apply wrapping in GetElementAt(), with the assumption that a copy is being rendered next to it. Related to #1514.
2016-08-16 11:54:58 +00:00
Lasse Öörni
5ce39a2955 Support setting a custom size for the UI root element (UI::SetCustomSize()) instead of always auto-resizing according to window size. When "renderui" renderpath command is used, use the current viewport size for UI rendering projection matrix to avoid distortion. If UI root element is smaller than the screen, apply wrapping in GetElementAt(), with the assumption that a copy is being rendered next to it. Related to #1514. 2016-08-16 14:43:27 +03:00
Lasse Öörni
9bbec4b797 Explain why normal offset is not saved for materials. Closes #1518. 2016-08-14 16:22:53 +03:00
Lasse Öörni
7b5da6669f Skip adding a deferred light volume batch when the light has low 8 bits of lightmask cleared; it would not have effect due to the stencil test. Skip shadow map render when there are no forward & deferred batches using it. 2016-08-13 22:56:48 +03:00
Lasse Öörni
9cb40e239f Minor additions / changes to the UI documentation page. 2016-08-13 19:23:47 +03:00
urho3d-travis-ci
4e6d9fb4f9 Travis CI: API documentation update at 2016-08-13 13:53:42 UTC.
[ci package]

Commit: fa7db658bc

Message: Start porting notes section from 1.6 to current master.
2016-08-13 13:53:42 +00:00
Lasse Öörni
2c8ed38a65 Capitalize CrowdAgent enum attributes for consistency with other components. Loading is case-insensitive so this does not break existing scenes. 2016-08-13 16:26:20 +03:00
Lasse Öörni
3fe5024cf7 Remove deprecated autoRemove bool from SoundSource. Replace with a more generic AutoRemoveMode enum which is now used by both SoundSource & ParticleEmitter. 2016-08-13 16:25:16 +03:00
Lasse Öörni
a2d86f1a59 Get screenshot as RGBA on OpenGL ES to fix Android black screenshot. 2016-08-12 00:06:39 +03:00
Lasse Öörni
a76fc0a316 Undefine GetObject in TileMapLayer2D.h to prevent it getting confused with Win32 API function define. To help, the header should be included after Windows.h is included. Related to #1512. 2016-08-10 17:59:11 +03:00
Lasse Öörni
0991c8e078 Ensure node's components are properly marked for network update in case node is late added to the scene. Make it impossible for a NetworkState to exist without properly allocated currentValues & previousValues. Fix erroneous comment in C++ version of SceneReplication sample. Code cleanup & minor optimization. Closes #1511. 2016-08-09 22:38:35 +03:00
Lasse Öörni
2f25c3b98d Add note to discourage use of AddComponent(). Prevent attempting to assign model resource on StaticModel / AnimatedModel when no node set. Closes #1510. 2016-08-09 15:15:12 +03:00
Lasse Öörni
f89696e83f Fix FileSystem.cpp on Android to not use the removed string + char operator. 2016-08-07 18:18:28 +03:00
Lasse Öörni
939e7c9fd3 Revert "String + number operator". Remove String + operator with char parameter to prevent accidental truncation and replace with string literal concatenation where needed.
This reverts commit fafd921f32.
2016-08-07 18:18:27 +03:00
Yao Wei Tjong 姚伟忠
b21ff1895e Fix overlinking of EGL library in FindVideoCore.cmake module.
Remove hardcoding of indirect dependency libraries list in the FindUrho3D.cmake module. Instead we now rely on the linker to find those indirect dependencies automatically with our hint via "-runpath-link" linker flag, especially when cross-compiling.
Also setup GLESv2 (and GLESv1_CM) for Raspberry-Pi in the same manner as generic ARM and Android platforms.
2016-08-07 18:22:46 +08:00
urho3d-travis-ci
b856bfbcd0 Travis CI: API documentation update at 2016-08-06 15:39:52 UTC.
[ci package]

Commit: a44c0a7a43

Message: Capitalization & other minor code style edits to the SDL raw event sending. Sync contributor credits.
2016-08-06 15:39:52 +00:00
Lasse Öörni
a44c0a7a43 Capitalization & other minor code style edits to the SDL raw event sending. Sync contributor credits. 2016-08-06 18:24:52 +03:00
Rokas Kupstys
d48c4120a1 E_INPUTBEGIN, E_INPUTEND, E_SDLRAWINPUT 2016-08-06 15:47:40 +03:00
Yao Wei Tjong 姚伟忠
ffa3a4bfac Revert back to use sprintf() function in the ResourceCache class.
The more secure snprintf() function is not universally available.
2016-08-06 00:00:37 +08:00
Yao Wei Tjong 姚伟忠
5419f37a60 Realign the new generic ARM "platform" name with the 1.6 changelog. 2016-08-05 19:54:06 +08:00
Yao Wei Tjong 姚伟忠
87bee872e8 Add extra linker flags to make 64-bit ARM cross-compiling possible.
When cross-compiling we have already defined '--sysroot' to find the direct library dependencies. However when a shared library has its own dependencies (DT_NEEDED) then we need to supply extra linker flags to help the linker to find those indirect library dependecies in the sysroot.
Actually we also had this problem for 32-bit ARM cross-compiling, but we cheated in the earlier CI build jobs by using Linaro/Raspbian compiler toolchain. Somehow the Raspbian's linker simply "ignores" those indirect library dependencies or it uses other mean to locate them (but I doubt that), and so it does not have linker issues with libreadline.so (depends on tinfo), libGLESv2.so (depends on glapi), etc. The other ARM compiler toolchains from Linaro seem to be more strict in this regard. Most likely the raspbian's linker is a gold linker.
This commit could also potentially fix a known issue in our FindUrho3D.cmake module where we have to hardcode the library dependencies that libUrho3D.so in turn depends on (to be investigated later).
2016-08-05 18:41:52 +08:00
urho3d-travis-ci
264f2368f9 Travis CI: API documentation update at 2016-08-05 09:56:08 UTC.
[ci package]

Commit: b99f652892

Message: Minor refactoring on the event profiler subsystem.
2016-08-05 09:56:08 +00:00
Yao Wei Tjong 姚伟忠
b99f652892 Minor refactoring on the event profiler subsystem. 2016-08-05 17:43:30 +08:00
Lasse Öörni
91f4489e07 Fix hardwareShadowSupport returning false on OpenGL, which would make it impossible to switch to 1-sample shadow mode. However, deliberately disable 1-sample mode from mobile NinjaSnowWar to achieve similar quality to desktops. 2016-08-05 00:35:41 +03:00
Lasse Öörni
7a16f9ca66 Clarify use of ScreenToWorldPoint(). Closes #1504. 2016-08-04 15:19:58 +03:00
urho3d-travis-ci
64f90dfc5d Travis CI: API documentation update at 2016-08-04 09:43:19 UTC.
[ci package]

Commit: 5e0e53aa87

Message: Add feature to changelog.
2016-08-04 09:43:19 +00:00
Lasse Öörni
8c7c34ac4d Configurable base in StringUtils ToInt & ToUInt to allow parsing hexadecimal. 2016-08-04 12:01:17 +03:00
Lasse Öörni
1746eed620 Add URHO3D_API specifier to FontGlyph struct. 2016-08-04 10:59:32 +03:00
Aliaksandr Kryvashein
be308e67c2 Fix "copy-paste" error 2016-08-03 20:37:43 +03:00
Mike3D
ef6284c938 Fixed mouse mode for sample #36 [ci skip] 2016-08-03 08:15:34 +02:00
Lasse Öörni
97d1e7d44e Prevent dependency of Civetweb from pthread library on recent MinGW versions. 2016-08-02 23:37:00 +03:00
Yao Wei Tjong 姚伟忠
f9b23104dd Fix Mir and Wayland auto-detection to also check on EGL. 2016-08-03 00:16:25 +08:00
Yao Wei Tjong 姚伟忠
576b6ea7cf Better multiarch support in auto-detection.
This should also solve the problem with cross-compiling other target triplets as there is no more hardcoding.
2016-08-03 00:16:25 +08:00
Yao Wei Tjong 姚伟忠
7c90c2c0ec Simplify command to detect predefined macros of the chosen compiler.
Add new CMake module for detecting host capability.
2016-08-03 00:16:23 +08:00
Anatoly Sennov
886d55c4bc Made JSONValue.get_size() const 2016-08-01 10:28:08 +03:00
Lasse Öörni
fe3b93080c Further style edits. Only delete the collisionConfiguration in PhysicsWorld destructor if it was created in the constructor, and not specified by the override config. 2016-07-31 20:46:29 +03:00
Lasse Öörni
13ec83ad5f Merge remote-tracking branch 'feltech/custom_physics' 2016-07-31 20:24:02 +03:00
David Feltell
f9d815f551 Use 0 rather than NULL to comply with Urho3D style. 2016-07-30 17:19:45 +01:00
David Feltell
4418919180 Allow custom collision shapes + algorithms.
* Add static `config` variable to `PhysicsWorld`, allowing overrides to
be set prior to construction - currently just for the
`btCollisionConfiguration`.
* Add protected member function to `CollisionShape` to allow for
configuring custom collision shapes.
2016-07-30 16:33:18 +01:00
urho3d-travis-ci
f7266d27b4 Travis CI: API documentation update at 2016-07-30 13:35:42 UTC.
[ci package]

Commit: 34ddcdc294

Message: Component reorder in editor. Fix attribute inspector not updating when nodes are added to e.g. StaticModelGroup via dragging. Clean up reorder related code. Set Urho icon as window icon in the editor. Closes #1463.
2016-07-30 13:35:42 +00:00
Lasse Öörni
34ddcdc294 Component reorder in editor. Fix attribute inspector not updating when nodes are added to e.g. StaticModelGroup via dragging. Clean up reorder related code. Set Urho icon as window icon in the editor. Closes #1463. 2016-07-30 16:24:14 +03:00
urho3d-travis-ci
a3c2835fa2 Travis CI: API documentation update at 2016-07-29 21:13:52 UTC.
[ci package]

Commit: b3e492e18c

Message: Scene node and UI element reordering (within the same parent) by Ctrl-dragging. Closes #1088. Expose Node::SetID() in script, as it was necessary for this, though not recommended to be called.
2016-07-29 21:13:52 +00:00
Lasse Öörni
b3e492e18c Scene node and UI element reordering (within the same parent) by Ctrl-dragging. Closes #1088. Expose Node::SetID() in script, as it was necessary for this, though not recommended to be called. 2016-07-30 00:02:49 +03:00
Lasse Öörni
812afaeb8f Fix PBR material demo to operate similarly on AS, Lua, C++. Remove forcing of alpha to 1 from Zone::SetAmbientColor() & Zone::SetFogColor(). Change "Enable HDR" to "HDR rendering" in editor settings dialog for consistency. 2016-07-29 16:44:57 +03:00
urho3d-travis-ci
4eab3d177b Travis CI: API documentation update at 2016-07-28 23:19:06 UTC.
[ci package]

Commit: 2b0d4362ff

Message: Script bindings for reading/writing 64 bit values through Deserializer/Serializer.
2016-07-28 23:19:06 +00:00
Lasse Öörni
2b0d4362ff Script bindings for reading/writing 64 bit values through Deserializer/Serializer. 2016-07-29 02:06:08 +03:00
Loic Blot
694d637fd9 Add int64_t and uint64_t support for Serializer/Deserializer 2016-07-28 22:39:36 +02:00
Eugene Kozlov
014ef043ef Make HashMap::TryGetValue constant. 2016-07-25 23:26:42 +03:00
urho3d-travis-ci
79c7ded061 Travis CI: API documentation update at 2016-07-25 19:39:39 UTC.
[ci package]

Commit: 56ba0def78

Message: Add Graphics::SetDither(). Closes #1489.
2016-07-25 19:39:39 +00:00
Lasse Öörni
56ba0def78 Add Graphics::SetDither(). Closes #1489. 2016-07-25 19:03:43 +03:00
Lasse Öörni
786598f08d Merge remote-tracking branch '1vanK/master' 2016-07-25 18:37:40 +03:00
Lasse Öörni
c647ae7dfa Put zone texture to environment texture unit on OpenGL ES. Fix web build including texture unit mappings which are not included in the shaders. 2016-07-25 17:18:08 +03:00
1vanK
fafd921f32 String + number operator 2016-07-25 16:23:43 +03:00
Lasse Öörni
77cabf9bff Remove "PS" from Roughness & Metallic uniform names. 2016-07-25 01:39:15 +03:00
Lasse Öörni
dfd8939840 Squashed commit of the following:
commit 5de699c5399847dfad99a58323590f88436e1f68
Merge: d80b1d9 97c5fbf
Author: dragonCASTjosh <NUT13000804@students.wnc.ac.uk>
Date:   Sun Jul 24 18:28:50 2016 +0100

    Merge pull request #4 from hdunderscore/tweaks2

    Tweaks2

commit 97c5fbfe515a1c1ae86b059d86694a9f2c053ce6
Author: hdunderscore <hdunderscore@gmail.com>
Date:   Sun Jul 24 22:50:11 2016 +1000

    - Removed inconsistency with roughness input.
    - Switched to a different mip map selection method for the IBL.
    - Extended the angelscript PBR sample to include a slider for ambient HDR scaling.
    - Removed an extra diffuse factor in lighting output.

commit d80b1d9b3c00a04e837324af1546f407311803fd
Merge: 53603fd 7f77574
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Fri Jul 22 23:00:59 2016 +0100

    Merge branch 'pulls/2'

commit 7f775749a9229f5b8f1d313a2c72a88acc001b11
Merge: 53603fd b339da6
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Fri Jul 22 22:57:26 2016 +0100

    Tweaks

    # Conflicts:
    #	bin/CoreData/Shaders/GLSL/Lighting.glsl
    #	bin/CoreData/Shaders/HLSL/Lighting.hlsl
    #	bin/Data/Scenes/PBRExample.xml

commit 53603fd7165fb90c485d6fd85e2d4c41e3e86213
Merge: f88b484 a21746f
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Wed Jul 20 22:52:41 2016 +0100

    Merge remote-tracking branch 'origin/master'

commit f88b48441965d5dbcee8667282e879c93bc31577
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Wed Jul 20 22:49:43 2016 +0100

    Fixed Inverse Square falloff and correction mistake with output color

commit a21746f5e2b540e4dae952e181d000dd8e8101f4
Merge: 89688e8 c33f75a
Author: dragonCASTjosh <NUT13000804@students.wnc.ac.uk>
Date:   Wed Jul 20 22:28:17 2016 +0100

    Merge pull request #3 from 1vanK/master

    Modify PBR example

commit c33f75a78369760ace1f817e9c8ed288a0418a30
Author: 1vanK <1vanK@users.noreply.github.com>
Date:   Thu Jul 21 00:16:05 2016 +0300

    Labels

commit efa757e0ee39daf4a4e03714828677e79ae5e4e2
Author: 1vanK <1vanK@users.noreply.github.com>
Date:   Wed Jul 20 17:14:06 2016 +0300

    Dynamic material in PBR example

commit b339da6fc992e49d1e4139d836654c8ce6befa24
Author: hdunderscore <hdunderscore@gmail.com>
Date:   Thu Jul 21 00:09:47 2016 +1000

    - Adjusted light falloff.
    - Enabled HDR rendering in PBRMaterials.cpp

commit b233da5ccad3c1898a1f459bbc59459be525a16f
Author: 1vanK <1vanK@users.noreply.github.com>
Date:   Wed Jul 20 14:25:59 2016 +0300

    Remove unnecessary texture

commit ede652fcf39135350725c7eda5c6c9324ffb0c0a
Author: hdunderscore <hdunderscore@gmail.com>
Date:   Wed Jul 20 15:49:27 2016 +1000

    Added missing xml's.

commit fd1b187f09f4478bd32375e4ca13900b6ec59f49
Author: hdunderscore <hdunderscore@gmail.com>
Date:   Wed Jul 20 15:13:47 2016 +1000

    Minor fix to diffuse ibl calculation.

commit 1cee2d27e8abd69fe6f77d41e2a0d27dcac8624b
Author: hdunderscore <hdunderscore@gmail.com>
Date:   Wed Jul 20 10:55:58 2016 +1000

    Changed the hdr scaling to be more versatile.

commit 35623b758b1e199116b1ba9594afeb3d1ecef7ba
Author: hdunderscore <hdunderscore@gmail.com>
Date:   Wed Jul 20 09:27:46 2016 +1000

    - Fixed gamma correction
    - Added fake hdr to IBL and skybox which can be controlled via the zone ambient colour alpha channel.

commit 89688e81424eea030e5329cbd9d59b094ee02183
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Tue Jul 19 21:17:30 2016 +0100

    Renived unlicenced files

commit 70f39b0a40b50f317aef101ce29950185a2ee7e3
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Tue Jul 19 14:21:38 2016 +0100

    Removed gamma correction from PBR demo

commit 451f45c4d2ed360179640af31eabdf74b3673c6f
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Tue Jul 19 14:20:32 2016 +0100

    Added legacy BRDF for GL

commit 87316006297df9dda94178f7ab81f663862553a8
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Tue Jul 19 14:17:02 2016 +0100

    Added diffuse ibl and legacy features

commit 9f0fb0eaca4a53e49caf65661edfb9d85fe1b880
Merge: 1883a4c 4230e43
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Tue Jul 19 10:36:08 2016 +0100

    Merge remote-tracking branch 'origin/master'

commit 1883a4c42f228306dd723098869281a7025b5987
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Tue Jul 19 10:34:47 2016 +0100

    Changed model on the demo scene

commit 4230e4328d6ef47808a85f1b231f5116d8b99437
Merge: 900f203 607ab5c
Author: dragonCASTjosh <NUT13000804@students.wnc.ac.uk>
Date:   Tue Jul 19 00:07:17 2016 +0100

    Merge pull request #1 from Modanung/typo-fix

    Changed n to m in PBR example scene

commit 607ab5c414749f3d2dd85f2b7c441525b94a8fa3
Author: Frode Lindeijer <frode@lindeijer.nl>
Date:   Tue Jul 19 00:41:34 2016 +0200

    Changed n to m in PBR example scene

commit 900f20316da833868e6274aa7e7de01502a2a357
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Mon Jul 18 22:19:17 2016 +0100

    Fixed reverted changes

commit 49cc201a1e0956db82b1103d23b3a4059cacd374
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Mon Jul 18 21:58:36 2016 +0100

    PBR Rewrite

commit 262e18c71c08a5bade990f6ead0fd356732c38ee
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Mon Jul 18 21:48:28 2016 +0100

    Complete rewrite of PBR

commit b97469b2ab73deca0613d1963500f223a5956bf9
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Sun Jul 17 09:49:52 2016 +0100

    Dissabled nolonger needed post processed gamma correction

commit 6e4ec5b4cdaba58678a21b8a90138eb2b8a5e9d4
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Sun Jul 17 09:48:53 2016 +0100

    Fixed rendering issue in DirectX

commit fd57ed2bea5caad1fff65e35abfe65b227ddb13a
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Sat Jul 16 21:39:48 2016 +0100

    Fixed Spelling errors

commit 3dad639d48aee0d4d3a17ecd8d35f732b796d938
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Sat Jul 16 21:35:09 2016 +0100

    Made GGX distrabution physically correct

commit ffda95b2df1e042d8cef611add06989c5a0fd862
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Sat Jul 16 21:20:20 2016 +0100

    Removed redundent textures

commit 283f389951b0e29a2f3a6b445dfc3cab0e59920c
Merge: 7bbb0f6 ca6d6e5
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Sat Jul 16 19:34:26 2016 +0100

    Merge branch 'master' of https://github.com/urho3d/Urho3D

commit 7bbb0f68bb1c8f0fa5ccf39475a5997e82c18b62
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Sat Jul 16 18:57:49 2016 +0100

    PBR Gamma correctoin, and small prefernace changes to the demo scene
2016-07-25 00:54:21 +03:00
Lasse Öörni
63f71ab874 Remove assert from StringUtils ToVectorVariant() function and return empty variant in error case. Closes #1485. Convert assert in Log::SetLevel() to error logging, and remove assert from Log::Write(). 2016-07-23 19:00:31 +03:00
urho3d-travis-ci
896787c9dc Travis CI: API documentation update at 2016-07-23 14:52:19 UTC.
[ci package]

Commit: d506ab4288

Message: Add SetFontSize() to Text & Text3D. Fix comments of SetFont() referring to nonexistent parameter. Closes #1484.
2016-07-23 14:52:19 +00:00
Lasse Öörni
d506ab4288 Add SetFontSize() to Text & Text3D. Fix comments of SetFont() referring to nonexistent parameter. Closes #1484. 2016-07-23 17:16:33 +03:00
Lasse Öörni
515dfa760c Fix backbuffer not getting cleared in the situation where just the UI and rendertexture views are being rendered. (http://urho3d.prophpbb.com/topic2238.html) 2016-07-22 20:01:28 +03:00
Lasse Öörni
287c520810 Fix wrong UV index in Drawable OBJ export. Closes #1483. 2016-07-22 16:58:31 +03:00
Lasse Öörni
995fbd4213 Add public accessors for View's view rectangle & view dimensions. Explain that Viewport may return a zero rect, which means to dynamically use the rendertarget's full size. Add todo's related to Viewport::WorldToScreenPoint() && Viewport::ScreenToWorldPoint() potentially operating incorrectly for texture rendertargets. Closes #1482. 2016-07-22 00:35:15 +03:00
Yao Wei Tjong 姚伟忠
20da34f21b Auto-generate Urho3DAll.h header file. Close #1472. 2016-07-18 22:40:45 +08:00
Yao Wei Tjong 姚伟忠
c675421464 Normal comment to doxygen comment using regex + manual correction.
cd Source/Urho3D && git grep -lP '^\s+//[^/]+\.^M*$' -- '*.h' |xargs perl -pi -e 's|^(\s+)//([^/]+\.^M*)$|$1///$2|g'
Ctrl+M is one character.
2016-07-18 22:01:10 +08:00
Mike3D
238f09c53d Fixed TileMap2D::PositionToTileIndex() and use it in tile map sample 2016-07-18 13:18:57 +02:00
tommy3
808fd992c6 Normal comment to doxygen comment. 2016-07-16 15:30:09 +02:00
tommy3
6fbe9537f4 Normal comment to doxygen comment. 2016-07-16 14:57:28 +02:00
urho3d-travis-ci
d1802a9092 Travis CI: API documentation update at 2016-07-15 07:58:43 UTC.
[ci package]

Commit: 761afff122

Message: Fix dir manipulation off by one error in Android DirExists() function. Closes #1470.
2016-07-15 07:58:43 +00:00
Lasse Öörni
761afff122 Fix dir manipulation off by one error in Android DirExists() function. Closes #1470. 2016-07-15 09:26:19 +03:00
Lasse Öörni
af00713e12 Add Clone() to ParticleEffect & ParticleEffect2D. Closes #1469. 2016-07-15 01:32:33 +03:00
Yusuf Umar
b24bcb8928 No longer need to passing camera position to direction billboard vertex buffer because Urho3D already has default uniform to do the job. 2016-07-13 18:54:18 +07:00
Yao Wei Tjong 姚伟忠
fd9db884b4 Add template version of UIElement::GetChild() methods. 2016-07-11 19:17:52 +08:00
Yao Wei Tjong 姚伟忠
5e8ee79f2b Partial revert - use Object as base but keep lifetime management logic.
Avoid duplicate reference of "window" UI-element.
2016-07-11 15:25:54 +08:00
Lasse Öörni
9db4af58e5 Simplify returning a new MessageBox to AngelScript. Fix crash due to multiple handling of MessageBox acknowledge when modal status is manually reset. 2016-07-10 22:01:58 +03:00
urho3d-travis-ci
569314697b Travis CI: API documentation update at 2016-07-10 16:27:23 UTC.
[ci package]

Commit: 4485cb8fa4

Message: Remove unnecessary include.
2016-07-10 16:27:23 +00:00
Lasse Öörni
4485cb8fa4 Remove unnecessary include. 2016-07-10 19:10:22 +03:00
Lasse Öörni
c38d29a20c Make MessageBox a UIElement subclass for automatic lifetime management through the UI hierarchy. (Use MessageBox:new in Lua for safe operation.) Remove the "test all factories" feature in Engine class (Debug mode) since it would leave a MessageBox in the UI. Use UI root size for centering the MessageBox instead of Graphics resolution, since the UI might be scaled. Closes #1439. Closes #634. 2016-07-10 19:03:23 +03:00
fredakilla
10449971b9 get body properties when body exists 2016-07-08 21:18:11 +08:00
Lasse Öörni
96d256ed16 Refactor File internal operations to support package files also on Android. Closes #1455. 2016-07-07 15:25:46 +03:00
Lasse Öörni
28ed7c1706 Remove ambiguous WeakPtr initialization from Graphics class. Closes #1459. 2016-07-06 17:36:41 +03:00
Lasse Öörni
2c2c6d26b1 Merge branch 'api-agnostic-headers' 2016-07-06 13:51:17 +03:00
Lasse Öörni
28ad5d5dbd Fix ambiguous operations when C++11 Urho3D features are enabled by using WeakPtr default constructor instead. 2016-07-06 01:39:28 +03:00
Eugene Kozlov
c4424eb514 Make Vector::Buffer() and PODVector::Buffer() public. 2016-07-05 23:01:16 +03:00
Eugene Kozlov
7546a47497 Add initializer list constructor for PODVector. 2016-07-05 23:01:16 +03:00
Eugene Kozlov
5be488233a Add constructors from nullptr for SharedPtr and WeakPtr. 2016-07-05 23:01:16 +03:00
Lasse Öörni
46db9d1e07 Fix mip chain not being complete to 1x1, which could result in black textures on GLES2. 2016-07-05 14:50:20 +03:00
aster2013
270eabd226 Fix #1456. 2016-07-05 15:51:09 +08:00
urho3d-travis-ci
f99577523d Travis CI: API documentation update at 2016-07-04 23:28:16 UTC.
[ci package]

Commit: 03c95a1519

Message: Add contributor credit & minor edit.
2016-07-04 23:28:16 +00:00
Lasse Öörni
03c95a1519 Add contributor credit & minor edit. 2016-07-05 02:01:33 +03:00
Lasse Öörni
c611d4a069 Merge remote-tracking branch 'fredakilla/box2d' 2016-07-05 01:54:25 +03:00
Lasse Öörni
df2f7b06a0 When Button sends the Released event, make sure it's yet hovering if the mouse was released on top of it. See issue #1453. 2016-07-04 22:50:40 +03:00
fredakilla
39344c41fe Add b2Contact ptr to E_PHYSICSBEGINCONTACT2D and E_PHYSICSENDCONTACT2D events 2016-07-04 21:47:36 +02:00
Lasse Öörni
ecd3ab2f45 When an autolocalized Text is saved, make sure the stringId is saved instead of the localized text. Make sure the text gets localized even if autoLocalizable & text attributes are in swapped order in the UI xml. Fix Text3D attributes being AM_FILE mode instead of AM_DEFAULT for net replication. Closes #1451. 2016-07-04 20:49:09 +03:00
Lasse Öörni
4e198c2412 Fix wrong return value in HashMap Front() & Back(). 2016-07-04 18:33:38 +03:00
Lasse Öörni
fd5bac385a Since the SDL window is not API-specific, move it into Graphics from GraphicsImpl to simplify code. 2016-07-01 10:17:29 +03:00
Lasse Öörni
eb104906aa Remove API-specific Graphics class headers and code duplication. Closes #1422. 2016-07-01 09:38:39 +03:00
Yao Wei Tjong 姚伟忠
fb881c3360 Use CMake to auto-detect and define _TIMESPEC_DEFINED as necessary. 2016-06-30 21:01:41 +08:00
Lasse Öörni
bdce4b3dba Move 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. 2016-06-30 02:11:19 +03:00
TheComet
7031ae8799 fixes #1444 2016-06-29 19:18:14 +02:00
Lasse Öörni
51b0a16f9a Remove API-specific RenderSurface class headers and RenderSurface code duplication. 2016-06-27 22:42:02 +03:00
Lasse Öörni
46b9a90fb1 Remove API-specific Texture subclass headers and code duplication for loading & SetSize(). 2016-06-26 23:26:14 +03:00
Lasse Öörni
26342ce69e Remove code duplication from checking max. mip levels on OpenGL. 2016-06-26 21:12:20 +03:00
Lasse Öörni
f452a16f2d Initial Texture class refactoring. Get rid of API-specific Texture header. 2016-06-26 20:35:51 +03:00
Lasse Öörni
11b1e2cc2d Shadow 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. 2016-06-25 19:52:17 +03:00
Lasse Öörni
6c77b75813 Cleanup ShaderParameter related code. 2016-06-25 17:58:37 +03:00
Lasse Öörni
f8d636426c Make ShaderVariation class header API-agnostic. 2016-06-25 16:00:44 +03:00
Lasse Öörni
9b51baa445 Separate 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. 2016-06-24 20:50:05 +03:00
Lasse Öörni
6775038a44 Eliminate more duplication of API-independent index / vertex buffer code. 2016-06-24 15:15:02 +03:00
Lasse Öörni
db7f3bb56a Fix dynamic flag not being set for D3D9 vertex buffer. 2016-06-24 14:56:12 +03:00
Lasse Öörni
51b026f33d Unify IndexBuffer & VertexBuffer headers for all APIs. Move API-independent parts of vertex / index buffers to their own implementation files to eliminate code duplication. 2016-06-24 14:30:55 +03:00
Lasse Öörni
1ba87dae4c Get rid of API-specific GPUObject class header & implementation. 2016-06-24 02:17:06 +03:00
Yao Wei Tjong 姚伟忠
35a616448a Merge commit 'a1a9ce7817286783347acfbcce94bfd659915b66' into master. 2016-06-23 22:05:25 +08:00
Yao Wei Tjong 姚伟忠
993e82f9ec Fix cross-compiling builds using X11 shared libraries. 2016-06-23 20:08:34 +08:00
urho3d-travis-ci
c88891fa6f Travis CI: API documentation update at 2016-06-23 12:02:08 UTC.
[ci package]

Commit: e8559b316a

Message: Add events for node/component being cloned. These are sent by their owning scene after the cloning process (along with all attributes set) is complete.
2016-06-23 12:02:08 +00:00
Lasse Öörni
e8559b316a Add events for node/component being cloned. These are sent by their owning scene after the cloning process (along with all attributes set) is complete. 2016-06-23 14:52:06 +03:00
Yao Wei Tjong 姚伟忠
2f4ed29be8 For 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).
2016-06-23 00:23:12 +08:00
Yao Wei Tjong 姚伟忠
fff8b782b1 Fix cross-compiling builds using readline shared library. 2016-06-22 18:06:21 +08:00
Lasse Öörni
489356a29f Cleanup 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. 2016-06-21 22:19:42 +03:00
urho3d-travis-ci
618fd25691 Travis CI: API documentation update at 2016-06-21 16:05:19 UTC.
[ci package]

Commit: 4279990ea8

Message: Minor fixes. Add script bindings and documentation for the new renderpath command.
2016-06-21 16:05:19 +00:00
Lasse Öörni
4279990ea8 Minor fixes. Add script bindings and documentation for the new renderpath command. 2016-06-21 18:54:57 +03:00
Franck Poulain
332fe215f6 SendEvent new renderpath command 2016-06-21 14:15:53 +02:00
Franck Poulain
bcac85a0ac Tabs to spaces 2016-06-20 14:12:44 +02:00
Franck Poulain
f0775adfbc Change View::FindNamedTexture() function to be public 2016-06-20 14:10:18 +02:00
urho3d-travis-ci
9f90bdd571 Travis CI: API documentation update at 2016-06-16 18:56:49 UTC.
[ci package]

Commit: dc74d3dbc0

Message: Remove commented out lines, add MarkNetworkUpdate() to SetUpdateInvisible().
2016-06-16 18:56:49 +00:00
Lasse Öörni
dc74d3dbc0 Remove commented out lines, add MarkNetworkUpdate() to SetUpdateInvisible(). 2016-06-16 21:47:28 +03:00
Yusuf Umar
a9f7703f74 Add update invisible parameter to RibbonTrail and use it on the samples. 2016-06-16 18:09:09 +07:00
urho3d-travis-ci
797d33da94 Travis CI: API documentation update at 2016-06-16 05:39:07 UTC.
[ci package]

Commit: 239c0265a0

Message: Fix a typo in RibbonTrail's attribute and other minor cleanups.
2016-06-16 05:39:08 +00:00
Yao Wei Tjong 姚伟忠
239c0265a0 Fix a typo in RibbonTrail's attribute and other minor cleanups. 2016-06-16 13:28:02 +08:00
urho3d-travis-ci
54143eba49 Travis CI: API documentation update at 2016-06-15 18:51:59 UTC.
[ci package]

Commit: 6d046d57c8

Message: More 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.
2016-06-15 18:51:59 +00:00
Lasse Öörni
6d046d57c8 More 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. 2016-06-15 21:16:28 +03:00
Yusuf Umar
1f7c5c8a59 Delete some debug leftovers and fix big index buffer size. 2016-06-15 21:16:27 +03:00
Lasse Öörni
f6d413aee4 Minor comment and code convention edits. 2016-06-15 21:14:59 +03:00
Yusuf Umar
f9e65027e3 Implementing RibbonTrail 2016-06-15 21:14:58 +03:00
urho3d-travis-ci
bb658965c2 Travis CI: API documentation update at 2016-06-14 18:51:53 UTC.
[ci package]

Commit: 27f40f15be

Message: Add contributor credit.
2016-06-14 18:51:53 +00:00
Eugene Kozlov
c92894d250 Add support of custom per-instance data in batches. 2016-06-13 18:06:38 +03:00
Yao Wei Tjong 姚伟忠
224320d6d0 Add missing include for iOS build. 2016-06-11 23:34:53 +08:00
Yao Wei Tjong 姚伟忠
a5b4512966 Reduce direct exposure to SDL headers as much as possible. 2016-06-11 21:58:22 +08:00
Yao Wei Tjong 姚伟忠
eff1cd46b9 Sort samples list, just for consistency sake. 2016-06-11 20:43:33 +08:00
Lasse Öörni
3b4b354d51 If 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. 2016-06-11 15:12:32 +03:00
Yao Wei Tjong 姚伟忠
d0bcac5fe0 Ensure iPhoneOS and iPhoneSimulator use the same code path.
This commit should also fix the issue reported in issue #1369.
2016-06-11 13:11:38 +08:00
Lasse Öörni
576216c3c2 Fix MOBILE_GRAPHICS define not being defined on iOS, which would break shadow rendering. 2016-06-11 04:31:36 +03:00
Lasse Öörni
f4f3ffde76 Improve comment for Renderer::SetDynamicInstancing(). 2016-06-11 03:48:14 +03:00
Lasse Öörni
391d93ced0 Use nanosleep instead of usleep. Closes #1413. 2016-06-10 23:51:09 +03:00
Loic Blot
ef949533c6 Update to SQLite 3.13.0 2016-06-10 22:04:35 +03:00
Yao Wei Tjong 姚伟忠
1243d8bcda Regex replace all the uppercase key bindings with their constants. 2016-06-11 02:56:39 +08:00
Lasse Öörni
8710de6197 Fix pause in NinjaSnowWar. Fix keycodes defined in screen joystick to conform to SDL keycodes (lowercase) 2016-06-10 20:30:40 +03:00
Yao Wei Tjong 姚伟忠
3ab69da3af Use __ANDROID__ compiler define consistently. 2016-06-10 20:28:07 +08:00
Yao Wei Tjong 姚伟忠
991b0c5986 Undefine first before redefine to suppress the compilation warnings. 2016-06-10 19:53:17 +08:00
Yao Wei Tjong 姚伟忠
5bdd519ce7 Another 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.
2016-06-10 17:17:21 +08:00
Yao Wei Tjong 姚伟忠
64d975ba1a Add 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.
2016-06-10 17:17:21 +08:00
proller
0dc85f14a9 compile on arm arch with opengles2 2016-06-10 17:17:20 +08:00
Lasse Öörni
a1c458f28e Reduce 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. 2016-06-10 02:09:50 +03:00
Lasse Öörni
d759a0e51b Call GainFocus() on Input initialization instead of just setting focusedThisFrame_ true. Fixes #1411. 2016-06-09 21:20:42 +03:00
Lasse Öörni
6033ffd116 Fix wrong bool check. 2016-06-09 20:02:57 +03:00
Lasse Öörni
7b18a9a8b2 Slider knob fixed size fix from Lumak. Closes #1412. 2016-06-09 18:47:38 +03:00
Yao Wei Tjong 姚伟忠
3afe44678c Set 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.
2016-06-09 20:42:22 +08:00
Lasse Öörni
1535323815 Set default mobile shadow bias adjustments to ineffective since they no longer appear necessary. 2016-06-08 23:49:31 +03:00
Lasse Öörni
f36abeb57c Force 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. 2016-06-08 21:30:31 +03:00
ArtemKulyk
cfec9a95bc fix for typo in UTF16 decoder 2016-06-07 18:41:07 +03:00
Lasse Öörni
0ed42d0f9d Fix letter accelerator keys not working. Closes #1403. 2016-06-06 11:01:35 +03:00
Yao Wei Tjong 姚伟忠
e260a3354c Revert 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]
2016-06-05 23:55:55 +08:00
Yao Wei Tjong 姚伟忠
ccd9dac3c7 Also enable AS wrapper when targeting 64-bit ARM platform. 2016-06-05 22:42:01 +08:00
Yao Wei Tjong 姚伟忠
9345cff42e Remove custom memory adjustment as the default is set to 128 MB now. 2016-06-05 13:17:28 +08:00
Lasse Öörni
cc5761d09d Clean up the code to check for AS_MAX_PORTABILITY define so that it could also come from AS' own config. Minor typo fix. 2016-06-04 17:34:33 +03:00
Lasse Öörni
96451d891e Use the proper form of EMSCRIPTEN define throughout. 2016-06-04 12:33:02 +03:00
Lasse Öörni
fb508365af Fix logic for getting the script file name in web Urho3DPlayer in case arguments were already specified and the command line file is not used. 2016-06-04 12:26:36 +03:00
Lasse Öörni
f097224968 Avoid 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. 2016-06-04 00:21:54 +03:00
Lasse Öörni
98dfaf3c75 Add 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. 2016-06-02 20:55:52 +03:00
Lasse Öörni
0803320a9a Remove 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. 2016-06-02 19:27:15 +03:00
Lasse Öörni
5e60325d5f Merge remote-tracking branch 'SirNate0/master' into emscripten-angelscript 2016-06-02 19:10:30 +03:00
urho3d-travis-ci
1cfe5f3967 Travis CI: API documentation update at 2016-06-01 19:15:40 UTC.
[ci package]

Commit: 37e3c8269d

Message: Added UIBatch::AddQuad overloads which allow defining a quad with arbitrary points & UVs, and optionally colors.
2016-06-01 19:15:40 +00:00
Lasse Öörni
37e3c8269d Added UIBatch::AddQuad overloads which allow defining a quad with arbitrary points & UVs, and optionally colors. 2016-06-01 22:03:58 +03:00
Lasse Öörni
a3023bf2b3 Add Lua binding for the new tile map type & add contributor credit. 2016-06-01 21:00:36 +03:00
Lasse Öörni
d278bd6a9a Merge remote-tracking branch 'tungsteen/master' 2016-06-01 20:36:11 +03:00
Yao Wei Tjong 姚伟忠
4b03614216 Minor documentation update to mark deprecated methods.
[ci only: master] [skip appveyor]
2016-06-01 23:35:58 +08:00
Lasse Öörni
31f608408d Minor documentation update on scene model. 2016-06-01 13:27:23 +03:00
Sergey Bosko
9c298beb54 Add O_HEXAGONAL type of 2D Map 2016-05-31 10:46:02 +02:00
nathan
618b37519a Fixed indentation of my change to Urho3DPlayer.cpp hardcoding NinjaSnowWar.as for the EMSCRIPTEN build. 2016-05-31 00:37:34 +02:00
nathan
30f9d91bdd Formatted stuff in a format more appropriate for Urho. See previous commit message for build instructions.
Note that I quadrupled the default emscripten memory size as I found the 32 MB was all but always too small.
2016-05-31 00:26:39 +02:00
nathan
d7b0604d93 Made Angelscript work on the Emscripten build. Not thoroughly tested!!!
-Has been tested by running Urho3DPlayer with the 12_PhysicsStressTest script
 (the file copied in place of NinjaSnowWar.as requested)
-built with "-std=gnu++14 -I/usr/include/boost" for the CMAKE_CXX_FLAGS
 and "-I/usr/include/boost" for the CMAKE_C_FLAGS.
  ** /usr/include/boost contains a simlink pointing to itself so that boost/
     preprocessor____ can be found
-Networking still doesn't work, so NinjaSnowWar shouldn't work
-Debug builds did not work for me: see http://urho3d.prophpbb.com/topic2151.html
-Defining FORCE_AS_PORTABLE can be used to force it to use the generic build
 with, for example, a gcc build (which should allow more apples-to-apples
 testing of the efficiency of the bindings)
-Discussion of this work originally at http://urho3d.prophpbb.com/topic2044.html
2016-05-30 22:32:48 +02:00
urho3d-travis-ci
0d4d9575cd Travis CI: API documentation update at 2016-05-30 17:58:08 UTC.
[ci package]

Commit: a794f9e59b

Message: Prefer key constants instead of ascii codes in keydown/keypress checks. (AngelScript & C++)
2016-05-30 17:58:08 +00:00
Lasse Öörni
a794f9e59b Prefer key constants instead of ascii codes in keydown/keypress checks. (AngelScript & C++) 2016-05-30 20:45:13 +03:00
Lasse Öörni
7b44ba098e Merge remote-tracking branch 'cosmy1/scancode-fix' 2016-05-30 20:08:12 +03:00
Lasse Öörni
a3a21a5c68 Merge remote-tracking branch 'cosmy1/escape-fix' 2016-05-30 20:07:59 +03:00
Lasse Öörni
ef212b9290 Fix BillboardSet & Text3D fixed screen size with multiple views. Remove unused variable. Fix potential bug with BillboardSet update LOD timer & fixed screen size (always force update) 2016-05-28 16:02:27 +03:00
1vanK
461a075501 Send elapsedTime to UI shader 2016-05-28 11:01:31 +03:00
cosmy
2c152977c9 Remove extra comment. 2016-05-28 02:30:09 +02:00
cosmy
945c231fd2 Use SDL character key constants. 2016-05-28 02:29:51 +02:00
cosmy
b057434bfa Make escape key name consistent between keycode and scancode. 2016-05-27 13:27:53 +02:00
Lasse Öörni
e6881956fa Fix erroneous wording in physics events. Node collision events aren't sent "to" nodes, rather "by" nodes. 2016-05-27 10:57:09 +03:00
Lasse Öörni
fce6c3162a More informative class description for RenderPath. 2016-05-27 10:42:53 +03:00
Lasse Öörni
6c5bda871f Only need to ensure stroke thickness doesn't go over font size, as negative values are already checked for. 2016-05-26 16:13:48 +03:00
Bengt Soderstrom
49727ce20c Text effect stroke thickness setter value is made absolute 2016-05-26 13:56:18 +02:00
Bengt Soderstrom
3d0ab6e2ca Stroke thickness attribute is kept positive 2016-05-26 13:16:52 +02:00
urho3d-travis-ci
520f50615c Travis CI: API documentation update at 2016-05-25 20:29:12 UTC.
[ci package]

Commit: f7ffdd8770

Message: Update LZ4 license text.
2016-05-25 20:29:12 +00:00
Lasse Öörni
eb7eed9ace Merge remote-tracking branch 'cosmy1/lz4-update' 2016-05-25 20:27:44 +03:00