Commit Graph

241 Commits

Author SHA1 Message Date
Lynix c09b2d3747 SDK/Entity: Add OnEntity[Disabled|Enabled] signals 2019-07-05 22:21:06 +02:00
Lynix 5039bfbf1d SDK/BaseWidget: Add OnMouseWheelMoved event 2019-07-05 22:19:17 +02:00
Lynix 37c16dc202 Platform/Event: Add x/y mouse position to MouseWheelEvent 2019-07-05 22:17:22 +02:00
Lynix 6e7fd326db SDK/BaseWidget: Fix possible crash when disabling background 2019-06-13 19:06:09 +02:00
Lynix 29718db085 SDK/TextAreaWidget: Add TextOutline property 2019-06-13 19:05:25 +02:00
Lynix dcfd2ad8f9 Physics2D/PhysWorld2D: Add RaycastQuery and RegionQuery overloads taking a callback 2019-05-27 22:42:37 +02:00
Jérôme Leclercq b88c9b2cec Sdk/World: Fix entity kill and invalidation bug 2019-05-13 16:50:19 +02:00
Lynix 79b0bd644c Add text outlines! 2019-04-16 01:46:26 +02:00
Lynix e61faae089 Physics2D/PhysWorld2D: Fix multiple calls to RegisterCallbacks with the same collision id 2019-04-15 16:25:40 +02:00
Lynix 8c7d886f73 Math/Algorithm: Reenable constexpr 2019-04-15 14:16:57 +02:00
Lynix 0582cbfc26 Utility: Replace UInt32 by TextStyleFlags 2019-04-13 13:09:53 +02:00
Jérôme Leclercq e665ea5373 Graphics/Material: Fix Configure resetting textures 2019-04-12 15:29:15 +02:00
Lynix d234d2084d SDK/StateMachine: Fixed ignored transitiions 2019-04-07 21:36:08 +02:00
Lynix 793c5abfe3 SDK: Add LifetimeComponent and LifetimeSystem 2019-04-07 21:35:10 +02:00
Lynix 713a70dd10 Renderer/TextureSampler: Set default texture sampler to Clamp 2019-04-06 15:09:05 +02:00
Lynix 4821eb14a7 Physics2D: Fix some last stuffs 2019-03-26 22:01:10 +01:00
Lynix e00d0baa00 SDK/DebugSystem: Add support for Collider2D 2019-03-26 19:05:25 +01:00
Lynix 11e98918ab Physics2D/Collider2D: Add ForEachPolygon method 2019-03-26 19:03:56 +01:00
Lynix ce43b633b9 Physics3D/Collider3D: Update ForEachPolygon signature 2019-03-26 19:02:27 +01:00
Jérôme Leclercq 853e01c192 Enet fixes (#200)
* Network/ENet: Fix UnreliableFragment flag

* Network/ENet: Match libenet new behavior on DisconnectLater
2019-03-20 17:12:34 +01:00
Lynix bdb5a4b3bd Core/Signal: Implement copy constructor/copy assignation operator 2019-03-17 18:06:05 +01:00
Lynix 439a62a7f8 Physics2D: Automatically compute center of mass 2019-03-17 15:56:38 +01:00
Lynix b6c1bfb5d0 Math/Vector4: Fixed missing implementation 2019-03-16 15:43:37 +01:00
Lynix c2a44f7616 Math: Added Vector[2|3|4](u)i64 typedefs 2019-03-16 15:40:52 +01:00
Lynix cdf9611080 Graphics/TileMap: Fix material index rendering 2019-03-10 18:13:03 +01:00
Lynix 23b2f0a48d Platform/Window: Make PushEvent public 2019-03-10 15:50:16 +01:00
Lynix 097d16f664 SDK/GraphicsComponent: Fix material update not invalidating culling 2019-03-10 15:13:16 +01:00
Lynix ec3cb12451 Platform/Cursor: Fixed SystemCursor_Move on Windows 2019-03-10 15:12:20 +01:00
Lynix 8c91d6a77d Platform/Window: Fix SetCursor always changing cursor 2019-03-10 15:11:16 +01:00
Lynix e0d460eb95 Update ChangeLog.md 2019-03-06 23:01:42 +01:00
Apjue f4e6f6a44f Premake: Set libraries' rpath to current folder (#199)
* Set libraries' rpath to .

* Update changelog
2019-03-06 23:00:30 +01:00
Lynix 662ccbd5d0 Physics2D/RigidBody2D: Add possibility to setup a custom velocity function 2019-01-19 02:31:29 +01:00
Lynix 40cd8a7987 Physics2D/RigidBody2D: Add ForEachArbiter method 2019-01-19 02:29:27 +01:00
Lynix 9be8d0eae4 Add RigidBody2D::GetBodies 2019-01-19 02:25:45 +01:00
Lynix 0740ee456a Lua/LuaCoroutine: Fixed movement assignation operator 2018-12-19 22:08:50 +01:00
Lynix a3fd69a453 Lua/LuaState: Add RawEqual function 2018-11-14 23:54:31 +01:00
Jérôme Leclercq ed46c87781 Refactor the way resources are loaded (#191)
* WIP

* WIP

* Font works

* WIP: Only Music remains

* Looks like it's working

* Fix oopsie

* Core/ObjectRef: Add cast functions

* Update ChangeLog.md

* Audio/SoundStream: Make sound stream thread-safe
2018-10-28 01:53:11 +02:00
Lynix 2c0c8ef0a0 SDK/PhysicsComponent2D: Add node synchronization 2018-10-24 20:38:20 +02:00
Lynix 4e9d4c10da Network: Add accessors to ENetHost/ENetPeer 2018-10-21 13:52:14 +02:00
Lynix 9674d7373c SDK/PhysicsComponent2D: Add missing parameter to SetMass 2018-10-20 23:52:32 +02:00
Jérôme Leclercq 4c4822eef9 Core/ObjectHandle: Remade object handle system 2018-10-12 15:46:40 +02:00
Lynix a24944d103 Update changelog 2018-10-09 23:22:50 +02:00
Lynix f02f206aff SDK/PhysicsComponent2D: Allow massless bodies 2018-10-07 17:34:46 +02:00
Lynix 5108eb8906 Sdk/EntityOwner: Make Entity* constructor implicit 2018-10-01 23:14:02 +02:00
Lynix aa9bec6e5e Network/TcpClient: Revert to previous behavior on failure 2018-10-01 23:05:14 +02:00
Lynix 67c56b2aba Network/TcpClient: Add PollForConnected 2018-10-01 23:04:53 +02:00
Lynix dad2dbae1c Network/TcpClient: WaitForConnected now returns new socket state 2018-10-01 22:38:20 +02:00
Lynix 13a515c1b5 Network/TcpClient: WaitForConnected now closes the socket on failure 2018-10-01 22:19:49 +02:00
Lynix f6b0405f9b Sdk/RenderSystem: Resolve skinning before rendering 2018-09-30 18:08:17 +02:00
Lynix f0da71b807 Move changelogs entries belonging to the NDK 2018-09-30 18:05:15 +02:00
Lynix 583393acd0 Network/AbstractSocket: Replace OnStateChange signal by OnStateChanged 2018-09-30 18:04:49 +02:00
Lynix 602bdbe292 Update changelog 2018-09-11 21:16:27 +02:00
Jérôme Leclercq ba59bc927f AppVeyor: Switch from VS2015 to VS2017 2018-09-07 13:48:27 +02:00
Lynix 8bcb8756f9 Fill changelog 2018-09-05 22:42:39 +02:00
Lynix b1241da2a6 Fill changelog
[skip-ci]
2018-08-31 22:17:40 +02:00
Jérôme Leclercq 56873b92b0 Network/Socket: Fix Connect (timeout) on Windows/Linux 2018-08-30 13:03:50 +02:00
Lynix 933cb64488 Physics2D/Collider2D: Allow to prevent individual colliders properties override 2018-08-24 16:30:03 +02:00
Lynix b9e36f36e2 Graphics/TileMap: Fix sprite data corruption with multiple materials 2018-08-23 17:46:18 +02:00
Jérôme Leclercq ffc833439d Physics2D/Collider2D: Add some missing getters 2018-08-17 17:03:49 +02:00
Jérôme Leclercq e4d547316d Core/ObjectHandle: Fix Reset(ObjectHandle&&) not clearing the pointer 2018-08-16 18:06:02 +02:00
S6066 d83c12c2d3 TextAreaWidget: Make Tab writable (#175)
* TextAreaWidget: Make Tab writable

* Implement Tab ena/disabling, disable it by default

* Log change

* Rename Tab Enabling function

* Add useful Write/Delete functions

* Finished!

* whoops

* Fix everything

* whoops

* I don't know why but it works

* whoops

* I'M PUSHING.
2018-08-14 20:53:26 +02:00
Lynix 9ecfe31637 Build: Copy .dll only if host is Windows 2018-08-08 10:35:49 +02:00
Faymoon fd2c775d3e Update ChangeLog.md (#180) 2018-08-08 10:34:34 +02:00
Lynix 602992609f Sdk/RenderSystem: Add EnableCulling method 2018-08-04 15:38:05 +02:00
Lynix b14367375c Add missing entries in ChangeLog 2018-08-03 23:57:51 +02:00
Lynix 49d59d93d8 Revert "Core/Flags: Make operators |= &= and ^= constexpr"
This reverts commit a363ae312f.
2018-08-03 23:56:52 +02:00
Lynix a363ae312f Core/Flags: Make operators |= &= and ^= constexpr 2018-08-03 20:26:44 +02:00
S6066 cf24b8abe4 TextAreaWidget: Implement movement with Ctrl key (#176)
* TextAreaWidget: Implement movement with Ctrl key

* whoops, remove useless comments

* Fixies
2018-08-03 08:45:42 +02:00
S6066 05f277deeb Ndk/TextAreaWidget: Add possibility to write only one specific character category (#174)
* Ndk/TextAreaWidget: Add possibility to write only one specific character category

* Add support for multiple categories

* Use a predicate instead of an enum

* Log change

*  String::FindLast/FindWord: Fix bug where index wouldn't be used (#177)

* String::FindLast/FindWord: Fix bug where index wouldn't be used

* Log change

* Update Physics2D Component and Body (#178)

* Update

* Add: [Get/Set]AngularDaming for standardization

* Fix: Name error

* Add: [Get/Set][AngularDamping/MomentOfInertia] in PhysicsComponent2D

* Forgot in last commit

* Add: param coordSys in [PhysicsComponent2D/RigidBody2D]::SetMassCenter

* Add: Some forgotten inline

* Fix little error

* Fix: Indentation before case

* Move and Change GetCenterOfGravity

* Physics2D: Add Arbiter2D

* Fix deprecation warning

* Fix units tests :derp:

* Fixies
2018-08-03 08:43:48 +02:00
Jérôme Leclercq b92e23fcd6 Physics2D: Add Arbiter2D 2018-08-02 15:42:14 +02:00
S6066 4a09de7e0b String::FindLast/FindWord: Fix bug where index wouldn't be used (#177)
* String::FindLast/FindWord: Fix bug where index wouldn't be used

* Log change
2018-08-01 23:12:02 +02:00
S6066 d91c48ab50 Widgets: Force parent parameter to be present (#172) 2018-07-31 13:24:28 +02:00
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
Jérôme Leclercq a870954762 Network/ENetPeer: Fix reliable sequence number wrap error 2018-07-09 18:06:08 +02:00
Jérôme Leclercq cb6885d6a9 Graphics/CullingList: Fix compilation errors on MSVC with /permissive- 2018-07-06 15:24:30 +02:00
Jérôme Leclercq e4b67019cb Math/Vector[2|3]: Removed Distancef and made Distance templated 2018-07-02 18:13:14 +02:00
Jérôme Leclercq 2fcea6b79f Core/StackArray: Moved StackArray class to its own header 2018-07-02 17:53:49 +02:00
Lynix eeaaebb15c Core: Add ObjectLibrary::Clear 2018-07-01 00:36:59 +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 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
Lynix 2f0c62df20 Graphics/InstancedRenderable: Make SetMaterial methods public 2018-06-06 19:32:28 +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 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 f2c16f916a Lua/LuaState: Add error handling methods 2018-05-21 19:31:19 +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 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 95f137816a Physics2D/PhysWorld2D: Add invStepCount argument to pre/post steps callbacks 2018-04-30 14:55:28 +02:00