Commit Graph

4504 Commits

Author SHA1 Message Date
Lynix 456a9258da Lua/LuaState: Fix std::vector query code 2018-06-24 20:29:20 +02:00
S6066 da044bd21c Make lua binding for std::vector (#164)
* Make LuaImplQueryArg impl for std::vector

* Fix shadowed argument

* Make unit tests

* Bugfix

* Bugfix, for real this time

* We didn't need these tests anyway

* Revert "We didn't need these tests anyway"

This reverts commit be88d4496a9cf62beb4d3ce1f30825589a4bacb2.

* Add change to changelog

* Update ChangeLog.md

* Bugfix & use CallOnExit to pop stack
2018-06-17 19:04:15 +02:00
S6066 858d0da5f2 Fix Sprite & GraphicsComponent copy constructors leaving some members uninitialized (#166)
* Fix Sprite copy constructor (corner colors)

* Also add change to changelog

* [GraphicsComponent] Bugfix: Initialize m_scissorRect in copy ctor

* Add change to changelog

* Move GraphicsComponent fix change to correct section in Changelog

* Use default copy constructor for Sprite
2018-06-17 18:54:02 +02:00
Jérôme Leclercq 8cdc36c948 Graphics/Material: Add parameter for vertex color 2018-06-15 14:15:23 +02:00
Jérôme Leclercq 41e2d3e448 Graphics/Material: Add EnableVertexColor temporary 2018-06-15 14:13:18 +02:00
Jérôme Leclercq b2185f2138 Physics2D/RigidBody2D: Add ClosestPointQuery method 2018-06-12 15:11:16 +02:00
Jérôme Leclercq 56b23a2f27 Network/SocketPoller: Wait() now returns the number of active sockets, and optionally the last error
It will also ignore the EINTR error on Linux
2018-06-12 14:31:49 +02:00
Jérôme Leclercq 15f84dc712 Noexcept all the things! 2018-06-12 11:37:44 +02:00
Lynix 456f2b32e7 Build: Fix install/executable paths 2018-06-10 15:49:11 +02:00
Lynix 0bea301a48 Fixed some uninitialized variables 2018-06-09 13:59:35 +02:00
Lynix 843e5545b6 Graphics/BasicRenderQueue: Fix billboards not registering their layer 2018-06-06 21:40:13 +02:00
Lynix e9f0bdeb25 Graphics/ForwardRenderTechnique: Optimize sprite rendering 2018-06-06 21:38:40 +02:00
Lynix 056bd0efdd SDK/GraphicsComponent: Add ForEachRenderable method 2018-06-06 19:37:58 +02:00
Lynix bc2f6f67cc Graphics/InstancedRenderable: Add Clone method 2018-06-06 19:36:46 +02:00
Lynix 2f0c62df20 Graphics/InstancedRenderable: Make SetMaterial methods public 2018-06-06 19:32:28 +02:00
S6066 f5645833df Fix unwanted behavior with universal references (#165)
* Remove forced template

* Remove useless PushInstance overload
2018-06-06 00:25:59 +02:00
Jérôme Leclercq ba32d700e2 Fix compilation 2018-05-31 17:02:07 +02:00
Jérôme Leclercq 550176e198 Core/SerializationContext: Replaced currentBitPos and currentByte by [read|write][BitPos][Byte] to handle properly bit reading/writing 2018-05-31 16:10:58 +02:00
Jérôme Leclercq 33fb70b65b Network: Fix SocketPoller error handling 2018-05-31 16:08:46 +02:00
Lynix db0e3267da Graphics/AbstractViewer: Add ProjectDepth method 2018-05-29 23:55:51 +02:00
Lynix e46aa6772e Graphics/AbstractViewer: Fix Unproject code 2018-05-29 21:05:03 +02:00
Lynix af34567ae7 Graphics/AbstractViewer: Add Project/Unproject methods 2018-05-27 21:45:06 +02:00
Lynix b782fd8431 Graphics/Model: add ModelLibrary, ModelManager, ModelSaver 2018-05-27 14:15:29 +02:00
Lynix 3e82413604 Oops 2018-05-21 19:41:11 +02:00
Lynix f2c16f916a Lua/LuaState: Add error handling methods 2018-05-21 19:31:19 +02:00
Lynix efa727dfd4 Build: Fix thirdparty target dir 2018-05-21 19:28:33 +02:00
Lynix 8e2efb5007 Graphics/TextSprite: Fix initial local bounds 2018-05-20 13:38:48 +02:00
Jérôme Leclercq 74773e9daa Core/Flags: Add operator&|^ for enum and flags 2018-05-16 15:54:55 +02:00
Jérôme Leclercq f864fc8a52 Build: Gather projects around categories 2018-05-16 12:55:36 +02:00
Lynix b22c93fa5f Network/ENetPeer: Add GetLastReceiveTime 2018-05-13 14:44:09 +02:00
Lynix 8b6311de63 Lua/LuaState: Add Load methods 2018-05-13 14:42:27 +02:00
Jérôme Leclercq 70e0787b93 Utility/OBJLoader: Add index buffer optimization back
Fixes incorrect removal from d94baf133b
2018-05-03 14:41:32 +02:00
Jérôme Leclercq 41857a69ca Utility/OBJLoader: Remove debug line... 2018-05-03 14:38:32 +02:00
Jérôme Leclercq adab3cbc93 Sdk/DebugSystem: Fix OBB not taking offset in account 2018-05-03 13:33:29 +02:00
Jérôme Leclercq d53c245c78 Graphics/Model: Fix model not invalidating their bounding volume when their mesh AABB got updated 2018-05-03 13:32:53 +02:00
Jérôme Leclercq d94baf133b Utility/Mesh: Refactor Mesh & Submeshes 2018-05-03 13:32:17 +02:00
Jérôme Leclercq 03e976993f Revert "Make LuaImplQueryArg impl for std::vector (#162)"
This reverts commit 24ec816762.
2018-04-30 15:00:45 +02:00
Jérôme Leclercq 95f137816a Physics2D/PhysWorld2D: Add invStepCount argument to pre/post steps callbacks 2018-04-30 14:55:28 +02:00
Jérôme Leclercq d1a969288f Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2018-04-30 14:51:35 +02:00
S6066 24ec816762 Make LuaImplQueryArg impl for std::vector (#162) 2018-04-30 14:51:11 +02:00
HardCPP 232a371fa5 Add normalLength parameter to the DebugDrawer::DrawNormals (#163) 2018-04-30 14:49:44 +02:00
Jérôme Leclercq 8b1efa974f Revert "Oops again"
This reverts commit 1c608596e1.
2018-04-27 11:31:04 +02:00
Lynix 1c608596e1 Oops again 2018-04-26 22:49:14 +02:00
Lynix 8695e11436 Fix whitespace 2018-04-26 22:45:24 +02:00
Jérôme Leclercq aa18355997 Delete Makefile which has nothing to do here 2018-04-24 22:08:30 +02:00
Lynix 4a6d9dba51 Sdk/EntityOwner: Fix move assignement operator 2018-04-24 21:55:55 +02:00
Lynix 97067cb566 Sdk/Entity: Fix movement
Fixes OnEntityDestruction not being moved
2018-04-22 12:46:41 +02:00
Lynix 8ab1462402 Core/HandledObject: Make move constructor/assignation operator noexception 2018-04-22 12:33:36 +02:00
Lynix 2147156df9 RenderSystem: Temporary fix for lights not changing positions 2018-04-21 00:30:21 +02:00
Lynix 7244f1681c Utility: Fix MD5/MTL/OBJ file parsing 2018-04-21 00:29:53 +02:00