Commit Graph

1511 Commits

Author SHA1 Message Date
Lynix 00423c4211 Core/File: Remove useless SetOpenMode method (equivalent to Open)
Former-commit-id: e02f4f758adfd2c0870920997acac71a47d51c3f
2015-11-18 18:27:01 +01:00
Lynix ddc343a630 Core: Rename MemoryStream to MemoryView, add MemoryStream
Former-commit-id: c180d5f34fa7c477f35c4b70ebf7b64e3f35fe3d
2015-11-17 14:06:57 +01:00
Lynix a1bb104255 Core/File: Fix crash
Former-commit-id: ee797ea7ba228fa814f2c87250c6dd6c32a9982f
2015-11-17 14:05:46 +01:00
Lynix 131d047517 Regenerate global headers
Former-commit-id: 07a0b81c1840da5d9f1f59e9ba328c24a72e45ad
2015-11-17 13:21:12 +01:00
Lynix 8371ce068f Core: Update Stream interface
Add Open Mode to Stream level, Add IsReadable() and IsWritable()


Former-commit-id: 0da5fa798c0f3bd3bf1545cb57f6bc923b222de8
2015-11-17 13:19:44 +01:00
Lynix fb920f0016 Core: Add OutputStream class
Former-commit-id: a6b8f642e263833c75a338cc23266c94edbced6f
2015-11-17 12:47:13 +01:00
Lynix 9f7468d940 Core/ByteArray: Fix missing include
Former-commit-id: f1f90e4be3d7af42114f0bbe48e351584ab16e77
2015-11-16 14:05:04 +01:00
Lynix 21f223f1c7 Core: Reworked hashes
-Removed HashDigest class (replaced by ByteArray)
-Removed Hashable/Hash classes (replaced by ComputeHash function and
Hashable template struct)
-Fixed ByteArray operator<<
-Renamed File::GetHash to File::ComputeHash


Former-commit-id: cc5eaf2d4c88a556878190b8205e66713512e2d2
2015-11-16 14:04:39 +01:00
Lynix b64ea6f534 Core/String: Fix missing modifications
Former-commit-id: ac0e45fcc8caf8135542cb2fa6ab02b22182735a
2015-11-14 17:37:03 +01:00
Lynix e8aa649cfc Network/HostnameInfo: Replace family/socketType raw value by engine enumeration
Former-commit-id: 40adb7654b5a741c5fa12c1b866e3b427b1be5e9
2015-11-14 02:12:10 +01:00
Lynix 3a4acd9584 Network/TcpClient: Remove unreliable QueryState()
Former-commit-id: 75d61ca0d84150a278c168c81af4c755e8a74d91
2015-11-13 14:17:43 +01:00
Lynix 5325513bd8 Network/TcpClient: Allow configuration before connection
Former-commit-id: 65c81f994ae5b9e9cce0132e2a86b1918879b24f
2015-11-13 14:01:18 +01:00
Lynix a9611680e7 Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: 4962dac67b404140813e143a12d5577478d8a044
2015-11-12 22:08:50 +01:00
Lynix f28e1a7d9b Network/UdpSocket: Add broadcasting option
Former-commit-id: bde428efc5e9c77cf3e64ec04d58d72613f1d8de
2015-11-12 13:35:46 +01:00
Lynix 5d6e6b2d45 Fix errors and warnings
Former-commit-id: a3ba309633f198f82c1d0277d750d867cad4ba44
2015-11-12 00:29:10 +01:00
Lynix a26c979d84 Network/TcpClient: Add Connect overload resolving hostname
Former-commit-id: 5c667a14c591e4e9cb898a8d4c83fedf161179fd
2015-11-10 14:45:59 +01:00
Lynix 3b9c736c16 Network/AbstractSocket: Fix state sent to OnStateChange
Former-commit-id: ae83ea675153d7954187c12d93d7c8c42d8e1dfc
2015-11-10 14:42:36 +01:00
Lynix fd09cdbf1e Network/TcpClient: Replace Connect overload by WaitForConnected method
Former-commit-id: 11ff81ea975f79a51f6342a9a574a23d18c0180f
2015-11-10 13:55:42 +01:00
Lynix dd987e6b71 Network: Fix global header
Former-commit-id: 13b207375cecf63722f45d24d0de5f756fe0a815
2015-11-10 13:53:23 +01:00
Lynix 66daa68333 Network: Little clean up
Former-commit-id: 594fbfbbe9051ac4ec7b647f9e2eb1a74d640a69
2015-11-10 13:35:09 +01:00
Lynix 4ad1a47064 Network: Add ResolveError handling
Former-commit-id: 0dc3d109284e8b475577bf44cbaeb503c4baae73
2015-11-10 13:24:25 +01:00
Lynix 64cd9edd6b Network/AbstractSocket: Fix comment
Former-commit-id: f74b61def45195a8e5b82f499fbbc05ce0cc492c
2015-11-10 12:43:30 +01:00
Lynix 2efaa9dad6 Network/Socket: Rename ChangeState to UpdateState
Former-commit-id: 96f1909e002c0d1bc7a3ebd173fae799b6ba4770
2015-11-10 12:19:03 +01:00
Lynix 890e5c75d6 Network/AbstractSocket: Update OnStateChange signal
Now it is called before the state changes really


Former-commit-id: 3eec47302a971d798e1a75415377243bd743ce3f
2015-11-10 12:17:30 +01:00
Lynix 2a70758f08 Network: Get rid of now useless TcpBase
Former-commit-id: 5a682d6d58cc5e2b8bea19dbfc9acb1133b35337
2015-11-10 12:14:59 +01:00
Lynix 1bbf038cc6 Network: First commit
Former-commit-id: ec8697acc51569f5043e4f70e4cf42f1c5dc487c
2015-11-09 15:02:25 +01:00
Lynix dfa6f06337 Core/Error: Make NazaraAssert blocklike (fixing integration)
Former-commit-id: c6b7e10e30504ef14ef83d0a4d07f17adfd7b026
2015-11-03 22:34:46 +01:00
Lynix a959207ea3 Noise: Rename HybridMultiFractal2D filename
Former-commit-id: dfffba919c4872e8306893f405437be0c6add630
2015-09-28 21:26:52 +02:00
Lynix 5fbd035f12 Noise: Remove HybridMultifractal2D.hpp to rename it
Former-commit-id: 96808cea7606d361e0825642411ab63d5e9a9bb2
2015-09-28 21:26:29 +02:00
Lynix 7db9be3cfb Disable memory manager for every module
Former-commit-id: 4c6e0a87de57bf55780cc9dfee280cc198d06704
2015-09-28 00:41:24 +02:00
Lynix 6fe20d067a Audio: Fix Enums.hpp header guard
Former-commit-id: 2bc99eb04bf63173a9627385de1de40fe18b434e
2015-09-28 00:40:51 +02:00
Youri Hubaut 37586e7283 Switch from Nz prefix to namespace Nz for linux
Former-commit-id: 64eeaf3c633254b04910ebd4576fd9e910002be0
2015-09-27 15:58:49 +02:00
Lynix fe2e47478e Commit forgotten files
Former-commit-id: dd296ce0e7c4128c35b41cbe753ffb572858ba6c
2015-09-25 23:17:44 +02:00
Lynix eaf1bb3601 Merge branch 'NDK-Refactor' into NDK
Conflicts:
	examples/HardwareInfo/main.cpp
	include/Nazara/Renderer/Enums.hpp
	include/Nazara/Renderer/GpuQuery.hpp
	include/Nazara/Renderer/OpenGL.hpp
	include/Nazara/Renderer/RenderBuffer.hpp
	include/Nazara/Renderer/RenderTexture.hpp
	include/Nazara/Renderer/Texture.hpp
	src/Nazara/Graphics/AbstractRenderTechnique.cpp
	src/Nazara/Graphics/DeferredRenderTechnique.cpp
	src/Nazara/Graphics/Material.cpp
	src/Nazara/Graphics/SkyboxBackground.cpp
	src/Nazara/Renderer/GpuQuery.cpp
	src/Nazara/Renderer/OpenGL.cpp
	src/Nazara/Renderer/RenderBuffer.cpp
	src/Nazara/Renderer/RenderTexture.cpp
	src/Nazara/Renderer/Renderer.cpp
	src/Nazara/Renderer/Shader.cpp
	src/Nazara/Renderer/ShaderStage.cpp
	src/Nazara/Renderer/Texture.cpp

Former-commit-id: 2f1c7e9f9766f59ab83d9405856a1898ac4ab48f
2015-09-25 23:16:58 +02:00
Lynix df8da275c4 Switch from Nz prefix to namespace Nz
What a huge commit


Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
2015-09-25 19:20:05 +02:00
Lynix 70ea6912e1 Merge branch 'OpenGL3-upgrade' into NDK
Conflicts:
	src/Nazara/Graphics/SkyboxBackground.cpp
	src/Nazara/Renderer/RenderTexture.cpp
	src/Nazara/Renderer/Renderer.cpp

Former-commit-id: e8914d4e32a689b7df365dca15a438f10722530c
2015-09-24 21:35:43 +02:00
Lynix c214251ecf Update copy/move constructors/operators
Former-commit-id: b1faeeae9211a6c0ca29261d46929dc8c66ea0c4
2015-09-24 12:51:52 +02:00
Lynix dea3fb4e39 Convert spaces to tabs
Former-commit-id: b459cfe0c83f651cc660d42f7d3014c3b146f345
2015-09-24 00:55:57 +02:00
Lynix ce3bbf6c78 Audio: Uniformize SampleCount/SampleRate type
Former-commit-id: a67b0f10a4aeb1399834221d32859ab0e376813e
2015-09-24 00:39:48 +02:00
Lynix 2fd3872099 Core: Remove NonCopyable
Former-commit-id: f8c6d10ad0b1abb4a32e3c867b7f24fd4bde68a4
2015-09-24 00:37:21 +02:00
Lynix 1ffd2b724f Merge branch 'NDK' into NDK-ShadowMapping
Former-commit-id: 150a4149d50af6971fd5798c080f0c55e009a55b
2015-09-20 23:42:12 +02:00
Lynix b16abf0d09 Merge branch 'master' into NDK
Conflicts:
	build/scripts/module/renderer.lua
	build/scripts/module/utility.lua
	include/Nazara/Renderer/OpenGL.hpp
	src/Nazara/Core/String.cpp

Former-commit-id: 0a8054be56f01b12c604c88b829cb10b490a9d6f
2015-09-20 23:41:21 +02:00
Youri Hubaut 829b356ae2 First GLX implementation
Former-commit-id: 0f41eb0bd949899fce740879604f14a44f532d8a
2015-09-19 17:22:25 +02:00
Youri Hubaut e8cc3e357e First xcb implementation
Former-commit-id: 483522109b8b63fa80b9152b04bca79a65809d4d
2015-09-19 17:20:01 +02:00
Youri Hubaut a4032abe63 Fix compilation on linux
Former-commit-id: e7ff20401c32d0f7752d03636b5034a3467bf498
2015-09-19 17:10:34 +02:00
Lynix 025d873228 Merge branch 'NDK' into NDK-ShadowMapping
Conflicts:
	SDK/include/NDK/Systems/RenderSystem.hpp
	SDK/src/NDK/Systems/RenderSystem.cpp

Former-commit-id: 2772ff703c9d68d536667c469aca85084be4b861
2015-09-19 14:47:02 +02:00
Lynix 67a9dc692a Physics/Geom: Fix NullGeom InertialMatrix
Former-commit-id: ac5e0c6cd9f775c29e37a4bb5a072eee2b224d0f
2015-09-19 14:44:41 +02:00
Lynix 2c752a38c3 Core/Bitset: Minor changes
Former-commit-id: 0d4e2007c83f34ca966615b55927cf34e88670af
2015-09-18 20:00:53 +02:00
Lynix b56a454a40 Core/ByteArray: Add missing implementation of Front()
Former-commit-id: 672b7bc1054d1a457245dcc15d4c5fafab9fc166
2015-09-18 14:10:24 +02:00
Lynix 466720abec Core/String: Fix IsNull() method (thanks to Unit tests)
Former-commit-id: dd4828c3c0e2d3423094cf018e70fd74deac0740
2015-09-18 14:10:15 +02:00
Lynix 859544eaa7 Ndk: Add support for 2D rendering
Former-commit-id: bdf9257816c8f48b8c0679647978480785720053
2015-09-18 12:34:05 +02:00
Lynix 03ee0a12ed Make signals arguments clearer
Former-commit-id: c329f1fc5b8d8ffcf8e38ec4e4804454b31f685f
2015-09-14 22:40:38 +02:00
Lynix aa303f9028 Merge branch 'NDK' into NDK-ShadowMapping
Conflicts:
	include/Nazara/Math/Matrix4.inl

Former-commit-id: e4b7d178a7acba17c03de2b585af86324b8d75a6
2015-09-13 12:10:30 +02:00
Lynix 9f1c190985 Core/String: Replace manual memory management/COW by smart pointers
Former-commit-id: 27cab7f0642619ab47d53ed59c737992534f2979
2015-09-13 12:07:31 +02:00
Lynix 91ec7c7dce Core/ByteArray: Fix compilation/infinite recursion
Former-commit-id: 7e3dded8a79ca6110775891cf3f90f1ab5400483
2015-09-13 12:06:20 +02:00
Lynix ef511d9b11 Core: Temporary disable MemoryManager (its causing crashs during runtime with VS)
Former-commit-id: 317a3f6b4d8ac363393094d591550181c26e6f05
2015-09-13 01:16:25 +02:00
Lynix d73d935c82 Lua/LuaInstance: Fix warning + optimizations
Former-commit-id: 4191d942ed50058fba0d2a5ed533c41e993fd0eb
2015-09-13 00:56:53 +02:00
Lynix 32829863aa Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: 3cd50359629d58a4e61744b94f3b7fc47ad551e4
2015-09-11 21:47:03 +02:00
Lynix 3d9da38e45 Core/Algorithm: Add Apply variant for methods
Former-commit-id: 6e34c37c56d916c040ef501190f02f35e9c734df
2015-09-11 14:09:59 +02:00
Lynix 73e03073eb Lua: Add automatic function binding
Former-commit-id: dcb1d3ca474c9e10f9a40428095a5ff752f5c4a9
2015-09-10 18:03:52 +02:00
Lynix 5888949bf9 Fix merge files
Former-commit-id: 27058f380928319efcdd7af6104a776296b2093e
2015-08-21 22:43:53 +02:00
Lynix 505f1dbb03 Merge branch 'master' into NDK
Conflicts:
	include/Nazara/Core/Algorithm.inl
	include/Nazara/Core/ByteArray.hpp
	include/Nazara/Math/Algorithm.inl
	src/Nazara/Graphics/SkyboxBackground.cpp

Former-commit-id: 42f52f71989fa805f69527fd07edb8405df06566
2015-08-21 18:55:58 +02:00
Lynix dea48a289d Merge branch 'master' into NDK
Conflicts:
	include/Nazara/Core/ConditionVariable.hpp

Former-commit-id: 84320f0a55ae9d8f80ff5211d30d99184c7b4213
2015-08-21 12:49:05 +02:00
Gawaboumga 8716daf73c Debug axes
Former-commit-id: e7d93df67679d1e29014120aef5cc0c3421fd9c2
2015-08-21 12:14:35 +02:00
Gawaboumga 89e0f631d6 No problems
No problems found in Rect, Sphere, Vector2, Vector3 and Vector4


Former-commit-id: 6688608a2beaa9cf5328daf7e5108b6cfebd843d
2015-08-21 12:05:46 +02:00
Gawaboumga cb8ab90300 Quaternion bug fix: missing 'x'
And indentation


Former-commit-id: 87e7cc0f69604f3c4593395b15068b9ded59ba1a
2015-08-21 12:04:46 +02:00
Gawaboumga 19e1cb05bb OrientedBox no problem
Former-commit-id: ad1256baf4bf6d832cb376fe62b1b52f25479e67
2015-08-21 12:03:37 +02:00
Gawaboumga 9d7dc63574 Wrong place
Former-commit-id: 909750e9bca284c2a0096a51c782c1083b258cef
2015-08-21 12:02:55 +02:00
Gawaboumga 282bdf9864 Consequences of the plane change + change perspective
The perspective matrix now as in glm (because the near frustum plane was
wrong). So there is a factor "2" on the component w and the skybox must
be changed in consequence.


Former-commit-id: 09dd049c177532b9ace34a5a60b1b96014652297
2015-08-21 12:01:52 +02:00
Gawaboumga 077584ec49 EulerAngles simplification
Former-commit-id: 775b07a51077e6f17b9fe05773dc5c277c49919d
2015-08-21 11:53:16 +02:00
Gawaboumga b4f926d3ca Test box
No problem except indentation


Former-commit-id: 58d711b48164363fd672c51c005e16eb5ce55e9e
2015-08-21 11:52:44 +02:00
Gawaboumga f0660d5da8 Fix operator== with infinite BoundingVolume
Former-commit-id: 47cee9fb8d8d2b8188d3918527aeebab56b03992
2015-08-21 11:52:05 +02:00
Gawaboumga c2161f2a8b Fix NumberEquals with unsigned
Former-commit-id: 30b573278e84991a9d76604a359bd3110f13d87c
2015-08-21 11:49:37 +02:00
Gawaboumga 2d07922478 Add Unit for vector2
Former-commit-id: 4a143363f24e08d0be12a5ef6bfb46c71b11be4a
2015-08-21 11:34:08 +02:00
Gawaboumga 376df6a3b7 Indentations
Former-commit-id: 0d82a4464cb9369bc4ca5cf2d7780c921eff953d
2015-08-21 11:32:29 +02:00
Gawaboumga 0b390e45a1 ByteArray rewritten
Now works internally with std::vector


Former-commit-id: 643f1d88b2959aed324743dbf91f831130a9198e
2015-08-21 11:28:04 +02:00
Gawaboumga 3dbcb25384 Transfert enumeration from file to enums
Former-commit-id: 0d9e191373affda50d0eb6c2376c7a23720e591b
2015-08-21 11:22:35 +02:00
Gawaboumga 8cda289b82 Indentation String
Former-commit-id: 86848a87089804d5152f80e960308f8b2eb12ff3
2015-08-21 11:11:04 +02:00
Gawaboumga b51e151930 Suppression unused file
Former-commit-id: 60221e1d8486e6a17a7e5368fd932628d9c52b85
2015-08-21 11:09:18 +02:00
Lynix 481a191693 Core/Algorithm: Replace UnpackTuple by Apply
Former-commit-id: dccf9a102e4287035184053e1d60abc0edaf1a1d
2015-08-20 13:35:51 +02:00
Lynix 40d35fbe5f Utility/SimpleTextDrawer: Fix movement
Former-commit-id: ac62391a2e28f50a0a61e984692a7a1e3444b28e
2015-08-20 00:00:16 +02:00
Lynix 831b9358ef Utility/SimpleTextDrawer: Fix movement
Former-commit-id: f5086d1ca281f31a3b89d5cd535f9aeaa9b2a929
2015-08-19 23:23:19 +02:00
Lynix 2b48917176 Merge branch 'NDK' into NDK-ShadowMapping
Former-commit-id: b07de3853987ffc91946b307208c0ec26eda280a
2015-08-17 14:26:42 +02:00
Lynix 21ad09d626 Core/Utility: Fix font crash
Happened when the atlas was resizing while updating the text drawer, the
old invalid pointer was kept (now a dangling pointer).


Former-commit-id: d50153f81f1f2bdd80cfdac9dcee85eb7c28c35e
2015-08-17 13:54:07 +02:00
Lynix ba1073828f Graphics: Improve code
Former-commit-id: d548b513aef5190e20bc065653178981c5d18f68
2015-08-16 01:44:17 +02:00
Lynix 95ae8ed82c Graphics: Add billboard class
Former-commit-id: bc898f00aa78dd42f61d34ce743ed9a73dce55f6
2015-08-16 01:43:17 +02:00
Lynix 835da411c7 Graphics/Shadows: Add directional shadow mapping (WIP)
It still needs some debug


Former-commit-id: 029872debc1a784712a33802ddd70a2b61e55623
2015-08-13 13:54:34 +02:00
Lynix 75972fec36 Graphics: Add shadow mapping
Former-commit-id: ca404bee246991eab98df35396e3010ec5165c43
2015-07-05 23:57:54 +02:00
Lynix 1f2e810927 Graphics: Remake DepthRender[Queue|Technique]
Former-commit-id: c4d8d4d28d02822273ebe7dca3e468ea156af674
2015-07-05 23:43:35 +02:00
Lynix 6870148314 Renderer: Add shader validation
Former-commit-id: fa9225b87e6ec2217c3838535531075dfcaaf433
2015-07-05 23:26:09 +02:00
Lynix c0ee9d04b5 Graphics/Material: Add depth material parameter
Former-commit-id: 980888e12e5d8c8cf280c6a62592068cfab49d2e
2015-07-05 23:23:17 +02:00
Lynix 1398ed7ebc Core/ObjectRef: Remove static_assert
Former-commit-id: 5050ce7a786053725d7e18fcc943bfb2ce3fee69
2015-07-02 13:01:23 +02:00
Lynix 9a7c356f75 Graphics/Material: Fix texture getters
Former-commit-id: 00799529501c489498c4afd7e42195157b74ba22
2015-07-02 12:24:04 +02:00
Lynix 529673ebc1 Graphics/Light: Make shadow map format/size parametrable
Former-commit-id: 8151d71d58ab760584c0ace1e0686c44bab9d3b2
2015-06-30 20:48:46 +02:00
Lynix 2c4a35b2d1 Graphics/Light: Add move constructor/operator
Former-commit-id: d2823b5bae913fc0d218f6aaf067ee29812a6cbf
2015-06-30 20:47:39 +02:00
Lynix 34e8271d24 Fix warnings
Former-commit-id: 42f2d38f7bf5143d91da6a0fa7dc7d3b88ce56ea
2015-06-30 20:44:37 +02:00
Lynix 0cb4726bf5 Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Conflicts:
	SDK/include/NDK/Systems/RenderSystem.hpp
	SDK/src/NDK/Systems/RenderSystem.cpp

Former-commit-id: f62e9a27427d96893acd2381bb06ae928a1d3741
2015-06-29 21:05:09 +02:00
Lynix 9c1441cc82 Core/MemoryManager: Implement allocation filling
Former-commit-id: 12e6c293e6d51663971e3da4c160b12a6710430e
2015-06-28 16:03:31 +02:00
Lynix 318da0d960 Fixed some warnings
Former-commit-id: d7db2b471afac2d16f44a67e79842f8a7fc2100e
2015-06-28 13:48:22 +02:00
Lynix 7dd4965f9a Math/Matrix4: Fix cotangent in projection matrix
Former-commit-id: 57ccfc4fd2a1a8245272328204afa6590a5cb3fb
2015-06-26 14:05:50 +02:00
Lynix 8648258ef7 Regenerate global headers
Former-commit-id: 60165296c6310b77b1954cba31a65d1bdd29a6b6
2015-06-24 13:56:18 +02:00
Lynix a4bd84a6e3 Graphics: Remove deprecated scene interface
Former-commit-id: 6b5d3c22827912d664c4f8c9c4051c824180bb51
2015-06-24 13:55:35 +02:00
Lynix 58f91d6e39 Graphics/ParticleSystem: Update interface
Former-commit-id: b58c3f194a32411eba2e321b00987d3c76e03cb0
2015-06-24 12:41:54 +02:00
Lynix eddac5c0b6 Graphics/SkyboxBackground: Fixes
Former-commit-id: ab45a2efa957e33015e4d8dd57ebc8a5d028798c
2015-06-24 00:18:38 +02:00
Lynix 4cd4055c3f Graphics/Model: Fix includes
Former-commit-id: 27f0e51429ce1ddb9e35d849a296186d79b1cde6
2015-06-23 23:35:30 +02:00
Lynix 6092b0692b Graphics/Backgrounds: Update backgrounds to new coding-style
Former-commit-id: 9f96b93706fd8417d6262392f0ce9ab9ca1985c3
2015-06-23 23:35:11 +02:00
Lynix 0ec0e02a5f Graphics/ParticleSystem: Turn it to Renderable interface
Former-commit-id: c083f32a4bf2baed93126c30a6d05cf8ed0ba493
2015-06-23 14:01:44 +02:00
Lynix 06b5e09935 Graphics/Renderable: Make Cull simply virtual (not pure anymore)
Former-commit-id: 34042cae998af21c04cbd393864f6984da5b1ef1
2015-06-23 13:59:15 +02:00
Lynix b7b5458c79 Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Former-commit-id: 0c302477d672346eb50c12f8fa7e2b6a19d60779
2015-06-23 12:11:02 +02:00
Lynix 179f30861d Core/Bitset: Fix Bitset::FindNext
Former-commit-id: 20d18be6e8039fc386ef7c402878b3d29577b46d
2015-06-22 14:27:42 +02:00
Lynix ea3fdaba26 Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Conflicts:
	SDK/include/NDK/Systems/RenderSystem.hpp
	SDK/src/NDK/Systems/RenderSystem.cpp

Former-commit-id: 0a72e838de272bff91f0b8c8a3637db94fdd7820
2015-06-22 13:31:23 +02:00
Lynix 109af2a581 Graphics/Light: Fix missing getters
Former-commit-id: 3e7c21d8f3d2a47b3a19f9eec4fcf44e2412a0ed
2015-06-22 13:27:45 +02:00
Lynix 17f9d26387 Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: d6b7e05adf8586c40b79de8dc0880ae1a501403c
2015-06-22 11:19:34 +02:00
Lynix 4b5c08e739 Graphics/Sprite: Fix debug build
Former-commit-id: 751eea18f8ca4c68243dbc363eb4b7de2618784d
2015-06-22 00:54:00 +02:00
Lynix 9318d269e2 Renderer/RenderTexture: Fix and inline
Former-commit-id: 4bf8ad8acd3b978c4665df9547328333b9f9ad42
2015-06-21 13:18:37 +02:00
Lynix 8472578e42 Graphics/Material: Fix compilation error
Former-commit-id: 1cb87781afd8de0f6aaf4f6cbac861d5a1f8f717
2015-06-18 12:09:51 +02:00
Lynix ac8578c510 Graphics/Material: Add shadow support
The real fun will be in the shader


Former-commit-id: e29e98cbf3c35e4cf14c68852e03dc9da1df0ff1
2015-06-18 00:03:38 +02:00
Lynix 763701df7f Graphics/Material: Inline class
Former-commit-id: 7cd8b7a00c87adf087dae7d0fb8d955747cf82d1
2015-06-17 23:36:53 +02:00
Lynix 35066a3451 Math/Sphere: Fix (Squared)Distance
Former-commit-id: d91c0d6e8a193e47c3ed45babaf3b83bf1cbe7ee
2015-06-17 23:35:06 +02:00
Lynix 80208b0dc5 Core/OffsetOf: Remove constexpr (cannot be used because of reinterpret_cast)
Former-commit-id: 78142eb9033a1969f20055b2cecf1bc78152e896
2015-06-17 23:32:48 +02:00
Lynix b7c5283c4e Graphics/Sprite: Fix compilation in debug
Former-commit-id: 233f8ebe775e268b72808ecd0770956651e717f6
2015-06-17 14:32:18 +02:00
Lynix ebbaaf7ff2 Graphics: Add depth render technique/queue
Former-commit-id: 711306ee5f84a9579068ce23240dc105cec15cde
2015-06-17 14:32:05 +02:00
Lynix 52972b0514 Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Former-commit-id: d58c9f21d0de14e06321ed38b237b9fffcc0b2b8
2015-06-16 23:04:20 +02:00
Lynix 54b0339025 Graphics/TextSprite: Inlined some methods
Former-commit-id: 8c6633867e25b86b5b641662c804c446478fe56c
2015-06-16 22:54:29 +02:00
Lynix 8ade9fa65e Graphics/Sprite: Update to InstancedRenderable
Former-commit-id: 8153acbca05bf6afb4a4ed6cd0a323f641919b6d
2015-06-16 22:54:01 +02:00
Lynix 974df4288f First shadow mapping commit
Former-commit-id: 7465a7c3297626f8db8c1ff48a20c0e0d9feb765
2015-06-16 14:21:20 +02:00
Lynix c879bd1656 Graphics/Renderable: Fix warning
Former-commit-id: 8732717db7a067ccb286daf5771520c30017acc6
2015-06-16 12:25:32 +02:00
Lynix 6d953d9e93 Graphics: Separate Renderable and make Light a Renderable (LightComponent)
Former-commit-id: 6177d473f27ef493ba77417fc14461cb08b6f9e1
2015-06-16 00:31:04 +02:00
Lynix c74de36e77 Core/Color: Fix warning
Former-commit-id: 518409a0b6dabd068c13873e7ac4e4be950a8480
2015-06-15 13:42:28 +02:00
Lynix f4c3ec51ed Final VS fixes
Former-commit-id: 6da44f94127f61de39710a52b8b3b73ce19c1269
2015-06-14 16:18:37 +02:00
Lynix 4cc8b53041 Graphics/DeferredRenderPass: Delete copy
This fixes compilation under VS


Former-commit-id: ccc7e647d0d06567953abb04b3fed73ca026bd0a
2015-06-13 22:32:22 +02:00
Lynix 1fc17c8b53 Separate NAZARA_API into multiple defines (one per module)
To fix inter-module dependency


Former-commit-id: 64704f020e0af22e529d38527323ba977187d4d0
2015-06-13 22:31:29 +02:00
Lynix 251e21f006 More VS fixes
Former-commit-id: 356effb816b9527ff9e89ee3b99074c468455b08
2015-06-13 19:42:07 +02:00
Lynix 009d860d6c Math/Algorithm: Clean code
Former-commit-id: 5133320f4cf04e78d3cf7d66dbbe6f87f44b4bdc
2015-06-13 17:34:06 +02:00
Lynix b1081c63e5 More VS fixes
Former-commit-id: 7b613049d581c62ccefd3b63938e51571a04fa8f
2015-06-13 17:23:45 +02:00
Lynix 504eb96b93 Fix compilation under VS2015
Former-commit-id: fb7b3f377e34ea0c44a7fc65efbdb059581d772b
2015-06-13 17:14:19 +02:00
Lynix 1a92fe331c Rename and move loaders, expose parsers
Former-commit-id: 932ae2aab020f956d3fdb91107f6842ff292aa08
2015-06-13 17:13:55 +02:00
Lynix d9c31636b9 Graphics/RenderTechnique: Move viewer to SceneData
Former-commit-id: 6c8b5a00b65649c7a3877a186b51f7240361e801
2015-06-13 16:27:12 +02:00
Lynix 310dcf40b1 Utility/Image: Clean memory managing
Former-commit-id: 15312493a66ea26266029a45cc3aa22cc83386eb
2015-06-13 00:45:21 +02:00
Lynix 8c345964ef Graphics/TextSprite: Add scale
Former-commit-id: 54bb42e83060730e8bd4784b1e24b479d21157f7
2015-06-12 00:45:52 +02:00
Lynix 2391d76332 Graphics/ForwardRenderTechnique: Fix light uniforms
Former-commit-id: b3f0ae5cab39ea5a698800985843a818280d18be
2015-06-12 00:23:46 +02:00
Lynix f60f8fa6a4 Core/Color: Fix warning
Former-commit-id: 7c91c17d9d9c1133e206154320032d554a15c26b
2015-06-12 00:18:24 +02:00
Lynix 3b5551ed7a Graphics/TextSprite: Update to Renderable
Still WIP as it appears to randomly crash


Former-commit-id: 2397ba7e556f7ed72b5fc8752704c3b212fa9fc1
2015-06-11 14:14:57 +02:00
Lynix 48a54dfa5c Graphics/Renderable: Add InstanceData
Former-commit-id: f30f011ae91a445d5b22f33150a88bbda218950c
2015-06-11 14:14:11 +02:00
Lynix 6f2f8d6390 Graphics: Make Background/RenderTechnique independent from Scene
Former-commit-id: d588a3bb74b08d79990a278ad2e399e9797755b4
2015-06-09 00:26:13 +02:00
Lynix e97cc666a1 Core/Signal: Update comments
Former-commit-id: 3e802e6ae0b05c67cb7562567f733fd762e97eed
2015-06-08 01:00:25 +02:00
Lynix 5ce3c5a0cb Core/Signal: Fix disconnection while iterating
This is no longer an issue, you can now disconnect every signal as you
wish even while the iteration


Former-commit-id: 5caadaa860c62ce09f02f7555aa7c6adebc74fb9
2015-06-08 00:28:51 +02:00
Lynix ec9876011f Utility/Node: Fix comments
Former-commit-id: e74fe05d6c443adb9921aeacdc1b8291989a5dcb
2015-06-07 20:53:22 +02:00
Lynix a069b105e6 Fully replace listener system by signals
Former-commit-id: 032dfddd12cc3a792c71426148c758ffac3621f9
2015-06-07 20:42:41 +02:00
Lynix 0f4cf3c910 Graphics/RenderTechnique: Add uniform invalidation
Former-commit-id: 8f03073408a03854533d9911eb1a0605ebbb8767
2015-06-07 18:25:35 +02:00
Lynix 358fab7115 Core/Signal: Add const-variant of member functions Connect overload
I do speak english very wheel


Former-commit-id: 4d688897a65ff6fcf793af8d10219bac9b28424a
2015-06-07 18:25:04 +02:00
Lynix 65c4409f9c Graphics/DeferredRenderQueue: Replace listener by signals
Former-commit-id: b874409b523a1bfd6d9dd0d74c0f28189411bcca
2015-06-07 18:09:37 +02:00
Lynix c0c6179acc Graphics/ForwardRenderQueue: Replace listeners by signals
Former-commit-id: 3429e69cc4334ba602d8ccfb1fc725af85d42f7f
2015-06-07 17:59:09 +02:00
Lynix 4e5cdea454 Core/Signals: Remove Connect/Disconnect macros
And make interface easier to use


Former-commit-id: 5b789c9acb694839cb173ae96392650d80d383b7
2015-06-07 17:28:19 +02:00
Lynix 004b53c590 Renderer/Renderer: Replace listeners by signals
Former-commit-id: c1293f7f7cc31c4122ba866fc44d93188917ad93
2015-06-07 16:52:19 +02:00
Lynix 022f082363 Utility/Font: Replace Listener system by Signals
Former-commit-id: 0391c506c039c7aeb7acf4a01faa8a979be16749
2015-06-07 16:08:14 +02:00
Lynix 3aa6fb9efd Math/Algorithm: Fix Visual Studio error
Former-commit-id: c426979b55e11db423f08a713cb41c7407886d02
2015-06-07 15:19:37 +02:00
Lynix fe25249136 Replace Listenable system by signals
Former-commit-id: 16fb0b3e703ca4b41ceb97fab938cebb05f677d4
2015-06-07 15:16:11 +02:00
Lynix 261dffd931 Core/Signal: Make operator() const
Former-commit-id: 623f4908ca5e71d02365aea0b717d684a822ea5b
2015-06-07 03:36:41 +02:00
Lynix 303cdbb0cb Core/Signal: No longer return rvalue
Former-commit-id: 96ff0eb63fa0e22952783119be6b739a59cb422a
2015-06-07 03:35:54 +02:00
Lynix 991c1af1ca Core/Signal: Add default constructor and operators to ConnectionGuard
Former-commit-id: 0080c6bf19cab972945bf978c3d5461ee4228fce
2015-06-07 01:44:16 +02:00
Lynix 0b14711cbf Core/Signal: Add Connectionguard::GetConnection()
Former-commit-id: 78d0f6e72f15933fb4356d304a5a48ea3c163fbe
2015-06-07 01:31:57 +02:00
Lynix d43126eae5 Core/Signal: Fix incorrect forwarding
Former-commit-id: 4d437e98e89dcc52f44259371e18589a72fdbd27
2015-06-07 01:31:37 +02:00
Lynix 1a0057313c Core/Signal: Optimize
Former-commit-id: 36fee5057acabf1b6bb8ef93ad6741206e10121b
2015-06-07 01:08:08 +02:00
Lynix 32e55c2e72 Core/Signal: Add Connection object and Disconnection
Former-commit-id: 19cda39e3e9fbc5e26c716c413bafe41deecf7ce
2015-06-07 00:51:43 +02:00
Lynix f8682d227b More Cppcheck fixes
Former-commit-id: 62ab1caa04543da1a169812bb92a450d44f3aec1
2015-06-07 00:21:53 +02:00
Lynix d1258c2a6d Core/Signal: Add move Connect method
Former-commit-id: 1874faf23299ebac3e433195faa03c9eb6bd9ed4
2015-06-05 14:45:11 +02:00
Lynix ea3e15d5d3 Core/Signal: Add Connect helpers
Former-commit-id: aae537bdc764b66735356a1d335be4b468eb9f77
2015-06-05 14:12:36 +02:00
Lynix b9ced78772 Graphics/RenderTechnique: Remove Clear method
Let's face it, this method was useless from the beginning.


Former-commit-id: c38f57785c900acf66560ad07aa29498312c6063
2015-06-05 13:38:22 +02:00
Lynix 0f27930467 Core/Signal: Add Signals (WIP)
Former-commit-id: eee55aa563f29c5604437f3c1a2b172af1a6410d
2015-06-04 15:20:16 +02:00
Lynix 8c6806eacb Graphics: Update Light and Model to new interface
Former-commit-id: 5643f20261524f93a5d080404de5ab0b29151acb
2015-06-04 00:18:43 +02:00
Lynix 349b322834 Graphics/RenderQueue: Default argument for Clear method
Former-commit-id: b45e5b8819670e3d88a7d737e957e2207fc3200e
2015-06-03 22:39:13 +02:00
Lynix 11e7748d85 Ndk/GraphicsComponent: Update
Former-commit-id: 4f4ca46fb58582abb0c61b7f081b77e9cd95ee0f
2015-06-02 17:21:23 +02:00
Lynix 844062cfd0 Graphics/Renderable: Fix warning
Former-commit-id: 6370969c051e7612b59e303806a6dc650988afc9
2015-06-02 17:19:47 +02:00
Lynix 3db08e0a2c Graphics/Header: Remove LightManager include
Former-commit-id: 0eeae90f0e035ab6f0527d2eccdfa3c54dce9b40
2015-05-31 23:52:22 +02:00
Lynix 0f7948ea4c Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Conflicts:
	include/Nazara/Graphics/SkeletalModel.hpp
	src/Nazara/Graphics/SkeletalModel.cpp

Former-commit-id: 7dba08bc594d501adbc5a81c4ec1a70021eaa5b6
2015-05-31 22:18:09 +02:00
Lynix 4a87481311 Graphics/ForwardShading: Remake light selection
Former-commit-id: f7e761411e88513d1772b55f09ac4bd3a1d065a7
2015-05-31 22:13:49 +02:00
Lynix eba7cfc538 Graphics/Renderable: Fix linking
Former-commit-id: f41d5c79cf48e2f0fc9dd9f04b8a9229eea6cf7c
2015-05-31 22:12:59 +02:00
Lynix 8f8eca1d70 Graphics/SkeletalModel: Update to new code
Former-commit-id: 74b17bf06b3c7c22477ee3a098301e70b093f890
2015-05-31 22:12:46 +02:00
Lynix 962c1f2362 Graphics/SkeletalModel: Begin update to Renderable
Former-commit-id: c05e8a85bf3f0227fe2e75480df12045c8384124
2015-05-28 14:37:40 +02:00
Lynix e332193cd1 Graphics/Model: Default move constructor/operator
Former-commit-id: 0bf6787057d807dfaf4e27c965ea0d654c369b85
2015-05-28 13:49:25 +02:00
Lynix 367ec18217 Graphics/Light: Change the way lights are queued
Former-commit-id: 18cf919c3b221425624a4db15c59699abfba6fc7
2015-05-27 00:15:12 +02:00
Lynix a92a58301a Graphics/Light: Add cache infos (cosines, tangent) + inline
Former-commit-id: 36e6fb9c2d09597480302da30d3097ec54582fe8
2015-05-26 23:45:40 +02:00
Lynix 68d6f62cd4 Graphics/AbstractRenderQueue: Made members public
Former-commit-id: 61f69dda42b5d091a94d65b9f7f04ff1ce1ce59e
2015-05-26 23:39:42 +02:00
Lynix 2bba1be938 Math: Add M_SQRT3 constant, fix sphere radius calculations
Former-commit-id: 71ac4d3522f427fda60a0e71d76eca7558539187
2015-05-26 23:39:01 +02:00
Lynix b0f418c481 Math/Matrix4: Add GetSquaredScale() method
Former-commit-id: c1ce74560b735dbcd5a4c377a7577a9d2c1bae09
2015-05-26 23:38:06 +02:00
Lynix 6f06383ab0 Graphics/Light: Update to Renderable
Former-commit-id: 6766d036eb4c79fd0d5cdb718b06d6e4812ac660
2015-05-26 14:16:15 +02:00
Lynix e1a25a8885 Graphics/Model: Update to Renderable
(Note: this branch doesn't compile right now, this is normal)


Former-commit-id: 8c7e823122744394dda31db9acbfe2823c6f29e2
2015-05-26 14:16:05 +02:00
Lynix f181d0f2df Graphics/Renderable: Provide Cull default implementation
Former-commit-id: 7584b42b8737a426818af836628f8e7e1e34eb46
2015-05-26 14:13:57 +02:00
Lynix be335c3e81 Graphics/Renderable: Fix copy constructor/operator
Former-commit-id: eb376d49285cefa1f0317719a47e41f62a11aae5
2015-05-26 14:13:24 +02:00
Lynix b075d05d82 Graphics/RenderQueue: Replace AddLight method by variations
Former-commit-id: 79ad49d60bd8d397aa606cded7c0dd2d20a078dc
2015-05-26 14:12:41 +02:00
Lynix 3f501ec06f Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: 9ef456440ba27fbc09a8e61ae2f1003735c4da77
2015-05-26 00:08:45 +02:00
Lynix 3ee981867e Graphics: Add Renderable class
WIP


Former-commit-id: b9ea2a443cf2e5f8b90360e1f47466b0c3ce69fa
2015-05-26 00:08:24 +02:00
Lynix 41afb3a3a1 Math/OrientedBox: Add Update(Vector3) overload
Former-commit-id: 3d9e75d78d1242b4ee75500c2b9ef4e38b2a7453
2015-05-26 00:07:48 +02:00
Lynix 656290d089 Core/Bitset: Add comparison operators
Former-commit-id: 7ca04f36fa001f322182c5e9457127f05432d373
2015-05-19 14:31:04 +02:00
Lynix 90e4a1ca52 Core/HardwareInfo: Added GetTotalMemory
Former-commit-id: 71289723115161dd253ccb65c1c91af65344c678
2015-05-19 14:13:48 +02:00
Youri Hubaut 2cb669a558 TaskSchedulerImpl for POSIX and compilation fixes
Former-commit-id: a402d40ac90cacf444b5832c49cfbdaf61f7f747
2015-05-16 13:10:54 +02:00
Lynix 446f537e3f Merge branch 'master' into NDK
Conflicts:
	src/Nazara/Physics/Geom.cpp

Former-commit-id: 8fd71e34dbe105890042acc55e30b64e7c457ed4
2015-05-06 23:45:41 +02:00
Lynix 55b94f2bbf Math/Matrix: Removed deprecated comment
Former-commit-id: f29b0b453b1313e991f783e8e3be183faa29d8bd
2015-05-06 23:33:07 +02:00
Lynix 44ff678002 Core: Added Listenable class (Made class Listener system generic)
Former-commit-id: 3baed32d6720c6455f50af51f262292ece9943fa
2015-05-06 18:17:18 +02:00
Lynix fa2a269e5a Utility/Node: Added listeners
Former-commit-id: aeddcbc5c61b7b51333ed704065fe6a18f17b2dc
2015-05-06 13:48:42 +02:00
Lynix e84bd4ed3d Core: Fixed warning
Former-commit-id: df4f09185f6ee273e34c671c62731cd938848354
2015-05-04 13:52:49 +02:00
Lynix 385b7fc3fd Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: 6e7a2cff46d6e077a3ee4434dd9f1a4a7fd00bb5
2015-05-04 11:02:08 +02:00
Lynix 8b5deffe35 Core/Bitset: Fixed Test methods being not const
Former-commit-id: 440c03a78b4dcf8ec1566c1db30989c0145b5a78
2015-05-03 19:54:35 +02:00
Lynix 1e30f0c757 Physics/PhysObject: Fixed class being not copyable
Former-commit-id: 34f2787e06a0158a802e8ceacaf2c1946850195f
2015-05-02 09:56:52 +02:00
Lynix 17e5ae1875 Utility/IndexMapper: Fixed missing include
Former-commit-id: 3131de5096bfaef56d3e34082029a96c16544155
2015-04-23 15:09:43 +02:00
Lynix 22f8c1b0a3 Physics/PhysObject: Added Set(Angular)Velocity methods
Former-commit-id: cd506b93ad3be1f2c5972b784bef53e02a9211ef
2015-04-23 14:22:58 +02:00
Lynix 06b2651264 Physics/Geom: Geoms no longer need a pointer to PhysWorld
Former-commit-id: 7f9372e3ec13525208b49bc3fd07787657f64acb
2015-04-20 01:34:17 +02:00
Lynix 1c7c1de3e7 Physics/PhysObject: Fixed Copy/Move operator
Former-commit-id: 58377ee8d41ef39ade38fcbf03355af5e7d7db58
2015-04-20 01:28:18 +02:00
Lynix 61c6baeabe Physics/PhysObject: Added Copy/Move constructor/operator
Former-commit-id: 3cec9759476de4eb1adb470d436aa40698357c50
2015-04-19 23:20:13 +02:00
Lynix f7d6107ec7 Physics/Geom: CompoundGeom can now include other CompounedGeom pieces
Former-commit-id: 8e421be85985bfb86ee7f6fd24569e36afdb34b4
2015-04-19 18:11:04 +02:00
Lynix 1642536a0e Physics/Geom: Improved Geom class
Renamed BaseGeom to PhysGeom, made it a reference-counted class


Former-commit-id: 5b3a2921addb537c2744346edc9c74eafb3260b0
2015-04-19 18:01:45 +02:00
Lynix ea9928401b Fixed global header
Former-commit-id: 2172e7bcc2d4fe7f4f50e18efe7cacfdbee45d53
2015-04-14 13:46:56 +02:00
Lynix 697e6714db (Bitset) Fixed PerformsAND not working right with empty bitsets
Former-commit-id: f4b70a9d1177c97f7dc376b6cc1d209520e2b19b
2015-04-13 00:13:44 +02:00
Lynix 0404927663 Fixed some files encoding
Former-commit-id: 78d0389774a67043d5e59e66b77ff4a1760dd1f4
2015-04-07 17:42:36 +02:00
Lynix 51942c1eb9 (GuillotineBinPack) Improved readability
Former-commit-id: a65647370d30dfe110ba38c65afc850328f84b01
2015-04-07 17:42:00 +02:00
Lynix aedf416949 (Initializer) Added explicit (un)initialisation
Former-commit-id: 198287ca1cc4e8a53531263a90bcffbcab1ef2b2
2015-04-07 17:23:18 +02:00
Lynix fca2dad9d3 (SimpleTextDrawer) Fixed some methods visibility
Former-commit-id: 39bad2d5e64f7132f5cd4d4a949d6d3fbb5b98e1
2015-04-01 20:14:03 +02:00
Lynix 40321cf9b1 (RenderTexture) Fixed size computation
Former-commit-id: 67f6408f0fe88af5066f9eb2c29f2426673db7cd
2015-03-28 14:54:52 +01:00
Lynix 23cefe1fbe (LuaInstance) Fixed Call() not resetting time limiter clock
Former-commit-id: 0d397fc21682f85114dc892eaea98a8f54969cde
2015-03-28 14:45:21 +01:00
Lynix bcefe9462d (LuaInstance) Added Lua 5.3 operators
Former-commit-id: 17d1c8e325a1ee5441dac1f8d86d0a01dc5d8270
2015-03-24 13:12:35 +01:00
Lynix 88c3b9d482 Added LuaInstance::Call
Former-commit-id: 3bbf04804868ab46dfcf1f9c30ad4de621c880b8
2015-03-24 12:50:04 +01:00
Lynix 36b39ec868 Alphabetical commit
Former-commit-id: 4f1e73bd1228fefefd7f788adcd3ccb396d0b141
2015-03-19 18:17:52 +01:00
Lynix 5345e615a1 (SimpleTextDrawer) Added GetText method
Former-commit-id: e4a6b7d915f05fdaef840e3a8320c2180415631f
2015-03-19 18:17:44 +01:00
Lynix 3fd217b8a3 Merge branch 'master' into NDK
Former-commit-id: 7f2646da9f2e2c29157e645afbcfcf974f0e0709
2015-03-19 13:13:20 +01:00
Lynix 0363a1a8fa (Box|Rect) Fixed Contains method excluding edge vectors
Former-commit-id: f3281ad9f7af268fceccfdb9d4f67ac0ac76b445
2015-03-19 12:49:08 +01:00
Lynix efa75ba349 Regenerated global headers
Former-commit-id: 3ae4fdfb08fb747665fd58a6f1bf8811e50dc81a
2015-03-18 22:24:47 +01:00
Lynix 5ecddb20c6 Remade RenderWindow::CopyToImage
Former-commit-id: a903cc8ea67d13ff7cf231d075235c3c17593a60
2015-03-18 22:24:07 +01:00
Lynix 4862767b69 Regenerated global headers
Former-commit-id: c7404ba638878c722d791102ca017dff906a2446
2015-03-18 20:52:11 +01:00
Lynix 5c3720feb1 Merge branch 'master' into NDK
Former-commit-id: f118c029ca94296495957816f910d412ae8a56f2
2015-03-18 20:44:52 +01:00
Lynix e873d40ccc (View) Added Map[Pixel|World]To[World|Pixel] method
Former-commit-id: 39295c71d040d472117cb30c266169476f563e9d
2015-03-18 20:31:39 +01:00
Lynix d28154ab76 Added comments
Former-commit-id: e9297b7c0a4b85b2369abcba444d4cf89e04b95d
2015-03-18 13:03:53 +01:00
Lynix 99e0912163 (Bitset) Simplified Resize code
Removed old code


Former-commit-id: e82ec5e69ba9e4d91b7c65a5132b91fe3a60fd7e
2015-03-17 12:26:51 +01:00
Lynix 4c0c47240c (Bitset) Consistency
Former-commit-id: 4974483833cad392e105d2fc2dfc4d9f8d7310d3
2015-03-17 12:26:29 +01:00
Lynix b742f93643 (Bitset) Fixed last commit
Former-commit-id: 11dcae81e30db925d583112dfab0f0eb5f61f1a0
2015-03-16 21:54:26 +01:00
Lynix 70f9bb3aec (Bitset) Fixed Find* methods not handling empty bitsets
Former-commit-id: 48b9c83c0b786fffae18d5b5fff7bbbe89056c99
2015-03-16 21:44:30 +01:00
Lynix 2ca9989bfe (Bitset) Fixed missing implementation of Reset(bit)
Former-commit-id: a2b0c6e29b87303bdd624f2440e528cb832a8999
2015-03-16 19:21:36 +01:00
Lynix 860712b09f (Bitset) Added Unbounded methods
Former-commit-id: 898eecf4aa8ecf7c9ec85fc8c46c17a6c3badc34
2015-03-16 19:21:28 +01:00
Lynix 6b799b1887 (Bitset) Fixed missing include
Former-commit-id: 6f1a0df5d0bc69072489ccd3ce70455de4130c75
2015-03-16 18:02:25 +01:00
Lynix 458cdd7cab (Bitset) Added equality operator
Former-commit-id: b5145a1a0ad8031001927c29c49e0f1faae2d7af
2015-03-16 18:02:17 +01:00
Lynix 17961f42fd Added Bitset class
It's like std::bitset with a dynamic size


Former-commit-id: 704352d954c88e9cf829b41448d7761f89f59786
2015-03-16 17:23:55 +01:00
Lynix 2bde611d33 (Math) Added CountBits function
Former-commit-id: 11e825a95a7bda300e46eb321f0fdb51bea93343
2015-03-16 15:16:05 +01:00
Lynix 458fba2180 (Math) Improved code and added comments
Former-commit-id: 3cf198715ac83e3d85d572d4ed0a3c6988074d0d
2015-03-16 14:54:07 +01:00
Lynix 3e214678c3 (Math) Added IntegralLog2(Pot) functions
Former-commit-id: 2def88ebf1e0ec2c908b2da4df60ff9e8075f8f1
2015-03-16 13:53:48 +01:00
Lynix dd56dd6e29 (MemoryPool) Added some DOC comments
Former-commit-id: 5ddd0414541e59623956716739bf19827ce68049
2015-03-01 00:08:34 +01:00
Lynix e55574cb8b (MemoryPool) Added methods to construct/destruct object
Former-commit-id: cd58a108ff201be6e242701eb762e0151695f6e3
2015-03-01 00:02:41 +01:00
Lynix 655be2864f Fixed variadic arguments not being moved
Former-commit-id: 1130a384e982a792d04dc9490a12797cb73bc349
2015-02-28 23:59:26 +01:00
Lynix adb268fec8 (MemoryPool) Removed template and added movement
Former-commit-id: 0a6c890f9ebc84c3c8139c244b5232467cf06bf0
2015-02-28 23:33:40 +01:00
Lynix c3864a1acb Fixed HashCombine function under 32bits compilation
Former-commit-id: 2224a17279f057a922b67cb91b03823d033c51ec
2015-02-25 17:40:07 +01:00
Lynix 96a5bc950c Added HashCombine function
Former-commit-id: 852deae33143138f2841e226690bfef94d3ba2b9
2015-02-24 20:00:13 +01:00
Lynix cadeae5e21 Moved UnpackTuple to an algorithm header
Former-commit-id: 9abfd6edd40481c26cd07d070eb56fa6d0e6826a
2015-02-24 19:57:00 +01:00
Lynix c9db44f85c Added more 64bits defines
Former-commit-id: b1d8b3f75255b29ab6853512accf8a99c04f6a4e
2015-02-24 17:28:30 +01:00
Lynix a67d66bbd8 (HardwareInfo) Added Cpuid to the public interface
Also improved the code


Former-commit-id: 07025657e01ff21a3581204ce74e180c3a5e7737
2015-02-24 17:28:02 +01:00
Lynix ee6ca790a5 Fixed missing includes and warnings under VS
Former-commit-id: c06756b62b616e7322aced01062966247bb7654f
2015-02-21 15:04:07 +01:00
Lynix ca88c5bae4 Optimized NumberToString algorithm
Fixed useless allocation made by String::Reversed


Former-commit-id: c41c1d5fea3ebb55978fd63284d25c2ad3971ac1
2015-02-18 21:03:36 +01:00
Lynix 2b6dcb4e2b (Material) Set*Map methods now take an object reference...
...instead of a naked pointer.
Also renamed some parameters to make them more explicit.


Former-commit-id: 3b962ba178ffc94d630fb11e005e9992cf93005d
2015-02-18 21:03:17 +01:00
Lynix af94573f5f (RefCounted) Removed useless declaration
Former-commit-id: 0e8d1784f26a3e832ea6509065923613673806c2
2015-02-18 21:02:42 +01:00
Lynix 0a9bf851fd (sndfile loader) Removed useless allocation when mixing to mono
Former-commit-id: 22a4032bd2edffe51b9d9d823d7a2155a7b9fef5
2015-02-08 14:35:27 +01:00
Lynix 596ed1fff3 Removed useless forward declaration
Former-commit-id: 150097df4b34d2a34ff77240e7de4fc0cdb4e99d
2015-02-06 13:58:13 +01:00
Lynix 68b0acea65 Replaced header ostream include by iosfwd
Former-commit-id: 305b1b5bfed4c97fad7517ef379e6c0e57f88927
2015-02-05 23:34:12 +01:00
Lynix 774e44333a Upgraded Lua to 5.3.0
Former-commit-id: 1f5ac994e0bc7ec6467dff7ce02c199cf192b2e2
2015-02-04 22:53:20 +01:00
Lynix 4c659a6442 Fixed potential name conflict with user's code
Former-commit-id: ca4e2ec3973d45832fc6a6535750b2639f65fe23
2015-02-04 21:59:45 +01:00
Lynix 25dc252666 (String) Remade GetXBuffer, now called GetXString
And returns a standard string


Former-commit-id: 516735324a62cb6296e19d3be1960322073e5f3a
2015-02-03 21:16:17 +01:00
Lynix 29b61ec958 (MemoryManager) Added allocation logging
Former-commit-id: 6f7d5ae28b8a4bfecfc2dca5010524a3f2c88aaf
2015-02-03 14:43:58 +01:00
Lynix 622fce6f9c Regenerated global headers (and updated copyright year, again)
Former-commit-id: b5b24f4a3610e1dead2883afaded48bf3554669d
2015-01-30 22:33:41 +01:00
Lynix 2462a6f4bf Removed conditional support of PBOs
Altough the Renderer doesn't support them yet


Former-commit-id: 8417f465c913bea1226fa7d742fe1dc614ecf72b
2015-01-30 15:44:34 +01:00
Lynix db4a499151 Removed support for OpenGL 2
Former-commit-id: e796c333d6c2ef0550ff4427d36dcfbaf00ef924
2015-01-30 15:39:25 +01:00
Lynix 993b2e4145 (ObjectRef) Removed useless assignation
Former-commit-id: 8e7b3c75ba9a50b99dfbb6656f2c8c97db4b27a7
2015-01-29 14:43:19 +01:00
Lynix 8eef78293d Improved ResourceManager code
Former-commit-id: e4e2b9aafdb569d2769a1501f88e307fcbe763a0
2015-01-29 11:46:29 +01:00
Lynix e82eccecfd (ObjectRef) Added static_assert (Improved error message)
Former-commit-id: 11217f66e37fd6552d811298f7dacce940f894a3
2015-01-29 11:46:11 +01:00
Lynix 7a73314ef5 Added resource managers
Former-commit-id: 9c071230c1e325ec672c9dfe30ee7e498baa1d08
2015-01-28 20:53:40 +01:00
Lynix 6324d21c67 Made ResourceLoader types private
Former-commit-id: 018c224274088c6471d4fdc6d9393782e2352810
2015-01-28 20:39:19 +01:00
Lynix 22e5230c32 (ObjectLibrary) Added Query static method
Former-commit-id: 802dcc589dd2c552a332490153b6761341c0a698
2015-01-28 20:38:54 +01:00
Lynix 53162c1722 Added a Library to most reference-counted classes
Former-commit-id: 3ed409a71dcd5ce4eec7672ac26f8fff00e3b136
2015-01-28 18:06:05 +01:00
Lynix e18e490c59 Replaced (Uber)ShaderLibrary by template class ObjectLibrary
Former-commit-id: d488cfd4e5e3ff31112fffebce2b7cdb86cc2e55
2015-01-28 15:49:04 +01:00
Lynix c2d1773b41 (ObjectRef) Added implicit conversion constructor/operator
Former-commit-id: c633956130731e84c6d15d09961cd80c8d24877a
2015-01-28 15:46:14 +01:00
Lynix 9195e162a8 (Material) Removed outdated Move declaration
Former-commit-id: 7bfacdc630203af6b231184dbde4af31bd46fab5
2015-01-28 13:53:39 +01:00
Lynix b088736e08 Removed ResourceLoader constructor/destructor
Former-commit-id: 31180fbeb4ce6be2e2811b91e7ae6814af0beccf
2015-01-28 11:37:34 +01:00
Lynix 35a37f8507 Updated ComputeAAB and TransformVertices functions
They now take sparse pointers instead of template type


Former-commit-id: 92a3de59b6a321136b8bad324048239f83381534
2015-01-26 17:44:32 +01:00
Lynix 025fdf6846 Renamed ComputeVerticesAABB function to ComputeAABB
Former-commit-id: 5e8381f8d09f583f6ef9b2919b082f3418644bce
2015-01-26 17:20:27 +01:00
Lynix 8f101812c3 Updated Generate* functions
They take now multiples SparsePtr (as VertexPointers struct) instead of
a MeshVertex pointer


Former-commit-id: c9393015dfd426ee4a28d71bfdd9851c92d072b7
2015-01-26 17:17:16 +01:00
Lynix 5e3fdbca89 (VertexMapper) Updated interface
Added access parameter
Removed useless GetVertexCount method


Former-commit-id: 670d16ed9668eb5df476a592929ed9c364b1f11a
2015-01-26 17:11:00 +01:00
Lynix ab538e0e2d Fixed comment
Former-commit-id: e15fa14a9f6c14d0660a5ec702ca6b8a2288dc83
2015-01-26 16:14:03 +01:00
Lynix 8fad28bccd Fixed SparsePtr::operator->
Former-commit-id: 29be487addb68b8621d5205c779d4a47aceeb27b
2015-01-26 16:13:44 +01:00
Lynix eed90cb683 (SceneNode) Added Remove() method
Former-commit-id: 191834826b1c6651dab62c77aabb072ba59a301b
2015-01-25 23:53:00 +01:00
Lynix 0db92e671d Added a static New method to RefCounted-derived classes
Former-commit-id: efd9e68e050fb6cc7e0df7a7c222ca759c502dc5
2015-01-25 23:41:09 +01:00
Lynix 5f5be93992 Merge remote-tracking branch 'origin/master' into Resource-Update
Conflicts:
	include/Nazara/Audio/Music.hpp
	include/Nazara/Audio/SoundBuffer.hpp
	include/Nazara/Core/Resource.hpp
	include/Nazara/Core/ResourceListener.hpp
	include/Nazara/Graphics/Material.hpp
	include/Nazara/Renderer/Context.hpp
	include/Nazara/Renderer/RenderBuffer.hpp
	include/Nazara/Renderer/Shader.hpp
	include/Nazara/Renderer/Texture.hpp
	include/Nazara/Renderer/UberShader.hpp
	include/Nazara/Utility/Animation.hpp
	include/Nazara/Utility/Buffer.hpp
	include/Nazara/Utility/Image.hpp
	include/Nazara/Utility/IndexBuffer.hpp
	include/Nazara/Utility/Mesh.hpp
	include/Nazara/Utility/SkeletalMesh.hpp
	include/Nazara/Utility/Skeleton.hpp
	include/Nazara/Utility/StaticMesh.hpp
	include/Nazara/Utility/SubMesh.hpp
	include/Nazara/Utility/VertexBuffer.hpp
	include/Nazara/Utility/VertexDeclaration.hpp
	src/Nazara/Core/Resource.cpp
	src/Nazara/Core/ResourceListener.cpp
	src/Nazara/Graphics/DeferredRenderQueue.cpp
	src/Nazara/Graphics/ForwardRenderQueue.cpp
	src/Nazara/Graphics/SkinningManager.cpp
	src/Nazara/Renderer/RenderTexture.cpp
	src/Nazara/Renderer/Renderer.cpp
	src/Nazara/Utility/Mesh.cpp

Former-commit-id: 99b5ad26a19fe9c9f8118da7b5920bffe89f60f8
2015-01-25 19:29:55 +01:00
Lynix a185f03abc Merge remote-tracking branch 'origin/Scene-Update'
Former-commit-id: 4185e7a826476d3d5b4275b3900fe695bd791f3a
2015-01-25 16:35:18 +01:00
Lynix 4a2f386c80 (Drawable) Made destructor virtual
Former-commit-id: ab35592cf015a3056de5d533b29d3c469cb29d29
2015-01-25 16:34:34 +01:00
Lynix bc6dd44009 Made SceneNode name change reflect on the Scene
Former-commit-id: b924b0b9d103e4fce6ab2faf952b9153d49cce06
2015-01-25 16:34:19 +01:00
Lynix 6d8b266b4c (Scene) Added FindNode(As) and RemoveNode methods
Former-commit-id: 35b0d6a61e99383fffa8048b3c0f6a48b8f0f66c
2015-01-24 22:00:55 +01:00
Lynix 9ebd023848 (SkeletalModel) Added virtual constructor implementation
Former-commit-id: 4a7f356e14f629a728a77f94db7e26c6c4af3b72
2015-01-24 16:42:49 +01:00
Lynix cdff689403 (Ray) Fixed Intersect(Plane, T) method
Former-commit-id: 5acfae80d778087a2e2b423d34da8a218a802cd4
2015-01-24 16:18:06 +01:00
Lynix 0e48f052e5 Fixed GetNearestPowerOfTwo function
Returning the next POT even if the number was a POT itself


Former-commit-id: 812f35d13a99985ca5c12517cd84de22292e52c7
2015-01-24 14:34:36 +01:00
Lynix 090263d847 Moved name attribute from Node to SceneNode
Former-commit-id: 6f920af67cd6c339d132a67b364742fdf172d5e9
2015-01-24 14:13:11 +01:00
Lynix e46cb43ef5 Removed useless code
Former-commit-id: 8e65848eed8c3ceb829a7c556f4686676ea946f4
2015-01-24 12:03:24 +01:00
Lynix 0a7711d85b (Scene) Added CreateNode and Clear methods
Former-commit-id: de92f4a4be45e5cbd1d2d83191300e0b46764f0e
2015-01-23 22:35:41 +01:00
Lynix cf12552358 (SceneNode) Added virtual constructor idiom
(Light) Added default constructor


Former-commit-id: 591e6a8435d2cea6238e70c0058d381b8d547f3e
2015-01-23 21:04:29 +01:00
Lynix d1f1906f37 Fixed comment
Former-commit-id: a587575ad7e7c651eaf9c5cb9483a002615e4d4a
2015-01-23 20:21:19 +01:00
Lynix 01a1badac7 Removed useless std::function from rendering code
Former-commit-id: eaba729d5047d326fb2e746cec0621bfcf2eb1c5
2015-01-23 20:21:00 +01:00
Lynix f6df10dacf Removed unused file
Former-commit-id: 374fc27dca13c38dfa94928841cefb031e7b32ed
2015-01-23 20:07:24 +01:00
Lynix 1f043b61df (Scene) Removed useless Pimpl idiom
Former-commit-id: ffbca2a6b6e16792f58e77195a08911368f64f57
2015-01-23 14:35:26 +01:00
Lynix c5ec2af361 (Scene) Added RenderFrame method
Former-commit-id: ba02b2f0d65858fdabdedf5f0a9f7f9b1baa7268
2015-01-23 00:02:33 +01:00
Lynix a39988ac46 Removed unused file
Former-commit-id: 42b523c8da74800166935602755e554f26d7fa40
2015-01-22 23:46:55 +01:00
Lynix ea8d683624 Updated copyright year
(532 files, wow)


Former-commit-id: cbb31f1124a86720bd3a54fe589a0f849a87b434
2015-01-21 20:53:01 +01:00
Gawaboumga 3933b07094 Suppression of warnings
OffsetOf: use of static_cast
Updatable: API and virtual destructor
Drawable: virtual destructor
Vector: std::abs should be "the" abs.
AbstractClass: API
+Updatable: Like for others abstracts
Buffer: nullptr for pointer to function.
Image: wasn't returning a vector.

Former-commit-id: 57e0009286a02b9e3b0b81945e500d7d9e466ae2
2015-01-21 13:51:49 +01:00
Lynix 8a3c410d60 Made bounding volume handing part of SceneNodes
Former-commit-id: d09d06ac4515ce09aa16fd92dd045c2a06730a99
2015-01-20 20:35:16 +01:00
Lynix bce3cadfd5 (ParticleEmitter) Added lag compensation
Former-commit-id: 914a976ba52b2629190ded068cc23e1cf7dee4d4
2015-01-20 17:48:11 +01:00
Lynix bbfbec1aa3 (ParticleSystem) Moved controllers update to a function
Former-commit-id: 47586e675c202d871e3ea3561dc19781bdb264f3
2015-01-20 16:59:50 +01:00
Lynix ac25c4a041 (TextSprite) Renamed SetText method to Update
Former-commit-id: 798baecaaf919c20d43f036f361d10d459270d0b
2015-01-20 15:12:41 +01:00
Lynix 7e9c5e9a06 Improved NomalizeAngle function
Former-commit-id: 79793b0c57a333e6d2d4a41a14f2b7fdc1d1f093
2015-01-20 15:05:37 +01:00
Lynix e2d4ba030c Alphabetical commit
Former-commit-id: bacf8ab447d3022b48aac5f5ca2d337bc1283f8c
2015-01-19 11:57:19 +01:00
Lynix 304b46b17d Merge remote-tracking branch 'origin/Particle-Update'
Former-commit-id: 272203af1d740dc32e9714e00e4f889db6b13350
2015-01-19 02:23:07 +01:00
Lynix ead44173ba Merge remote-tracking branch 'origin/Particle-Update'
Conflicts:
	include/Nazara/Graphics/Enums.hpp
	include/Nazara/Graphics/ForwardRenderQueue.hpp
	include/Nazara/Graphics/ForwardRenderTechnique.hpp
	include/Nazara/Graphics/Sprite.hpp
	src/Nazara/Graphics/DeferredRenderQueue.cpp
	src/Nazara/Graphics/ForwardRenderQueue.cpp
	src/Nazara/Graphics/ForwardRenderTechnique.cpp
	src/Nazara/Graphics/Material.cpp
	src/Nazara/Graphics/Resources/Shaders/Basic/core.frag.h
	src/Nazara/Graphics/Resources/Shaders/Basic/core.vert
	src/Nazara/Graphics/Resources/Shaders/Basic/core.vert.h
	src/Nazara/Graphics/Resources/Shaders/PhongLighting/core.frag
	src/Nazara/Graphics/Resources/Shaders/PhongLighting/core.frag.h
	src/Nazara/Graphics/Resources/Shaders/PhongLighting/core.vert
	src/Nazara/Graphics/Resources/Shaders/PhongLighting/core.vert.h
	src/Nazara/Graphics/Sprite.cpp

Former-commit-id: 73139ce47d7721635d87c74b2ca1183c2f67c090
2015-01-19 02:20:28 +01:00
Lynix c18fc4cb14 Removed ShaderUniform_[EyePosition|SceneAmbient]
Former-commit-id: 89dedaf78d86def598531f472a1a6ecd56fe8371
2015-01-19 00:15:01 +01:00
Lynix 911babc283 Changed meaning of return value from resource events
Returning false from a resource event will remove the listener from the
resource, instead of decrementing it's counter


Former-commit-id: ba47da0e8de5c0adb3d31f29af0ef7835beefd5a
2015-01-19 00:00:54 +01:00
Lynix 8f9ea9db17 Added ResourceListenerWrapper
This class wraps the call to
Resource::AddResourceListener/RemoveResourceListener using RAII and help
a lot with some of the dependencies.
Thanks to this, the render queues now handle their resources listening
properly.

Former-commit-id: 7f215ffa4ccadcc4f44f777656970e92ce01087a
2015-01-18 23:59:01 +01:00
Lynix a6183fae69 Added missing SkeletonRef typedef
Former-commit-id: 7c6671664dcc28e2fc8f2a0beeacb76b80828f4f
2015-01-18 14:30:30 +01:00
Lynix 0b1f10bf72 Alphabetical commit
Former-commit-id: a62b1812e59371e4ca7f1d77bf438859514e0ac7
2015-01-18 12:20:32 +01:00
Lynix 81e38d1431 Fixed comment
Former-commit-id: 02e09bb9eac10da9693c07db00c837784a6edf4e
2015-01-18 12:19:05 +01:00
Lynix e30c447bd5 Added default font
Former-commit-id: 84fc15f2c6d46bcfb55236863611f2fb96961a6d
2015-01-18 10:38:50 +01:00
Lynix c02fe6c8ff Fixed streaming loaders when used with memory streams
Former-commit-id: ce39ee03f40682c00c78b08ac285b9ea36240fa5
2015-01-17 23:42:49 +01:00
Lynix 9f40fe12b1 (SimpleTextDrawer) swapped str and characterCount arguments
Former-commit-id: f009a36533158c37bcf4c996f62967df068a18af
2015-01-17 23:07:21 +01:00
Lynix 9662f4167d Fixed crash on Utility uninitialisation
Former-commit-id: ef9f53674fe21c4d7780e68c62f7981554663a85
2015-01-17 22:55:50 +01:00
Lynix cfe1bcf107 Fixed Font::[Get|Set]Atlas interface
Former-commit-id: 7670317dc2684fc0f9240a1f188e4ba92592a263
2015-01-17 22:48:27 +01:00
Lynix b699d06805 Fixed typo
Former-commit-id: 1482a9580b19f657cccaadbbf4eacc9724d0a1e3
2015-01-17 22:45:25 +01:00
Lynix 7fee649b49 (Font) Added default atlas
Former-commit-id: 876f42110d4053b09abf86c6158b3ba79fdea201
2015-01-17 22:42:33 +01:00
Lynix 77db6f5dd3 Added Font initializer
Former-commit-id: 9d64e5f28508ebfafe7504a9ba47f57a970e77ce
2015-01-17 22:11:29 +01:00
Lynix f1694fd6e9 (Font) Added mutable default values for glyph border and minimum step size
Former-commit-id: 9b69b591afb95fdea9d686ef9b775f965de40d9f
2015-01-17 22:03:04 +01:00
Lynix b787ce94cf (Font) Removed default move-constructor
Former-commit-id: 15ccd22b9333327e761500f7b07f0ef7db8ad857
2015-01-17 21:53:47 +01:00
Lynix 4a4b4e0fda Regenerated global headers
Former-commit-id: 01c6359d8fae9309dfd1003c3c786de57a93692c
2015-01-17 00:39:40 +01:00
Lynix 86502df849 Merge branch 'Font-Update'
Former-commit-id: d293f78c891a74554c6b990afafdc1eb1cc0a584
2015-01-17 00:36:28 +01:00
Lynix a244029e11 Fixed RenderTarget destructor not being virtual
Even though it's pretty useless


Former-commit-id: 9140fc3bc8aeabf041c5cf90ea3efcabc4ed4940
2015-01-17 00:35:20 +01:00
Lynix 18367d26da Added View::SetSize(width, height)
Former-commit-id: 9afd04b62e99702720cb10feae2462eaad33a90b
2015-01-17 00:34:59 +01:00
Lynix 3ed18e70da Added default material to sprites
Former-commit-id: 8a68d3d9b251ff93a793d4e001aed721558a8eef
2015-01-17 00:34:09 +01:00
Lynix a0054def7b Added TextSprites
Former-commit-id: 85bef5ec14336710b2fdc782d3d0d77787ab65dd
2015-01-17 00:16:52 +01:00
Lynix fdb722ef14 Made SceneNodes non-movable
Fixed SceneNodes copy constructor not parenting the right object


Former-commit-id: 21a08e3bb0931af426d97399dab86dda9acdf172
2015-01-17 00:15:01 +01:00
Lynix 6d3228477f Added TextDrawer classes
Former-commit-id: 4c5ace385f1a9b9ceebb774022bbc001b69a3bb4
2015-01-16 23:36:20 +01:00
Lynix 48ecb058f0 (Font) Added notification on atlas layer change
Fixed irrelevant error message when a font destroy an atlas


Former-commit-id: ddbd04e9172f2d35a8e0cf8a37fe48724aeb5c64
2015-01-16 23:34:56 +01:00
Lynix 77347c8582 (Font) Added notification on atlas change
Will only clear glyphes when setting differents parameters


Former-commit-id: b16a289742c0f23fa5066d3c52ce35b4abc626c6
2015-01-16 18:57:09 +01:00
Lynix cd5399459d Made Resource copying/moving impossible
It is still possible to copy some Resource-based classes though


Former-commit-id: bbb6066f736c210015ff9fdfded7d95eb9695359
2015-01-16 16:28:38 +01:00
Lynix ff7cfa226e Improved Atlas class
It now handles layer resize failure and will notify listeners of a
pointer change


Former-commit-id: df5e2a129897128a4e41e0b3205f6a1dbeb2069c
2015-01-16 16:26:15 +01:00
Lynix 5eec0d2abe Improved (Fixed ?) Material Copy/Move
Former-commit-id: 8eb9b716e2b028c6d2e249f9706ad6f5567c95dc
2015-01-16 14:03:06 +01:00
Lynix c2f3ba00f2 Revert "Added ResourceConstListener"
This reverts commit 2492f87ba89bafa180308c60d2470b07e3aac27d [formerly 793b9a8884fb6153d5da152e2cf22659fc7e511b].


Former-commit-id: 05a9dff26921db1e7c1c5b90c0cd50073a839f3c
2015-01-16 13:02:53 +01:00
Lynix 40db7a7292 Fixed AbstractImage destructor not being virtual
Former-commit-id: fd93b711d9b4ffbd370a61d1a7515da71e3d6001
2015-01-16 12:53:23 +01:00
Lynix b5dbe6f03f Added XY_Color VertexLayout
Former-commit-id: 0f53126584b61738b25b1d86cec819d6166ad678
2015-01-16 12:52:10 +01:00
Lynix bdaa4f2838 Renamed TextStyle_None to TextStyle_Regular
Former-commit-id: 3bd44c785f8c6f011bcade1242b051d8662287d2
2015-01-16 12:45:29 +01:00
Lynix 9d83f3f474 (Font) Added spaceAdvance SizeInfo
Former-commit-id: 2767915c2554103615918347c6e742cb324092c5
2015-01-16 12:42:27 +01:00
Lynix 1781e93462 Renamed AbstractFontAtlas to AbstractAtlas
Former-commit-id: 2908a05a7d2d6d44e2e29e96c52cafe962382b71
2015-01-16 12:40:23 +01:00
Lynix e3de7e6f3c Added Atlas listeners
Former-commit-id: a487b6ed53d9b97bfee27b28ba5523e43c1e9e7e
2015-01-16 12:36:13 +01:00
Lynix 1b266e7d7c Allowed font to set glyph border
Former-commit-id: f410fb83ecd0e1ace639e32fd809d00caa4145bc
2015-01-08 14:24:35 +01:00
Lynix a9ef2f7e36 Added support for faux-bold and faux-italic
Former-commit-id: 259429e8d38b0299e30d539253b50e3aab12c76b
2015-01-08 14:19:53 +01:00
Lynix 88af94b987 Added ResourceConstListener
I don't know yet if it's a good idea but at least it's an idea


Former-commit-id: b034a787d8d8ccce0804f1276958b32c9e149147
2015-01-07 23:47:09 +01:00
Lynix b6c5668232 Separated atlases from Font class
First use of shared_ptr, yay!


Former-commit-id: 4c22341fba5674746d5299cf0e8dbf6dc31d5362
2015-01-07 23:46:26 +01:00
Lynix 904319ee90 Improved/Fixed Texture class
Allowed move constructor/operator
Fixed Texture::Download/Texture::Update
Made InvalidateMipmaps public


Former-commit-id: b8b6a54bc5d6250f640fed6582dc694df6405f73
2015-01-07 21:03:29 +01:00
Lynix 9293022e71 Added sprite overlay rendering
Former-commit-id: 1e25a7d85f06f4a4bc3ed0ead76df01db440671d
2015-01-07 19:27:15 +01:00
Lynix 6c4f8e7396 Added SparsePtr::operator[+|-](unsigned int) overload
Let's hope it will be enough to stop GCC from barking at me


Former-commit-id: 0bcdf37acdc2e49a4ddd310dcdeb5bd6c66225a1
2015-01-07 19:19:53 +01:00
Lynix 72a24c4d7c Aded Renderer::GetMaxTextureSize()
+ minor changes


Former-commit-id: 6b80280d018c323ceb393c58aab96d68a15f3ff2
2015-01-06 19:03:39 +01:00
Lynix 5cbdd8832c Turned DataStorage enum into flags
Allowing for example hybrid buffer implementation


Former-commit-id: 74af1ba5b11b945abdfa6b46d0c11d600eca6d7c
2015-01-06 13:36:58 +01:00
Lynix e3f7644831 Added class AbstractImage, inherited by Image and Texture
Former-commit-id: 16e5db4937a145ac244d6c70e4c74662622f86d9
2015-01-05 15:08:29 +01:00
Lynix 304b4d13cc Removed Texture::UpdateFace
Texture::Update is now able to update cubemaps faces (one at a time)

Former-commit-id: 7468761d1f08fc9477af8da5a38722508c044917
2015-01-05 14:32:34 +01:00
Lynix d13ab1a050 (Texture) Reflected Image interface (size getters)
Former-commit-id: 4d979671c7b49191fb44b5fae7e9bfb266cd1417
2015-01-05 13:51:46 +01:00
Lynix b2b18a9f51 Added Image::GetSize (returning the image's dimensions)
Renamed original Image::GetSize to GetMemoryImage


Former-commit-id: a2b54f171353b8197639b5f2b3911e4b3f2a8db2
2015-01-05 13:41:56 +01:00
Lynix 5daf09e41b Added OpenGL-like Vector constructors
Former-commit-id: 302389b6a915d66a0a0fb4cc9a748ed5266ae98c
2015-01-05 02:32:57 +01:00
Lynix 0f033eaed9 Added CallOnExit::CallAndReset()
Former-commit-id: 045ff61445203999757971deeeafee719fc5506a
2015-01-04 18:57:01 +01:00
Lynix 911e10fa84 Renamed Buffer::IsSupported to IsStorageSupported
Former-commit-id: 12309ca590820fd68ab2b15a4c41ffb554832603
2015-01-04 18:30:50 +01:00
Lynix d560975e09 Renamed (Set)BufferFunction to (Set)BufferFactory
Former-commit-id: 6165dcd881716461a9886be6ce7fd6bb2b335ef0
2015-01-04 18:23:06 +01:00
Lynix b3d72ec094 Renamed BufferStorage enum to DataStorage
Former-commit-id: 97eede03eb6bb85e506c640d40c9d6e7acb2e099
2015-01-04 18:16:31 +01:00
Lynix 8a836b2060 Added Font class (+ FreeType loader)
Former-commit-id: 1811304cd0efe9a86cbae83faaf4c39d9fae248f
2015-01-04 14:21:09 +01:00
Lynix 4de17fdffb Remade sprite rendering
Added VertexColor shader flag
Added color sprite attribute
Added VertexStruct_XY_Color(_UV) struct & declaration


Former-commit-id: b664f4520aa55f4502f85f9dedab9b92040a8c16
2015-01-04 13:19:07 +01:00
Lynix e69c2982b9 Minor changes
Former-commit-id: 1282e3600c687647f637aec42f05d033266e1d33
2015-01-04 13:08:26 +01:00
Lynix 97ff9bc4ac Improved texture creation
Fixed possible wasted space on NVidia hardware


Former-commit-id: 42a26c88d8bd03b1ac845c62984cf8c355f1902a
2015-01-04 12:50:56 +01:00
Lynix ed1cc7a092 Added viewer-relative directions
Former-commit-id: 9d80744bd227689426b76df7e3c273de13424041
2015-01-03 22:39:51 +01:00
Lynix 596f407a79 Added DebugDrawer::Draw(position, size)
Draws a "size"-sized box centered on "position"


Former-commit-id: 9385762a4118fe76364faa5819fd9a94efceefbf
2015-01-03 22:32:56 +01:00
Lynix 7c47a93a72 Renamed Corner enum to BoxCorner
Added RectCorner and Rect::GetCorner method


Former-commit-id: dc99823ceb17f6e91cdf12779c982ab7e024ec24
2015-01-03 22:31:25 +01:00
Lynix 4e9bec804a Merge remote-tracking branch 'origin/master' into Font-Update
Former-commit-id: c62f6317f401e200eff303fcf5b8945302fd89c6
2015-01-03 22:21:14 +01:00
Lynix a1624af969 Improved [Box|Rect]::Intersect performances
Allowed early returns


Former-commit-id: 59001afdd9734666640d440cb8b87b5a426973ce
2015-01-03 22:15:15 +01:00
Lynix ad3c70bbc8 Added SparsePtr substraction operator
Former-commit-id: e2dadc06b1f1abbd257689e6eaee77ebbfa0af5b
2015-01-03 21:50:37 +01:00
Lynix 2bfb798dd9 Minor changes
Former-commit-id: fd74c48a546663f4d4802826ee2d396b0874e2c9
2015-01-03 21:45:37 +01:00
Lynix 528969d0fa Merge remote-tracking branch 'origin/master' into Font-Update
Former-commit-id: ae0244334123a3442c7675df80b1a501a6837257
2014-12-17 14:00:20 +01:00
Lynix e55c521e96 Added support for skeletal models (WIP)
Former-commit-id: 6a6c2d9f2c68267df79dc48fa56450d2a563e323
2014-12-17 13:56:33 +01:00
Lynix 1ee02d4fcf Improved code, fixed missing includes
Thanks to d@rk-marouane (@progdupeu.pl)


Former-commit-id: 4147388501d4263e624f4c6402902ef071f88ffd
2014-12-17 13:53:59 +01:00
Lynix 20607238df SparsePtr: Allowed negative stride
Former-commit-id: 9ca3101347bdc071503ec9edb75b4f896a6dd2e0
2014-12-11 18:56:55 +01:00
Lynix 7316cbb694 Added OpenGL support for pixel formats A8/L8/LA8
Former-commit-id: b17942f7bf22daf90ddf5d8093da6c26b64a67ce
2014-12-10 19:01:03 +01:00
Lynix 96798da027 Added TODO
Former-commit-id: 11658e200641ba0846bc8b89376e034cd0b6c9a4
2014-12-10 14:41:56 +01:00
Lynix a393271f04 Improved GuillotineBinPack
Added explicit copy/move constructor/operator
Added Expand method
Added Insert overloads (you are now able to query which rectangles were
inserted)
Made occupancy computation more precise
Overloaded methods taking a unsigned int pair with Vector2ui


Former-commit-id: f063c04a1aea0d26594db642c2466264fe139450
2014-12-10 14:38:32 +01:00
Lynix d22c4a5ac9 Added A8 pixel format
PixelFormat::GetBytesPerPixel() will no longer warn with
less-than-one-byte formats

Former-commit-id: af41f0c2bc7a35c2ee617980878628ff1c8bf868
2014-12-07 03:09:39 +01:00
Lynix 15ddc29179 Added implicit conversion to SparsePtr
Former-commit-id: 5116a5e7687706640cd5d2ef99f5c181e00ee841
2014-12-07 03:06:12 +01:00
Lynix a51cbc1e49 Added Sprite::SetSize(float, float) overload
Former-commit-id: 672a2e4f5c2a2d40b4af42c7ee4b7b37d3774117
2014-12-07 03:05:27 +01:00
Lynix 42b28e732c Removed whitespace
Former-commit-id: e7bfe92a625f6102abc4fe3b11b498c43b371ee9
2014-12-07 03:04:24 +01:00
Lynix 5ae54677f1 Fixed Matrix4::IsIdentity()
Former-commit-id: 7f3dfb47241ec2625e7ba02decb53ad5fd3d60ac
2014-12-07 03:04:04 +01:00
Lynix b56e40f35a Added comment
Former-commit-id: 045a48cb1b0e798de31cd2aff0708324648da409
2014-12-07 03:03:45 +01:00
Lynix 3db73921c2 Made 2D nodes easier to use
Former-commit-id: 80c0340b93c203bd874568c9d4fb5e2fc88a5860
2014-12-07 03:03:35 +01:00
Lynix 90e6bf4493 Made Music class non copyable
Former-commit-id: ccbd014514b3c9f59c3fee940cc307afb890f634
2014-12-07 02:58:01 +01:00
Lynix df6fdf6784 Added a Size parameter to View class
Allowing independent from rendertarget size


Former-commit-id: c131b6dd95692c72a969bf0cc6edd997911bbe58
2014-12-07 02:57:30 +01:00
Lynix 4b2e3370d9 Added GuillotineBinPack algorithm
Former-commit-id: 9f2fb342e7bd9e1b33937a4fd462c993ae5cec3e
2014-11-26 02:35:59 +01:00
Lynix a008439cde Added depth sorting attribute to Material class
Only works for billboards for now


Former-commit-id: 50a46d3266a2e7fc6d75629103ad8b7193b13bf3
2014-09-11 00:10:24 +02:00
Lynix 04be41082c Added A LOT of oveloads to AbstractRenderQueue::AddBillboards
Former-commit-id: 51b73a110e61cee7ad8fca42b10afd59363de809
2014-09-06 11:59:57 +02:00
Lynix 68bd3304c6 Renamed Degrees|Radians functions to From[Degrees|Radians]
Also added To[Degrees|Radians] functions


Former-commit-id: b7445a42e5ee88319009db9d664d8d9f8fe88c18
2014-09-06 11:52:37 +02:00
Lynix c86de3ed7e Merge pull request #31 from Gawaboumga/master
Some changes

Former-commit-id: f4ef15537da8edef3881def68dce39f6455f9b94
2014-09-03 13:47:39 +02:00
Lynix 023e41512f Merge remote-tracking branch 'origin/master' into Particle-Update
Former-commit-id: 8b2a22ff4546805cdbae394df3cdcdf4228198e5
2014-09-03 13:37:39 +02:00
Lynix 522ceb1e30 Improved SparsePtr class
Added implicit conversion from a normal pointer to a sparse pointer
Added implicit conversion to boolean
Added implicit conversion to normal pointer
Added support for const pointers
Renamed Get/Set to GetPtr/SetPtr


Former-commit-id: 32d5d2ec6a7b296c5b89b722de9ca142d5c64aae
2014-09-03 13:32:37 +02:00
Lynix e32c0c626e Fixed global math include
Former-commit-id: 0f1871a2ecf1e8b94d63612c7357d6fc0ab0287b
2014-09-03 13:30:21 +02:00
Lynix 1b94977722 Added Quaternion::Normalize static method
Former-commit-id: a4530be00673dec5b9731b75fb4edbac7ccd69d5
2014-09-03 13:30:12 +02:00
Lynix 00a35cd565 Removed useless enum
Former-commit-id: b342be41eda3271320954a0279cf0a2afdfcd8e2
2014-09-03 13:29:54 +02:00
Lynix 659eb31757 Added support for billboads
Improved ForwardRenderTechnique code


Former-commit-id: 2386de85c26839565f087885ffcb098ef263bdfa
2014-09-03 13:16:56 +02:00
Lynix aeec8ee0f4 Enabled new shader flags
Former-commit-id: df06f4faf4c7275c702338eee1ed14a2445662a1
2014-09-01 16:00:54 +02:00
Lynix 67ecefd380 Added sprite color attribute
Former-commit-id: 1db061b862315495cb40ff308348a0ac8d41e304
2014-09-01 15:42:51 +02:00
Lynix ea43edbaf3 Separated ParticleEmitter
Renamed ParticleEmitter to ParticleSystem
Added class ParticleEmitter

(First implementation, this will probably change)


Former-commit-id: a1f80db340983da5e85cedc974dd6b24a98e25b0
2014-08-31 14:09:43 +02:00
Gawaboumga 18cf235172 Update of two headers
Former-commit-id: 813c36932bf842d6ad6c26aace9249894359c8de
2014-08-27 14:30:22 +02:00
Lynix 54382afc37 Merge remote-tracking branch 'origin/master' into Particle-Update
Former-commit-id: 7ec9fba80c2b47a1fb811c7912df67262986c9f0
2014-08-25 23:09:36 +02:00
Lynix 98aa804de5 Flipped texture coordinates
Nazara now use a top-left corner origin for UVs (DirectX-like)


Former-commit-id: 550dd76cf15bc731d1e23060d1af15c3cd5cb4fd
2014-08-25 22:37:36 +02:00
Lynix 9b1f63ce11 Fixed possible bug
Former-commit-id: 3ce9541e99d91140547ed8b60297d3d3785a0630
2014-08-25 20:23:00 +02:00
Lynix 6e27acc492 Added Color vertex component
Removed Userdata4 vertex component to keep the count to sixteen


Former-commit-id: b048f11f44528d1cf6657d095768b188217421ba
2014-08-25 20:22:10 +02:00
Lynix fd293f8564 Fixed missing include
Thanks to lepiaff

Former-commit-id: 458060b52bbc74f632bfa8bef643d22e780a4a8f
2014-08-23 22:04:48 +02:00
Lynix f3baf9f9df Merge branch 'master' into Particle-Update
Former-commit-id: a015cefb77bfb41617e94368ac58f5cfe12266fe
2014-08-18 19:11:43 +02:00
Lynix 0d69267992 Added Image::LoadArrayFrom* (convert an atlas to an array)
Also added Texture::LoadArrayFrom* shortcuts


Former-commit-id: f3cde12d5b634c75de8745fa800c30749e0fe662
2014-08-18 18:13:30 +02:00
Lynix e76b57e120 Fixed Image level computation
Array depth will no longer be taked in consideration when computing
level count


Former-commit-id: 93bf114127b5e252c3f8a8cbf938fcd09534a9ca
2014-08-18 17:19:09 +02:00
Lynix df44d799c8 Added [Index|Vertex]Buffer easy constructor
Former-commit-id: 4536af8c833c15b49876c773defd3475a561df4b
2014-08-18 15:39:44 +02:00
Lynix a15e3abd0c Added Mass particle component
Former-commit-id: 491f488b7eab8aeb06a441701ca004f1738571e6
2014-08-09 00:31:01 +02:00
Lynix f395cb7579 Added ParticleEmitter::GetFixedStepSize()
Fixed missing implementation of ParticleEmitter::SetFixedStepSize


Former-commit-id: 255fcca4afe40cccf38a561f09f29a0a4ceccd71
2014-08-09 00:30:24 +02:00
Lynix 0976607eb9 Added fixed step update
Switched back to defaulted operator=(ParticleEmitter&&) since it can't
throw exception anyway


Former-commit-id: 178b040a735ef01dcda21b45a317b6c534b5782e
2014-08-08 21:21:04 +02:00
Lynix 202f675301 Changed particle callbacks arguments (offset, count) => (startId, endId)
Former-commit-id: 24550dad44e55aa9dfabaf916cbfb8e25df0451a
2014-08-08 20:59:49 +02:00
Lynix e9267d7f43 Added particles first implementation
Former-commit-id: 2b98ce2f007927690bdecd4092e211013bf568cb
2014-08-08 17:17:58 +02:00
Lynix 4acd61cf30 Fixed Vector[2|3]::Normalize returning NaN for zero vectors
Former-commit-id: e849a14189ff178134358d4ceed87955bc9f8eae
2014-08-05 17:38:49 +02:00
Lynix b413727a21 Added required flags to UberShaderPreprocessor
Former-commit-id: 1118fb08d1c0a7f6ebd18042f9a2044738bc4169
2014-08-05 09:43:19 +02:00
Lynix 149ef145a3 Fixed DebugOff
Former-commit-id: ba77eb95c3b5b3d4d88730c0fa029fd4f40e9c91
2014-08-05 09:42:37 +02:00
Lynix 43b4f696b2 Added FIXME
Former-commit-id: 61dfdb35eb265a34c94913947f4ae9164e79c0d9
2014-08-05 09:41:57 +02:00
Lynix ce01892482 Fixed missing include
Former-commit-id: 2adfb798af325a6c56244a3218072be74be237fb
2014-08-05 09:41:22 +02:00
Lynix 7a2a10b390 Added VertexMapper constructor
Removed useless headers


Former-commit-id: e8925f48eec9c52dc4f2ad7bf6a61deb755bc0ee
2014-08-03 20:58:09 +02:00
Lynix 0415f32b86 Added some comments
Former-commit-id: 42fb1dd19abec2befd7cb065f794e4b765d1411e
2014-08-03 20:57:24 +02:00
Lynix d9cce5d7ce Fixed compilation error
Former-commit-id: febc503b22cedaa4edf0efe3677cf38a205d7230
2014-07-29 10:30:49 +02:00
Lynix 454a5b1281 Added Matrix4::Get[Column|Row]
Former-commit-id: 5dc655f97d8523714c69627e70b3bf8dfdcdb1ae
2014-07-28 16:16:32 +02:00
Lynix 60d5c09c18 Renamed Basic.hpp to Algorithm.hpp
Former-commit-id: ba2858d26fb55069313fafc3e4464dc2e9224b7d
2014-07-28 15:18:39 +02:00
Lynix 90a616a26f Made code more readable (Weeeee)
Former-commit-id: fa2a7686130fe67aa4da9f590a8f74c1b5e75ca9
2014-07-28 12:26:37 +02:00
Lynix 4a0dbcb338 Updated Basic.inl
Fixed StringToNumber not working with lowercase numbers
Moved functions order to be alphabetical


Former-commit-id: ff58d17afe38c39527a6ae898bfeb7f3282b2142
2014-07-28 12:24:57 +02:00
Lynix dc146fdf61 Removed useless forward-declaration
Former-commit-id: b68020d18b9f4b62b8f060574a46433af56a599e
2014-07-28 12:21:05 +02:00
Lynix 35c0bc7087 Used std::forward for PlacementNew function
Former-commit-id: e77b64bb90d849d856d93426a68b4d76cb499971
2014-07-28 12:20:47 +02:00
Lynix 8b34e21e2f Improved code
Fixed Directory being copyable
Fixed ByteArray and String self-assignation
Made it clear Clock is copyable


Former-commit-id: 36702d8a389abe6d3faa1e283d9a20f0326041a6
2014-07-23 11:57:04 +02:00
Lynix 221e2583ac Removed useless file
Former-commit-id: 162cc21adea7dbdf6604ed8d8b25485ec1442d90
2014-07-23 10:21:49 +02:00
Lynix e6dea541a7 Added memory helpers
This will protect some memory-related code from new redefinition


Former-commit-id: 337e69e70acd0bf8dbc3ba1657c6bb0bddfd5df4
2014-07-22 17:26:31 +02:00
Lynix 4ccf021376 Fixed EulerAngles operator+= return type
Thanks to Raakz


Former-commit-id: 2247fe952cd593adea90336ea7f8507e83dea3b1
2014-07-15 01:01:37 +02:00
Lynix 9e04e8a0e4 Separated reference counting from Resources
Former-commit-id: 7380818cfee9e249c11fd15da9ff7883a6e76565
2014-07-15 00:59:02 +02:00
Lynix 7a6195991c Added Quaternion component type
Not compatible with Vertex Declaration though


Former-commit-id: 3174553981ab23fe59ed616c2ce1a27bf7db0108
2014-07-13 09:29:12 +02:00
Lynix 7d5876d505 Updated VertexStruct
Former-commit-id: 988df22928da5cce6ab5c62f3e3f4d75a8cee57b
2014-07-13 09:28:15 +02:00
Lynix a1efed20a3 Fixed debug build error
Former-commit-id: a96aa0c4b78c4095ae461f5a4ee81be3074fc47d
2014-07-12 15:05:23 +02:00
Lynix cf95b128c5 SparsePtr: Fixed some operators not being const
Former-commit-id: 1393ab9299502328829efb0daa0b17c1a74fdd2e
2014-07-12 12:48:25 +02:00
Lynix 27aea8ae2a Fixed VertexDeclaration copy constructor
Former-commit-id: 54bd378364c987c975ca2e83187b3559f4b9d92c
2014-07-11 10:23:55 +02:00
Lynix ca54b6cdca Updated module headers (generation)
Former-commit-id: a9a2e4eaeda16caa67989ae81c55ac090b1454de
2014-07-11 10:23:19 +02:00
Lynix b54be6e25f Renamed AttributeUsage and AttributeType
... to VertexComponent and ComponentType.

-Renderer:
Renamed IsVertexAttributeSupported static method to
IsComponentTypeSupported

-VertexDeclaration:
Added IsTypeSupported static method
Renamed [Disable|Enable|Get]Attribute to [Disable|Enable|Get]Component
Removed GetAttributeSize static method

-VertexMapper:
Renamed GetAttributePtr method to GetComponentPtr

Former-commit-id: 7115856e1d389610c35b26f63af5d93a5ad5c690
2014-07-10 18:31:56 +02:00