Commit Graph

241 Commits

Author SHA1 Message Date
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 52f80a68cb Renderer/OpenGL: Enable GL_TEXTURE_CUBE_MAP_SEAMLESS 2018-04-21 00:28:57 +02:00
Lynix 2234539b7f Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2018-04-18 20:15:02 +02:00
Lynix cb8f0417a7 Core/Stream: Fix ReadLine behavior towards empty lines 2018-04-18 20:14:56 +02:00
Jérôme Leclercq 8a1d61c3ea Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2018-04-16 12:56:15 +02:00
Lynix d68346ca17 Utility/SimpleTextDrawer: Fix line bounds 2018-04-15 02:42:12 +02:00
Lynix 65c6996ccd SDK/TextAreaWidget: Add support for line selection 2018-04-15 02:39:19 +02:00
Lynix 347f8cc986 Utility/Font: Fix handling of whitespace glyphs 2018-04-15 02:34:21 +02:00
Lynix 251b8af03a SDK: Add DebugComponent
@gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga
2018-04-13 22:09:19 +02:00
Lynix 19f17fa059 Graphics: Add 2D & cubemap white textures 2018-04-13 00:00:36 +02:00
Jérôme Leclercq 2f2b1f101b Core/Quaternion: Fix Inverse method 2018-04-12 12:45:19 +02:00
Jérôme Leclercq 2da086b7df New Render queues (#161)
* Add new render queues proof of concept + scissoring support (WIP)

* Graphics: Adapt basic sprites rendering to new render queue system

* Graphics: Fix layers when rendering sprites

* Graphics/RenderQueue: Fix sprite default overlay

* Graphics: Enable scissor test by default

* SDK/Widgets: Enable scissoring on widgets

* Graphics: Handle almost everything with the new renderqueues system

Todo:
- Billboard rendering
- Proper model rendering

* Graphics/RenderQueue: Billboard drawing now works (WIP)

At 1/4 of previous code performances due to individually process of billboards

* Add new render queues proof of concept + scissoring support (WIP)

* Graphics: Adapt basic sprites rendering to new render queue system

* Graphics: Fix layers when rendering sprites

* Graphics/RenderQueue: Fix sprite default overlay

* Graphics: Enable scissor test by default

* SDK/Widgets: Enable scissoring on widgets

* Graphics: Handle almost everything with the new renderqueues system

Todo:
- Billboard rendering
- Proper model rendering

* Graphics/RenderQueue: Billboard drawing now works (WIP)

At 1/4 of previous code performances due to individually process of billboards

* Graphics/RenderQueues: Add full support for billboards

* Graphics/RenderQueue: Cleanup and improve billboard rendering

* Graphics/RenderQueue: Fix model drawing

* Examples/Particles: Fix lighting on space station

* Graphics: Cleanup forward render queue/technique

* Fix compilation under Linux

* Graphics/ForwardRenderTechnique: Fix case when scissoring is enabled on material but disabled on element

* Add support for Deferred Shading

* SDK/Widgets: Fix widget rendering

* Graphics: Remove legacy code from render queues

* Graphics: Fix some objects sometimes not showing up due to broken scissor box

* Fix compilation error

* Sdk/GraphicsGraphics: Fix bounding volume

* SDK/World: Fix self-assignation

* Update changelog for render queues
2018-04-11 19:36:52 +02:00
Jérôme Leclercq 938aa79ffc Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2018-04-10 16:13:00 +02:00
Jérôme Leclercq d6392c33ad Core/Directory: Fix GetResultSize and IsResultDirectory methods on Posix 2018-04-10 16:12:15 +02:00
Lynix 42a263ed6a Graphics/Billboard: Fix bounding volume 2018-04-09 20:33:40 +02:00
Lynix 1e88f5ddf8 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2018-04-09 20:05:36 +02:00
Jérôme Leclercq e299e1f03e Sdk/World: Add ForEachSystem method 2018-04-09 12:37:58 +02:00
Jérôme Leclercq e99d34f195 Sdk/World: Add const getters for systems 2018-04-09 12:34:37 +02:00
Lynix c9904e7d20 Audio/Sound: Fix copy constructor not copying looping state 2018-04-08 18:50:42 +02:00
Lynix ae2fd0069a SDK/ListenerSystem: Handle velocity in a generic way (no longer require a VelocityComponent) 2018-04-08 17:52:12 +02:00
Lynix 3c4c0fab66 Audio: Make Music, Sound, SoundEmitter movable 2018-04-08 17:51:25 +02:00
Lynix 05a5c4c42e Utility/OBJLoader: Add support for emissive/normal maps by using custom keywords 2018-04-04 21:30:59 +02:00
Lynix 31c272ab98 Core/HandledObject: Fix move assignement operator 2018-04-03 22:05:35 +02:00
Lynix e8e3c29f37 Refactor IpAddressImpl.cpp (Windows) + update changelog 2018-04-02 16:30:39 +02:00
Lynix 715729fc02 Network: Add support for dual-stack sockets 2018-04-01 20:48:50 +02:00
Lynix 0e3871b19e Physics3D/Collider3D: Fixed ConvexCollider3D::GetType() 2018-03-26 20:24:17 +02:00
Jérôme Leclercq 554fcd6492 Physics3D/Collider3D: Add ForEachPolygon method 2018-03-26 16:57:16 +02:00
Lynix 25f2bcf03f Revert "Core/Algorithm: Fix Apply problems"
This reverts commit 9a8c807d18.
2018-03-20 21:50:22 +01:00
Lynix 6ef5afb88d Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2018-03-20 21:00:19 +01:00
Lynix 9a8c807d18 Core/Algorithm: Fix Apply problems 2018-03-20 20:59:54 +01:00
Lynix ad82de2962 Replace typedef keywords by using 2018-03-20 20:59:04 +01:00
Lynix 69f079fcc8 Core/Serialization: Add type tag parameters 2018-03-20 20:56:06 +01:00
Jérôme Leclercq 457a87d067 Network/ENet: Fix ENetCompressor destructor not being virtual 2018-03-20 17:12:42 +01:00
Jérôme Leclercq 2d56911e82 Sdk/EntityList: Fix copy assignation 2018-03-12 09:19:46 +01:00
Lynix 3036c32d9d Core/Bitset: 2018-03-06 20:25:29 +01:00
Lynix 7875ece869 Build: Fix platform module not being client-only 2018-02-25 18:21:42 +01:00
Lynix 0063ca9950 Math/VectorI: Remove array constructor 2018-02-18 18:57:30 +01:00
Lynix efd07029e3 Physics3D/PhysWorld3D: Fix move constructor/operator 2018-02-17 14:23:27 +01:00
Lynix be6a56d76a Update ChangeLog 2018-02-17 14:22:33 +01:00
Lynix 166ecffc32 Sdk/[Collision|Physics]Component2D: Set internal rigidbody userdata to the entity id 2018-02-17 14:22:25 +01:00
Lynix 39c89c52f4 Platform/Window: Fix size event triggering key event on Windows 2018-02-15 21:08:38 +01:00
Jérôme Leclercq 45af15d802 Physics[2|3]D/PhysWorld[2|3]D: Add max step count 2018-02-09 17:29:20 +01:00
Jérôme Leclercq bb7c97ed9a Add PhysWorld2D::UseSpatialHash 2018-02-09 17:25:11 +01:00
Jérôme Leclercq 17849226e4 Physics2D/PhysWorld2D: Add iteration count control 2018-02-09 17:24:00 +01:00
Jérôme Leclercq 1feb4b2ba7 Build: defines NDEBUG in Release 2018-02-09 17:16:51 +01:00
Jérôme Leclercq a9364ab7e2 Sdk/World: Add profiler 2018-02-08 16:25:27 +01:00
Jérôme Leclercq 6161b1a751 Sdk/World: Use a Bitset to store free entity id 2018-02-08 15:15:56 +01:00
Jérôme Leclercq 555817e3ee World: Rename Update() to Refresh()
Also updated comment block
2018-02-08 14:32:53 +01:00
Jérôme Leclercq 15fb338e36 Update ChangeLog.md 2018-02-07 15:07:17 +01:00
Jérôme Leclercq fb3eb9443e Core/Clock: Restart now returns the elapsed time in milliseconds 2018-02-07 15:02:44 +01:00
Lynix 5380b6a41b Lua/LuaInstance: Move library initializations to LoadLibraries 2018-01-20 14:20:46 +01:00
Jérôme Leclercq 7a04c6f83b Physics2D/RigidBody2D: Add EnableSimulation/IsSimulationEnabled 2018-01-17 17:13:50 +01:00
Jérôme Leclercq e211354b4d Updated ChangeLog.md 2018-01-17 15:43:38 +01:00
Lynix 0b2d5b9332 Build: Improve coherence
This will prevent regeneration of the project for no reason.
There's a remaining bug with the units tests (which sometimes are processed before SDK, thus ending with less dependencies libraries)
2018-01-14 14:24:23 +01:00
Faymoon 4f6bf30f24 Constraint 2D (#147)
* Rename all Constraint by [name]Constraint3D

* Create Refs and Libraries for Constraint2D

* Remove ref to PhysWorld in Constraints ctors

* Update Constraint2d ctor to have RigiBodies first

* Add New static function for all constraints and fix an oopsie

* Add Contraint Library and remove all library useless aliases

* Add ConstraintComponent2D

* remove useless definition of Constraint2D library

* Fix : getting the world of the constraint before having created it

* Make the GetStaticBody function return a ref

* Remove : Useless AddJoint Fonction and Update CreateJoint function

* Update PhysicsSystem3D because GetStaticBody return now a ref

* Oops

* Having done something with the 3D and i was needing 2D

* Add ConstraintComponent as friend of Collision and PhysicsComponent

* Update all the Get[Static/Rigid]Body function so they return a pointer

* fix the bugs caused by the commit before

* update : CreateConstraint lambda for the nullptr case

* remove the useless  use of const pointer

* Update : CreateConstraint function

* Update ChangeLog.md
2018-01-13 11:03:03 +01:00
Jérôme Leclercq 48b9203cb1 Update ChangeLog.md 2018-01-11 14:09:20 +01:00
Lynix ee77899a6a Utility: Add JPEG image saver 2018-01-07 03:19:55 +01:00
Lynix 054c74bded Extlibs: Update stb_image(_write) 2018-01-07 03:19:36 +01:00
Lynix 8697cf33e6 Utility/OBJParser: Fix relative offsets loading 2018-01-06 02:46:51 +01:00
Lynix 61ecedfe8c Build: Merged extern workspace to main (and only) workspace
Also removed extern libraries precompiled binaries
2018-01-06 02:45:20 +01:00
Jérôme Leclercq acc24158ec Update ChangeLog.md 2018-01-05 16:28:50 +01:00
Lynix f1b84bfc9e Sdk/Physics3D: Handle properly disabled physics entity 2017-12-10 14:07:18 +01:00
Lynix 498bd77d8a Sdk/BaseComponent: Add OnEntityDisabled and OnEntityEnabled callbacks 2017-12-10 14:06:43 +01:00
Lynix 33b3b2feaf Physics3D/RigidBody3D: Add simulation property 2017-12-10 13:35:58 +01:00
Lynix b8e447e4fe Physics3D/RigidBody3D: Fix copy constructor not copying all states 2017-12-10 12:10:47 +01:00
Lynix 0df70dcb16 Physics3D/RigidBody3D: Rename [Get|Set]Velocity to [Get|Set]LinearVelocity 2017-12-10 12:09:36 +01:00
Lynix 37bbdfb34b Update changelog with latests changes 2017-12-09 20:41:42 +01:00
Lynix 69590b52a7 Update ChangeLog.md 2017-11-28 23:22:41 +01:00
Jérôme Leclercq 377dd992b9 Sdk/Canvas: Implement tab/shift-tab to switch to next/previous widget 2017-11-23 14:48:59 +01:00
Jérôme Leclercq c435923533 Update ChangeLog 2017-11-23 13:39:38 +01:00
Jérôme Leclercq aa623a4933 Core/Flags: Add Test method 2017-11-22 12:58:56 +01:00
Jérôme Leclercq 54faabcc33 Core/Flags: Allow explicit operator conversion to any integer type of the same size (or greater size) than the internal size 2017-11-22 12:58:17 +01:00
Jérôme Leclercq b83a9b60e7 Sdk/World: Fix destruction retrieval while world clear 2017-11-22 10:26:33 +01:00
Jérôme Leclercq 9c9b9ed49f Core/String: Fix movement leaving a null shared string 2017-11-22 09:27:23 +01:00
Jérôme Leclercq f84ac9c52b Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-11-21 12:26:45 +01:00
Jérôme Leclercq 3589a2bc8e Core/Flags: Reworked Flags class 2017-11-21 12:26:22 +01:00
Gawaboumga f991a9529e General bug fixes (#142)
* Core/Bitset: Fix TestAll method

* Fix documentation

* Fix color and their conversions

* Core/ByteStream: Fix return of Write

* Fix compiler warnings

* Math/Algorithm: Fix angle normalization

* Math/BoundingVolume: Fix lerp

* Math: Fix relation between Matrix4 and Quaternion

* More tests

* X11/Window: Fix mouse moved event generated when doing Mouse::SetPosition

* Update ChangeLog

* Should fix compilation on Windows

* Should fix compilation on Windows

Forgot to include array for Windows
2017-11-21 12:16:46 +01:00
Lynix 4fc076325c Sdk/StateMachine: Fix instantaneous state change 2017-11-19 17:09:56 +01:00
Lynix 14924f0e74 Sdk/BaseWidget: Fix compilation on Linux 2017-11-15 01:25:33 +01:00
Lynix 0487b282d7 Sdk/TextAreaWidget: Show cursor as long as focus is active 2017-11-11 18:42:30 +01:00
Lynix f136530a74 BaseWidget: Renamed GrabKeyboard to SetFocus, added ClearFocus and focus virtual methods 2017-11-11 18:38:11 +01:00
Jérôme Leclercq e3f21b7268 Sdk/TextAreaWidget: Add OnTextChanged signal 2017-11-10 13:13:33 +01:00
Jérôme Leclercq bb6e032b60 Sdk/TextAreaWidget: Add support for EchoMode 2017-11-10 13:12:04 +01:00
Jérôme Leclercq 4a238f825a Update changelog 2017-11-10 12:52:42 +01:00
Lynix d688cecbde Renderer: Replaced RenderTarget::Get[Height|Width] by RenderTarget::GetSize
Utility: Removed Window::Get[Height|Width] methods
2017-10-28 23:26:22 +02:00
Lynix 9daadb73bc Utility: Make mesh loader use the parameters vertex declaration 2017-10-21 04:51:05 +02:00
Lynix 995dfddafa Utility/MeshParam: Use constref instead of pointer 2017-10-19 21:05:48 +02:00
Lynix e0bdd35280 VertexMapper: GetComponentPtr no longer trigger an error/assert 2017-10-19 21:01:07 +02:00
Lynix cb6f1610bc Add changelog file 2017-10-19 20:59:19 +02:00