Commit Graph

1511 Commits

Author SHA1 Message Date
Lynix 115565fa1e Network/Enums: Fix SocketState_Max
Former-commit-id: 93f0502110b74a56101dc7216adeef18afe48d70
2016-03-30 18:37:31 +02:00
Lynix b331d66c70 Lua/LuaClass: Add possibility to set up a custom converter
Former-commit-id: 96cf62a16845b5cf44d5724bfd3b9e5b7672ad03
2016-03-30 18:16:05 +02:00
Lynix b6ea30f9c1 Lua/LuaClass: Add a default ToString implementation
Former-commit-id: ff6c9cf1d18d34ad8fd7b03c970eec2da5ba0947
2016-03-30 18:15:17 +02:00
Lynix 9390ce35b3 Lua/LuaInstance: Add automatic conversion of std::vector
Former-commit-id: 31b32f9c4b9ccd825f2d08ea8499211040a0b9ab
2016-03-30 18:06:18 +02:00
Lynix bf288e7f06 Lua/LuaInstance: Fix crash with invalid objects
Former-commit-id: 398ce80f268308489637c237245dae0ec40366b9
2016-03-30 18:05:28 +02:00
Lynix a8303d8d24 Lua/LuaInstance: Fix enum querying
Former-commit-id: 7fa25a981425694108767ce3a9b56b8e155476a4
2016-03-30 18:05:11 +02:00
Lynix 308b297a46 Lua/LuaInstance: Set SetTable as const
Former-commit-id: d480e243ddaf6fb6a016fde9ad9642b82e4703fe
2016-03-30 17:50:48 +02:00
Lynix 5465951f87 Core/ResourceLoader: Fix assert
Former-commit-id: 391a0ec4de1a1c5ed97ea82aee0d3d69fbbc00df
2016-03-30 17:49:27 +02:00
Lynix 2b9dcb47c0 Math/BoundingVolume: Fix compilation
Former-commit-id: 6717a9d8d92f05ba3e4ae3b088aef79f0a637736
2016-03-26 01:38:03 +01:00
Lynix b28ab414c9 Math/BoundingVolume: Add ExtendTo method
Former-commit-id: 5cfd681d5cd7adcc2bcf16184a2da821bf4eb477
2016-03-25 23:07:59 +01:00
Lynix d2e3bb36a6 Alphabetical commit
Former-commit-id: 4277d1fdc84af2031faa826520fcc442edb47a10
2016-03-15 23:00:58 +01:00
Lynix 3f9a4170f1 Network: Add RUdpConnection class (experimental)
Currently missing an external RUdpClient class, ping handling, some
messages but should basically works


Former-commit-id: 6ebd181a4804094c62aedb8e3ba7876a7b06acdc
2016-03-09 13:54:04 +01:00
Lynix 8e3c542049 Core/ByteStream: Remove assertion on ByteStream pointer
Former-commit-id: 438b669e039cfdece251f4918926df9268bb01c1
2016-03-09 13:52:39 +01:00
Lynix 1a95c314ff Core/ParameterList: Make errors silent by default
Former-commit-id: 38d1613681a65194cb7392903c9bc20f912561a3
2016-03-08 13:58:09 +01:00
Lynix d349b9583e Core: Fix missing include
Former-commit-id: 76e4ff0d2bd3e3b6865e84f6ef0142a195a5755a
2016-03-08 13:43:11 +01:00
Lynix c935c1a293 Graphics/OBJLoader: Allow users to specifiy a vertex count cache when loading
Former-commit-id: 87ebc2aefe2c2091fd483793f880724e1ed6ac3d
2016-03-08 13:39:08 +01:00
Lynix dce587bd63 Add support for custom resource parameters
And allow users to skip a precise loader using them


Former-commit-id: 297af2e4a24ad67c343aae5d89352abf4ea05f63
2016-03-08 13:37:17 +01:00
Lynix d6ff7d065e Utility/Image: Add saver (allowing to save images)
Former-commit-id: df78d657256f8a6b7dad5ab11877aae7402608b3
2016-03-08 13:11:09 +01:00
Lynix 6f9d778749 Core/ResourceLoader: Replace checks by asserts
Former-commit-id: 88be9b70d904856b888ee04829def85f1dee0bc6
2016-03-08 13:10:06 +01:00
Lynix 0ffc3c6557 Core: Add ResourceSaver class
Former-commit-id: 3c7fb9868058d897f1db831b207e9544688922fe
2016-03-08 13:09:41 +01:00
Lynix a39cfcc92e Core/Color: Add serialization
Former-commit-id: ef50b4303a3fbc5e2b49ba440d9008fb6d51a7e3
2016-03-06 14:55:42 +01:00
Lynix 300dc82806 Math: Fix missing includes
Former-commit-id: 21ff7a6db4beb9fc7968e9bf1ba7478ca2f55e21
2016-03-06 14:54:56 +01:00
Lynix e9d126b3a4 Math: Add serialization specialization for all types
Former-commit-id: 7e45c50d3b4eabfc581736f290fc208592d3d46c
2016-03-06 01:54:13 +01:00
Lynix d6a436100c Network/IpAddress: Add std::hash specialization
Former-commit-id: c8617065e51b307b541e4e58e3fb2494b144e828
2016-03-02 16:53:58 +01:00
Lynix 192fccc634 Fix compilation
Former-commit-id: d5ac6bb73615f7c9b068c1de2037dfeddc5c1b45
2016-03-02 16:53:20 +01:00
Lynix ad55ff159b Network: Add NetPacket to global header
Former-commit-id: 51a55af65b954314b58ee7e80d26c0c97854f80c
2016-03-01 15:38:04 +01:00
Lynix 1c4135fc09 Improve documentation
Former-commit-id: 08d70f6a53a7f12d2748d145d1fe139595a1b39e
2016-03-01 15:37:05 +01:00
Lynix 36067e31c4 Utility/Window: Make Window moveable
Former-commit-id: 8c780562acc61d15437ed21c16eed92b6dd97373
2016-03-01 14:00:53 +01:00
Lynix 40e12ebffa Network/Enum: Fix typo
Former-commit-id: 8a41d1a2a915a8c5565e3a9ecc93898a35ed2133
2016-03-01 14:00:27 +01:00
Lynix cc7263e398 Core/MemoryPool: Fix missing include
Former-commit-id: fd993b3117c61e0fe6e9e34b0e24f2bf84b3186e
2016-03-01 13:59:41 +01:00
Lynix 188c1e4c1e Core/Bitset: Made destructor and Clear() noexcept
Former-commit-id: 0d09070fcb5d17812eb938c9873213107bd97f7c
2016-03-01 13:59:31 +01:00
Lynix f9a95ce054 Core: Made Mutex and ConditionVariable moveable
Former-commit-id: 891fbb35d050f3df572cbbecd0191b75f556e59d
2016-03-01 13:59:17 +01:00
Lynix e65d495a98 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
Former-commit-id: 6a6191171a34d24a22c020a8d4c01e7869c3279d
2016-02-24 14:19:21 +01:00
Lynix d24de1f719 Network/NetPacket: Add move constructor/operator
Former-commit-id: 56cb793ab75e5bcd97b89c5be3592922c23a7a4d
2016-02-24 14:17:47 +01:00
Lynix a851056c0a Network/Packet: Fixes buffer size
Former-commit-id: 51fd56f76af8abe8feb1ed88802ef7ec0bd4a175
2016-02-24 14:17:28 +01:00
Lynix d6279914b4 Network/Socket: Fix last error being undefined without any operation
Former-commit-id: 5ccd098d93842f0be79d516630f39150a394045c
2016-02-24 14:14:29 +01:00
Lynix dff6e855e4 Fixes compilation on GCC
Former-commit-id: 1829fa37830618bd9b14e7bfa5d935c886213589
2016-02-24 14:12:45 +01:00
Gawaboumga 2a28d8863c Documentation for the rest
Former-commit-id: b6f401370127679db397da0039cb5e98477e90db
2016-02-21 14:42:38 +01:00
Gawaboumga b62b694af8 Documentation for Functor
Former-commit-id: d0bac2fa789631c9a56ba5636aa52f260f1cc6fd
2016-02-21 14:41:58 +01:00
Gawaboumga 61542b59d6 Documentation for Endiannes
Former-commit-id: e45c5026b84aa8b354e29d760eff56d13f2dc745
2016-02-21 14:41:41 +01:00
Gawaboumga 0a4381a95b Documentation for Core
Former-commit-id: d0d4a575149b9f3e70e07b3a815e669d6a79065f
2016-02-21 14:41:17 +01:00
Gawaboumga 8325db8037 Documentation for Special files of Core
Former-commit-id: 6e98fc660ee9dfaa4d8f31da337e2334b4f43442
2016-02-21 14:40:47 +01:00
Gawaboumga 99370683b3 Documentation for DynLib & PluginManager
Former-commit-id: 3602bd9a6f24ed4adb38879097ea5679b55e3b99
2016-02-21 14:38:35 +01:00
Gawaboumga 5a5f25a950 Documentation for Documentation & File
Former-commit-id: 8a69e6dca76fba4a23b36c563b52c4ccbbec7309
2016-02-21 14:37:37 +01:00
Gawaboumga a82c33c314 Documentation for Stream
Former-commit-id: 0e77be8d238879c114c5e7b166ae646254fac9eb
2016-02-21 14:36:49 +01:00
Gawaboumga d340553023 Documentation for ByteArray and ByteStream
Former-commit-id: 4d2d0de93562077e030b4304b57f6c95b32185b5
2016-02-21 14:32:59 +01:00
Gawaboumga f540029825 Documentation for String
Former-commit-id: caf1b5889604d7c2248ec88bde99a6bce0d7680f
2016-02-21 14:32:17 +01:00
Gawaboumga c163d65da7 Documentation for Thread
Former-commit-id: b33bbdf473792ddcde8ffbe310722d83a1a12bcf
2016-02-21 14:29:03 +01:00
Gawaboumga 44ec6caf5d Documentation for Memory
Former-commit-id: 85e41e916df2c2e2bffa31f5540643144223a322
2016-02-21 14:28:17 +01:00
Gawaboumga f16857fc6a Documentation for Resource
Former-commit-id: 7da8bc4261566c89030eb0226a29b1a70183e68a
2016-02-21 14:27:29 +01:00
Gawaboumga e311dcb5d3 Documentation for SparsePtr
Former-commit-id: f4e51b1a9d7792dbbbd148e028906ba8062787b5
2016-02-21 14:26:49 +01:00
Gawaboumga fe12806c6b Documentation for Signal
Former-commit-id: 8c69830fe9e23ec85ced5f29ce43c96ea26298eb
2016-02-21 14:26:10 +01:00
Gawaboumga 1eebeceeea Documentation for Primitive
Former-commit-id: 8f4e15d4e9131836545f8b112049a001638f411c
2016-02-21 14:24:37 +01:00
Gawaboumga 040c8b099f Documentation for ObjectRef
Former-commit-id: 3c704ed4e8999b0cdc66f6fe29ca0f170cc6619c
2016-02-21 14:22:57 +01:00
Gawaboumga de5a994a5c Documentation for MemoryPool
Former-commit-id: 8464b058829189b16cc2336de6454a38f9ee3bdf
2016-02-21 14:21:56 +01:00
Gawaboumga 5c3b16f4a7 Documentation for Bitset
Former-commit-id: f06a3bdb376bcfafb60d0386993806c818ca2c45
2016-02-21 14:21:04 +01:00
Gawaboumga d3621c82eb Documentation for Algorithm
Former-commit-id: a2090cb6f5e7373f4d9adc3c1d5067619b1bd185
2016-02-21 14:20:16 +01:00
Lynix 08caff5ea3 Network: Add support for sending/receiving NetPacket over UDP/TCP
Former-commit-id: 5c09a5fa8b499e4204d2312f6d04d8554093a5a4
2016-02-04 14:51:26 +01:00
Lynix 6c0215952d Network/NetPacket: Add Resize method and fix buffer size
Former-commit-id: 465864559149ef62279038c24649d73c75f38037
2016-02-04 14:40:40 +01:00
Lynix f723d6a29c Network: Replace unsigned int by size_t for size
Former-commit-id: efa7e2f50ae370f96871726be7906332ca8969a4
2016-02-04 13:27:06 +01:00
Lynix 33e2bb905b Network/NetPacket: Add Get(Const)Data method
Former-commit-id: 53f4f230b3e7baa65c79d97b21e192108b771312
2016-02-04 13:24:08 +01:00
Lynix 4e3244c999 Network: Add NetCode enum and SocketError_Packet, fixes compilation
Former-commit-id: 2c56f086a7b8892377730e4f556f3953e9e7dc62
2016-02-04 12:48:04 +01:00
Lynix 0b71d1a2e2 Network/NetPacket: Make new packets ReadWrite
Former-commit-id: e9735766181932fbd9840b6f143ba133b2a5c08f
2016-02-04 12:43:50 +01:00
Lynix 00ed0e2ae3 Network/NetPacket: Inline some methods
Former-commit-id: d54e7b9ff1baf93f6da35e29123d598b84742eac
2016-02-04 12:24:44 +01:00
Lynix 4312de828e Network: Add NetPacket class
Former-commit-id: 0c5acdbf9313621dddd3dcee23c6f85f46c27012
2016-02-03 18:44:03 +01:00
Lynix 89c796ed5c Core: Regenerate global header
Former-commit-id: 5b357d76bc50862b19967346a77035f1fd65d30a
2016-02-03 18:43:16 +01:00
Lynix e367ec456d Core: Rework Serialization
Former-commit-id: d97eedbd3efc92235e3880ad061a5216fa77ebd7
2016-02-03 18:42:19 +01:00
Lynix 25a767290b Audio/OpenAL: Adjust return type of QueryInputDevices and QueryOutputDevices
Former-commit-id: 5f2a07a73bc8903662139067ce0b484c9af86353
2016-02-01 13:24:49 +01:00
Lynix 90fe2528cf Fixes spaces
Former-commit-id: 65f2e2f10aee0a47aff4b0166148745b13150001
2016-01-27 18:04:15 +01:00
Lynix cbd73a9ac0 Core/Enums: Fix OpenMode_Max
Former-commit-id: eb356bf9d9469fdaff2b234aa7e61751644843a3
2016-01-24 15:22:53 +01:00
Lynix d7ab29e5ef Fix and improve last PR
Former-commit-id: 16afead68e42411402dfb5a7bd957a4940b6f83a
2016-01-24 15:20:14 +01:00
GigAnon 8bfd879d87 Nz::ranged_cast
- Moved ranged_cast template function to namespace Nz in file
LuaInstance.hpp
- Added comments


Former-commit-id: 9af0a680b693208e582eb4edbe5a65f996d70a4a
2016-01-21 20:12:37 +01:00
Lynix 9d210eb2ff Lua/LuaInstance: Cleanup
Former-commit-id: 031e810caf968700d5bd8b2c51698f110c6559af
2016-01-21 13:06:44 +01:00
Lynix 14f4291c7c Lua/LuaClass: Fix arguments for methods
Former-commit-id: fc3ec0b3f47185edb74abe1eb54af8722844a6f5
2016-01-21 13:05:43 +01:00
Lynix e907db7de1 Core/ObjectRef: Make hashable
Former-commit-id: 42dd274e98f24c09612321e2f8d0e957463748d8
2016-01-19 12:19:27 +01:00
Lynix c94c525446 Graphics/TextSprite: Add convenience constructor
Former-commit-id: f6ca6499baf20e561616251950e7749350516b14
2016-01-19 12:15:44 +01:00
Lynix df7d736b23 Physics/Geom: Fix missing initialization/uninitialization (fixes crash at exit)
Former-commit-id: 94e4ec331cd559ba4a2680f36325f25a7d2333f2
2016-01-19 12:15:17 +01:00
Lynix c359c6925e Graphics/SpriteLibrary: Fix missing initialization/uninitialization (fixes crash at exit)
Former-commit-id: c7bbd781d163a8456f1fadd0f71451adc5a1bd1a
2016-01-19 12:14:07 +01:00
Lynix d2a1bc3fd5 Network: Fix some move stuff
Former-commit-id: 33b24a038319b444b9a3b84cfeea38c8305e6568
2016-01-15 08:29:58 +01:00
Lynix c9a63bc72c Core: Bring back MemoryStream class (It's not perfect but necessary until a better replacement comes out)
Former-commit-id: e3106b98c9825e313525298a8d46ff9c40bf5027
2016-01-15 02:24:34 +01:00
Lynix 2cace84c90 Math/Matrix4: Fix computations.
Sometimes some values can be really small (and very close to zero) without being null.


Former-commit-id: 932160043e4eb4094c7234f8cf4eb7c212966678
2016-01-15 01:04:29 +01:00
Lynix 4562243c5f Utility/SimpleTextDrawer: Update SetColor method (will no longer force full regeneration)
Former-commit-id: 3f3043ea5c5d3add1358d50eb3f92e452d931dbf
2016-01-08 14:00:54 +01:00
Lynix f9394e7af2 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
Former-commit-id: 3569a054e81dff3d44e433bedc9ef62526ebe367
2016-01-08 01:30:27 +01:00
Lynix bbaa328530 Core/Bitset: Replace static members by static constexpr
Former-commit-id: 0c2a2eb8d766f544016068cdc4be859be2b20dd5
2016-01-08 01:28:49 +01:00
Lynix ae6ba51380 Utility: Remove useless file
Former-commit-id: e3b885151fe47d60bc4904605859b98d7b4c4110
2016-01-07 18:07:51 +01:00
Lynix adf5946711 Core/Console: Add CountOf function
Former-commit-id: 8ea1456bc8debae102ca616176febb15d3759d17
2016-01-07 13:33:26 +01:00
Lynix b9ec4a4fc4 Utility/SimpleTextDrawer: Add Clear method
Former-commit-id: 10f7c36edb7f0d1705709b070e78792708cdbebf
2016-01-06 19:05:26 +01:00
Lynix c6f491ca21 Graphics/TextSprite: Optimize Update method
Make it keep established connections instead of clearing everything and connecting again


Former-commit-id: abe315a03ba19059a9a867c23780c2f8cd34345b
2016-01-06 12:01:35 +01:00
Lynix 235fbf1877 Utility/SimpleTextDrawer: Add optimized AppendText method
Former-commit-id: 4608e95d19fe5256d205a0d02b75b1f496f629cc
2016-01-05 13:50:52 +01:00
Lynix 856df11d5c Math/Algorithm: Fix compilation (C++14 constexpr is not supported by all major compilers)
Former-commit-id: 83c2d98885763160cedcf03cfb08aa44571703f4
2016-01-01 16:34:49 +01:00
Gawaboumga 139c495966 Documentation for Vector4 + static DotProduct & Normalize
Former-commit-id: 4a190589292f299d266e20f7b9723594f2c32468
2015-12-30 15:36:38 +01:00
Gawaboumga 95400fdfab Documentation for Vector3
Former-commit-id: 15f770065aa66e03928d7086403c697be334cb3a
2015-12-30 15:36:12 +01:00
Gawaboumga 844e31fb38 Documentation for Vector2 + static DotProduct & Normalize
Former-commit-id: 6f0aa15cd725f9dfaa7f6f99b10c6d2dde4e94a1
2015-12-30 15:35:37 +01:00
Gawaboumga cec0567fdd Documentation for Sphere + new Unit sphere
Former-commit-id: 8f7dd89c3669f0a791b76ef7cb89d998ce6b336a
2015-12-30 15:34:59 +01:00
Gawaboumga d733a9c5d1 Documentation for Rect
Former-commit-id: 4cb6ff983f7f01611847d29699dab5ca06e17d4a
2015-12-30 15:34:36 +01:00
Gawaboumga 137bc33770 Documentation for Ray + New method intersection Ray-Triangle
Former-commit-id: 29989ec859e609582fdb60a67a7fb353a03091a0
2015-12-30 15:33:55 +01:00
Gawaboumga 9efce81eac Documentation for Quaternion
Former-commit-id: b19bd792823e1f49ff088fc95be26f0db185a8a6
2015-12-30 15:33:26 +01:00
Gawaboumga 40d3d6b235 Documentation for OrientedBox
Former-commit-id: 77f7c82d7ca16348774ccdf1d4e98432710a585a
2015-12-30 15:32:59 +01:00
Gawaboumga 53f4bacab6 Documentation for Plane + add MakeXY methods
Former-commit-id: 688a65089e6e332e3a2ffbed7966e4f9185b79cc
2015-12-30 15:32:41 +01:00
Gawaboumga f131fd2121 Documentation for Matrix4 + Check for affine
Former-commit-id: 9ddb4e85f860b12d06afaa2d32139bea4053eb66
2015-12-30 15:32:09 +01:00
Gawaboumga fa48b750ae Documentation for Frustum
Former-commit-id: 38c09bfa36e663a77ebeb19f5b2c16f60f99ea14
2015-12-30 15:31:27 +01:00
Gawaboumga 5d0624f03f Documentation for EulerAngles + change Return of Set
Former-commit-id: 7e269b89e880156d66d92cff202095c4e30f344d
2015-12-30 15:30:13 +01:00
Gawaboumga e2213cac61 Documentation for BoundingVolume & Box
Former-commit-id: 0fc14422dc32677f329f95dc7a554127f1b8ba0a
2015-12-30 15:29:07 +01:00
Gawaboumga 007b40b1b3 Documentation for Algorithm + constexpr
Former-commit-id: d77905d0ee9a2dde655f548bd175042aa3f5d22d
2015-12-30 15:28:13 +01:00
Gawaboumga 7f4a7c1012 Add override where missing
Former-commit-id: 2a876a280bc29f45ba81cedff5a3efeb5b70efab
2015-12-30 15:15:20 +01:00
Lynix 1926b28d63 Graphics/Light: Add missing GetInnerAngleCosine() and GetInvRadius() implementation
Former-commit-id: 7deb6b2dd76139ccc98801cdb36a27e1f5979722
2015-12-18 13:46:15 +01:00
Lynix 39f2c4eb07 Lua/LuaInstance: Resolve ambiguous overload
Former-commit-id: 581b56a8e83f67b4f44413b7c4e75071e77cf0f5
2015-12-18 13:26:08 +01:00
Lynix 163e73f5d2 Lua: Some fixes
Former-commit-id: 6db68a9c5e29a81fdd590bd11167841dda780af1
2015-12-17 14:20:33 +01:00
Lynix 52599132a7 Lua/LuaInstance: Add [Check|Set][Field|Global] helpers
Former-commit-id: 4c6cb6097a28daa9099b3f00c201e49ec850c320
2015-12-17 13:47:25 +01:00
Lynix ee2626b928 Lua: Optimize binding
Former-commit-id: 647a1731f75098b4a8b8f8785e683533931e085a
2015-12-17 13:41:13 +01:00
Lynix 4c72e27784 Lua/LuaClass: Add pointer objects support
Former-commit-id: b4cf6fb6674278ed341a27d2a8e432845531a333
2015-12-13 16:35:42 +01:00
Lynix 2c79e5f4e0 Lua/LuaInstance: Add PushInstance
Former-commit-id: 0e65124d5920a1b5ea3c644e496ae58ddee1cd8e
2015-12-13 04:40:50 +01:00
Lynix 83bd028e8f Lua/LuaClass: Add inheritance (first implementation)
Former-commit-id: 6c7f8d7dace5c857ae71958e15cc13d6a6f9ccb2
2015-12-13 03:29:57 +01:00
Lynix 3cdf6a9f44 Core/String: Replace Resize argument by flags, it is now capable of handling UTF-8 sequences
Former-commit-id: 472e3504de06166049fcf1b850c38e5646a2d872
2015-12-11 13:35:44 +01:00
Lynix bfabf0cd5e Lua/LuaInstance: Add support for multi-arg conversion
Allows to convert 3 numbers to a single Vector3 argument (Yup, I'm
working on it)


Former-commit-id: 56766e8b3821c7c4aa44036306c6bcbe658554bb
2015-12-10 23:51:19 +01:00
Lynix 4a71fb2922 Lua/LuaClass: Fix parameters sent to Getter/Setter
Former-commit-id: 7ca17fab640f8fb0c5836f8c1ae6186873d645f2
2015-12-10 14:09:13 +01:00
Lynix 91f778dd89 Graphics/SkyboxBackground: Add movement scaler
Former-commit-id: 02682210b2b3d4b0cf27c6dd8cf171a025a92701
2015-12-10 14:08:09 +01:00
Lynix 11abcc7da4 Lua/LuaInstance: Fix compilation under Clang/GCC
A big thank to gbdivers on this one


Former-commit-id: f96a61ef101b7c9512ada719c82b0836aed3738b
2015-12-09 16:34:50 +01:00
Lynix 688aed0160 Lua: Fix typo
Former-commit-id: 59511a3b013e2aaccf1521bfff34fca1d22d1b7c
2015-12-09 15:23:43 +01:00
Lynix d2584b7c33 Lua: Add support for default arguments
Former-commit-id: a319bcadf39b7e1633aaa23f360059a1f7449590
2015-12-09 15:11:57 +01:00
Lynix 5f16da5e73 Merge branch 'master' into NDK-ShadowMapping
Former-commit-id: 0d9c61835b3e42a932299c6d759e9af0f56019b8
2015-12-09 01:14:20 +01:00
Lynix 9e7452ab68 Graphics/DepthRender: Fix compilation
Former-commit-id: 749e3b67038cba20c46bd5570e616608200733f5
2015-12-09 01:11:27 +01:00
Lynix 9cf5e4b68c Merge branch 'master' into NDK-ShadowMapping
Former-commit-id: 83435ab51753299b30a102871fbcd5558d2ac4f1
2015-12-09 00:59:07 +01:00
Lynix d72db3bf4b Lua/LuaInstance: Fix linker error
Former-commit-id: cffd71467f31b7ef28e456ddd96dae1163bef145
2015-12-08 18:40:40 +01:00
Lynix 35b0d293fd Lua/Enums: Fix missing namespace
Former-commit-id: 08a82b09341df944b7f9b0aa102ce089f3cc4a95
2015-12-08 18:40:26 +01:00
Lynix 93fae53ea5 Graphics: Qt-friendly change
Former-commit-id: b4b278897d681ea5361ce9f751a0ecba7acd34ee
2015-12-07 22:45:07 +01:00
Lynix 6284503da6 Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: ddfe1d92246d6717e4e4ec2e982eddfa1b74ed50
2015-12-07 19:55:05 +01:00
Lynix 4ccbaece88 Lua: Fix compilation error with some arguments type
Former-commit-id: 954f5ddff3c7fba4fa5975321f2c6a1c89c3d4ad
2015-12-07 19:54:45 +01:00
Lynix 9f9705ccfa Core: Rewrite Log system
Former-commit-id: 42bc22a2172507d1dbbdffe570f36067366a67e3
2015-12-07 18:18:14 +01:00
Lynix 8915619934 Lua: Add automatic method binding
Former-commit-id: fccd5f3682f6581db6b6b5976f4d0d3e0afa324c
2015-11-28 02:51:42 +01:00
Lynix 6bc285cb00 Fix compilation for GCC
Former-commit-id: 7c51c59904fa86f952b704d175b09b32640d9395
2015-11-28 02:07:56 +01:00
Lynix 0a0e6d00f7 Graphics: Add render order
Former-commit-id: 881ae69c214e024846dc0165f3476f76f5bcc0b5
2015-11-27 23:38:54 +01:00
Lynix 1e5cad5b24 Core/Unicode: Fix Unicode export
Former-commit-id: 670984e75c25b3986f7cde250db073421e4b935a
2015-11-25 18:28:33 +01:00
Lynix 4619099a01 Core/SimpleTextDrawer: Fix assignment operator
Former-commit-id: 52aa69ef0712d142ab36eae6dedf084c32a08012
2015-11-25 18:20:02 +01:00
Lynix b5fb11b5c2 Core/Serializer: Add FlushBits method
Former-commit-id: 64b8d4277001ab763dc92c0a157ebce72a8bfef8
2015-11-25 18:19:38 +01:00
Lynix bbe8a776e8 Fix a shitloads of warnings on VS
Former-commit-id: fca61118f4e0530ed2eaaf9ff96de29806aa5aa8
2015-11-25 18:19:26 +01:00
Lynix c6d16c0128 Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: 0a246d26e2ea13acec4bcf00a48f5bec3e4f8c7f
2015-11-23 18:22:15 +01:00
Lynix 4721bf80c3 Network/TcpClient: Make TcpClient a Stream
Former-commit-id: 2176748166ae84b609d5a336495e6ff3550a765d
2015-11-23 18:22:12 +01:00
Lynix 6829863d81 Core/Enum: Rename OpenMode_Current to NotOpen
Former-commit-id: f4395871d68d8f6da5ca6dbcda2177ad6aae2fc8
2015-11-23 14:15:29 +01:00
Lynix 7f220ce48c Core/Serialization: Add bit serialization
Former-commit-id: dbaf3a2d40a85955b4d48efba72a5df9d92d0eb1
2015-11-23 13:45:35 +01:00
Lynix b0d2675994 Network/Algorithm: Fix external linking
Former-commit-id: 7ad005245e1a93d0c2a8981d654dcfce462fcbd7
2015-11-22 15:53:31 +01:00
Lynix c93e4e901e Core: Add Serializer/Unserializer
Former-commit-id: 50fdf56da4fef46ec78995cb8fc277cbc9a11ebc
2015-11-20 14:23:10 +01:00
Lynix ed961f5ba8 Core: Merge InputStream and OutputStream to Stream
Remove serialization support from Stream


Former-commit-id: 7a761e4fcd07cab561f13e4709c4492ed18da88a
2015-11-20 13:52:49 +01:00
Lynix 35b27bbe67 Core/MemoryStream: Add hash overload for MemoryStream
Former-commit-id: ab618e0db87bd85994a3b11a29c7f38e28d8aae3
2015-11-19 14:03:26 +01:00
Lynix 11f85ab9bb Core/MemoryStream: Add default constructor and getters
Former-commit-id: dde0bbc7e697512d94275a807e18299eb271197e
2015-11-19 13:57:39 +01:00
Lynix 1c8a09f90c Core: Replace serialization arguments by context structures
Also fixed some endianness errors


Former-commit-id: 450849e681a9b002c3d501a856a8481470d08dea
2015-11-19 13:25:07 +01:00
Lynix 6eada337b8 Core/File: Fix compilation
Former-commit-id: 69d173fe734dde3d0ca0f008826addce0d5d50bf
2015-11-19 12:18:27 +01:00
Lynix 3fb9e57360 Core/Serialization: Add correct endianness handling
Core/File: Remove endianness handling


Former-commit-id: 6f7bba52057f36c507a024f7a7ea873658a3cfd3
2015-11-18 18:49:38 +01:00
Lynix be01b6f3b4 Core: Add serialization interface
Former-commit-id: cfa749dba1b6f23ef8f38519e0bc9ad9492e3db3
2015-11-18 18:29:20 +01:00
Lynix 167f3e4a27 Core: Switch Hashable struct to HashAppend function
Former-commit-id: 2a20eca0e75bf4067d390f4f5e446de78f26799c
2015-11-18 18:28:56 +01:00
Lynix 00423c4211 Core/File: Remove useless SetOpenMode method (equivalent to Open)
Former-commit-id: e02f4f758adfd2c0870920997acac71a47d51c3f
2015-11-18 18:27:01 +01:00
Lynix ddc343a630 Core: Rename MemoryStream to MemoryView, add MemoryStream
Former-commit-id: c180d5f34fa7c477f35c4b70ebf7b64e3f35fe3d
2015-11-17 14:06:57 +01:00
Lynix a1bb104255 Core/File: Fix crash
Former-commit-id: ee797ea7ba228fa814f2c87250c6dd6c32a9982f
2015-11-17 14:05:46 +01:00
Lynix 131d047517 Regenerate global headers
Former-commit-id: 07a0b81c1840da5d9f1f59e9ba328c24a72e45ad
2015-11-17 13:21:12 +01:00
Lynix 8371ce068f Core: Update Stream interface
Add Open Mode to Stream level, Add IsReadable() and IsWritable()


Former-commit-id: 0da5fa798c0f3bd3bf1545cb57f6bc923b222de8
2015-11-17 13:19:44 +01:00
Lynix fb920f0016 Core: Add OutputStream class
Former-commit-id: a6b8f642e263833c75a338cc23266c94edbced6f
2015-11-17 12:47:13 +01:00
Lynix 9f7468d940 Core/ByteArray: Fix missing include
Former-commit-id: f1f90e4be3d7af42114f0bbe48e351584ab16e77
2015-11-16 14:05:04 +01:00
Lynix 21f223f1c7 Core: Reworked hashes
-Removed HashDigest class (replaced by ByteArray)
-Removed Hashable/Hash classes (replaced by ComputeHash function and
Hashable template struct)
-Fixed ByteArray operator<<
-Renamed File::GetHash to File::ComputeHash


Former-commit-id: cc5eaf2d4c88a556878190b8205e66713512e2d2
2015-11-16 14:04:39 +01:00
Lynix b64ea6f534 Core/String: Fix missing modifications
Former-commit-id: ac0e45fcc8caf8135542cb2fa6ab02b22182735a
2015-11-14 17:37:03 +01:00
Lynix e8aa649cfc Network/HostnameInfo: Replace family/socketType raw value by engine enumeration
Former-commit-id: 40adb7654b5a741c5fa12c1b866e3b427b1be5e9
2015-11-14 02:12:10 +01:00
Lynix 3a4acd9584 Network/TcpClient: Remove unreliable QueryState()
Former-commit-id: 75d61ca0d84150a278c168c81af4c755e8a74d91
2015-11-13 14:17:43 +01:00
Lynix 5325513bd8 Network/TcpClient: Allow configuration before connection
Former-commit-id: 65c81f994ae5b9e9cce0132e2a86b1918879b24f
2015-11-13 14:01:18 +01:00
Lynix a9611680e7 Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: 4962dac67b404140813e143a12d5577478d8a044
2015-11-12 22:08:50 +01:00
Lynix f28e1a7d9b Network/UdpSocket: Add broadcasting option
Former-commit-id: bde428efc5e9c77cf3e64ec04d58d72613f1d8de
2015-11-12 13:35:46 +01:00
Lynix 5d6e6b2d45 Fix errors and warnings
Former-commit-id: a3ba309633f198f82c1d0277d750d867cad4ba44
2015-11-12 00:29:10 +01:00
Lynix a26c979d84 Network/TcpClient: Add Connect overload resolving hostname
Former-commit-id: 5c667a14c591e4e9cb898a8d4c83fedf161179fd
2015-11-10 14:45:59 +01:00
Lynix 3b9c736c16 Network/AbstractSocket: Fix state sent to OnStateChange
Former-commit-id: ae83ea675153d7954187c12d93d7c8c42d8e1dfc
2015-11-10 14:42:36 +01:00
Lynix fd09cdbf1e Network/TcpClient: Replace Connect overload by WaitForConnected method
Former-commit-id: 11ff81ea975f79a51f6342a9a574a23d18c0180f
2015-11-10 13:55:42 +01:00
Lynix dd987e6b71 Network: Fix global header
Former-commit-id: 13b207375cecf63722f45d24d0de5f756fe0a815
2015-11-10 13:53:23 +01:00
Lynix 66daa68333 Network: Little clean up
Former-commit-id: 594fbfbbe9051ac4ec7b647f9e2eb1a74d640a69
2015-11-10 13:35:09 +01:00
Lynix 4ad1a47064 Network: Add ResolveError handling
Former-commit-id: 0dc3d109284e8b475577bf44cbaeb503c4baae73
2015-11-10 13:24:25 +01:00
Lynix 64cd9edd6b Network/AbstractSocket: Fix comment
Former-commit-id: f74b61def45195a8e5b82f499fbbc05ce0cc492c
2015-11-10 12:43:30 +01:00
Lynix 2efaa9dad6 Network/Socket: Rename ChangeState to UpdateState
Former-commit-id: 96f1909e002c0d1bc7a3ebd173fae799b6ba4770
2015-11-10 12:19:03 +01:00
Lynix 890e5c75d6 Network/AbstractSocket: Update OnStateChange signal
Now it is called before the state changes really


Former-commit-id: 3eec47302a971d798e1a75415377243bd743ce3f
2015-11-10 12:17:30 +01:00
Lynix 2a70758f08 Network: Get rid of now useless TcpBase
Former-commit-id: 5a682d6d58cc5e2b8bea19dbfc9acb1133b35337
2015-11-10 12:14:59 +01:00
Lynix 1bbf038cc6 Network: First commit
Former-commit-id: ec8697acc51569f5043e4f70e4cf42f1c5dc487c
2015-11-09 15:02:25 +01:00
Lynix dfa6f06337 Core/Error: Make NazaraAssert blocklike (fixing integration)
Former-commit-id: c6b7e10e30504ef14ef83d0a4d07f17adfd7b026
2015-11-03 22:34:46 +01:00
Lynix a959207ea3 Noise: Rename HybridMultiFractal2D filename
Former-commit-id: dfffba919c4872e8306893f405437be0c6add630
2015-09-28 21:26:52 +02:00
Lynix 5fbd035f12 Noise: Remove HybridMultifractal2D.hpp to rename it
Former-commit-id: 96808cea7606d361e0825642411ab63d5e9a9bb2
2015-09-28 21:26:29 +02:00
Lynix 7db9be3cfb Disable memory manager for every module
Former-commit-id: 4c6e0a87de57bf55780cc9dfee280cc198d06704
2015-09-28 00:41:24 +02:00
Lynix 6fe20d067a Audio: Fix Enums.hpp header guard
Former-commit-id: 2bc99eb04bf63173a9627385de1de40fe18b434e
2015-09-28 00:40:51 +02:00
Youri Hubaut 37586e7283 Switch from Nz prefix to namespace Nz for linux
Former-commit-id: 64eeaf3c633254b04910ebd4576fd9e910002be0
2015-09-27 15:58:49 +02:00
Lynix fe2e47478e Commit forgotten files
Former-commit-id: dd296ce0e7c4128c35b41cbe753ffb572858ba6c
2015-09-25 23:17:44 +02:00
Lynix eaf1bb3601 Merge branch 'NDK-Refactor' into NDK
Conflicts:
	examples/HardwareInfo/main.cpp
	include/Nazara/Renderer/Enums.hpp
	include/Nazara/Renderer/GpuQuery.hpp
	include/Nazara/Renderer/OpenGL.hpp
	include/Nazara/Renderer/RenderBuffer.hpp
	include/Nazara/Renderer/RenderTexture.hpp
	include/Nazara/Renderer/Texture.hpp
	src/Nazara/Graphics/AbstractRenderTechnique.cpp
	src/Nazara/Graphics/DeferredRenderTechnique.cpp
	src/Nazara/Graphics/Material.cpp
	src/Nazara/Graphics/SkyboxBackground.cpp
	src/Nazara/Renderer/GpuQuery.cpp
	src/Nazara/Renderer/OpenGL.cpp
	src/Nazara/Renderer/RenderBuffer.cpp
	src/Nazara/Renderer/RenderTexture.cpp
	src/Nazara/Renderer/Renderer.cpp
	src/Nazara/Renderer/Shader.cpp
	src/Nazara/Renderer/ShaderStage.cpp
	src/Nazara/Renderer/Texture.cpp

Former-commit-id: 2f1c7e9f9766f59ab83d9405856a1898ac4ab48f
2015-09-25 23:16:58 +02:00
Lynix df8da275c4 Switch from Nz prefix to namespace Nz
What a huge commit


Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
2015-09-25 19:20:05 +02:00
Lynix 70ea6912e1 Merge branch 'OpenGL3-upgrade' into NDK
Conflicts:
	src/Nazara/Graphics/SkyboxBackground.cpp
	src/Nazara/Renderer/RenderTexture.cpp
	src/Nazara/Renderer/Renderer.cpp

Former-commit-id: e8914d4e32a689b7df365dca15a438f10722530c
2015-09-24 21:35:43 +02:00
Lynix c214251ecf Update copy/move constructors/operators
Former-commit-id: b1faeeae9211a6c0ca29261d46929dc8c66ea0c4
2015-09-24 12:51:52 +02:00
Lynix dea3fb4e39 Convert spaces to tabs
Former-commit-id: b459cfe0c83f651cc660d42f7d3014c3b146f345
2015-09-24 00:55:57 +02:00
Lynix ce3bbf6c78 Audio: Uniformize SampleCount/SampleRate type
Former-commit-id: a67b0f10a4aeb1399834221d32859ab0e376813e
2015-09-24 00:39:48 +02:00
Lynix 2fd3872099 Core: Remove NonCopyable
Former-commit-id: f8c6d10ad0b1abb4a32e3c867b7f24fd4bde68a4
2015-09-24 00:37:21 +02:00
Lynix 1ffd2b724f Merge branch 'NDK' into NDK-ShadowMapping
Former-commit-id: 150a4149d50af6971fd5798c080f0c55e009a55b
2015-09-20 23:42:12 +02:00
Lynix b16abf0d09 Merge branch 'master' into NDK
Conflicts:
	build/scripts/module/renderer.lua
	build/scripts/module/utility.lua
	include/Nazara/Renderer/OpenGL.hpp
	src/Nazara/Core/String.cpp

Former-commit-id: 0a8054be56f01b12c604c88b829cb10b490a9d6f
2015-09-20 23:41:21 +02:00
Youri Hubaut 829b356ae2 First GLX implementation
Former-commit-id: 0f41eb0bd949899fce740879604f14a44f532d8a
2015-09-19 17:22:25 +02:00
Youri Hubaut e8cc3e357e First xcb implementation
Former-commit-id: 483522109b8b63fa80b9152b04bca79a65809d4d
2015-09-19 17:20:01 +02:00
Youri Hubaut a4032abe63 Fix compilation on linux
Former-commit-id: e7ff20401c32d0f7752d03636b5034a3467bf498
2015-09-19 17:10:34 +02:00
Lynix 025d873228 Merge branch 'NDK' into NDK-ShadowMapping
Conflicts:
	SDK/include/NDK/Systems/RenderSystem.hpp
	SDK/src/NDK/Systems/RenderSystem.cpp

Former-commit-id: 2772ff703c9d68d536667c469aca85084be4b861
2015-09-19 14:47:02 +02:00
Lynix 67a9dc692a Physics/Geom: Fix NullGeom InertialMatrix
Former-commit-id: ac5e0c6cd9f775c29e37a4bb5a072eee2b224d0f
2015-09-19 14:44:41 +02:00
Lynix 2c752a38c3 Core/Bitset: Minor changes
Former-commit-id: 0d4e2007c83f34ca966615b55927cf34e88670af
2015-09-18 20:00:53 +02:00
Lynix b56a454a40 Core/ByteArray: Add missing implementation of Front()
Former-commit-id: 672b7bc1054d1a457245dcc15d4c5fafab9fc166
2015-09-18 14:10:24 +02:00
Lynix 466720abec Core/String: Fix IsNull() method (thanks to Unit tests)
Former-commit-id: dd4828c3c0e2d3423094cf018e70fd74deac0740
2015-09-18 14:10:15 +02:00
Lynix 859544eaa7 Ndk: Add support for 2D rendering
Former-commit-id: bdf9257816c8f48b8c0679647978480785720053
2015-09-18 12:34:05 +02:00
Lynix 03ee0a12ed Make signals arguments clearer
Former-commit-id: c329f1fc5b8d8ffcf8e38ec4e4804454b31f685f
2015-09-14 22:40:38 +02:00
Lynix aa303f9028 Merge branch 'NDK' into NDK-ShadowMapping
Conflicts:
	include/Nazara/Math/Matrix4.inl

Former-commit-id: e4b7d178a7acba17c03de2b585af86324b8d75a6
2015-09-13 12:10:30 +02:00
Lynix 9f1c190985 Core/String: Replace manual memory management/COW by smart pointers
Former-commit-id: 27cab7f0642619ab47d53ed59c737992534f2979
2015-09-13 12:07:31 +02:00
Lynix 91ec7c7dce Core/ByteArray: Fix compilation/infinite recursion
Former-commit-id: 7e3dded8a79ca6110775891cf3f90f1ab5400483
2015-09-13 12:06:20 +02:00
Lynix ef511d9b11 Core: Temporary disable MemoryManager (its causing crashs during runtime with VS)
Former-commit-id: 317a3f6b4d8ac363393094d591550181c26e6f05
2015-09-13 01:16:25 +02:00
Lynix d73d935c82 Lua/LuaInstance: Fix warning + optimizations
Former-commit-id: 4191d942ed50058fba0d2a5ed533c41e993fd0eb
2015-09-13 00:56:53 +02:00
Lynix 32829863aa Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: 3cd50359629d58a4e61744b94f3b7fc47ad551e4
2015-09-11 21:47:03 +02:00
Lynix 3d9da38e45 Core/Algorithm: Add Apply variant for methods
Former-commit-id: 6e34c37c56d916c040ef501190f02f35e9c734df
2015-09-11 14:09:59 +02:00
Lynix 73e03073eb Lua: Add automatic function binding
Former-commit-id: dcb1d3ca474c9e10f9a40428095a5ff752f5c4a9
2015-09-10 18:03:52 +02:00
Lynix 5888949bf9 Fix merge files
Former-commit-id: 27058f380928319efcdd7af6104a776296b2093e
2015-08-21 22:43:53 +02:00
Lynix 505f1dbb03 Merge branch 'master' into NDK
Conflicts:
	include/Nazara/Core/Algorithm.inl
	include/Nazara/Core/ByteArray.hpp
	include/Nazara/Math/Algorithm.inl
	src/Nazara/Graphics/SkyboxBackground.cpp

Former-commit-id: 42f52f71989fa805f69527fd07edb8405df06566
2015-08-21 18:55:58 +02:00
Lynix dea48a289d Merge branch 'master' into NDK
Conflicts:
	include/Nazara/Core/ConditionVariable.hpp

Former-commit-id: 84320f0a55ae9d8f80ff5211d30d99184c7b4213
2015-08-21 12:49:05 +02:00
Gawaboumga 8716daf73c Debug axes
Former-commit-id: e7d93df67679d1e29014120aef5cc0c3421fd9c2
2015-08-21 12:14:35 +02:00
Gawaboumga 89e0f631d6 No problems
No problems found in Rect, Sphere, Vector2, Vector3 and Vector4


Former-commit-id: 6688608a2beaa9cf5328daf7e5108b6cfebd843d
2015-08-21 12:05:46 +02:00
Gawaboumga cb8ab90300 Quaternion bug fix: missing 'x'
And indentation


Former-commit-id: 87e7cc0f69604f3c4593395b15068b9ded59ba1a
2015-08-21 12:04:46 +02:00
Gawaboumga 19e1cb05bb OrientedBox no problem
Former-commit-id: ad1256baf4bf6d832cb376fe62b1b52f25479e67
2015-08-21 12:03:37 +02:00
Gawaboumga 9d7dc63574 Wrong place
Former-commit-id: 909750e9bca284c2a0096a51c782c1083b258cef
2015-08-21 12:02:55 +02:00
Gawaboumga 282bdf9864 Consequences of the plane change + change perspective
The perspective matrix now as in glm (because the near frustum plane was
wrong). So there is a factor "2" on the component w and the skybox must
be changed in consequence.


Former-commit-id: 09dd049c177532b9ace34a5a60b1b96014652297
2015-08-21 12:01:52 +02:00
Gawaboumga 077584ec49 EulerAngles simplification
Former-commit-id: 775b07a51077e6f17b9fe05773dc5c277c49919d
2015-08-21 11:53:16 +02:00
Gawaboumga b4f926d3ca Test box
No problem except indentation


Former-commit-id: 58d711b48164363fd672c51c005e16eb5ce55e9e
2015-08-21 11:52:44 +02:00
Gawaboumga f0660d5da8 Fix operator== with infinite BoundingVolume
Former-commit-id: 47cee9fb8d8d2b8188d3918527aeebab56b03992
2015-08-21 11:52:05 +02:00
Gawaboumga c2161f2a8b Fix NumberEquals with unsigned
Former-commit-id: 30b573278e84991a9d76604a359bd3110f13d87c
2015-08-21 11:49:37 +02:00
Gawaboumga 2d07922478 Add Unit for vector2
Former-commit-id: 4a143363f24e08d0be12a5ef6bfb46c71b11be4a
2015-08-21 11:34:08 +02:00
Gawaboumga 376df6a3b7 Indentations
Former-commit-id: 0d82a4464cb9369bc4ca5cf2d7780c921eff953d
2015-08-21 11:32:29 +02:00
Gawaboumga 0b390e45a1 ByteArray rewritten
Now works internally with std::vector


Former-commit-id: 643f1d88b2959aed324743dbf91f831130a9198e
2015-08-21 11:28:04 +02:00
Gawaboumga 3dbcb25384 Transfert enumeration from file to enums
Former-commit-id: 0d9e191373affda50d0eb6c2376c7a23720e591b
2015-08-21 11:22:35 +02:00
Gawaboumga 8cda289b82 Indentation String
Former-commit-id: 86848a87089804d5152f80e960308f8b2eb12ff3
2015-08-21 11:11:04 +02:00
Gawaboumga b51e151930 Suppression unused file
Former-commit-id: 60221e1d8486e6a17a7e5368fd932628d9c52b85
2015-08-21 11:09:18 +02:00
Lynix 481a191693 Core/Algorithm: Replace UnpackTuple by Apply
Former-commit-id: dccf9a102e4287035184053e1d60abc0edaf1a1d
2015-08-20 13:35:51 +02:00
Lynix 40d35fbe5f Utility/SimpleTextDrawer: Fix movement
Former-commit-id: ac62391a2e28f50a0a61e984692a7a1e3444b28e
2015-08-20 00:00:16 +02:00
Lynix 831b9358ef Utility/SimpleTextDrawer: Fix movement
Former-commit-id: f5086d1ca281f31a3b89d5cd535f9aeaa9b2a929
2015-08-19 23:23:19 +02:00
Lynix 2b48917176 Merge branch 'NDK' into NDK-ShadowMapping
Former-commit-id: b07de3853987ffc91946b307208c0ec26eda280a
2015-08-17 14:26:42 +02:00
Lynix 21ad09d626 Core/Utility: Fix font crash
Happened when the atlas was resizing while updating the text drawer, the
old invalid pointer was kept (now a dangling pointer).


Former-commit-id: d50153f81f1f2bdd80cfdac9dcee85eb7c28c35e
2015-08-17 13:54:07 +02:00
Lynix ba1073828f Graphics: Improve code
Former-commit-id: d548b513aef5190e20bc065653178981c5d18f68
2015-08-16 01:44:17 +02:00
Lynix 95ae8ed82c Graphics: Add billboard class
Former-commit-id: bc898f00aa78dd42f61d34ce743ed9a73dce55f6
2015-08-16 01:43:17 +02:00
Lynix 835da411c7 Graphics/Shadows: Add directional shadow mapping (WIP)
It still needs some debug


Former-commit-id: 029872debc1a784712a33802ddd70a2b61e55623
2015-08-13 13:54:34 +02:00
Lynix 75972fec36 Graphics: Add shadow mapping
Former-commit-id: ca404bee246991eab98df35396e3010ec5165c43
2015-07-05 23:57:54 +02:00
Lynix 1f2e810927 Graphics: Remake DepthRender[Queue|Technique]
Former-commit-id: c4d8d4d28d02822273ebe7dca3e468ea156af674
2015-07-05 23:43:35 +02:00
Lynix 6870148314 Renderer: Add shader validation
Former-commit-id: fa9225b87e6ec2217c3838535531075dfcaaf433
2015-07-05 23:26:09 +02:00
Lynix c0ee9d04b5 Graphics/Material: Add depth material parameter
Former-commit-id: 980888e12e5d8c8cf280c6a62592068cfab49d2e
2015-07-05 23:23:17 +02:00
Lynix 1398ed7ebc Core/ObjectRef: Remove static_assert
Former-commit-id: 5050ce7a786053725d7e18fcc943bfb2ce3fee69
2015-07-02 13:01:23 +02:00
Lynix 9a7c356f75 Graphics/Material: Fix texture getters
Former-commit-id: 00799529501c489498c4afd7e42195157b74ba22
2015-07-02 12:24:04 +02:00
Lynix 529673ebc1 Graphics/Light: Make shadow map format/size parametrable
Former-commit-id: 8151d71d58ab760584c0ace1e0686c44bab9d3b2
2015-06-30 20:48:46 +02:00
Lynix 2c4a35b2d1 Graphics/Light: Add move constructor/operator
Former-commit-id: d2823b5bae913fc0d218f6aaf067ee29812a6cbf
2015-06-30 20:47:39 +02:00
Lynix 34e8271d24 Fix warnings
Former-commit-id: 42f2d38f7bf5143d91da6a0fa7dc7d3b88ce56ea
2015-06-30 20:44:37 +02:00
Lynix 0cb4726bf5 Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Conflicts:
	SDK/include/NDK/Systems/RenderSystem.hpp
	SDK/src/NDK/Systems/RenderSystem.cpp

Former-commit-id: f62e9a27427d96893acd2381bb06ae928a1d3741
2015-06-29 21:05:09 +02:00
Lynix 9c1441cc82 Core/MemoryManager: Implement allocation filling
Former-commit-id: 12e6c293e6d51663971e3da4c160b12a6710430e
2015-06-28 16:03:31 +02:00
Lynix 318da0d960 Fixed some warnings
Former-commit-id: d7db2b471afac2d16f44a67e79842f8a7fc2100e
2015-06-28 13:48:22 +02:00
Lynix 7dd4965f9a Math/Matrix4: Fix cotangent in projection matrix
Former-commit-id: 57ccfc4fd2a1a8245272328204afa6590a5cb3fb
2015-06-26 14:05:50 +02:00
Lynix 8648258ef7 Regenerate global headers
Former-commit-id: 60165296c6310b77b1954cba31a65d1bdd29a6b6
2015-06-24 13:56:18 +02:00
Lynix a4bd84a6e3 Graphics: Remove deprecated scene interface
Former-commit-id: 6b5d3c22827912d664c4f8c9c4051c824180bb51
2015-06-24 13:55:35 +02:00
Lynix 58f91d6e39 Graphics/ParticleSystem: Update interface
Former-commit-id: b58c3f194a32411eba2e321b00987d3c76e03cb0
2015-06-24 12:41:54 +02:00
Lynix eddac5c0b6 Graphics/SkyboxBackground: Fixes
Former-commit-id: ab45a2efa957e33015e4d8dd57ebc8a5d028798c
2015-06-24 00:18:38 +02:00
Lynix 4cd4055c3f Graphics/Model: Fix includes
Former-commit-id: 27f0e51429ce1ddb9e35d849a296186d79b1cde6
2015-06-23 23:35:30 +02:00
Lynix 6092b0692b Graphics/Backgrounds: Update backgrounds to new coding-style
Former-commit-id: 9f96b93706fd8417d6262392f0ce9ab9ca1985c3
2015-06-23 23:35:11 +02:00
Lynix 0ec0e02a5f Graphics/ParticleSystem: Turn it to Renderable interface
Former-commit-id: c083f32a4bf2baed93126c30a6d05cf8ed0ba493
2015-06-23 14:01:44 +02:00
Lynix 06b5e09935 Graphics/Renderable: Make Cull simply virtual (not pure anymore)
Former-commit-id: 34042cae998af21c04cbd393864f6984da5b1ef1
2015-06-23 13:59:15 +02:00
Lynix b7b5458c79 Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Former-commit-id: 0c302477d672346eb50c12f8fa7e2b6a19d60779
2015-06-23 12:11:02 +02:00
Lynix 179f30861d Core/Bitset: Fix Bitset::FindNext
Former-commit-id: 20d18be6e8039fc386ef7c402878b3d29577b46d
2015-06-22 14:27:42 +02:00
Lynix ea3fdaba26 Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Conflicts:
	SDK/include/NDK/Systems/RenderSystem.hpp
	SDK/src/NDK/Systems/RenderSystem.cpp

Former-commit-id: 0a72e838de272bff91f0b8c8a3637db94fdd7820
2015-06-22 13:31:23 +02:00
Lynix 109af2a581 Graphics/Light: Fix missing getters
Former-commit-id: 3e7c21d8f3d2a47b3a19f9eec4fcf44e2412a0ed
2015-06-22 13:27:45 +02:00
Lynix 17f9d26387 Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: d6b7e05adf8586c40b79de8dc0880ae1a501403c
2015-06-22 11:19:34 +02:00
Lynix 4b5c08e739 Graphics/Sprite: Fix debug build
Former-commit-id: 751eea18f8ca4c68243dbc363eb4b7de2618784d
2015-06-22 00:54:00 +02:00
Lynix 9318d269e2 Renderer/RenderTexture: Fix and inline
Former-commit-id: 4bf8ad8acd3b978c4665df9547328333b9f9ad42
2015-06-21 13:18:37 +02:00
Lynix 8472578e42 Graphics/Material: Fix compilation error
Former-commit-id: 1cb87781afd8de0f6aaf4f6cbac861d5a1f8f717
2015-06-18 12:09:51 +02:00
Lynix ac8578c510 Graphics/Material: Add shadow support
The real fun will be in the shader


Former-commit-id: e29e98cbf3c35e4cf14c68852e03dc9da1df0ff1
2015-06-18 00:03:38 +02:00
Lynix 763701df7f Graphics/Material: Inline class
Former-commit-id: 7cd8b7a00c87adf087dae7d0fb8d955747cf82d1
2015-06-17 23:36:53 +02:00
Lynix 35066a3451 Math/Sphere: Fix (Squared)Distance
Former-commit-id: d91c0d6e8a193e47c3ed45babaf3b83bf1cbe7ee
2015-06-17 23:35:06 +02:00
Lynix 80208b0dc5 Core/OffsetOf: Remove constexpr (cannot be used because of reinterpret_cast)
Former-commit-id: 78142eb9033a1969f20055b2cecf1bc78152e896
2015-06-17 23:32:48 +02:00
Lynix b7c5283c4e Graphics/Sprite: Fix compilation in debug
Former-commit-id: 233f8ebe775e268b72808ecd0770956651e717f6
2015-06-17 14:32:18 +02:00
Lynix ebbaaf7ff2 Graphics: Add depth render technique/queue
Former-commit-id: 711306ee5f84a9579068ce23240dc105cec15cde
2015-06-17 14:32:05 +02:00
Lynix 52972b0514 Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Former-commit-id: d58c9f21d0de14e06321ed38b237b9fffcc0b2b8
2015-06-16 23:04:20 +02:00
Lynix 54b0339025 Graphics/TextSprite: Inlined some methods
Former-commit-id: 8c6633867e25b86b5b641662c804c446478fe56c
2015-06-16 22:54:29 +02:00
Lynix 8ade9fa65e Graphics/Sprite: Update to InstancedRenderable
Former-commit-id: 8153acbca05bf6afb4a4ed6cd0a323f641919b6d
2015-06-16 22:54:01 +02:00
Lynix 974df4288f First shadow mapping commit
Former-commit-id: 7465a7c3297626f8db8c1ff48a20c0e0d9feb765
2015-06-16 14:21:20 +02:00
Lynix c879bd1656 Graphics/Renderable: Fix warning
Former-commit-id: 8732717db7a067ccb286daf5771520c30017acc6
2015-06-16 12:25:32 +02:00
Lynix 6d953d9e93 Graphics: Separate Renderable and make Light a Renderable (LightComponent)
Former-commit-id: 6177d473f27ef493ba77417fc14461cb08b6f9e1
2015-06-16 00:31:04 +02:00
Lynix c74de36e77 Core/Color: Fix warning
Former-commit-id: 518409a0b6dabd068c13873e7ac4e4be950a8480
2015-06-15 13:42:28 +02:00
Lynix f4c3ec51ed Final VS fixes
Former-commit-id: 6da44f94127f61de39710a52b8b3b73ce19c1269
2015-06-14 16:18:37 +02:00
Lynix 4cc8b53041 Graphics/DeferredRenderPass: Delete copy
This fixes compilation under VS


Former-commit-id: ccc7e647d0d06567953abb04b3fed73ca026bd0a
2015-06-13 22:32:22 +02:00
Lynix 1fc17c8b53 Separate NAZARA_API into multiple defines (one per module)
To fix inter-module dependency


Former-commit-id: 64704f020e0af22e529d38527323ba977187d4d0
2015-06-13 22:31:29 +02:00
Lynix 251e21f006 More VS fixes
Former-commit-id: 356effb816b9527ff9e89ee3b99074c468455b08
2015-06-13 19:42:07 +02:00
Lynix 009d860d6c Math/Algorithm: Clean code
Former-commit-id: 5133320f4cf04e78d3cf7d66dbbe6f87f44b4bdc
2015-06-13 17:34:06 +02:00
Lynix b1081c63e5 More VS fixes
Former-commit-id: 7b613049d581c62ccefd3b63938e51571a04fa8f
2015-06-13 17:23:45 +02:00
Lynix 504eb96b93 Fix compilation under VS2015
Former-commit-id: fb7b3f377e34ea0c44a7fc65efbdb059581d772b
2015-06-13 17:14:19 +02:00
Lynix 1a92fe331c Rename and move loaders, expose parsers
Former-commit-id: 932ae2aab020f956d3fdb91107f6842ff292aa08
2015-06-13 17:13:55 +02:00
Lynix d9c31636b9 Graphics/RenderTechnique: Move viewer to SceneData
Former-commit-id: 6c8b5a00b65649c7a3877a186b51f7240361e801
2015-06-13 16:27:12 +02:00
Lynix 310dcf40b1 Utility/Image: Clean memory managing
Former-commit-id: 15312493a66ea26266029a45cc3aa22cc83386eb
2015-06-13 00:45:21 +02:00
Lynix 8c345964ef Graphics/TextSprite: Add scale
Former-commit-id: 54bb42e83060730e8bd4784b1e24b479d21157f7
2015-06-12 00:45:52 +02:00
Lynix 2391d76332 Graphics/ForwardRenderTechnique: Fix light uniforms
Former-commit-id: b3f0ae5cab39ea5a698800985843a818280d18be
2015-06-12 00:23:46 +02:00
Lynix f60f8fa6a4 Core/Color: Fix warning
Former-commit-id: 7c91c17d9d9c1133e206154320032d554a15c26b
2015-06-12 00:18:24 +02:00
Lynix 3b5551ed7a Graphics/TextSprite: Update to Renderable
Still WIP as it appears to randomly crash


Former-commit-id: 2397ba7e556f7ed72b5fc8752704c3b212fa9fc1
2015-06-11 14:14:57 +02:00
Lynix 48a54dfa5c Graphics/Renderable: Add InstanceData
Former-commit-id: f30f011ae91a445d5b22f33150a88bbda218950c
2015-06-11 14:14:11 +02:00
Lynix 6f2f8d6390 Graphics: Make Background/RenderTechnique independent from Scene
Former-commit-id: d588a3bb74b08d79990a278ad2e399e9797755b4
2015-06-09 00:26:13 +02:00
Lynix e97cc666a1 Core/Signal: Update comments
Former-commit-id: 3e802e6ae0b05c67cb7562567f733fd762e97eed
2015-06-08 01:00:25 +02:00
Lynix 5ce3c5a0cb Core/Signal: Fix disconnection while iterating
This is no longer an issue, you can now disconnect every signal as you
wish even while the iteration


Former-commit-id: 5caadaa860c62ce09f02f7555aa7c6adebc74fb9
2015-06-08 00:28:51 +02:00
Lynix ec9876011f Utility/Node: Fix comments
Former-commit-id: e74fe05d6c443adb9921aeacdc1b8291989a5dcb
2015-06-07 20:53:22 +02:00
Lynix a069b105e6 Fully replace listener system by signals
Former-commit-id: 032dfddd12cc3a792c71426148c758ffac3621f9
2015-06-07 20:42:41 +02:00
Lynix 0f4cf3c910 Graphics/RenderTechnique: Add uniform invalidation
Former-commit-id: 8f03073408a03854533d9911eb1a0605ebbb8767
2015-06-07 18:25:35 +02:00