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