Commit Graph

10192 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
ec43f4e815 Init Graphic subsystem to have the same tex filtering mode as engine.
The Engine parameter and Renderer has the default texture filtering mode set to trilinear. While the Graphic subsytem has it set to bilinear. This mismatch would cause unnecessary graphic API calls, especially on OpenGL, in the first frame.
2014-11-01 20:39:55 +08:00
Yao Wei Tjong 姚伟忠
e29efb21a3 For Travis CI - tweak the iOS universal binary build rule threshold.
Reduce the checkpoint from 20 minutes to 15 minutes. Also add logic to output the elasped time to aid future tweaking.
2014-10-31 12:26:48 +08:00
Yao Wei Tjong 姚伟忠
8ca1ee6096 Further clean up on URHO3D_OPENGL build option. 2014-10-31 12:26:18 +08:00
urho3d-travis-ci
18dbf70d0f Travis CI: API documentation update at 2014-10-30 13:24:38 UTC.
[ci package]
2014-10-30 13:24:38 +00:00
Lasse Öörni
3721ee0b10 Added Time::GetTimeSinceEpoch() and FileSystem::SetLastModifiedTime(). 2014-10-30 15:12:35 +02:00
Yao Wei Tjong 姚伟忠
f28d29cf2d For Travis CI - clean up Rakefile, only download for DirectX CI build. 2014-10-30 18:07:14 +08:00
Yao Wei Tjong 姚伟忠
cddef2ca52 For Travis CI - attempt to download missing D3D header from Launchpad. 2014-10-30 17:55:13 +08:00
Yao Wei Tjong 姚伟忠
c3646224fc For Travis CI - temporarily allowed the new CI builds to fail.
The MinGW packages from Ubuntu 12.04 LTS are too old to pull this off.
2014-10-30 13:37:39 +08:00
Yao Wei Tjong 姚伟忠
899f8334f3 For Travis CI - add CI builds for MinGW + URHO3D_OPENGL=0 combination.
These new CI builds will perform the build test on the DirectX code path which is currently not covered in any of our existing CI.
The CI builds should also improve the detection of any breakage caused by build script changes for MinGW compiler.
2014-10-30 12:33:11 +08:00
Yao Wei Tjong 姚伟忠
971fa90c10 Always use FindDirect3D.cmake module on WIN32 when DirectX is used.
The module is enhanced so it works with both MSVC and MinGW compilers. On MinGW compiler the module does not actually attempt to search for DirectX SDK, instead it simply assumes that the headers and libraries for Direct3D are made available by the MinGW distribution.
2014-10-30 11:33:42 +08:00
Yao Wei Tjong 姚伟忠
09dcc466f9 Use the same condition to exclude kNet when using SDK installation.
Related to commit 867160628c
2014-10-29 19:50:45 +08:00
Lasse Öörni
867160628c Do not include Urho's built-in kNet include dir if URHO3D_NETWORK is disabled. 2014-10-29 10:48:21 +02:00
urho3d-travis-ci
5456dcf406 Travis CI: API documentation update at 2014-10-28 10:29:07 UTC.
[ci package]
2014-10-28 10:29:07 +00:00
Lasse Öörni
ac9fe226da Added contributor credit. 2014-10-28 11:27:08 +02:00
Lasse Öörni
ff7cd0bb50 Use SDL_WINDOWPOS_UNDEFINED as the default window position to simplify code. 2014-10-28 11:17:35 +02:00
Jonne Nauha
2ae415939f E_WINDOWPOS and initial window position OGLGraphics implementation. 2014-10-27 17:15:44 -07:00
Jonne Nauha
7fee7f7cb5 Input: Notify Graphics subsystem about SDL window moved event. 2014-10-28 01:58:12 +02:00
Jonne Nauha
66913cf103 Engine: New WindowPositionX/Y init params. Sets initial window position prior to SetMode that creates the window. 2014-10-28 01:57:43 +02:00
Jonne Nauha
03d9532b4a New E_WINDOWPOS event when SDL notifies window movement. Support for setting initial window position beforecreation. 2014-10-28 01:55:49 +02:00
Lasse Öörni
c15411085a If DirectX SDK is not searched for or not found, DIRECT3D_LIBRARIES is not defined. Use hardcoded library names in that case. Closes #504. 2014-10-27 14:01:35 +02:00
Lasse Öörni
8b1f56f9cf Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-10-27 13:46:44 +02:00
Lasse Öörni
b923118fee Renamed parameter & clarified comment. 2014-10-26 13:50:54 +02:00
Alex Parlett
1aee7eb04e [Added] Ability to create script object by specifying an interface it implements instead. This interface has to be registered with the engine via engine->RegisterInterface...
[Changed] Made use of built in angelscript internals to find whether the script class found implements ScriptObject
[Changed] Check whether the current module holds the class and not the entire engine
2014-10-26 11:58:05 +00:00
urho3d-travis-ci
4a362593c2 Travis CI: API documentation update at 2014-10-26 05:16:35 UTC.
[ci package]
2014-10-26 05:16:35 +00:00
Yao Wei Tjong 姚伟忠
2c5fb1db03 Fix Technique class to recalculate memory used based on numPasses.
Add and expose convenient methods to retrieve the Passes in the Technique based on the pass type StringHash.
Note the API breaking change. In AngelScript the Technique's "passes" property is now returning all passes without taking any index. Use the "GetPass(StringHash)" method to get a single pass instead.
2014-10-26 13:06:00 +08:00
Lasse Öörni
d7924f907f Added glyph offset functionality to Font. Closes #13. 2014-10-25 23:11:49 +03:00
Lasse Öörni
b6dabac4c1 Merge remote-tracking branch 'remotes/rifai/master' 2014-10-24 11:14:56 +03:00
Lasse Öörni
3f51cee989 Give Data directory priority over CoreData. Give autoload paths priority over the default directories/packages. Fix the resource path/package add priority (index) having no effect, which would result in the editor not giving highest priority to the user's resource data directory. Closes #499. 2014-10-23 11:23:34 +03:00
Yusuf Umar
f66a143278 Change icon for drag slider 2014-10-23 14:13:50 +07:00
Ahmad Rifai
431cc8476c fixed coding style
prevent save undo action while drag in material
2014-10-22 21:10:36 +07:00
Ahmad Rifai
d4517d7107 set style for drag slider 2014-10-22 16:23:33 +07:00
Ahmad Rifai
a6829a0394 add button to change lineedit value with mouse drag. Inspired from Unreal editor. 2014-10-22 15:27:18 +07:00
Yao Wei Tjong
59a38bbdb6 Merge pull request #497 from friesencr/shebangs_sh
Add shebangs to shell scripts.
2014-10-22 14:21:16 +08:00
Yao Wei Tjong 姚伟忠
d8177c23de Add "free" keyword to the project about info. 2014-10-21 11:53:11 +08:00
Chris Friesen
0c4c6b0f10 Add shebangs to shell scripts 2014-10-20 22:44:34 -05:00
Lasse Öörni
59d48c1a43 Allow to momentarily disable multisample antialiasing. Used for UI and fullscreen quad rendering. 2014-10-20 22:17:58 +03:00
Yao Wei Tjong 姚伟忠
6099f0aafd Fix FindDirect3D.cmake module to only pick June 2010 SDK.
Closes #492.
2014-10-20 18:43:49 +08:00
Lasse Öörni
e9fb24184f Merge pull request #495 from celeron55/send_user_var_update
Fix Connection not sending delta update if only user variables have been modified
2014-10-17 11:24:39 +03:00
Perttu Ahola
75fef62758 Fix Connection not sending delta update if only user variables have been modified 2014-10-17 11:09:10 +03:00
Chris Friesen
b903983322 Add .otf font support to resource browser 2014-10-16 19:41:07 -05:00
Lasse Öörni
5e8b50c9d3 Further package download logic fixes to ensure a package is not potentially entered into the resource cache several times, and that packages in the cache are scanned for only when necessary. 2014-10-15 13:25:43 +03:00
Lasse Öörni
8cc2386650 Clean up duplicated code related to package download requests. 2014-10-15 12:12:07 +03:00
Yao Wei Tjong 姚伟忠
141c36aa77 For Travis CI - add a rule to decide whether to skip universal build.
The threshold is currently set to 20 minutes (can be adjusted). If by the given threshold time the iOS build has not reached the checkpoint then the universal binary build is skipped automatically.
2014-10-15 16:49:32 +08:00
Yao Wei Tjong 姚伟忠
1f91109413 Minor typo correction on the String::Compare() method. 2014-10-15 12:54:35 +08:00
urho3d-travis-ci
550d252cd1 Travis CI: API documentation update at 2014-10-14 19:36:58 UTC.
[ci package]
2014-10-14 19:36:58 +00:00
Lasse Öörni
18e85ab18a Changed Connection::SendPackageToClient() to not broadcast to all clients. Instead Network::SendPackageToClients() will send to all clients in a specific scene. Updated Network Lua bindings. 2014-10-14 22:07:01 +03:00
Lasse Öörni
cde92a8358 Minor editing of comments. 2014-10-14 21:46:16 +03:00
Lasse Öörni
bc0a61a116 Merge remote-tracking branch 'remotes/cin/master' 2014-10-14 21:22:16 +03:00
cin
949de81bd4 All sync method replaced by void Connection::SendPackageToClients(PackageFile* package) may be called after Scene::AddRequiredPackageFile on server 2014-10-15 00:10:35 +11:00
Yao Wei Tjong 姚伟忠
e7fe50f2dc For Travis CI - disable Mach-O universal binary build for 64-bit iOS.
When Travis CI is overloaded, the CI builds tend to get longer. Our iOS 32-bit and 64-bit CI build are usually finished very close to the 50 minutes time limit but may overshoot to pass the limit when Travis CI is overloaded. Using the xcpretty only helps in reducing the log size but it cannot help in this case. This commit disables again the universal binary build for the 64-bit iOS build when packaging the build artifact. The Mach-O universal binary build for 32-bit iOS build may be disabled too in the near future when we get more samples or the overloaded situation gets worse.
2014-10-14 13:47:23 +08:00