Commit Graph

762 Commits

Author SHA1 Message Date
S6066
49d33bea55 Implement LuaImpl* for Vector[2|3]<int> (#170)
* Implement LuaImplQueryArg for Vector[2|3]i

* Implement LuaImplReplyVal for Vector[2|3]i

* Edit changelog

* Fix previous commit crash

* Network/ENetPeer: Fix reliable sequence number wrap error

* Edit changelog

* what have I done to changelog
2018-07-10 14:48:23 +02:00
Lynix
6390da95d3 Fix previous commit crash 2018-07-07 14:35:11 +02:00
Jérôme Leclercq
cb6885d6a9 Graphics/CullingList: Fix compilation errors on MSVC with /permissive- 2018-07-06 15:24:30 +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
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
0bea301a48 Fixed some uninitialized variables 2018-06-09 13:59:35 +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
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
d94baf133b Utility/Mesh: Refactor Mesh & Submeshes 2018-05-03 13:32:17 +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
2147156df9 RenderSystem: Temporary fix for lights not changing positions 2018-04-21 00:30:21 +02:00
Lynix
9f74b71bd6 DebugSystem: Fix crash when asked to show collision mesh but entity has no collidercomponent 2018-04-21 00:27:46 +02:00
Lynix
d234d66120 Fix compilation 2018-04-15 03:31:01 +02:00
Lynix
65c6996ccd SDK/TextAreaWidget: Add support for line selection 2018-04-15 02:39:19 +02:00
Lynix
d253ec1adc Sdk/GraphicsComponent: Fix bounding volume when using a local matrix 2018-04-15 02:30:36 +02:00
Lynix
3362a4f160 Sdk/DebugSystem: Fix some warnings 2018-04-14 00:09:07 +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
Jérôme Leclercq
42b4759680 Sdk/Application: Give/clear console focus when enabling/disabling it 2018-04-12 13:42:54 +02:00
Jérôme Leclercq
26f0a9fec9 Sdk/Console: Add ClearFocus/SetFocus methods
Theses should be virtuals
2018-04-12 13:42:36 +02:00
Jérôme Leclercq
6fb44796a0 Sdk/Console: Fix SetCharacterSize not updating character size 2018-04-12 13:41:48 +02:00
Jérôme Leclercq
7cc94d0617 Sdk/Console: Fix merge issue 2018-04-12 13:41:30 +02:00
Jérôme Leclercq
f44a4dd349 Sdk/TextAreaWidget: Fix SetCharacterSize not updating displayed text 2018-04-12 13:41:09 +02:00
Jérôme Leclercq
917c41f90e Sdk/TextAreaWidget: Fix GetGlyphIndex not being const + add overload returning current glyph index 2018-04-12 13:40:39 +02:00
Jérôme Leclercq
583cfb5f71 Fix console size 2018-04-12 13:40:03 +02:00
Jérôme Leclercq
16014d3f37 Merge branch 'master' into console-widget 2018-04-12 12:47:17 +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
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
ae2fd0069a SDK/ListenerSystem: Handle velocity in a generic way (no longer require a VelocityComponent) 2018-04-08 17:52:12 +02:00
Jérôme Leclercq
2d56911e82 Sdk/EntityList: Fix copy assignation 2018-03-12 09:19:46 +01:00
Jérôme Leclercq
464419db73 SDK/EntityList: Fix movement 2018-03-06 17:33:33 +01:00
Jérôme Leclercq
242e154f09 Sdk/World: Fix world movement not moving profiler status 2018-02-27 16:31:23 +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
af12c5ed92 Merge branch 'master' into physics3d-material 2018-02-11 14:39:14 +01:00
Jérôme Leclercq
34fe5dd466 Fix refresh Lua binding and comments 2018-02-08 16:25:52 +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
7366d92818 Sdk/System: Fix time loss when using max update rate 2018-02-08 11:43:15 +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
1e88e23854 Merge branch 'master' into physics3d-material 2018-01-28 14:28:44 +01:00
Faymoon
4911aff64f Fix assert message error : NodeComponent instead of ParticleEmitterComponent (#156) 2018-01-22 14:22:18 +01:00
Lynix
c592acfd5f Merge branch 'master' into physics3d-material 2018-01-20 14:21:01 +01:00
Lynix
5380b6a41b Lua/LuaInstance: Move library initializations to LoadLibraries 2018-01-20 14:20:46 +01:00
germinolegrand
6d11e8d2ed Prerequisites instead of Prerequesites (typo) #152 Header Guard (#154)
For an unknown readon, this correction didn't get to the pull-request (?)
2018-01-19 14:25:33 +01:00
Jérôme Leclercq
d267354fdf Sdk/World: Fix uninitialize value found by valgrind 2018-01-18 10:38:17 +01:00