Commit Graph

10202 Commits

Author SHA1 Message Date
Lasse Öörni
4409bc0df0 Moved Color back to the Math library. 2011-05-25 07:19:07 +00:00
Lasse Öörni
5f7b64d6e7 Further cleanup of the Container & Math library API & internal functions. 2011-05-25 07:01:38 +00:00
Lasse Öörni
2025789fa9 Fixed search & replace. 2011-05-24 23:37:16 +00:00
Lasse Öörni
121d451a4e Renamed eulerAngles property to euler. 2011-05-24 20:22:21 +00:00
Lasse Öörni
2da8d4ae47 Renamed Matrix4x3 to Matrix3x4.
Removed superfluous Get...() from the Math library.
2011-05-24 20:20:48 +00:00
Lasse Öörni
ffef9cd27e Renamed context_ to context in Urho3D. 2011-05-23 20:57:47 +00:00
Lasse Öörni
f64121cd59 Skip the shader comment only at fixed position (beginning) to avoid false positives. 2011-05-23 07:52:30 +00:00
Lasse Öörni
0ab9e7a8df Fixed bit shift. 2011-05-23 06:51:44 +00:00
Lasse Öörni
b092fe84c7 Do not use shader opcode parameter size yet, as there are some opcodes that don't conform to that format. 2011-05-23 06:51:07 +00:00
Lasse Öörni
27f28faa6f Take instruction length into account when copying shader bytecode / skipping comments. 2011-05-23 06:06:58 +00:00
Lasse Öörni
41abbf222d Fixed unnecessary inclusion of vertex shader parameters in pixel shader files. 2011-05-22 22:02:50 +00:00
Lasse Öörni
214e36761a Strip comments from shader bytecode. 2011-05-22 21:59:40 +00:00
Lasse Öörni
3ca3f84df9 Refactored shader loading. A binary format is now used instead of XML data.
PixelShader and VertexShader classes replaced with Shader and ShaderProgram.
2011-05-22 21:34:35 +00:00
Lasse Öörni
118ed95315 Multithreaded the shader compilation using all available CPU cores.
Removed the const Replace() methods from String.
2011-05-22 13:47:50 +00:00
Lasse Öörni
2de636df19 Disabled projection jitter from the debug geometery.
Removed optimization flag from ShaderCompiler as it interfered with compiling flow control constructs.
2011-05-21 22:12:10 +00:00
Lasse Öörni
5f4b56103f Refactored ShaderCompiler to use D3DXCompileShader() instead of invoking fxc.exe. 2011-05-21 21:04:24 +00:00
Lasse Öörni
1ff798a20c Fixed GCC compile. 2011-05-21 14:01:00 +00:00
Lasse Öörni
f60321b20f Use PODVector more extensively.
Moved Color class to Core library.
2011-05-21 12:15:04 +00:00
Lasse Öörni
27661073e7 Migrated to AngelScript 2.21.0 WIP. 2011-05-21 11:02:49 +00:00
Lasse Öörni
f1010c683e Removed errorprone string addition operations. 2011-05-21 10:22:58 +00:00
Lasse Öörni
f3859c1ed7 Added documentation about containers.
Removed unnecessary StringUtils.h includes.
Changed GetStringListIndex() to use an empty string as a terminator, similarly to enum attributes.
2011-05-21 10:01:31 +00:00
Lasse Öörni
3abd7eee88 Reverted previous commit due to bugs and performance loss.
Removed the deprecated Physics subdirectory from ResourceCache directory heuristic.
Updated documentation.
2011-05-20 23:17:10 +00:00
Lasse Öörni
b9520be2eb Moved tree balancing operations to TreeBase.
Split ListBase & TreeBase to separate include files.
Fixed some comments.
2011-05-20 19:03:09 +00:00
Lasse Öörni
2952b2f5bf Removed Iterator.h.
Removed unnecessary checks from String & Vector concatenations.
2011-05-20 07:52:12 +00:00
Lasse Öörni
f556556ae3 Fixed template code in List. 2011-05-20 06:27:04 +00:00
Lasse Öörni
4e30a2f032 Added constructors to String + code cleanup. 2011-05-20 06:19:24 +00:00
Lasse Öörni
516b532a8f Refactored StringUtils as member functions of String & the classes to be converted. 2011-05-19 22:22:50 +00:00
Lasse Öörni
8b0e897525 Fixed bugs in List. Removed unnecessary head node.
PODVector speed optimization.
2011-05-19 19:51:19 +00:00
Lasse Öörni
dc136f52b0 Fixed node allocation memory leaks. 2011-05-19 14:08:42 +00:00
Lasse Öörni
ee9695116c Simplified the node allocator and cleaned up Container library code. 2011-05-19 14:05:49 +00:00
Lasse Öörni
db1bd31f41 Added fixed node size allocator for List, Map & Set.
Fixed Map & Set iteration bugs.
2011-05-19 09:23:03 +00:00
Lasse Öörni
4c94e77887 Switched skip lists to red-black trees instead. 2011-05-18 21:55:57 +00:00
Lasse Öörni
5ca3f0389d Removed debug includes. 2011-05-18 05:54:25 +00:00
Lasse Öörni
a956f2ff20 Fixed bugs in Vector & PODVector.
Use PODVector more extensively.
2011-05-18 05:52:55 +00:00
Lasse Öörni
088a84a8b8 Added linked list class. 2011-05-17 21:38:19 +00:00
Lasse Öörni
d69efd65f0 Container library fixes.
Replaced std::vector with Vector or PODVector as appropriate.
Replaced std::map & std::set with Map & Set.
2011-05-17 16:29:14 +00:00
Lasse Öörni
565de1ad02 Moved some of StringUtils functions to the String class.
Moved minidump generation to a separate file that is only linked when used.
Replaced std::string with String.
Removed use of iostream.
2011-05-17 06:39:37 +00:00
Lasse Öörni
4a35758028 Moved container & string classes to a separate library. 2011-05-16 19:31:27 +00:00
Lasse Öörni
6665749d63 Added base classes for Vector, PODVector, Set & Map to allow fast swapping, and to remove some redundant code. 2011-05-16 19:09:47 +00:00
Lasse Öörni
b447f1d030 Tidied up Map & Set code and added bidirectional iteration. 2011-05-16 16:19:37 +00:00
Lasse Öörni
d422219671 Added specialization for string swap. 2011-05-16 06:32:02 +00:00
Lasse Öörni
0dee3e592c Migrated the UI library to use PODVector for batches & quads. 2011-05-16 06:13:57 +00:00
Lasse Öörni
dc83796a6a Code reordering for the custom containers & string. 2011-05-15 23:09:30 +00:00
Lasse Öörni
b03111146e Added custom container & string classes. So far only used by AreaAllocator. 2011-05-15 22:45:43 +00:00
Lasse Öörni
7aecd79aab Removed use of STL from the Math library, except for AreaAllocator. 2011-05-15 21:49:09 +00:00
Lasse Öörni
c0866eb72c Use std::vector instead of std::list in Peer. 2011-05-15 21:35:05 +00:00
Lasse Öörni
4ba161e749 Fixed GCC build. 2011-05-14 21:51:21 +00:00
Lasse Öörni
343e9052b3 Fixed search/replaced function & variable names.
Added yet nonfunctional Network library code.
Added checksum, source file name & required package file list to Scene for networking.
2011-05-14 20:39:57 +00:00
Lasse Öörni
5bde56d248 Added owner connection pointer to Node for multiplayer. 2011-05-13 09:22:10 +00:00
Lasse Öörni
e2a3f60c16 Create bone scene nodes as local.
Added Scene::StopAsyncLoading().
2011-05-12 13:29:27 +00:00