Commit Graph

2076 Commits

Author SHA1 Message Date
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
GigAnon 69a1be70ba Lua Binding update
- Added range check on various casts (ranged_cast routine needs to be
moved somewhere else)
- Added Nz::Vector3ui type to auto-bind system


Former-commit-id: 3ec773b26d9cc85e40879c011cad0fb2a3d05571
2016-01-21 18:54:01 +01:00
GigAnon 6b0c750e54 Merge remote-tracking branch 'refs/remotes/DigitalPulseSoftware/master'
Former-commit-id: 59eaf0f4535005c601d64f407acaac066f95002c
2016-01-21 14:14:01 +01:00
GigAnon 04aac4363f Lua binding update
- Added files & Register_X methods for modules Graphics, Renderer and
Utility
- Added Nz::AbstractImage binding (WIP)


Former-commit-id: 91fd641c7676c12034e5f702bd3ba45e2a826263
2016-01-21 14:12:20 +01:00
Lynix 1ef85ae806 Sdk/LuAPI: Bind Nz::Stream class
Former-commit-id: 286ecbd79b25b30d17055640e1c792906f434525
2016-01-21 13:07:37 +01:00
Lynix 642f139da9 Sdk/LuaAPI: Improve error check
Former-commit-id: 5c33dd47c3da1c5957704272405dcd6c26117c0f
2016-01-21 13:07:05 +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
GigAnon 95f6977c1f Vector2 Lua Binding
Added Nz::Vector2 Lua binding


Former-commit-id: 727ad086fe62ce131ffdbc24ce17d020cd0fede7
2016-01-20 18:34:31 +01:00
GigAnon 83b365f139 Lua Binding
- Added Lua binding for Nz::MD5Hash & Nz::AbstractHash to LuaAPI_Core
(to be tested)
- Fixed a comment in LuaAPI_Audio


Former-commit-id: d80eec6616b7dad31e2fbbbe4ff6f5d1d28b67e4
2016-01-20 17:05:57 +01:00
GigAnon 7dec6e10a6 Merge remote-tracking branch 'refs/remotes/DigitalPulseSoftware/master'
Former-commit-id: e13918db0bc7a95763cffd3bb9360faa7662c1dc
2016-01-20 14:15:51 +01:00
Lynix 3898421f2f Sdk/API: Begin Lua Binding
Former-commit-id: b9be6bf7748296c3afc6fe1f32a1fd3fad6af008
2016-01-20 14:08:43 +01:00
GigAnon 33f8e9775a Updated .gitignore
Added rule to exclude unit tests binaries
Added rule to exclude more VS15 files


Former-commit-id: 11ea17c814e2bdc8162f58ac8a3392d2d67c9c0d
2016-01-20 14:08:18 +01:00
Lynix d0ff07d262 Build/SdkServer: Fix Console.cpp being included in the project
Former-commit-id: 62d706654c398a60946282e112d7e139107ac745
2016-01-20 14:08:03 +01:00
GigAnon 450b80716e Trying to fix premake
Upgrading to premake5 fix Visual Studio 15, but breaks Code::Blocks.


Former-commit-id: 75d7a3b01616b5b5e7f9cdf376ebd8386336219c
2016-01-19 17:54:21 +01:00
Lynix ffb6a47435 Graphics/Material: Standardize flag testing
Former-commit-id: f2207fa4f1ad600aa09d8b484559bd9155a11f47
2016-01-19 12:22:43 +01:00
Lynix d6827163cd Core/MemoryStream: Fix Writing
Former-commit-id: 05a1b8a3baf79642af50ee34aea53195eff25df2
2016-01-19 12:21:20 +01:00
Lynix 2b85c93433 Sdk/EntityOwner: Prevent copy (Copying an EntityOwner has no use)
Former-commit-id: 628eb865509a84de19bf97bf8253960d6bfb0005
2016-01-19 12:20:38 +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 9ae27d990c Network/Socket: (Windows) Handle WSAECONNABORTED and WSAECONNRESET error messages
Former-commit-id: 3923999541c8ba069452b1704c40bea10a6938fa
2016-01-19 12:11:59 +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 f49f77b75d Sdk/CameraComponent: Add Size property for Orthogonal rendering
Former-commit-id: 0cdebac880e7e97685c7a0a2980dba973ec651a3
2016-01-13 18:43:42 +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 9fa8255de0 Sdk/Entity: Fix move constructor
Former-commit-id: 92d28b142cf1572fef3a608cb63f0f72d1539bce
2016-01-08 01:29:37 +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 8441dcfa2a Ndk/Console: Fix compilation
Former-commit-id: 3579cc6a392f1e74134e035192c5ecdd3e779266
2016-01-07 18:07:03 +01:00
Lynix 55cfd66c7a Sdk: Add Console
Former-commit-id: c80d3c9dbbb0391fdb48a2710f5b5bf7468c050d
2016-01-07 13:43:53 +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 f273c0229c Core/String: Fix Clear(true)
Former-commit-id: 8c3a60660de5fb435de83f6f5b164c6ee9f7c00b
2016-01-06 13:55:44 +01:00
Lynix 2b908d0c2b Graphics/TextSprite: Fix unused memory not being released by Update
Former-commit-id: 2a1349b1346d6dd11a004654a65d43e91626b76a
2016-01-06 13:16:11 +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
Lynix 0a9e6fcda3 Merge pull request #51 from Gawaboumga/Documentation-Update
Documentation update

Former-commit-id: f0921d7927aeb09f19523757ad2ef071140cd5b3
2015-12-31 11:53:09 +01:00
Gawaboumga 3247435e08 Fix for Linux
Former-commit-id: 8cddb6d53f658144f8659adbd7ecab67eb5a41a2
2015-12-30 15:59:08 +01:00
Gawaboumga 15e4fe1453 New tests !
Former-commit-id: 1cb5949ce7b9fde74189a37c75f0b3380fda95c7
2015-12-30 15:38:52 +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