Commit Graph

9836 Commits

Author SHA1 Message Date
Lasse Öörni
0804e9d4ec Sort drawable's lights only if necessary (over the maximum light count.)
Handle lights that are converted from per-pixel to per-vertex correctly even if drawable has both opaque & transparent batches.
2012-02-29 14:24:38 +00:00
Lasse Öörni
cc51e1a40c Reverted code which was only needed when SetDepthStencil() committed the FBO changes. 2012-02-29 08:39:17 +00:00
Lasse Öörni
961f65b467 Flush changes to the current FBO first before cleaning up a rendersurface from other FBOs. 2012-02-28 23:04:36 +00:00
Lasse Öörni
9d15b80fc4 Audio::IsInterpolated() -> Audio::GetInterpolation().
Fixed comments in the audio library.
2012-02-28 22:58:25 +00:00
Lasse Öörni
26e2ebca26 Fixed enemy motion bugs in networked NinjaSnowWar.
Added possibility to disable physics interpolation. This is useful on a network server to ensure clients do not receive interpolated (and possibly non-physical) node transforms.
Changed default network update FPS to 30 (half of the default physics FPS.)
2012-02-28 21:03:42 +00:00
Lasse Öörni
cd00810139 Updated docs for upcoming release. 2012-02-28 18:51:31 +00:00
Lasse Öörni
9a5443ebc4 Store depth bits into Texture2D also in renderbuffer mode. 2012-02-28 18:50:52 +00:00
Lasse Öörni
7ed9a4815d More complete multi-FBO implementation. 2012-02-28 13:11:34 +00:00
Lasse Öörni
e42f16dfbe Set GL_NONE drawbuffer on the depth-only FBO. 2012-02-28 00:39:13 +00:00
Lasse Öörni
f83b968576 To reduce Linux / NVIDIA performance issues, use another FBO for shadow rendering. Commit FBO changes only at SetDepthStencil(). 2012-02-28 00:24:35 +00:00
Lasse Öörni
f78a0cab6d Set also the third texture coordinate wrap mode on OpenGL. 2012-02-27 21:15:31 +00:00
Lasse Öörni
6014f87a0f Added mention to only install libgl1-mesa-dev if OpenGL headers/libs do not already exist. 2012-02-27 08:09:11 +00:00
Lasse Öörni
bc8b45b061 Restored AngelScript typeid caching. 2012-02-26 21:54:05 +00:00
Lasse Öörni
281703c8e5 Use HashMap instead of Map in Font for improved performance. 2012-02-26 20:53:52 +00:00
Lasse Öörni
a7daef9b49 Reverted the busywait code because of unpredictable effect on slower machines. 2012-02-26 20:25:23 +00:00
Lasse Öörni
f4650362c0 Spinwait using a dummy calculation to get accurate frame limiting. 2012-02-26 18:39:55 +00:00
Lasse Öörni
911f9e4c5b Removed the "flush GPU" feature as it was causing erratic timing. The downside is increased input lag when vsync is on.
Increased NinjaSnowWar physics FPS to 100Hz for less likely snowball tunnelling.
Set the player yaw from mouse movement each frame also in singleplayer NinjaSnowWar.
When a physical Node's rotation only changes, do not force the rendering position automatically as the new physics position.
2012-02-26 16:00:52 +00:00
Lasse Öörni
ff9df846d1 Fixed physics transform interpolation when physics timestep is lower than framerate.
Use high resolution timer for frame timestep to avoid jitter at vsync frequency.
Rewrote frame limiting.
Elapsed time API changed.
2012-02-26 13:07:52 +00:00
Lasse Öörni
51eec4e987 Marked todo's into the IO library.
Moved the cursor/function key char input check into GLFW.
2012-02-26 11:57:36 +00:00
Lasse Öörni
3afbeb83ea Added a documentation page on Unicode.
Restructured the quickstart-examples, and fixed the C++ quickstart code.
2012-02-26 11:35:03 +00:00
Lasse Öörni
d66fb61091 Fixed texts defined in XML not showing. 2012-02-26 00:24:26 +00:00
Lasse Öörni
01d893df98 Decode the text from UTF8 once during Text::SetText() for easier processing. 2012-02-26 00:19:21 +00:00
Lasse Öörni
80a2fe0f30 Keep track of mouse cursor show/hide on OSX as it stacks like on Windows. 2012-02-25 23:12:42 +00:00
Lasse Öörni
715a8196e8 Fixed erroneous mouse move on windowed/fullscreen toggle on X11. 2012-02-25 22:04:04 +00:00
Lasse Öörni
5d7968a379 Fixed erroneous char events for cursors & function keys on OSX. 2012-02-25 21:54:46 +00:00
Lasse Öörni
e105d2d178 Fixed missing input activation in Direct3D windowed mode. 2012-02-25 21:25:52 +00:00
Lasse Öörni
06aa3e21a7 Fixed duplicate ShowCursor() calls after the window closing & reopening. 2012-02-25 21:16:41 +00:00
Lasse Öörni
7819e4644b GLFW mouse input fixes. 2012-02-25 21:04:18 +00:00
Lasse Öörni
77e239ef74 Removed the white screen from fullscreen init. 2012-02-25 20:25:44 +00:00
Lasse Öörni
d00bac7309 Fixed extra }. 2012-02-25 20:18:50 +00:00
Lasse Öörni
d46135ad8e Ported OSX-specific fixes from old GLFW. 2012-02-25 20:14:20 +00:00
Lasse Öörni
6047b13400 Fixed Linux build. Removed GLFW X11 log spam. 2012-02-25 20:05:35 +00:00
Lasse Öörni
245040d562 Fixed OSX build. 2012-02-25 19:45:41 +00:00
Lasse Öörni
9e083f45c5 Updated to newest GLFW 3.0 revision. Fixes bugged UTF8 characters in window title in OpenGL mode. 2012-02-25 18:53:28 +00:00
Lasse Öörni
c64e0cd165 Default to RelWithDebInfo build on GCC. Removed Urho3D executable name debug postfix due to CMake limitations. Copy the executables to Bin directory similarly on both MSVC & GCC. 2012-02-25 12:30:42 +00:00
Lasse Öörni
0c63191a49 Prevent redundant DrawBuffers assignment on OpenGL. 2012-02-25 01:11:24 +00:00
Lasse Öörni
a4b263b8e1 Fixed crash in libcpuid on Linux. 2012-02-24 21:18:50 +00:00
Lasse Öörni
8b6a208ab5 Reverted root CMakeLists.txt. 2012-02-24 18:53:32 +00:00
Lasse Öörni
fa017fd53d Fixed Unix compile errors. 2012-02-24 18:14:52 +00:00
Lasse Öörni
2282f67420 Removed Model Specific Register code from libcpuid, as it is not needed by Urho3D. 2012-02-24 12:32:14 +00:00
Lasse Öörni
8a3ba37761 Fixed window title bug. 2012-02-24 12:15:51 +00:00
Lasse Öörni
fd1c3385ca Do not define UNICODE, as GLFW assumes multi-char mode. Rather call the wide char Windows functions explicitly. 2012-02-24 11:38:01 +00:00
Lasse Öörni
0a3b1564d1 Further Unicode fixes. 2012-02-24 10:19:36 +00:00
Lasse Öörni
f3c36de839 Handle Urho3D.exe commandline as wchars on Windows. 2012-02-24 09:02:35 +00:00
Lasse Öörni
5d49c4439b Improved UTF8/UTF16 decoding. Return '?' for illegal sequences.
Fixed UTF8 copy/paste bug in LineEdit.
Use _wfopen on Windows.
2012-02-24 08:47:20 +00:00
Lasse Öörni
7fc5a2322d Go through available glyphs more intelligently. 2012-02-24 00:53:00 +00:00
Lasse Öörni
2263abbbcf Path handling fixes. 2012-02-24 00:43:45 +00:00
Lasse Öörni
bedf357c90 Added WString class.
Create as an Unicode application on Windows.
2012-02-24 00:37:12 +00:00
Lasse Öörni
50226cfdb0 Started work toward Unicode compatibility. 2012-02-24 00:05:06 +00:00
Lasse Öörni
a1049eab4e Updated to AngelScript 2.23.0 WIP.
Removed the AngelScript datatype caching optimization, as it was possibly causing a VariantMap crash in the editor.
2012-02-22 23:18:50 +00:00