Commit Graph

4734 Commits

Author SHA1 Message Date
Jérôme Leclercq 7bb6c84752 Graphics/CullingList: Improve culling list
- Now supports box culling
- Removed branch
- Removed complex hash combination and replaced it with a much faster algorithm
- It now supports partial visibility
2018-08-31 17:26:50 +02:00
Jérôme Leclercq 56873b92b0 Network/Socket: Fix Connect (timeout) on Windows/Linux 2018-08-30 13:03:50 +02:00
Jérôme Leclercq d0e33225b7 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2018-08-30 12:10:36 +02:00
Jérôme Leclercq 28c6bd7af7 Network: Log internal errors 2018-08-30 12:10:33 +02:00
Lynix b8e25502f5 Physics2D/RigidBody2D: Fix useless copy 2018-08-29 20:55:19 +02:00
Lynix e62afabd71 Physics2D/Collider2D: Fix CompoundCollider2D filters 2018-08-29 20:54:57 +02:00
S6066 652ecd2404 [Premake5: package] Fix typo in pack-libdir's description (#186) 2018-08-28 22:35:20 +02:00
Lynix 109e6a89ca Sdk/PhysicsSystem2D: Removed copy constructor 2018-08-28 22:05:31 +02:00
Lynix 78faacf03f PhysicsSystem2D: Fix RegisterCallbacks for good
Allowing move instead of forcing copy
Fixing RegisterCallbacks overload
2018-08-28 22:05:15 +02:00
Lynix cd0647008c SDK/PhysicsSystem2D: Fix temporary taken by reference 2018-08-28 21:56:32 +02:00
Lynix fd9db1b639 Graphics/CullingList: Add forceInvalidation parameter 2018-08-25 22:41:34 +02:00
Lynix a3a4ed89b8 Graphics/Material: Fix reflection mode not being copied 2018-08-25 22:41:05 +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
Faymoon 2db5273d36 Fix (#184) 2018-08-23 17:29:02 +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
Faymoon beca6e7dd5 little fixes (#183)
* 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
2018-08-14 18:44:41 +02:00
Lynix 9ecfe31637 Build: Copy .dll only if host is Windows 2018-08-08 10:35:49 +02:00
Lynix 8ffe7f14ba Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2018-08-08 10:34:32 +02:00
Faymoon fd2c775d3e Update ChangeLog.md (#180) 2018-08-08 10:34:34 +02:00
Faymoon 0a5e9e040d Update PhysicsSystem2D (#179)
* 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
2018-08-07 19:08:01 +02:00
Lynix 5bb16ab016 Revert "Sdk/DebugSystem: Fix OBB drawing"
This reverts commit a12c72186f.
2018-08-05 15:09:26 +02:00
Lynix 602992609f Sdk/RenderSystem: Add EnableCulling method 2018-08-04 15:38:05 +02:00
Lynix f3ea154da4 Try to reenable AppVeyor artifacts 2018-08-03 23:58:43 +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 72e365efb1 Fix compilation on Linux 2018-08-03 20:32:49 +02:00
Lynix a363ae312f Core/Flags: Make operators |= &= and ^= constexpr 2018-08-03 20:26:44 +02:00
Lynix 39d1d31639 Core: Integrated Unicode data 2018-08-03 20:24:56 +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 46e3de90ed Fix units tests :derp: 2018-08-02 15:49:29 +02:00
Jérôme Leclercq 6ab4a676c2 Fix deprecation warning 2018-08-02 15:43:18 +02:00
Jérôme Leclercq b92e23fcd6 Physics2D: Add Arbiter2D 2018-08-02 15:42:14 +02:00
Faymoon 2f3f02b2fc 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
2018-08-02 11:25:57 +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
Lynix 271f7202ed Core/Unicode: Fix letters category 2018-07-31 19:49:51 +02:00
S6066 d91c48ab50 Widgets: Force parent parameter to be present (#172) 2018-07-31 13:24:28 +02:00
Faymoon abedc30747 Add: [Get/Set]AngularDamping for standardization (#173)
* Update

* Add: [Get/Set]AngularDaming for standardization
2018-07-31 13:24:19 +02:00
Jérôme Leclercq 7b6cc47e03 Sdk/Entity: Add IsDying method 2018-07-17 10:51:35 +02:00
Jérôme Leclercq 6dfc866a4d Network/ENetPeer: Fix enet stuff 2018-07-17 09:56:30 +02:00
Lynix f2487bbcba Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2018-07-15 16:46:34 +02:00
Lynix a12c72186f Sdk/DebugSystem: Fix OBB drawing 2018-07-15 16:46:32 +02:00
Lynix 01ccca433d Physics/PhysWorld3D: Add [Get|Set]ThreadCount 2018-07-15 16:46:01 +02:00
S6066 58ce182983 Bugfix: invalid variable still used after move (#171) 2018-07-11 19:16:54 +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
Lynix 6390da95d3 Fix previous commit crash 2018-07-07 14:35:11 +02:00