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
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
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
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
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
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
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