Lynix
be8e89b228
Math: Remove all Set(class) methods
2019-12-10 09:49:40 +01:00
Lynix
ef030ddaac
Rework constraint2D
2019-12-08 18:56:21 +01:00
Lynix
ae996ae09d
Oopsie
2019-11-09 15:34:25 +01:00
Lynix
57958056d6
Core/Flags: Add Set method
2019-11-09 13:53:29 +01:00
Lynix
a4bff0968b
Core/Flags: Add Clear methods
2019-11-09 13:37:40 +01:00
Jérôme Leclercq
9161886cc8
Update Flags.inl
2019-10-15 22:12:31 +02:00
Lynix
9576e2794d
Core/Flags: Fix bitfield type selection
2019-10-15 18:09:34 +02:00
Lynix
7b9dad59fe
Oopsie
2019-09-29 16:43:56 +02:00
Lynix
31e6bfe43a
Core/Stack[Array|Vector]: Are now default-initializable and movable
2019-09-29 16:41:26 +02:00
Lynix
5fce345b3e
Core/StackVector: Fix resize check
2019-09-28 17:36:19 +02:00
Lynix
89243a39b5
Holy shit i'm stupid
2019-09-28 16:55:11 +02:00
Lynix
acc2c072ba
Core/StackVector: Fix erase method (+ add tests)
2019-09-25 16:17:07 +02:00
Lynix
3c7addc262
Utility/RichTextDrawer: Fixes block removal not adjusting glyph indexes
...
+ Add HasBlocks method
2019-09-25 09:36:57 +02:00
Lynix
8e4df4cadc
SDK: Add RichTextAreaWidget (WIP)
2019-09-25 09:36:57 +02:00
Lynix
451b3de69c
Utility: RichTextDrawer now works (WIP)
2019-09-25 09:36:57 +02:00
Lynix
5504dd59fb
Utility/RichTextDrawer: Update header
2019-09-25 09:36:57 +02:00
Lynix
8013bd5d3b
Add current work
...
Former-commit-id: 7f1e46e484edbbfd120a7a67ea1c36bee460e517
2019-09-25 09:36:57 +02:00
Lynix
724972e889
Core/TypeTag: Add Type helper typedef
2019-09-01 11:15:02 +02:00
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
Lynix
ab5188c57d
Add scancode and virtual key and fix some sdl stuff on Windows
2019-05-19 16:34:29 +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
REMqb
848f05a420
~ Initial SDL2 implementation
...
Limitation
- Dependent projects need to set NAZARA_PLATFORM_SDL2 if nazara has been build with SDL2 since OpenGL.hpp (and maybe some other headers) exposes platform details
- SDL2 window doesn't supports async window since the API isn't fitting for now
- Contexts parameters can't be changed until we close all the SDL windows (SDL limitation)
2019-04-03 21:17:06 +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
Lynix
8091e52348
Forgot to save this file
2018-09-30 18:07:38 +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
d0bea6d09a
Update global headers
2018-09-06 18:35:51 +02:00
Jérôme Leclercq
eaa3fd2f09
Fix method order
2018-09-06 13:27:06 +02:00
Jérôme Leclercq
46008531e0
Math/Angle: Fix implicit conversion to Euler Angles/Quaternion
2018-09-06 13:24:29 +02:00
Lynix
09c49f03fb
Math: Update global header
2018-09-05 21:53:13 +02:00
Lynix
1ee75f2699
Math/Angle: Adds conversion to euler angles and quaternions
2018-09-05 21:51:32 +02:00
Jérôme Leclercq
1114bb0fdd
Fix some other oopsies
2018-09-05 16:24:10 +02:00
Jérôme Leclercq
500ad417a7
Math/Angle: Fix compilation under Linux
2018-09-05 15:59:00 +02:00
Jérôme Leclercq
4c8e40bb6c
Math/Angle: Rename parameters to prevent name clash
2018-09-05 15:18:35 +02:00
Jérôme Leclercq
f0e215f8f5
Math/Angle: Optimize SinCos on Linux
2018-09-05 15:15:02 +02:00
Jérôme Leclercq
9e0b61f30d
Math/Angle: Add sine, cosine, tangent methods
2018-09-05 15:14:31 +02:00
Jérôme Leclercq
3cc70daf3e
Fix missing file
2018-09-05 15:13:39 +02:00
Lynix
f59810b68e
Math: Add Angle class
2018-09-02 22:06:03 +02:00
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
Lynix
e62afabd71
Physics2D/Collider2D: Fix CompoundCollider2D filters
2018-08-29 20:54:57 +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
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
Lynix
602992609f
Sdk/RenderSystem: Add EnableCulling method
2018-08-04 15:38:05 +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
Lynix
39d1d31639
Core: Integrated Unicode data
2018-08-03 20:24:56 +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
Faymoon
abedc30747
Add: [Get/Set]AngularDamping for standardization ( #173 )
...
* Update
* Add: [Get/Set]AngularDaming for standardization
2018-07-31 13:24:19 +02:00
Lynix
f2487bbcba
Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
2018-07-15 16:46:34 +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
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
aafb79f06c
Fix: destroy instead of constructing ( #169 )
2018-07-06 10:42:23 +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
7da0fffe07
Core: Add StackVector class
2018-07-02 17:56:27 +02:00
Jérôme Leclercq
2fcea6b79f
Core/StackArray: Moved StackArray class to its own header
2018-07-02 17:53:49 +02:00
Jérôme Leclercq
bb0456ffed
Remove useless namespace prefix
2018-07-02 17:48:51 +02:00
Lynix
ea57252081
Graphics/Model: Fix material copy for good
2018-07-01 20:36:42 +02:00
Lynix
eeaaebb15c
Core: Add ObjectLibrary::Clear
2018-07-01 00:36:59 +02:00
Lynix
78adc11323
Graphics/TileMap: Fix warning
2018-06-24 22:04:48 +02:00
Lynix
bf37688b11
Lua/LuaState: Fix std::vector query for good
2018-06-24 21:49:51 +02:00
Lynix
456a9258da
Lua/LuaState: Fix std::vector query code
2018-06-24 20:29:20 +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
8cdc36c948
Graphics/Material: Add parameter for vertex color
2018-06-15 14:15:23 +02:00
Jérôme Leclercq
41e2d3e448
Graphics/Material: Add EnableVertexColor temporary
2018-06-15 14:13:18 +02:00
Lynix
8ba8d2e92f
Merge branch 'ubo' into vulkan
2018-06-12 19:33:06 +02:00
Lynix
a4aad3caac
Merge branch 'master' into vulkan
2018-06-12 19:08:02 +02:00
Lynix
d7a2e9aad1
Merge branch 'ubo' into vulkan
2018-06-12 19:07:58 +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
e9f0bdeb25
Graphics/ForwardRenderTechnique: Optimize sprite rendering
2018-06-06 21:38:40 +02:00
Lynix
e4eae425b2
Add support for Uniform Buffer to Utility/Renderer
2018-06-06 20:18:42 +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
S6066
f5645833df
Fix unwanted behavior with universal references ( #165 )
...
* Remove forced template
* Remove useless PushInstance overload
2018-06-06 00:25:59 +02:00
Jérôme Leclercq
ba32d700e2
Fix compilation
2018-05-31 17:02:07 +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
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
Lynix
8e2efb5007
Graphics/TextSprite: Fix initial local bounds
2018-05-20 13:38:48 +02:00
Jérôme Leclercq
74773e9daa
Core/Flags: Add operator&|^ for enum and flags
2018-05-16 15:54:55 +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
03e976993f
Revert "Make LuaImplQueryArg impl for std::vector ( #162 )"
...
This reverts commit 24ec816762 .
2018-04-30 15:00:45 +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
Jérôme Leclercq
d1a969288f
Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
2018-04-30 14:51:35 +02:00
S6066
24ec816762
Make LuaImplQueryArg impl for std::vector ( #162 )
2018-04-30 14:51:11 +02:00
HardCPP
232a371fa5
Add normalLength parameter to the DebugDrawer::DrawNormals ( #163 )
2018-04-30 14:49:44 +02:00
Jérôme Leclercq
8b1efa974f
Revert "Oops again"
...
This reverts commit 1c608596e1 .
2018-04-27 11:31:04 +02:00
Lynix
1c608596e1
Oops again
2018-04-26 22:49:14 +02:00
Lynix
43bb487801
Merge branch 'master' into vulkan
2018-04-26 22:48:49 +02:00
Lynix
8ab1462402
Core/HandledObject: Make move constructor/assignation operator noexception
2018-04-22 12:33:36 +02:00
Lynix
52f80a68cb
Renderer/OpenGL: Enable GL_TEXTURE_CUBE_MAP_SEAMLESS
2018-04-21 00:28:57 +02:00
Jérôme Leclercq
8a1d61c3ea
Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
2018-04-16 12:56:15 +02:00
Lynix
69c61ba746
Utility/AbstractTextDrawer: Add GetLineGlyphCount
2018-04-15 02:27:49 +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
Lynix
19f17fa059
Graphics: Add 2D & cubemap white textures
2018-04-13 00:00:36 +02:00
Jérôme Leclercq
2f2b1f101b
Core/Quaternion: Fix Inverse method
2018-04-12 12:45:19 +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
Lynix
3c4c0fab66
Audio: Make Music, Sound, SoundEmitter movable
2018-04-08 17:51:25 +02:00
Lynix
830dae1b27
Core/HandledObject: Fix move assignement operator behavior
...
It will now unregister all previous handles (notifying about object destruction) before stealing moving object handles
2018-04-06 21:14:09 +02:00
Lynix
05a5c4c42e
Utility/OBJLoader: Add support for emissive/normal maps by using custom keywords
2018-04-04 21:30:59 +02:00
Lynix
31c272ab98
Core/HandledObject: Fix move assignement operator
2018-04-03 22:05:35 +02:00
Lynix
715729fc02
Network: Add support for dual-stack sockets
2018-04-01 20:48:50 +02:00
Lynix
7f1419b34e
Physics3D/PhysWorld3D: Remove const from argument in BodyIterator
2018-03-26 20:23:30 +02:00
Jérôme Leclercq
554fcd6492
Physics3D/Collider3D: Add ForEachPolygon method
2018-03-26 16:57:16 +02:00
Lynix
271565d1b9
And fix compilation again
2018-03-20 22:11:42 +01:00
Lynix
bca94e0955
Fix compilation
2018-03-20 21:59:27 +01:00
Lynix
8926f09511
Revert "Try to fix compilation"
...
This reverts commit a32408a4d7 .
2018-03-20 21:57:28 +01:00
Lynix
25f2bcf03f
Revert "Core/Algorithm: Fix Apply problems"
...
This reverts commit 9a8c807d18 .
2018-03-20 21:50:22 +01:00
Lynix
a32408a4d7
Try to fix compilation
2018-03-20 21:50:16 +01:00
Lynix
6ef5afb88d
Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
2018-03-20 21:00:19 +01:00
Lynix
9a8c807d18
Core/Algorithm: Fix Apply problems
2018-03-20 20:59:54 +01:00
Lynix
ad82de2962
Replace typedef keywords by using
2018-03-20 20:59:04 +01:00
Lynix
69f079fcc8
Core/Serialization: Add type tag parameters
2018-03-20 20:56:06 +01:00
Jérôme Leclercq
457a87d067
Network/ENet: Fix ENetCompressor destructor not being virtual
2018-03-20 17:12:42 +01:00
Jérôme Leclercq
a2691ee12e
Forgot a file
2018-03-09 16:49:15 +01:00
Jérôme Leclercq
cd31e6c397
Add buffer support
2018-03-09 16:49:01 +01:00
Jérôme Leclercq
9b8e8042e4
Merge fix
2018-03-09 16:47:31 +01:00
Lynix
3036c32d9d
Core/Bitset:
2018-03-06 20:25:29 +01:00
Lynix
0063ca9950
Math/VectorI: Remove array constructor
2018-02-18 18:57:30 +01:00
Lynix
efd07029e3
Physics3D/PhysWorld3D: Fix move constructor/operator
2018-02-17 14:23:27 +01:00
Lynix
af75e2cc68
Merge branch 'physics3d-material'
2018-02-17 12:50:46 +01:00
Faymoon
cd526d6145
Remove some useless "Nz::" ( #159 )
...
* Remove useless "Nz::"
* Remove useless "Nz::"
* REmove useless "Nz::"
* Remove useless "Nz::"
2018-02-17 12:47:16 +01:00
Jérôme Leclercq
7d54ac4c10
Merge branch 'master' into vulkan
2018-02-13 13:06:01 +01:00
Lynix
6e3bcac25d
Physics3D/PhysWorld3D: Take BodyIterator by const reference
2018-02-12 21:26:14 +01:00
Lynix
af12c5ed92
Merge branch 'master' into physics3d-material
2018-02-11 14:39:14 +01:00
Jérôme Leclercq
45af15d802
Physics[2|3]D/PhysWorld[2|3]D: Add max step count
2018-02-09 17:29:20 +01:00
Jérôme Leclercq
bb7c97ed9a
Add PhysWorld2D::UseSpatialHash
2018-02-09 17:25:11 +01:00
Jérôme Leclercq
17849226e4
Physics2D/PhysWorld2D: Add iteration count control
2018-02-09 17:24:00 +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
b47f5210e0
Physics3D/PhysWorld3D: Add ForEachBodyInAABB method
2018-01-20 19:36:21 +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
Lynix
b6bbf82d97
Core/Flags: Fix bit shift on integers
2018-01-20 14:19:05 +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
Lynix
c1cebe1425
Merge branch 'master' into physics3d-material
2018-01-17 18:25:57 +01:00
Jérôme Leclercq
7a04c6f83b
Physics2D/RigidBody2D: Add EnableSimulation/IsSimulationEnabled
2018-01-17 17:13:50 +01:00
Lynix
19580c859f
Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
2018-01-16 21:30:21 +01:00
Lynix
1c3654148d
Merge branch 'master' into vulkan
2018-01-16 21:15:58 +01:00
germinolegrand
1e55c4d9e9
Prerequisites instead of Prerequesites (typo) #152 ( #153 )
2018-01-16 12:23:01 +01:00
Lynix
76043e4f2e
Merge branch 'master' into physics3d-material
2018-01-14 18:05:44 +01:00
Lynix
e9cba3ab6c
Lua/LuaClass: Fix case where lua stack is not empty
2018-01-14 18:04:54 +01:00
Lynix
4cb598c32b
Merge branch 'master' into physics3d-material
2018-01-14 14:40:57 +01:00
Faymoon
4f6bf30f24
Constraint 2D ( #147 )
...
* Rename all Constraint by [name]Constraint3D
* Create Refs and Libraries for Constraint2D
* Remove ref to PhysWorld in Constraints ctors
* Update Constraint2d ctor to have RigiBodies first
* Add New static function for all constraints and fix an oopsie
* Add Contraint Library and remove all library useless aliases
* Add ConstraintComponent2D
* remove useless definition of Constraint2D library
* Fix : getting the world of the constraint before having created it
* Make the GetStaticBody function return a ref
* Remove : Useless AddJoint Fonction and Update CreateJoint function
* Update PhysicsSystem3D because GetStaticBody return now a ref
* Oops
* Having done something with the 3D and i was needing 2D
* Add ConstraintComponent as friend of Collision and PhysicsComponent
* Update all the Get[Static/Rigid]Body function so they return a pointer
* fix the bugs caused by the commit before
* update : CreateConstraint lambda for the nullptr case
* remove the useless use of const pointer
* Update : CreateConstraint function
* Update ChangeLog.md
2018-01-13 11:03:03 +01:00
Lynix
68fae51548
Graphics: Fix compilation
2018-01-07 13:54:45 +01:00
Lynix
0b34b2374a
Fix warning
2018-01-07 04:13:58 +01:00
Lynix
b85a762476
Core/SparsePtr: Fix warning
2018-01-06 02:46:08 +01:00
Lynix
18a4099958
Merge branch 'master' into physics3d-material
2018-01-05 20:49:46 +01:00
Jérôme Leclercq
e8d519dad7
Core/MemoryHelper: Make PlacementDestroy a no-op on null pointers
2018-01-05 16:09:25 +01:00
Jérôme Leclercq
eb9bc18b45
Core/MemoryHelper: Oops
2018-01-05 15:41:30 +01:00
Jérôme Leclercq
1e53274623
Core/MemoryHelper: Fix alloca with a size equivalent to zero
2018-01-05 15:40:25 +01:00
Jérôme Leclercq
4b6d7d2e47
Math/Algorithm: Fix typo
2018-01-05 15:39:56 +01:00
Lynix
84a3fc1a91
Physics3D/World: Add more control on materials
2017-12-17 19:08:45 +01:00
Lynix
36c1e4e8cb
Merge branch 'master' into physics3d-material
2017-12-16 19:09:13 +01:00
Lynix
f5df0eb056
Lua/LuaInstance: Fix movement
2017-12-16 19:09:01 +01:00
Lynix
99c974c141
Fix compilation
2017-12-15 00:19:45 +01:00
Lynix
d1060047f8
Merge branch 'master' into physics3d-material
2017-12-14 19:50:14 +01:00
Lynix
fd8306f17f
Core/String: Replace implicit operator std::string by ToStd::String
2017-12-14 19:50:06 +01:00
Lynix
e302667c21
Merge branch 'master' into physics3d-material
2017-12-14 18:15:35 +01:00
Jérôme Leclercq
9272efa159
Core/Thread: Fix possible infinite recursion
2017-12-13 17:42:45 +01:00
Jérôme Leclercq
192321b448
Network: Fix uninitialized values (found by valgrind)
2017-12-13 12:55:03 +01:00
Lynix
afa874de26
WIP on materials
2017-12-10 22:17:41 +01:00
Lynix
33b3b2feaf
Physics3D/RigidBody3D: Add simulation property
2017-12-10 13:35:58 +01:00
Lynix
0df70dcb16
Physics3D/RigidBody3D: Rename [Get|Set]Velocity to [Get|Set]LinearVelocity
2017-12-10 12:09:36 +01:00
Lynix
6d09abbc2c
Physics3D/RigidBody3D: Add [Get|Set][Angular|Linear]Damping
2017-11-30 12:04:33 +01:00
Lynix
72bcb1fda7
Physics2D/RigidBody2D: Fix SetGeom attribute copy
2017-11-28 23:20:45 +01:00
Lynix
1e190caa2c
Fix compilation
2017-11-24 20:15:04 +01:00
Lynix
4c6b5d0546
Merge branch 'master' into vulkan
2017-11-24 20:14:39 +01:00
Jérôme Leclercq
0a5cbe656f
Math/VectorI: Make array/pointer constructor explicit
2017-11-23 13:21:51 +01:00
Jérôme Leclercq
aa623a4933
Core/Flags: Add Test method
2017-11-22 12:58:56 +01:00
Jérôme Leclercq
54faabcc33
Core/Flags: Allow explicit operator conversion to any integer type of the same size (or greater size) than the internal size
2017-11-22 12:58:17 +01:00
Jérôme Leclercq
9c9b9ed49f
Core/String: Fix movement leaving a null shared string
2017-11-22 09:27:23 +01:00
Jérôme Leclercq
046926e4d4
Fix compilation
2017-11-21 12:39:51 +01:00
Jérôme Leclercq
f84ac9c52b
Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
2017-11-21 12:26:45 +01:00
Jérôme Leclercq
3589a2bc8e
Core/Flags: Reworked Flags class
2017-11-21 12:26:22 +01:00
Gawaboumga
f991a9529e
General bug fixes ( #142 )
...
* Core/Bitset: Fix TestAll method
* Fix documentation
* Fix color and their conversions
* Core/ByteStream: Fix return of Write
* Fix compiler warnings
* Math/Algorithm: Fix angle normalization
* Math/BoundingVolume: Fix lerp
* Math: Fix relation between Matrix4 and Quaternion
* More tests
* X11/Window: Fix mouse moved event generated when doing Mouse::SetPosition
* Update ChangeLog
* Should fix compilation on Windows
* Should fix compilation on Windows
Forgot to include array for Windows
2017-11-21 12:16:46 +01:00
Lynix
f2506ee918
Network/ENetHost: Fix service time precision
2017-11-20 21:04:50 +01:00
Lynix
7eff1f34f1
Fix warning
2017-11-19 20:14:47 +01:00
Lynix
078641aa23
Core/Algorithm: Fix Unserialization of std::string
2017-11-05 22:36:14 +01:00
Lynix
786a11fc78
Graphics/Material: Fix missing reflection initialization
2017-10-31 00:14:50 +01:00
Lynix
8dab3bf341
Renderer/ShaderBuilder: Fix compilation error when including ShaderBuilder.hpp
2017-10-30 22:30:04 +01:00
Lynix
d688cecbde
Renderer: Replaced RenderTarget::Get[Height|Width] by RenderTarget::GetSize
...
Utility: Removed Window::Get[Height|Width] methods
2017-10-28 23:26:22 +02:00
Jérôme Leclercq
bf82a34fc4
Graphics/Sprite: Fix #138
2017-10-26 15:33:30 +02:00
Lynix
9daadb73bc
Utility: Make mesh loader use the parameters vertex declaration
2017-10-21 04:51:05 +02:00
Jérôme Leclercq
2951b7811e
Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
2017-10-20 16:36:45 +02:00
Jérôme Leclercq
a982215ab7
Core/Bitset: Mark swap as noexcept
2017-10-20 16:36:43 +02:00
Lynix
995dfddafa
Utility/MeshParam: Use constref instead of pointer
2017-10-19 21:05:48 +02:00
Lynix
e0bdd35280
VertexMapper: GetComponentPtr no longer trigger an error/assert
2017-10-19 21:01:07 +02:00
Lynix
be38aee1fa
Fix some warnings
2017-10-18 22:02:21 +02:00
Lynix
b47b89ed8b
Utility/Mesh: Add index and vertex buffer flags in MeshParams
2017-10-18 00:29:34 +02:00
Lynix
9c97ec45c6
Utility/Mesh: Disable index buffer optimization in debug mode
2017-10-18 00:21:07 +02:00
Lynix
5b4185a4a6
Utility/VertexMapper: Add GetVertex[Buffer|Count] functions
2017-10-18 00:20:38 +02:00
Jérôme Leclercq
6e7b78611d
Physics2D/RigidBody2D: Add SetStatic method
2017-10-16 11:56:41 +02:00
Lynix
9911c6e07c
Core: Optimize StringStream
2017-10-15 12:25:08 +02:00
Lynix
46cf06f446
Fix previous commit oopsies
2017-10-14 18:27:37 +02:00
Lynix
683b09144d
Core: Replace StackAllocation by StackArray
...
This will cleanup alloca usage a little bit
2017-10-14 18:04:16 +02:00
Jérôme Leclercq
101783126c
Physics2D: Add DebugDraw method
2017-10-13 15:14:37 +02:00
Lynix
4bdcb1f31f
Fix demo compilation and warnings
2017-10-10 21:52:36 +02:00
Lynix
eb6f23d53c
Fix -Wignored-qualifiers warning
2017-10-10 21:52:35 +02:00
Lynix
85aa01a562
Physics2D: Add constraint support
2017-10-10 21:52:35 +02:00
Lynix
a39ed47ef4
Regenerate global headers
2017-10-10 21:52:34 +02:00
Lynix
c763dea4e1
Merge branch 'master' into reflection-mapping
2017-10-02 21:11:15 +02:00
Jérôme Leclercq
99d21b8722
Fix compilation and some warnings
2017-10-02 16:18:15 +02:00
larnin
40a678889d
Vertex declaration changes ( #135 )
...
* Add type to ComponentType conversion
* Change type to ComponentType conversion
* Change assert to condition, add check on particle mapper.
* Change particle life type
* Changes as requested
* Fix Travis try 1
* Changes as requested
* move IsSuitableForComponent to inl
2017-10-02 15:21:03 +02:00
Gawaboumga
bbac0838dd
Include-What-You-Use ( #137 )
...
* IWYU Core
* IWYU Noise
* IWYU Utility
* IWYU Audio
* IWYU Platform
* IWYU Lua
* IWYU Network
* IWYU Physics2D
* IWYU Physics3D
* IWYU Renderer
* IWYU Graphics
* IWYU NDKServer
* IWYU Fix
* Try to fix compilation
* Other fixes
2017-10-01 11:17:09 +02:00
Lynix
8569d7da88
Renderer: Make RenderTarget movable
2017-09-30 15:00:54 +02:00
Lynix
508554fcb1
Fix some more warnings
2017-09-30 15:00:42 +02:00
Lynix
0fa3565435
Renderer/Context: Disable movement
2017-09-30 14:53:58 +02:00
Lynix
396fd79c9a
Audio: Disable movement for musics
2017-09-30 14:45:30 +02:00
Lynix
85442a14fa
Fix: SoundBuffer should not move (as a refcount)
2017-09-30 14:35:26 +02:00
Lynix
aa80f52597
Fix compilation
2017-09-30 14:30:36 +02:00
Lynix
2cd9fa2b7a
Core: Add MovablePtr class
2017-09-30 13:57:25 +02:00
Jérôme Leclercq
cc4fdf2476
Network/ENet: Add compressor support
2017-09-22 15:22:43 +02:00
Lynix
c4edf54297
Vulkan/RenderBuffer: WIP
2017-09-16 10:36:41 +02:00
Jérôme Leclercq
b4d0854028
Physics2D/PhysWorld2D: Add damping control
2017-09-08 09:41:08 +02:00
Jérôme Leclercq
3153af485c
Physics2D: Handle kinematic objects properly
2017-09-07 16:16:11 +02:00
Jérôme Leclercq
305a72a7d2
Lua/LuaState: Fix movement not stealing pointer
2017-09-04 10:05:23 +02:00
Jérôme Leclercq
e37a7ad5fd
Network/ENetHost: Dismiss external peer connection if listen address is loopback
2017-09-01 15:22:27 +02:00
Jérôme Leclercq
38bd348ed6
Physics2D/RigidBody2D: Allows better control on inertia
2017-09-01 14:26:28 +02:00
Lynix
923ffb6d0a
Renderer/ShaderAst: Fix missing file from previous commit
2017-08-30 18:21:44 +02:00
Lynix
cb69b1ed01
Renderer/ShaderAst: Add ConditionalStatement
2017-08-30 18:21:44 +02:00
Lynix
205b8b1ba6
Renderer/ShaderAst: Add Swizzle
2017-08-30 18:21:43 +02:00
Lynix
832237c6d4
Renderer/ShaderAst: Fix a few multiply/divide cases
2017-08-30 18:21:42 +02:00
Lynix
fd5bf16a90
Renderer/ShaderBuild: Fix build?
2017-08-30 18:21:42 +02:00
Lynix
8a68df4c56
Forgot to save all files..
2017-08-30 18:21:41 +02:00
Lynix
f0a7430d34
Renderer/ShaderAst: Fix compilation errors on Linux
2017-08-30 18:21:40 +02:00
Lynix
bd8a3ba47d
Renderer: Replace shaders files by runtime-generated GLSL
2017-08-30 18:21:40 +02:00
Lynix
8fd152aec0
Renderer/ShaderAst: Rename Builtin enum to BuiltinEntry
2017-08-30 18:21:39 +02:00
Lynix
a60836c45a
Revert "Renderer/ShaderBuilder: Rename Builtin to BuiltinVariable"
...
This reverts commit 193c0d4a92 .
2017-08-30 18:21:38 +02:00
Lynix
f72b3ed57d
Renderer/ShaderBuilder: Rename Builtin to BuiltinVariable
2017-08-30 18:21:37 +02:00
Lynix
a5a228e0c7
Renderer/ShaderAst: Add Constant overloads
2017-08-30 18:21:36 +02:00
Lynix
021ac3d971
Renderer/ShaderAst: Fix Mat4x4 handling
2017-08-30 18:21:36 +02:00
Lynix
10a1bec793
Renderer/ShaderAst: Fix support for matrix4 type
2017-08-30 18:21:35 +02:00
Lynix
2a57af9896
Renderer/ShaderAst: Add Cast node
2017-08-30 18:21:34 +02:00
Lynix
a84391cf08
Renderer/ShaderAst: Add support for expression type
2017-08-30 18:21:33 +02:00
Lynix
12321bc59a
Renderer/ShaderBuilder: Add builder for remaining binary operations
2017-08-30 18:21:33 +02:00
Lynix
3ed661f387
Renderer/ShaderAst: Add input and outputs variables
2017-08-30 18:21:32 +02:00
Lynix
f7c4c86934
Renderer/ShaderBuilder: Cleanup
2017-08-30 18:21:31 +02:00
Lynix
386c3b1132
Renderer/ShaderBuilder: Add builder for builtins
2017-08-30 18:21:30 +02:00
Lynix
e82fb7fef4
Renderer/ShaderAst: Add NamedVariable and BuiltinVariable classes
2017-08-30 18:21:30 +02:00
Lynix
43e23fea47
Renderer/GlslWriter: Add comment sections
2017-08-30 18:21:29 +02:00
Lynix
f487761940
Renderer/GlslWriter: Add #version directive
2017-08-30 18:21:28 +02:00
Lynix
d538a7ddf5
Renderer/GlslWriter: Add support for Uniform and Parameters variables
2017-08-30 18:21:27 +02:00
Lynix
5c3e67bb26
Renderer/GlslWriter: Move variables to the function scope
2017-08-30 18:21:26 +02:00
Lynix
5c6df52fbf
Commit current work
2017-08-30 18:21:25 +02:00
Gawaboumga
5aa072cee3
New module: Platform - Split window management from Utility module ( #128 )
...
* New module: Platform - Split window management from Utility module
Final touch
* NDK/SDK: Bring back initialization of Utility
2017-08-30 10:22:50 +02:00
Gawaboumga
41a1b5d493
Physics2D tests ( #129 )
...
* Quaternion: Fix singularity on Z axis when converting to euler angles
* CollisionComponent2D: Add method to retrieve AABB
* Collider2D: Fix constructor for Box with Vector2
* Physics2D: Fix rotation (Chipmunk works with radian and Nazara degrees) and copy constructor of RigidBody2D
* Colider2D: Add New for convex and tests for the new classes
2017-08-20 21:47:23 +02:00
Lynix
596d65f1ed
Merge branch 'master' into vulkan
2017-08-20 21:35:51 +02:00
Lynix
9613ad5de6
Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
2017-08-16 20:33:40 +02:00
Lynix
2fe905a453
Increase instance buffer size
2017-08-16 20:33:37 +02:00
Lynix
fc2fd81719
Utility: Make Window constructor explicit
2017-08-16 20:33:13 +02:00
Jérôme Leclercq
5531e81e65
Core: Add CRC64 and regenerate global headers
2017-08-15 12:32:19 +02:00
Lynix
e512302305
RigidBody2D: Add experimental SetMomentOfInertia method
2017-08-06 23:46:55 +02:00
Lynix
74af157113
PhysWorld2D: Use std::function for callbacks
2017-08-06 23:08:36 +02:00
Lynix
5b922cf52f
Vulkan: Add buffer placeholder
2017-08-06 12:13:08 +02:00
Jérôme Leclercq
3d368b2fe7
Network/SocketPoller: Fix behavior of Wait method (-1 will block)
2017-08-04 13:37:17 +02:00
Jérôme Leclercq
b64ab862fe
Fix warnings
2017-07-27 14:39:48 +02:00
Jérôme Leclercq
6047018082
Physics3D/Collider3D: Improve CompoundCollider3D constructor
2017-07-27 11:40:42 +02:00
Jérôme Leclercq
afdc018778
Physics2D/Collider2D: Implement CompoundCollider2D and ConvexCollider2D
2017-07-27 11:39:23 +02:00
Jérôme Leclercq
b00487c88c
PhysicsID/RigidBody: Add GetWorld() accessor
2017-07-25 14:44:30 +02:00
Jérôme Leclercq
b4732d8c17
Add Udp::ReceiveMultiple method
2017-07-11 12:11:20 +02:00
Lynix
2323060f30
Remove unused code
2017-07-04 23:24:23 +02:00
Lynix
9944a228b5
Merge branch 'master' into vulkan
2017-07-04 22:41:29 +02:00
Jérôme Leclercq
2ca844be63
Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
2017-06-21 18:10:51 +02:00
Jérôme Leclercq
b2e23cfb56
Mark every bool conversion as explicit
2017-06-21 18:10:46 +02:00
Lynix
90d86c6eb0
Breaks compatibility with Windows XP by default
2017-06-20 08:16:43 +02:00
Lynix
50a3f78f91
Core/Thread: Add posibility of setting thread name
2017-06-20 08:16:08 +02:00
Lynix
4a1a335cee
Core/Flags: Fix compilation
...
Oops..
2017-06-20 07:06:50 +02:00
Lynix
dfc441c2fc
Core/Flags: Rename DetailFlagOperators to FlagsOperators
...
In case a user would need to use it
2017-06-20 06:57:57 +02:00
Jérôme Leclercq
5c63d30545
Lua/LuaInstance: Fix typo
2017-06-15 17:08:24 +02:00
Lynix
7875854e7d
Lua/Binding: Fix unsigned integer binding
2017-06-12 14:42:36 +02:00
Lynix
487bd64bcf
Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping
2017-06-10 22:33:03 +02:00
Lynix
a82de92377
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-06-10 22:29:31 +02:00
Lynix
78182502e3
Lua/LuaInstance: Fix missing memory/time methods
2017-06-10 22:29:17 +02:00
Lynix
cea89abc51
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-06-09 01:47:33 +02:00
Lynix
4ce7db09d6
Lua/LuaCoroutine: Fix inline include
2017-06-09 01:47:15 +02:00
Lynix
9117deb609
Update global headers
2017-06-09 01:46:04 +02:00
Jérôme Leclercq
01edc4fb21
Add coroutine support (WIP)
2017-06-08 15:53:17 +02:00
Jérôme Leclercq
a8129b218b
Refactor LuaInstance to prepare coroutine handling
2017-06-07 21:18:07 +02:00
Jérôme Leclercq
b7df3bd1c4
Core/Flags: Try some hack to fix compilation
2017-06-06 18:08:36 +02:00
Jérôme Leclercq
184a970b72
Fix all flags..
2017-06-06 16:50:09 +02:00
Lynix
c98fb482e7
Network/ENetPeer: Add GetRoundTripTime method
2017-06-05 15:06:19 +02:00
Lynix
e32c1a8b8b
Utility/PixelFormat: Move Flip to .cpp
...
Because of std::swap_range usage (Thanks Microsoft)
2017-06-04 17:28:58 +02:00
Jérôme Leclercq
17d9cd6e7d
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-06-01 17:25:33 +02:00
Jérôme Leclercq
8752d1e0f4
Network: Add ErrorToString for ResolveError/SocketError
2017-06-01 17:25:21 +02:00
Jérôme Leclercq
4f1d52b395
Fix [Box|Rect]::Contains including outer border points
2017-06-01 17:24:28 +02:00
Jérôme Leclercq
421dbf54f2
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-05-29 19:55:50 +02:00
Jérôme Leclercq
bc4a533b96
Core/ParameterList: Use double and long long instead of float and int
2017-05-29 19:55:02 +02:00
Jérôme Leclercq
7cce74afb7
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-05-29 18:01:44 +02:00
Jérôme Leclercq
30a4e20ee5
Lua/LuaInstance: Expose some raw functions
2017-05-29 18:01:31 +02:00
Jérôme Leclercq
3e97240148
Core/ParameterList: Add ForEach methods
2017-05-29 18:01:19 +02:00
Lynix
555f44edeb
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-05-19 16:32:07 +02:00
Lynix
53f865c42c
Merge branch 'enet_wip_nothing_to_see_here' of https://github.com/DigitalPulseSoftware/NazaraEngine into enet_wip_nothing_to_see_here
2017-05-19 16:31:31 +02:00
Lynix
3ca179b954
Network/ENet: Separate Connect event into OutgoingConnect and IncomingConnect
2017-05-19 16:31:29 +02:00
Jérôme Leclercq
09bace0f28
Sdk/LuaBinding: Bind UdpSocket
2017-05-18 11:44:28 +02:00
Lynix
9a30a7ee04
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-05-16 09:08:37 +02:00
Lynix
65d3b59e03
Network/SocketPoller: Makes it possible to watch read and write states
2017-05-16 09:07:28 +02:00
Lynix
75d57b3c29
Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping
2017-05-11 20:52:04 +02:00
Lynix
af41b240ad
Graphics: Add support for depth-sorted sprites
2017-04-23 13:40:13 +02:00
Lynix
52a4a590e1
Graphics/Material: Fix depth sorting flag handling for meshes
2017-04-22 17:13:51 +02:00
Lynix
883d7b02a7
Math/Algorithm: Optimize NumberEquals unsigned and float cases
2017-04-22 15:08:43 +02:00
Lynix
06038a4d81
Cleanup pass
2017-04-22 15:08:05 +02:00
Lynix
140e52203d
Graphics/ForwardRenderQueue: Cleanup a bit
2017-04-21 21:48:05 +02:00
Lynix
33b10989e2
Physics2D/PhysWorld2D: Initialize callbacks to nullptr to prevent misuse
2017-04-21 21:39:37 +02:00
Lynix
1305e8434a
Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping
2017-04-17 23:42:21 +02:00
Lynix
f7cd52d947
Small update
2017-04-17 17:39:26 +02:00
1d44adf23a
Merge branch 'master' into enet_wip_nothing_to_see_here
2017-04-14 16:56:49 +02:00
Jérôme Leclercq
7b4f438065
Math/Algorithm: Fix NumberEquals for signed integers
2017-04-14 16:53:03 +02:00
Jérôme Leclercq
be4f0ad00c
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-04-05 15:58:09 +02:00
Jérôme Leclercq
ca4a93c4af
Fix compilation error on Linux
2017-04-05 15:57:54 +02:00
Jérôme Leclercq
660cddba34
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-04-05 10:11:01 +02:00
Lynix
bb272c57f5
Lua/LuaInstance: Fix movement
2017-03-30 18:43:05 +02:00
Lynix
5ec913311f
Physics2D/PhysWorld2D: Add RegionQuery method
2017-03-30 16:32:29 +02:00
Lynix
6851428c3c
Components/GraphicsComponent: Watch every used material to handle reflective information
2017-03-28 23:36:08 +02:00
Lynix
447ef235c1
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-03-25 10:12:15 +01:00
Lynix
6d0314741a
Core/ObjectHandle: Fix self-movement case
2017-03-25 10:12:01 +01:00
Lynix
65393d98fb
Graphics/Material: Add SetReflectionMode
2017-03-19 17:01:48 +01:00
Lynix
62fd66a159
Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping
2017-03-18 17:23:12 +01:00
Lynix
c766387567
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-03-10 17:10:36 +01:00
Lynix
82edb5c7cb
Core/Signal: Fix compilation
2017-03-10 17:10:11 +01:00
Lynix
9531edfffc
Core/Signal: Fix move behaviour with GCC 4.9 ....
2017-03-10 17:07:40 +01:00
Lynix
c5c5beef92
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-03-10 11:37:19 +01:00
Lynix
4d932e9317
PhysWorld2D: Ensure PostStepContainer is move-constructible noexcept
2017-03-10 11:36:58 +01:00
Lynix
353ade3efd
Core/Signal: Make movement noexcept
2017-03-10 11:36:48 +01:00
Lynix
2cf1d5ddfc
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-03-09 18:20:30 +01:00
Lynix
cdf7c11ef8
Fix crash when RigidBody2D is moved while having poststeps
2017-03-09 18:20:18 +01:00
Jérôme Leclercq
247186fe55
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-03-07 09:36:47 +01:00
Jérôme Leclercq
78d6a69bcb
Physics2D/PhysWorld2D: Fix SetMass calls during callbacks
2017-03-07 09:36:29 +01:00
Jérôme Leclercq
4259ad8c9d
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-03-06 14:02:46 +01:00
Jérôme Leclercq
ede6dd90b8
Physics2D/PhysWorld: Add Raycast queries
2017-03-06 14:02:35 +01:00
Lynix
ad8857354f
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-03-02 13:07:14 +01:00
Lynix
04f7b40150
Physics2D/RigidBody2D: Fix querying
2017-03-02 13:07:02 +01:00
Lynix
8eb58de486
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-03-02 11:23:23 +01:00
Lynix
a50a822fad
Physics2D/PhysWorld2D: Fix NearestBodyQuery
2017-03-02 11:22:59 +01:00
Lynix
55ef28c1af
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-03-02 10:34:16 +01:00
Lynix
834f65c0ae
Physics2D/PhysWorld2D: Add optimized NearestBodyQuery
2017-03-02 10:34:02 +01:00
Lynix
392a23f4f5
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-03-02 09:55:21 +01:00
Jérôme Leclercq
5ebf125474
Physics2D: Add NearestBodyQuery
2017-03-01 17:40:12 +01:00
Jérôme Leclercq
658faf3d49
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-02-27 16:30:37 +01:00
Jérôme Leclercq
f22dd81d35
Physics2D/RigidBody2D: Add AddImpulse method
2017-02-27 16:30:18 +01:00
Lynix
496cdfd32c
Merge branch 'master' into reflection-mapping
2017-02-23 00:08:57 +01:00
Jérôme Leclercq
7c22ee637e
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-02-22 16:53:01 +01:00
Jérôme Leclercq
b1e4aea496
Physics2D/RigidBody2D: Add signal for movement/release
2017-02-22 16:52:34 +01:00
Jérôme Leclercq
ea135156b8
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-02-22 15:32:28 +01:00
Jérôme Leclercq
45262145aa
Physics2D/RigidBody2D: Add Userdata field
2017-02-22 15:31:51 +01:00
Jérôme Leclercq
b0390221b5
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-02-22 12:36:03 +01:00
Jérôme Leclercq
d68cb35056
Physics2D/Collider2D: Fix collision id and trigger default values
2017-02-21 17:02:52 +01:00
Jérôme Leclercq
7322969b17
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-02-21 15:58:44 +01:00
Jérôme Leclercq
7b47a6ad2e
Physics2D: Add support for trigger and callbacks
2017-02-21 15:58:31 +01:00
Jérôme Leclercq
218d9f3974
Network/ENetHost: Add GetBoundAddress()
2017-02-21 15:58:02 +01:00
Jérôme Leclercq
c1cbc8c617
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-02-21 09:52:51 +01:00
Lynix
b0d0a63fca
Network/ENet: Add peer-side lag simulation
2017-02-20 23:37:31 +01:00
Gawaboumga
c2e4ccaf72
Various little fixes ( #118 )
...
* Add missing override qualifier
* Mostly shadowing, virtual destructor and other little things
2017-02-19 23:15:13 +01:00
Lynix
ead54e1c30
Merge branch 'master' into reflection-mapping
2017-02-18 15:07:17 +01:00
Lynix
f99d465760
Merge branch 'reflection-mapping' of https://github.com/DigitalPulseSoftware/NazaraEngine into reflection-mapping
2017-02-18 15:07:11 +01:00
Lynix
902949549c
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-02-17 00:39:19 +01:00
Lynix
20dfd61ad7
Merge branch 'enet_wip_nothing_to_see_here' of https://github.com/DigitalPulseSoftware/NazaraEngine into enet_wip_nothing_to_see_here
2017-02-16 23:26:33 +01:00
Lynix
b7ee6d7b29
Network/ENet: Move all packet allocation to host
2017-02-16 23:26:00 +01:00
Jérôme Leclercq
dee5986de5
Network/NetPacket: Allow empty pointer for NetPacket creating (won't initialize memory)
2017-02-16 16:14:24 +01:00
Lynix
8225ad3b41
Network/ENetHost: Optimize acknowledgements handling
2017-02-15 08:27:15 +01:00
Lynix
890b06bfcb
Network/ENet: Refactor
2017-02-15 08:26:56 +01:00
Lynix
7cc11245f9
Core/Flags: Move external operators to the global scope
...
Fixes usage of those operators outside of the Nz namespace, global
scoping is not an issue thanks to the enable_if
2017-02-15 07:13:00 +01:00
Lynix
5655ff3fcf
Network/ENetPacketFlags: Add Unreliable flag typedef for zero
2017-02-12 02:19:27 +01:00
Lynix
414779b53c
Network/ENetPacket: Remove unused flags
2017-02-12 02:18:38 +01:00
Jérôme Leclercq
784cfab23b
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-02-08 13:13:52 +01:00
Lynix
1a677387d1
Noise/NoiseBase: Replace default_random_engine by mt19937
2017-02-07 20:12:31 +01:00
Lynix
9c66711a53
Update version
2017-02-01 20:02:12 +01:00
Jérôme Leclercq
ed8deed23c
Core/MemoryHelper: Add PlacementDestroy
2017-02-01 17:52:32 +01:00
Jérôme Leclercq
0f2d315c1d
Network/ENet: Fix header dependency
2017-02-01 17:51:41 +01:00
Lynix
7b8100dafe
Network/ENet: Add ENet licence
2017-02-01 00:20:22 +01:00
Lynix
a087174bf8
Network/Algorithm: Add HostToNet and NetToHost
2017-02-01 00:13:08 +01:00
Lynix
85257da07e
Network/ENet: Fix some warnings
2017-01-31 23:05:18 +01:00
Lynix
6b8d9deb43
Network/ENet: Clean up time functions
2017-01-31 23:04:53 +01:00
Lynix
2f057191aa
Network/ENetHost: Add GetServiceTime()
2017-01-31 22:19:17 +01:00
Jérôme Leclercq
3ff483d2f6
Network/ENetPeer: Add GetPeerId()
2017-01-30 18:08:38 +01:00
Jérôme Leclercq
b5797dfa12
Network/ENetHost: Move handling to ENetPeer
2017-01-30 18:08:21 +01:00
Lynix
4e517bc1e3
Network/ENetHost: Add network simulator
2017-01-28 17:18:06 +01:00
Lynix
4e2a037d6b
Network/ENetPeer: Add total packet lost/sent counter
2017-01-28 17:17:42 +01:00
Lynix
c9d5f2f1ac
Network/ENet: More cleanup
2017-01-28 12:08:35 +01:00
Lynix
8fc734674d
Network/ENet: Fix fragments and cleanup
2017-01-28 11:06:09 +01:00
Lynix
0e03aae6dc
Network/ENetPeer: Fix compilation
2017-01-27 17:12:23 +01:00
Lynix
86ae60b6c2
Network: Fix compilation
2017-01-27 16:07:41 +01:00
Lynix
f59b59da27
Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here
2017-01-27 15:09:01 +01:00
Lynix
ab3b730d21
Network/TcpClient|UdpSocket: Add SendMultiple method
...
To efficiently merge multiples buffers into a reduced number of network
packets
2017-01-27 14:51:01 +01:00
Lynix
1d6f22cd8a
Core/Flags: Make Flags default-constructible
2017-01-27 14:49:07 +01:00
Lynix
8a59dc88b8
Commit progression
2017-01-27 14:48:31 +01:00