Commit Graph

2086 Commits

Author SHA1 Message Date
Lynix d538a7ddf5 Renderer/GlslWriter: Add support for Uniform and Parameters variables 2017-08-30 18:21:27 +02:00
Lynix 5c3e67bb26 Renderer/GlslWriter: Move variables to the function scope 2017-08-30 18:21:26 +02:00
Lynix 5c6df52fbf Commit current work 2017-08-30 18:21:25 +02:00
Gawaboumga 5aa072cee3 New module: Platform - Split window management from Utility module (#128)
* New module: Platform - Split window management from Utility module

Final touch

* NDK/SDK: Bring back initialization of Utility
2017-08-30 10:22:50 +02:00
Gawaboumga 41a1b5d493 Physics2D tests (#129)
* Quaternion: Fix singularity on Z axis when converting to euler angles

* CollisionComponent2D: Add method to retrieve AABB

* Collider2D: Fix constructor for Box with Vector2

* Physics2D: Fix rotation (Chipmunk works with radian and Nazara degrees) and copy constructor of RigidBody2D

* Colider2D: Add New for convex and tests for the new classes
2017-08-20 21:47:23 +02:00
Lynix 9613ad5de6 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-08-16 20:33:40 +02:00
Lynix 2fe905a453 Increase instance buffer size 2017-08-16 20:33:37 +02:00
Lynix fc2fd81719 Utility: Make Window constructor explicit 2017-08-16 20:33:13 +02:00
Jérôme Leclercq 5531e81e65 Core: Add CRC64 and regenerate global headers 2017-08-15 12:32:19 +02:00
Lynix e512302305 RigidBody2D: Add experimental SetMomentOfInertia method 2017-08-06 23:46:55 +02:00
Lynix 74af157113 PhysWorld2D: Use std::function for callbacks 2017-08-06 23:08:36 +02:00
Jérôme Leclercq 3d368b2fe7 Network/SocketPoller: Fix behavior of Wait method (-1 will block) 2017-08-04 13:37:17 +02:00
Jérôme Leclercq b64ab862fe Fix warnings 2017-07-27 14:39:48 +02:00
Jérôme Leclercq 6047018082 Physics3D/Collider3D: Improve CompoundCollider3D constructor 2017-07-27 11:40:42 +02:00
Jérôme Leclercq afdc018778 Physics2D/Collider2D: Implement CompoundCollider2D and ConvexCollider2D 2017-07-27 11:39:23 +02:00
Jérôme Leclercq b00487c88c PhysicsID/RigidBody: Add GetWorld() accessor 2017-07-25 14:44:30 +02:00
Jérôme Leclercq b4732d8c17 Add Udp::ReceiveMultiple method 2017-07-11 12:11:20 +02:00
Jérôme Leclercq 2ca844be63 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-06-21 18:10:51 +02:00
Jérôme Leclercq b2e23cfb56 Mark every bool conversion as explicit 2017-06-21 18:10:46 +02:00
Lynix 90d86c6eb0 Breaks compatibility with Windows XP by default 2017-06-20 08:16:43 +02:00
Lynix 50a3f78f91 Core/Thread: Add posibility of setting thread name 2017-06-20 08:16:08 +02:00
Lynix 4a1a335cee Core/Flags: Fix compilation
Oops..
2017-06-20 07:06:50 +02:00
Lynix dfc441c2fc Core/Flags: Rename DetailFlagOperators to FlagsOperators
In case a user would need to use it
2017-06-20 06:57:57 +02:00
Jérôme Leclercq 5c63d30545 Lua/LuaInstance: Fix typo 2017-06-15 17:08:24 +02:00
Lynix 7875854e7d Lua/Binding: Fix unsigned integer binding 2017-06-12 14:42:36 +02:00
Lynix 487bd64bcf Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-06-10 22:33:03 +02:00
Lynix a82de92377 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-06-10 22:29:31 +02:00
Lynix 78182502e3 Lua/LuaInstance: Fix missing memory/time methods 2017-06-10 22:29:17 +02:00
Lynix cea89abc51 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-06-09 01:47:33 +02:00
Lynix 4ce7db09d6 Lua/LuaCoroutine: Fix inline include 2017-06-09 01:47:15 +02:00
Lynix 9117deb609 Update global headers 2017-06-09 01:46:04 +02:00
Jérôme Leclercq 01edc4fb21 Add coroutine support (WIP) 2017-06-08 15:53:17 +02:00
Jérôme Leclercq a8129b218b Refactor LuaInstance to prepare coroutine handling 2017-06-07 21:18:07 +02:00
Jérôme Leclercq b7df3bd1c4 Core/Flags: Try some hack to fix compilation 2017-06-06 18:08:36 +02:00
Jérôme Leclercq 184a970b72 Fix all flags.. 2017-06-06 16:50:09 +02:00
Lynix c98fb482e7 Network/ENetPeer: Add GetRoundTripTime method 2017-06-05 15:06:19 +02:00
Lynix e32c1a8b8b Utility/PixelFormat: Move Flip to .cpp
Because of std::swap_range usage (Thanks Microsoft)
2017-06-04 17:28:58 +02:00
Jérôme Leclercq 17d9cd6e7d Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-06-01 17:25:33 +02:00
Jérôme Leclercq 8752d1e0f4 Network: Add ErrorToString for ResolveError/SocketError 2017-06-01 17:25:21 +02:00
Jérôme Leclercq 4f1d52b395 Fix [Box|Rect]::Contains including outer border points 2017-06-01 17:24:28 +02:00
Jérôme Leclercq 421dbf54f2 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-29 19:55:50 +02:00
Jérôme Leclercq bc4a533b96 Core/ParameterList: Use double and long long instead of float and int 2017-05-29 19:55:02 +02:00
Jérôme Leclercq 7cce74afb7 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-29 18:01:44 +02:00
Jérôme Leclercq 30a4e20ee5 Lua/LuaInstance: Expose some raw functions 2017-05-29 18:01:31 +02:00
Jérôme Leclercq 3e97240148 Core/ParameterList: Add ForEach methods 2017-05-29 18:01:19 +02:00
Lynix 555f44edeb Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-19 16:32:07 +02:00
Lynix 53f865c42c Merge branch 'enet_wip_nothing_to_see_here' of https://github.com/DigitalPulseSoftware/NazaraEngine into enet_wip_nothing_to_see_here 2017-05-19 16:31:31 +02:00
Lynix 3ca179b954 Network/ENet: Separate Connect event into OutgoingConnect and IncomingConnect 2017-05-19 16:31:29 +02:00
Jérôme Leclercq 09bace0f28 Sdk/LuaBinding: Bind UdpSocket 2017-05-18 11:44:28 +02:00
Lynix 9a30a7ee04 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-16 09:08:37 +02:00
Lynix 65d3b59e03 Network/SocketPoller: Makes it possible to watch read and write states 2017-05-16 09:07:28 +02:00
Lynix 75d57b3c29 Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-05-11 20:52:04 +02:00
Lynix af41b240ad Graphics: Add support for depth-sorted sprites 2017-04-23 13:40:13 +02:00
Lynix 52a4a590e1 Graphics/Material: Fix depth sorting flag handling for meshes 2017-04-22 17:13:51 +02:00
Lynix 883d7b02a7 Math/Algorithm: Optimize NumberEquals unsigned and float cases 2017-04-22 15:08:43 +02:00
Lynix 06038a4d81 Cleanup pass 2017-04-22 15:08:05 +02:00
Lynix 140e52203d Graphics/ForwardRenderQueue: Cleanup a bit 2017-04-21 21:48:05 +02:00
Lynix 33b10989e2 Physics2D/PhysWorld2D: Initialize callbacks to nullptr to prevent misuse 2017-04-21 21:39:37 +02:00
Lynix 1305e8434a Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-04-17 23:42:21 +02:00
Lynix f7cd52d947 Small update 2017-04-17 17:39:26 +02:00
1d44adf23a Merge branch 'master' into enet_wip_nothing_to_see_here 2017-04-14 16:56:49 +02:00
Jérôme Leclercq 7b4f438065 Math/Algorithm: Fix NumberEquals for signed integers 2017-04-14 16:53:03 +02:00
Jérôme Leclercq be4f0ad00c Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-04-05 15:58:09 +02:00
Jérôme Leclercq ca4a93c4af Fix compilation error on Linux 2017-04-05 15:57:54 +02:00
Jérôme Leclercq 660cddba34 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-04-05 10:11:01 +02:00
Lynix bb272c57f5 Lua/LuaInstance: Fix movement 2017-03-30 18:43:05 +02:00
Lynix 5ec913311f Physics2D/PhysWorld2D: Add RegionQuery method 2017-03-30 16:32:29 +02:00
Lynix 6851428c3c Components/GraphicsComponent: Watch every used material to handle reflective information 2017-03-28 23:36:08 +02:00
Lynix 447ef235c1 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-25 10:12:15 +01:00
Lynix 6d0314741a Core/ObjectHandle: Fix self-movement case 2017-03-25 10:12:01 +01:00
Lynix 65393d98fb Graphics/Material: Add SetReflectionMode 2017-03-19 17:01:48 +01:00
Lynix 62fd66a159 Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-03-18 17:23:12 +01:00
Lynix c766387567 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-10 17:10:36 +01:00
Lynix 82edb5c7cb Core/Signal: Fix compilation 2017-03-10 17:10:11 +01:00
Lynix 9531edfffc Core/Signal: Fix move behaviour with GCC 4.9 .... 2017-03-10 17:07:40 +01:00
Lynix c5c5beef92 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-10 11:37:19 +01:00
Lynix 4d932e9317 PhysWorld2D: Ensure PostStepContainer is move-constructible noexcept 2017-03-10 11:36:58 +01:00
Lynix 353ade3efd Core/Signal: Make movement noexcept 2017-03-10 11:36:48 +01:00
Lynix 2cf1d5ddfc Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-09 18:20:30 +01:00
Lynix cdf7c11ef8 Fix crash when RigidBody2D is moved while having poststeps 2017-03-09 18:20:18 +01:00
Jérôme Leclercq 247186fe55 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-07 09:36:47 +01:00
Jérôme Leclercq 78d6a69bcb Physics2D/PhysWorld2D: Fix SetMass calls during callbacks 2017-03-07 09:36:29 +01:00
Jérôme Leclercq 4259ad8c9d Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-06 14:02:46 +01:00
Jérôme Leclercq ede6dd90b8 Physics2D/PhysWorld: Add Raycast queries 2017-03-06 14:02:35 +01:00
Lynix ad8857354f Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-02 13:07:14 +01:00
Lynix 04f7b40150 Physics2D/RigidBody2D: Fix querying 2017-03-02 13:07:02 +01:00
Lynix 8eb58de486 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-02 11:23:23 +01:00
Lynix a50a822fad Physics2D/PhysWorld2D: Fix NearestBodyQuery 2017-03-02 11:22:59 +01:00
Lynix 55ef28c1af Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-02 10:34:16 +01:00
Lynix 834f65c0ae Physics2D/PhysWorld2D: Add optimized NearestBodyQuery 2017-03-02 10:34:02 +01:00
Lynix 392a23f4f5 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-02 09:55:21 +01:00
Jérôme Leclercq 5ebf125474 Physics2D: Add NearestBodyQuery 2017-03-01 17:40:12 +01:00
Jérôme Leclercq 658faf3d49 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-27 16:30:37 +01:00
Jérôme Leclercq f22dd81d35 Physics2D/RigidBody2D: Add AddImpulse method 2017-02-27 16:30:18 +01:00
Lynix 496cdfd32c Merge branch 'master' into reflection-mapping 2017-02-23 00:08:57 +01:00
Jérôme Leclercq 7c22ee637e Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-22 16:53:01 +01:00
Jérôme Leclercq b1e4aea496 Physics2D/RigidBody2D: Add signal for movement/release 2017-02-22 16:52:34 +01:00
Jérôme Leclercq ea135156b8 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-22 15:32:28 +01:00
Jérôme Leclercq 45262145aa Physics2D/RigidBody2D: Add Userdata field 2017-02-22 15:31:51 +01:00
Jérôme Leclercq b0390221b5 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-22 12:36:03 +01:00
Jérôme Leclercq d68cb35056 Physics2D/Collider2D: Fix collision id and trigger default values 2017-02-21 17:02:52 +01:00
Jérôme Leclercq 7322969b17 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-21 15:58:44 +01:00
Jérôme Leclercq 7b47a6ad2e Physics2D: Add support for trigger and callbacks 2017-02-21 15:58:31 +01:00
Jérôme Leclercq 218d9f3974 Network/ENetHost: Add GetBoundAddress() 2017-02-21 15:58:02 +01:00
Jérôme Leclercq c1cbc8c617 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-21 09:52:51 +01:00
Lynix b0d0a63fca Network/ENet: Add peer-side lag simulation 2017-02-20 23:37:31 +01:00
Gawaboumga c2e4ccaf72 Various little fixes (#118)
* Add missing override qualifier

* Mostly shadowing, virtual destructor and other little things
2017-02-19 23:15:13 +01:00
Lynix ead54e1c30 Merge branch 'master' into reflection-mapping 2017-02-18 15:07:17 +01:00
Lynix f99d465760 Merge branch 'reflection-mapping' of https://github.com/DigitalPulseSoftware/NazaraEngine into reflection-mapping 2017-02-18 15:07:11 +01:00
Lynix 902949549c Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-17 00:39:19 +01:00
Lynix 20dfd61ad7 Merge branch 'enet_wip_nothing_to_see_here' of https://github.com/DigitalPulseSoftware/NazaraEngine into enet_wip_nothing_to_see_here 2017-02-16 23:26:33 +01:00
Lynix b7ee6d7b29 Network/ENet: Move all packet allocation to host 2017-02-16 23:26:00 +01:00
Jérôme Leclercq dee5986de5 Network/NetPacket: Allow empty pointer for NetPacket creating (won't initialize memory) 2017-02-16 16:14:24 +01:00
Lynix 8225ad3b41 Network/ENetHost: Optimize acknowledgements handling 2017-02-15 08:27:15 +01:00
Lynix 890b06bfcb Network/ENet: Refactor 2017-02-15 08:26:56 +01:00
Lynix 7cc11245f9 Core/Flags: Move external operators to the global scope
Fixes usage of those operators outside of the Nz namespace, global
scoping is not an issue thanks to the enable_if
2017-02-15 07:13:00 +01:00
Lynix 5655ff3fcf Network/ENetPacketFlags: Add Unreliable flag typedef for zero 2017-02-12 02:19:27 +01:00
Lynix 414779b53c Network/ENetPacket: Remove unused flags 2017-02-12 02:18:38 +01:00
Jérôme Leclercq 784cfab23b Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-08 13:13:52 +01:00
Lynix 1a677387d1 Noise/NoiseBase: Replace default_random_engine by mt19937 2017-02-07 20:12:31 +01:00
Lynix 9c66711a53 Update version 2017-02-01 20:02:12 +01:00
Jérôme Leclercq ed8deed23c Core/MemoryHelper: Add PlacementDestroy 2017-02-01 17:52:32 +01:00
Jérôme Leclercq 0f2d315c1d Network/ENet: Fix header dependency 2017-02-01 17:51:41 +01:00
Lynix 7b8100dafe Network/ENet: Add ENet licence 2017-02-01 00:20:22 +01:00
Lynix a087174bf8 Network/Algorithm: Add HostToNet and NetToHost 2017-02-01 00:13:08 +01:00
Lynix 85257da07e Network/ENet: Fix some warnings 2017-01-31 23:05:18 +01:00
Lynix 6b8d9deb43 Network/ENet: Clean up time functions 2017-01-31 23:04:53 +01:00
Lynix 2f057191aa Network/ENetHost: Add GetServiceTime() 2017-01-31 22:19:17 +01:00
Jérôme Leclercq 3ff483d2f6 Network/ENetPeer: Add GetPeerId() 2017-01-30 18:08:38 +01:00
Jérôme Leclercq b5797dfa12 Network/ENetHost: Move handling to ENetPeer 2017-01-30 18:08:21 +01:00
Lynix 4e517bc1e3 Network/ENetHost: Add network simulator 2017-01-28 17:18:06 +01:00
Lynix 4e2a037d6b Network/ENetPeer: Add total packet lost/sent counter 2017-01-28 17:17:42 +01:00
Lynix c9d5f2f1ac Network/ENet: More cleanup 2017-01-28 12:08:35 +01:00
Lynix 8fc734674d Network/ENet: Fix fragments and cleanup 2017-01-28 11:06:09 +01:00
Lynix 0e03aae6dc Network/ENetPeer: Fix compilation 2017-01-27 17:12:23 +01:00
Lynix 86ae60b6c2 Network: Fix compilation 2017-01-27 16:07:41 +01:00
Lynix f59b59da27 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-01-27 15:09:01 +01:00
Lynix ab3b730d21 Network/TcpClient|UdpSocket: Add SendMultiple method
To efficiently merge multiples buffers into a reduced number of network
packets
2017-01-27 14:51:01 +01:00
Lynix 1d6f22cd8a Core/Flags: Make Flags default-constructible 2017-01-27 14:49:07 +01:00
Lynix 8a59dc88b8 Commit progression 2017-01-27 14:48:31 +01:00
Lynix 12b4073033 Progress 2017-01-26 09:28:41 +01:00
Jérôme Leclercq 9e3341a32a Commit current work
This is a temporary branch because I'm missing a USB drive, huehue
2017-01-25 15:55:07 +01:00
Jérôme Leclercq 28965b799e Core/MemoryPool: Fix incorrect inlines 2017-01-25 15:53:25 +01:00
Jérôme Leclercq a18389c48e Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-01-23 11:58:18 +01:00
Jérôme Leclercq 071147bf51 Network/AbstractSocket: Prevent querying/setting receive/send buffer size without opening the socket first 2017-01-23 11:58:05 +01:00
Lynix a84110a575 Core/ObjectHandle: Fix operator<= 2017-01-21 20:31:53 +01:00
Lynix 7d5d21f025 Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-01-21 15:56:37 +01:00
DrLynix 85f0208690 Newtork/AbstractSocket: Allow to specify receive and send buffer size per socket 2017-01-20 14:33:05 +01:00
DrLynix 18862fd1ba Forgot to save those two files 2017-01-20 13:02:19 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
DrLynix 59e0c1af29 Utility: Fixes compilation 2017-01-20 09:50:26 +01:00
Lynix e4b6f8e126 Utility/Icon: Make Icon a RefCounted object 2017-01-19 21:59:34 +01:00
Lynix 670199b557 Utility/Cursor: Rework Cursor as a handled object 2017-01-19 21:38:56 +01:00
Lynix c4574ed7ec Utility: Fix compilation 2017-01-19 15:21:29 +01:00
Lynix 76d4359c3b Utility/EventHandler: Fix missing includes 2017-01-19 14:35:56 +01:00
Lynix b884f5783c Utility: Add CursorController 2017-01-19 14:17:26 +01:00
Lynix 282538876b Utility: Make EventHandler a handled object
This is a bit ironic.
2017-01-19 14:08:33 +01:00
Lynix 925c4b1ee3 Utility/Enum: Fix SystemCursor order (fixes cursors) 2017-01-18 22:40:19 +01:00
Lynix 5b36ac1953 Utility: Fix Cursor missing initialization 2017-01-16 00:41:31 +01:00
Lynix f406068c45 Utility: Rework cursors
-Rename WindowCursor to SystemCursor
-Merged Cursor class with SystemCursor enum
2017-01-16 00:32:59 +01:00
Lynix 954298dc1e Utility/Cursor: Add GetImage() method 2017-01-15 22:41:48 +01:00
Lynix c9b84e3852 Core/Signal: Make move constructor/operator noexcept 2017-01-11 17:12:35 +01:00
Lynix e3aed7ddea Graphics/InstancedRenderable: Optimize OnInstancedRenderableInvalidateMaterial signal 2017-01-11 17:11:14 +01:00
Lynix 1fad7606c7 Graphics/Sprite: Fix sprites not initializing materials 2017-01-09 14:23:30 +01:00
Lynix e0db2e69f8 Graphics/InstancedRenderable: Add OnInstancedRenderableInvalidateMaterial signal 2017-01-09 14:23:05 +01:00
Lynix 6b949afb9b Graphics: Add support of skins to InstancedRenderable + big clean up 2017-01-09 01:52:00 +01:00
Lynix 37d36a89a6 Graphics: Add basic reflection mapping 2016-12-18 01:18:48 +01:00
Lynix 682dab32b3 Graphics/Shader: Make texture units statics
Provides better performances and prevents the sampler type bug to happen
2016-12-18 01:13:46 +01:00
Lynix b468dbe092 Renderer: Add uniform dumper when shader fails to validate 2016-12-18 00:36:41 +01:00
Lynix b410956d1b Renderer/Renderer: Change texture unit parameter from UInt8 to unsigned int 2016-12-18 00:36:05 +01:00
Lynix 7de3c4905f Core/String: Add Format static method 2016-12-16 18:37:06 +01:00
Lynix 997a874c0e Graphics/ForwardRenderTechnique: Fix light selection 2016-12-15 23:55:35 +01:00
Lynix 937fdef953 Math/Sphere: Fix ExtendTo method 2016-12-15 19:27:05 +01:00
Lynix d015d6e85e Math/Sphere: Fix compilation 2016-12-15 19:10:44 +01:00
Lynix f5f6c859d7 Math/Sphere: Remove SquaredDistance method 2016-12-15 18:32:58 +01:00
Lynix 165b73acb3 Math/Sphere: Fix SquaredDistance weirdness..
Fixes light selection
2016-12-15 14:37:58 +01:00
Lynix ff5b72b469 Graphics/DepthRenderTechnique: No longer require a viewer
Fixes crash
2016-12-15 14:37:12 +01:00
Lynix cb447e4db7 Core/Flags: Add assertion in case EnumAsFlags has not been specialized 2016-12-12 15:12:34 +01:00
Lynix e98a02b190 Core/Flags: Allow handling of more than 32 enum options 2016-12-12 15:12:15 +01:00
Lynix 876fec6f5e Core/Flags: Make aware of enumeration max value
Preventing it to enable bits that have no corresponding enum value
2016-12-12 15:10:37 +01:00
Lynix e9061a6cf8 Core/Flags: Rename EnableFlagsOperators to EnumAsFlags 2016-12-12 15:07:16 +01:00
Lynix bc073de94a Core/Flags: Add documentation 2016-12-12 14:41:34 +01:00
Lynix 4e239236b1 Utility/SoftwareBuffer: Move to public API 2016-12-09 09:11:22 +01:00
Lynix d62720d610 Utility/Buffer: Refactor Buffer classes 2016-12-09 08:56:46 +01:00
Lynix e3daf7ef1f Core/String: Add GetCharacterPosition method 2016-12-03 00:34:55 +01:00
Lynix 370cdb4799 Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-12-01 16:14:54 +01:00
Lynix 72034c3301 Core/Prerequesites: Fix Wexpansion-to-defined warning 2016-12-01 16:14:34 +01:00
Lynix e6e4a437bd Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-11-30 13:08:08 +01:00
Lynix 6ebbf882f3 Graphics/CullingList: Fix compilation for all major compilers 2016-11-29 15:57:29 +01:00
Lynix 3c5594c206 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-28 17:27:12 +01:00
Lynix d37a9d0230 Graphics/CullingList: Fix compilation (Thanks MSVC!) 2016-11-28 17:26:52 +01:00
Lynix 71408d7c3b Lua/LuaInstance: Fix LuaImplReplyVal for enum flags 2016-11-27 14:26:39 +01:00
Lynix efcce7d442 Core/Enums: Fix typo in OpenMode (MustExit => MustExist) 2016-11-27 14:23:26 +01:00
Lynix 649001b696 Lua/LuaInstance: Fix LuaImplQueryArg for flags enums 2016-11-27 14:07:18 +01:00
Lynix a34d1e410c Core/Enum: Convert OpenMode and StreamOption to the new flags system 2016-11-27 13:40:47 +01:00
Lynix 1a5617bc55 Lua/LuaInstance: Add conversion operator to UInt32 2016-11-27 13:21:04 +01:00
Lynix 1db3d60cea Utility/Enums: Change WindowStyleFlags to the new flags format 2016-11-27 02:28:39 +01:00
Lynix 0070e691b0 Core: Add Flags class 2016-11-27 02:22:07 +01:00
Lynix 057de1544b Audio/Music: Fix Stop not resetting playing offset if music was already stopped
Also prevented a useless seek at destruction
2016-11-24 20:17:30 +01:00
Lynix 0c8128b7e4 Mesh/MeshParams: Replace flipUVs by texCoordOffset and texCoordScale 2016-11-24 09:43:56 +01:00
Lynix 3ae5bfad63 Graphics/TextSprite: Fix scale not affecting bounding volume 2016-11-24 09:40:04 +01:00
Lynix 7e7549b182 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-23 14:12:46 +01:00
Lynix 8d86306933 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-23 14:07:52 +01:00
Lynix c4e837b14f Graphics/ParticleStruct: Replace life type from UInt32 to float 2016-11-23 14:07:38 +01:00
Lynix 24e0163a8a Graphics/ParticleMapper: Add GetPointer method 2016-11-23 14:07:01 +01:00
Lynix 5d441583f2 Graphics/Particlegroup: Add GetBuffer method 2016-11-23 14:06:47 +01:00
Lynix 82c51bd16a Update patch version 2016-11-20 21:08:00 +01:00
Lynix 7c5bf0f83e Math/Quaternion: Fix compilation of static method Lerp 2016-11-18 21:25:02 +01:00
Lynix 37a04ed4b3 Core/Prerequesites: Remove NDEBUG automatic definition (not used) 2016-11-18 21:18:45 +01:00
Lynix ac2193e0c2 Physics2D: Add support for SegmentCollider2D 2016-11-18 18:00:48 +01:00
Lynix c65f19d8cf Core/Bitset: Fix compilation 2016-11-18 01:36:40 +01:00
Lynix 5efa986ac1 Fix compilation warnings 2016-11-18 01:32:03 +01:00
Lynix ac05e022f8 Core/Prerequesites: Add CHAR_BIT == 8 check 2016-11-18 01:16:55 +01:00
Lynix ff7e64494f Utility/Image: Add HasAlpha() method 2016-11-18 01:15:58 +01:00
Lynix 93a2e54667 Utility/PixelFormat: Fix mask bit orders 2016-11-18 01:15:36 +01:00
Lynix 964d16f907 Math/Algorithm: CountBits now returns a std::size_t instead of a T 2016-11-18 01:14:33 +01:00
Lynix 9513d9479a Core/Bitset: Fix PerformsAND when used with itself as argument 2016-11-18 01:14:08 +01:00
Lynix 359b5e6c3a Core/Algorithm: Add BitCount function 2016-11-18 01:13:30 +01:00
Lynix 2ed65e60e1 Core/Bitset: Add Reverse() method 2016-11-18 01:09:05 +01:00
Lynix cec547bf1f Core/Bitset: Improve a bit(set, HAH!) doc 2016-11-17 23:02:13 +01:00
Lynix e76ef3902e Utility/PixelFormat: Reject formats with over 64 bpp per component 2016-11-17 23:01:38 +01:00
Lynix d9774f30a3 Core/Bitset: Add Read method and FromPointer static method 2016-11-17 22:57:54 +01:00
Lynix 43a3f15794 Core/Bitset: Add AppendBits function 2016-11-17 22:56:48 +01:00
Lynix 828d744879 Core/Bitset: Fix some warnings 2016-11-17 18:26:45 +01:00
Lynix 180a8edf3b Core/Bitset: Add operator<<(ostream&) 2016-11-17 18:26:05 +01:00
Lynix cd0e9d97b8 Graphics/Sprite: Add SetMaterial and SetTexture overloads for searching a resource name 2016-11-17 18:24:36 +01:00
Lynix c1630cdbff Core/ParameterList: Fix warning of shadowing variable 2016-11-15 15:13:12 +01:00
Lynix 601794caf7 Bump Nazara version 2016-11-14 16:06:46 +01:00
Lynix 425f09f418 Core: Remove unused AbstractLogger.docx (Closes #87) 2016-11-14 00:06:49 +01:00
Lynix 43f93141ac Utility/Algorithm: Fix GenerateBox plane rotation (Fix #114) 2016-11-14 00:02:01 +01:00
Lynix 74f3ac8021 SDK: Add components and system for 2D physics 2016-11-10 18:31:27 +01:00
Lynix 1b3b86aadb Graphics: Fix compilation 2016-11-10 17:26:20 +01:00
Lynix 9772b43542 Physics2D/RigidBody2D: Made SetGeom public 2016-11-10 17:18:44 +01:00
Lynix 7f445def13 Fix some warnings from MSVC 2016-11-10 16:44:29 +01:00
Jérôme Leclercq 8ed34d22fb Core/ByteArray: Move ToHex implementation to .cpp 2016-11-08 16:14:56 +01:00
Jérôme Leclercq 4570f9a6e1 Utility/VideoMode: Make bpp optionnal (defaults to desktop bpp) 2016-11-08 01:14:04 +01:00
Jérôme Leclercq 9e84c397ba Merge branch 'master' into culling 2016-11-07 11:26:48 +01:00
Jérôme Leclercq 3cb6981ab7 Utility/Enums: Fix WindowStyle_Max 2016-11-07 11:17:33 +01:00
Jérôme Leclercq cf2bf52701 Utility/Window: Replace NAZARA_UTILITY_THREADED_WINDOW by a runtime flag (WIP) 2016-11-07 02:01:09 +01:00
Jérôme Leclercq 12f6877963 Fix some warnings 2016-11-04 22:25:16 +01:00
Jérôme Leclercq e087129d4a Fix many errors and warnings found out by MinGW 2016-11-04 18:14:52 +01:00
Lynix 28a2328371 Global headers: Remove the generation date
They should now generate the same input everytime
2016-10-28 17:53:03 +02:00
Lynix 00c37c5917 Regenerated global headers 2016-10-28 17:48:46 +02:00
Lynix 38da351e9b Utility/TextDrawer: Expose lines 2016-10-28 17:45:29 +02:00
Lynix df24519230 Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-10-27 18:36:47 +02:00
Lynix 9206cf65b5 Lua/LuaInstance: Optimize the T& method(...) case
Instead of instancing a new T from Lua, the original userdata is now
returned
2016-10-27 11:28:34 +02:00
Lynix 5ffc5a8784 Lua/LuaClass: Don't remove instance from the Lua stack
The instance Lua entry now remains as the first index, shifting all the
parameters indexes by 1
2016-10-27 11:22:35 +02:00
Lynix c58ec94e2d Core/Algorithm: Fix return type of Apply() 2016-10-27 10:48:02 +02:00
Lynix 9328a8124d Math/Quaternion: Fix compilation of operator* with double instance 2016-10-27 10:47:36 +02:00
Lynix e59bd4ba35 Matrix4: Fix GetColumn and GetRow code 2016-10-27 10:47:17 +02:00