Commit Graph

9869 Commits

Author SHA1 Message Date
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
Lasse Öörni
17b8f300b6 Added a CMake variable for enabling the file watcher, as it requires Windows XP or newer like minidumps. 2012-02-22 22:17:25 +00:00
Lasse Öörni
7ec5ec4f6e Added FileWatcher class (for now Windows only) & live resource reloading. 2012-02-22 21:27:16 +00:00
Lasse Öörni
41a455c19b Changed ErrorDialog signature to use the string class. 2012-02-21 22:29:00 +00:00
Lasse Öörni
3eecd9cfb4 Fixed comments.
Run all physics examples at 60Hz. This may have the side-effect of making NinjaSnowWar easier, as the AI controller is also run less frequently.
2012-02-21 22:11:26 +00:00
Lasse Öörni
4e67907b8a Updated to AngelScript 2.22.2. 2012-02-14 21:57:12 +00:00
Lasse Öörni
9b89a1540d Added resource name sanitation to prevent creation of duplicate resources. 2012-01-15 09:55:50 +00:00
Lasse Öörni
0cc1219607 Added note on selecting 32-bit architecture with Xcode. 2012-01-08 22:17:49 +00:00
Lasse Öörni
35823aeac7 Fixed kNet build on Xcode. 2012-01-08 22:14:09 +00:00
Lasse Öörni
832ad7ebb0 Code cleanup. 2012-01-06 15:42:33 +00:00
Lasse Öörni
06216dabeb Minor code cleanup. 2012-01-03 00:47:38 +00:00
Lasse Öörni
af7c5a53fb Renamed GetData() to Data() in the Math library.
Set point light LightMatrices pixel shader parameter as 12 floats on Direct3D9.
2012-01-02 19:27:10 +00:00
Lasse Öörni
667258b618 Updated to newest kNet. 2012-01-02 11:52:01 +00:00
Lasse Öörni
27b0731482 Optimize forward rendering screen clear similarly as light pre-prepass / deferred. 2012-01-02 00:51:42 +00:00
Lasse Öörni
0b7e840a30 Restored fullscreen quad method for deferred screen clear for some FPS gain.
Moved code from View into BatchQueue & Renderer.
2012-01-02 00:42:56 +00:00
Lasse Öörni
a5681746e1 Added brief documentation on skeletal animation.
Added missing morphs attribute to AnimatedModel.
2012-01-01 17:09:14 +00:00
Lasse Öörni
5dbf2b81f9 Added error logging for resource hash collision.
Clear both color & depth at the same time for light prepass rendering.
2012-01-01 15:22:43 +00:00
Lasse Öörni
b2d150e499 Added frustum culling to debug drawing the octree. 2012-01-01 13:23:28 +00:00