Commit Graph

4595 Commits

Author SHA1 Message Date
Lynix ecd42704a6 Remove MSVC-specific fix 2019-01-19 02:21:29 +01:00
Lynix bc625b5c8b Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2019-01-19 02:17:21 +01:00
Alexandre Janniaux c152d2b62b unicode: silence shadow variable warnings (#194) 2019-01-14 22:09:03 +01:00
Faymoon fc86d098c3 Update Velocity[System/Component] to add CoordSys_Local support (#193) 2019-01-11 09:29:37 +01:00
Lynix cd54cf641b Alignment fix 2018-12-19 22:22:30 +01:00
Lynix 0740ee456a Lua/LuaCoroutine: Fixed movement assignation operator 2018-12-19 22:08:50 +01:00
Jérôme Leclercq beed59b94c Physics2D/RigidBody2D: Fix potential crash if closestDistance is passed as nullptr 2018-11-16 17:42:59 +01:00
Lynix a3fd69a453 Lua/LuaState: Add RawEqual function 2018-11-14 23:54:31 +01:00
Lynix c4cf6d2f53 Graphics/BasicRenderQueue: Extends maximum layer count to 65535 2018-10-29 22:06:09 +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 fa7cbc21e5 SDK/PhysicsSystem2D: Fix initial position/rotation 2018-10-24 20:54:11 +02:00
Lynix 2c0c8ef0a0 SDK/PhysicsComponent2D: Add node synchronization 2018-10-24 20:38:20 +02:00
Lynix a292e47673 Network/ENetPeer: Fix return type of GettotalPacket[Lost|Sent] 2018-10-24 20:26:50 +02:00
Lynix f3febe5d34 Network/ENetHost: Comment out warning in case of error 2018-10-21 13:53:06 +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 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
S6066 56922001ba Widgets Fixes (#190)
* CheckboxWidget: Check

* ImageWidget: Check

* LabelWidget: Delete uselessly overridden Layout

* ProgressBarWidget: Check
2018-10-09 23:23:22 +02:00
Lynix a24944d103 Update changelog 2018-10-09 23:22:50 +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 f02f206aff SDK/PhysicsComponent2D: Allow massless bodies 2018-10-07 17:34:46 +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 5108eb8906 Sdk/EntityOwner: Make Entity* constructor implicit 2018-10-01 23:14:02 +02:00
Lynix 34787d6766 Network/SocketImpl: Fix linux build 2018-10-01 23:10:25 +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 8091e52348 Forgot to save this file 2018-09-30 18:07:38 +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
Jérôme Leclercq e1cfa2e184 And again 2018-09-25 15:56:35 +02:00
Jérôme Leclercq 2243749480 Math/Angle: Fix warning 2018-09-25 15:55:16 +02:00
Jérôme Leclercq 706a06b506 Increase NetPacket size from UInt16 to UInt32 2018-09-25 15:51:45 +02:00
Jérôme Leclercq 974fa07bcb Remove Vulkan.hpp 2018-09-25 14:53:56 +02:00
Jérôme Leclercq b6a33c76ca Fix crash on moving empty NetPacket 2018-09-25 14:53:49 +02:00
Lynix 602bdbe292 Update changelog 2018-09-11 21:16:27 +02:00
Jérôme Leclercq 53aa9ea170 Layouts (#189)
* Layout WIP

* Widgets/BoxLayout: Fix layout algorithm

* Widgets/BoxLayout: Fix box layout algorithm for good

* SDK/Widgets: Remove padding

* Sdk/Widgets: Make use of minimum/preferred size

* Sdk/TextAreaWidget: Add Minimum/PreferredSize to TextArea

* Sdk/Widgets: Add height/width variants of get/set fixed, maximum, minimum and preferred size methods

* Sdk/BoxLayout: Remove useless code

* Sdk/TextAreaWidget: Fix compilation

* Widgets/TextAreaWidget: Fix cursor position
2018-09-11 21:03:44 +02:00
Lynix d99ae411c6 Renderer/OpenGL: Fix glUniformMatrix4dv not being loaded 2018-09-09 13:56:29 +02:00
Faymoon 7c5b0df96c Make all component inherits of HandledObject (#185)
* 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

* Rename m_world into m_physWorld

* Rename GetWorld int GetPhysWorld

* Update: PhysicsSystem2D became an interface of PhysWorld2D

* Update Collison/PhysicsComponent because GetWorld was renamed

* Update tests

* Update: Make the interface usable with Entity instead of PhysicsComponent

* Update: Make GetPhysWorld private

* Update PhysicsSystem2D.hpp

* Update: indent

* Remove: useless blank line

* update order(?)

* Update PhysicsSystem2D.hpp

* Add calls to GetPhysWorld to attempt a nullptr value

* update include

* little fix

* add some missing inline

* Fix

* Make all component inherits of HandledObject

* fix: compilation error

* Add Handle alias for all Components

* forgot in last commit
2018-09-08 10:28:25 +02:00
S6066 5f2cec313a Fix readme's (#188) 2018-09-07 17:47:49 +02:00