Commit Graph

2157 Commits

Author SHA1 Message Date
Lynix 55e3e05f0c Improve line wrap
It will now try to separate at word separations
2019-07-06 19:32:11 +02:00
Lynix 0ec1480024 Add line wrapping 2019-07-05 23:12:12 +02:00
Lynix 37c16dc202 Platform/Event: Add x/y mouse position to MouseWheelEvent 2019-07-05 22:17:22 +02:00
Lynix dcfd2ad8f9 Physics2D/PhysWorld2D: Add RaycastQuery and RegionQuery overloads taking a callback 2019-05-27 22:42:37 +02:00
Apjue 1244ef1303 Fix french comment 2019-04-26 21:51:43 +02:00
Apjue aec88aafa2 Fix Nazara version & fake tab 2019-04-26 21:47:24 +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 0ca823f9a6 Graphics: Remove sprite limit 2019-03-31 16:31:02 +02:00
Jérôme Leclercq 03e2bfb833 Merge pull request #201 from DigitalPulseSoftware/physics2d-position-offset
Add possibility to set a position offset to Physics2D bodies
2019-03-28 00:03:41 +01:00
Lynix b2da8d6c91 Fix compilation 2019-03-27 23:13:14 +01:00
Lynix 23887cc519 Merge branch 'master' into physics2d-position-offset 2019-03-26 20:33:40 +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
Lynix 3beeeebc1d Physics2D/RigidBody: Add position offset 2019-03-26 18:59:18 +01:00
Jérôme Leclercq ffc58e9806 Fix compilation 2019-03-20 17:18:45 +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 23b2f0a48d Platform/Window: Make PushEvent public 2019-03-10 15:50:16 +01:00
Lynix 90609476e9 Platform/Event: Change mouse absolute position from unsigned to signed
Fixes cases where mouse is out of the window by either up or left sides
2019-03-06 21:17:01 +01:00
Alexandre Janniaux 5343b581ad Warnings: fix opengl redefined name (#196)
* opengl: use official include names

* thirdparty: rename GL3 into GL
2019-02-13 01:05:07 +01:00
larnin b002a054df Fix tilemap multimaterial (#197) 2019-02-13 01:03:47 +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 ecd42704a6 Remove MSVC-specific fix 2019-01-19 02:21:29 +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 a292e47673 Network/ENetPeer: Fix return type of GettotalPacket[Lost|Sent] 2018-10-24 20:26:50 +02:00
Lynix 4e9d4c10da Network: Add accessors to ENetHost/ENetPeer 2018-10-21 13:52:14 +02:00
Jérôme Leclercq 5e45983953 Math/Angle: Fix compilation & warning on GCC < 8 2018-10-12 17:09:39 +02:00
Jérôme Leclercq 4c4822eef9 Core/ObjectHandle: Remade object handle system 2018-10-12 15:46:40 +02:00
Lynix 3933d5007d Physics2D/RigidBody2D: AddTorque now takes a RadianAnglesf instead of a float 2018-10-11 00:08:26 +02:00
Lynix d2b1d51ecb Math/Angle: Replace conversion constructors by conversion operators 2018-10-11 00:07:50 +02:00
Lynix 6653be6f2c Math/Angle: Make use of ToRadians() 2018-10-10 23:12:45 +02:00
Lynix fb11fe1ecf Math/Angle: Rename angle field to value 2018-10-10 23:12:27 +02:00
Lynix 7613f50a6e Math/Angle: Rework ToDegrees/ToRadians
- Rename To[Degrees|Radians] to To[Degrees|Radians]Angle
- Add To[Degrees|Radians] methods which returns an angle value
2018-10-10 23:01:23 +02:00
Lynix 9cc83aafda Math/Angle: Add FromDegrees and FromRadians builders 2018-10-10 22:59:57 +02:00
Lynix 30348525d7 Physics2D: Expose elasticity/friction/surface velocity 2018-10-09 23:22:28 +02:00
Lynix dc6fbfc90f Replace floating point angle by Angle class instance 2018-10-09 23:20:53 +02:00
Lynix 7f2826f192 Graphics/CullingList: Fix visibility hash being always the same, causing visibility issues 2018-10-05 19:53:35 +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