Commit Graph

1159 Commits

Author SHA1 Message Date
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 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 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 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