Commit Graph

1636 Commits

Author SHA1 Message Date
Lynix 16d1b83edb Extlibs: Add Vulkan headers
Former-commit-id: 09fcbdfd488b2ba203245a1579f6665d2f0f9497
2016-04-21 17:27:16 +02:00
Lynix ddf75e852a Vulkan: Add empty module
Former-commit-id: 89e01819b36aeda5bfadac35d8a4190256461eca
2016-04-21 13:38:58 +02:00
Lynix 75a5dd8625 Renderer/Texture: Add compressed format support (experimental too)
Former-commit-id: 0835aaa2e6ab6800516c88d47e04796465a65644
2016-04-21 13:23:57 +02:00
Lynix de76b48fdd Utility/Loaders: Fix and enable DDS loader (experimental)
Former-commit-id: 647e4527d47bc82b25eb713b8e6ffc4f424ba6c3
2016-04-21 13:23:11 +02:00
Lynix 718713dbdd Utility/PixelFormat: Add experimental IdentifyFormat method
Only supports RGBA8 for now


Former-commit-id: 8661dc7cab767de5d66efebe5e7038807ba712f7
2016-04-21 13:22:31 +02:00
Lynix e5f5d7ed11 Utility/PixelFormat: Add ComputeSize method
Former-commit-id: 8d9017541a812c98ba96c694cbd10da895338d1d
2016-04-21 13:21:39 +02:00
Lynix d6112c99f4 Renderer/OpenGL: Add loading of glCompressedTexSubImage*D
Former-commit-id: 34f19a2c8f640edace81a0f7cd211b06063fe8a3
2016-04-21 13:21:06 +02:00
Lynix 0d75f8ab2e Audio/Music: Fix warning
Former-commit-id: d52ff2bc6c885b4563867ed1a01b05b6d46419f8
2016-04-18 12:37:20 +02:00
Lynix 43c1243b75 Fix merge problems
Former-commit-id: 899b541adea1719f558c52abfab51458249b6aaf
2016-04-17 20:22:29 +02:00
Lynix b3455e88ca Graphics/DepthRenderTechnique: Add Clear method
Former-commit-id: 70e7cb5b59f0407c73766687b6a95e09b7eca589
2016-04-17 19:58:15 +02:00
Lynix 37aa00b2e7 Merge branch 'master' into NDK-ShadowMapping
Former-commit-id: e2be28b65207dfbb81efe58f31ca31548afecee7
2016-04-17 19:57:15 +02:00
Lynix 6d146e30c8 Audio/Music: Fix GetPlayingOffset and SetPlayingOffset
Former-commit-id: 71d19338612e84105723e28b4fc38510472e89ef
2016-04-17 19:28:44 +02:00
Lynix 2415002fc5 Audio/Sound: Fix GetPlayingOffset/SetPlayingOffset on some implementations
Former-commit-id: 64223409d16af0d8ada3edeb2eb24366c5e312ca
2016-04-17 19:28:20 +02:00
Lynix b87a8b3f25 Audio/Sound: Replace error check by assert
Former-commit-id: 76192feaa3a29342b5456a97f660719714be3fe6
2016-04-17 18:09:22 +02:00
Lynix ba176af5cd Audio/SoundBuffer: Fix duration of large sound files
Former-commit-id: be1c5ba7c9960331eeb359d6cbfa714aeb84f479
2016-04-17 18:08:37 +02:00
Lynix 76bc70b210 Network/RUdpConnection: Add packet loss simulator
Former-commit-id: 8778d54b5b5a9038ec6b9d888cf6c49ad6c5721c
2016-04-17 17:56:02 +02:00
Lynix 1a5dd41407 Network/RUdpConnection: Remove useless arg from Listen
Former-commit-id: 94af162bf5fc1e7d06baae8e4121eb5afe10a649
2016-04-17 17:55:21 +02:00
Lynix c8dd28f75c Sdk/RenderSystem: Allow to change render technique
Former-commit-id: ec61a2ebff138300344e6068917f0863c3d11859
2016-04-16 18:40:58 +02:00
Lynix 104e393d65 Core/LockGuard: Improve LockGuard
Former-commit-id: e9313d81c8cd9cb2cefef64a7c54713062ad9d6a
2016-04-16 18:38:52 +02:00
Lynix 1ec8c8c5e0 Core/Error: Remove Directory include in Error.hpp
Former-commit-id: 61ed7168229dde265159fa5acde0c57c315b85fe
2016-04-11 13:01:17 +02:00
Lynix a31a969409 Replace useless reinterpret_cast by static_cast
Former-commit-id: f61d644d968d4fe9523a5cd122e11525a9c2765d
2016-04-07 04:20:18 +02:00
Lynix 9efed23cbc Utility/Algorithm: Fixes sphere generation
Former-commit-id: 06f96d54f39b77929d9427c714d43202269df67a
2016-04-05 12:47:28 +02:00
Lynix 5f823c9126 Renderer/Renderer: Add default UV to fullscreen quad buffer
Fixes TextureBackground


Former-commit-id: c9533df4b1e30229d88aad9afa7a2ddb22a9c4e1
2016-04-05 12:47:13 +02:00
Gawaboumga 91f2bee487 Bug fix -> String with one char + Directory and File on linux
Former-commit-id: 7f9b6c44197c3cc67145eb0a2d421a2e1de45a84
2016-04-04 10:36:13 +02:00
Gawaboumga 265e1c0fbd Fix compilation for gcc/clang + tests for serialization
Former-commit-id: db9c93a1db3c57f268fc17e411402e071fc8675a
2016-04-04 10:17:05 +02:00
Lynix de8f8e0743 Audio/Music: Fix infinite loop
Former-commit-id: 027a5c19500c774e13ed51f47b16e754dfb44721
2016-04-02 18:55:55 +02:00
Lynix d8610d139b Utility/STBSaver: Fix failure error message
Former-commit-id: 5985737a6e1690e66c8e1a2c6a4edb2c74aebdb0
2016-04-01 18:58:58 +02:00
Lynix 308b297a46 Lua/LuaInstance: Set SetTable as const
Former-commit-id: d480e243ddaf6fb6a016fde9ad9642b82e4703fe
2016-03-30 17:50:48 +02:00
Lynix cc9aec3a52 Core/HardwareInfo: Fix comments
Former-commit-id: 48afaf7a2bb258e65fdd4569601edef2031a241f
2016-03-30 17:50:26 +02:00
Lynix 5465951f87 Core/ResourceLoader: Fix assert
Former-commit-id: 391a0ec4de1a1c5ed97ea82aee0d3d69fbbc00df
2016-03-30 17:49:27 +02: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 b4e98dc7fc Formats: Change skip string format
Former-commit-id: 75952d298efb69bd9b77df31ee8dc1548442d071
2016-03-09 12:41: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 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 b524d9395a Core/String: Fix documentation comments
Former-commit-id: 02fd62caaafce0376b387d9c8365b3ca89e32a78
2016-03-08 13:12:02 +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 883f2eca39 Extlibs/STB: Update stb_image.h and add stb_image_write.h
Former-commit-id: 1b567271240b0207780c2d516fad9e03575ce388
2016-03-07 13:05:21 +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 f9a95ce054 Core: Made Mutex and ConditionVariable moveable
Former-commit-id: 891fbb35d050f3df572cbbecd0191b75f556e59d
2016-03-01 13:59:17 +01:00
Lynix e9bb81e851 Utility/Algorithm: Fix crash in ComputeAABB
Former-commit-id: 58266814fea559c782e6df1145f82a37baf0427c
2016-02-24 17:09:40 +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 ff25505d92 Network: Remove outdated comment
Former-commit-id: 454debf692483a58ea5a24cbaa6ecf2a8715a242
2016-02-24 14:19:15 +01:00
Lynix 9d4256a4d2 Network/TcpClient: Fix disconnection of previous connection not happening with IP connection
Former-commit-id: 3ec17a6c56ee3f0aae7f66f78766f15d7a168f32
2016-02-24 14:19:03 +01:00
Lynix a0a088a914 Network/UdpSocket: Fix receiving packet
Former-commit-id: f27235940770d8e818fa1b60b4840be88cb04fd0
2016-02-24 14:18:22 +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 de59eb1f74 Delete notice in Display
Former-commit-id: d3ddf65b5f00af047b4232068553363d88d3ca30
2016-02-21 14:50:01 +01:00
Gawaboumga 2a28d8863c Documentation for the rest
Former-commit-id: b6f401370127679db397da0039cb5e98477e90db
2016-02-21 14:42:38 +01:00
Gawaboumga 0a4381a95b Documentation for Core
Former-commit-id: d0d4a575149b9f3e70e07b3a815e669d6a79065f
2016-02-21 14:41:17 +01:00
Gawaboumga ff51b90748 Documentation for Error
Former-commit-id: 9158cb014b813739b09b0bea7c375dc549815aef
2016-02-21 14:39:05 +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 fd627c671f Documentation for Synchronisation primitives
Former-commit-id: 39f86b2f9cd1f44a6b8e52101458f090183707e4
2016-02-21 14:36:03 +01:00
Gawaboumga 07547bdd9f Documentation for Logger
Former-commit-id: b09dda8a542782667070ea8bf912b552dd6b478a
2016-02-21 14:34:59 +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 1d5518b0d3 Documentation for RefCounted
Former-commit-id: 45bd646d027ba91fc3d399631fc0518ba172385d
2016-02-21 14:25:26 +01:00
Gawaboumga 1eebeceeea Documentation for Primitive
Former-commit-id: 8f4e15d4e9131836545f8b112049a001638f411c
2016-02-21 14:24:37 +01:00
Gawaboumga 01d5f18d27 Documentation for ParameterList
Former-commit-id: 5b8752a1d20eb894e17b271a019c379d867a4eb5
2016-02-21 14:23:46 +01:00
Gawaboumga 0934c21967 Documentation for AbstractHash
Former-commit-id: 467b96c5d8b9ed9a3fddd7cf6f09803977b53caf
2016-02-21 14:19:40 +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 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 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 ed62fa5398 Utility/Image: Fix tabs
Former-commit-id: 4fd9be606d7cb356bdac14e9d8a9e23d493a549f
2016-01-24 15:23:37 +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 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 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 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
Gawaboumga 3247435e08 Fix for Linux
Former-commit-id: 8cddb6d53f658144f8659adbd7ecab67eb5a41a2
2015-12-30 15:59:08 +01:00
Gawaboumga 1d04ac8f13 First implementation of Posix Network
Former-commit-id: 2b73870d8eef4dc92038224164396390ac43df46
2015-12-30 15:20:07 +01:00
Gawaboumga 7f4a7c1012 Add override where missing
Former-commit-id: 2a876a280bc29f45ba81cedff5a3efeb5b70efab
2015-12-30 15:15:20 +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 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 bff0e2df21 Graphics/ForwardRenderQueue: Fix error
Former-commit-id: a396c373b51128c57f5d8f98291f821b0bfc0c76
2015-12-11 13:08:32 +01:00
Lynix 91f778dd89 Graphics/SkyboxBackground: Add movement scaler
Former-commit-id: 02682210b2b3d4b0cf27c6dd8cf171a025a92701
2015-12-10 14:08:09 +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 ee2257810c Core/Directory: Fix crash at the end of program with MinGW
Former-commit-id: 822d053793e0efc4e3dbb69fbfca556667c303f6
2015-12-07 22:49:40 +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 0f889a0140 Core/Clock: Add documentation
Former-commit-id: e55e7dff873349eb0cc26e6c364b0d5967c3149a
2015-12-01 13:40:48 +01:00
Lynix 6fcf7dcf23 Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: d6270f2f36e4b83124f8d6525954db304e0bb32a
2015-11-30 12:51:01 +01:00
Lynix 5e8f8549af Core/Posix: Fix file opening in ReadWrite mode
Former-commit-id: 7c4a5d3e31e9449fa3c23cfad58523ed54b7834a
2015-11-30 12:50:56 +01:00
Lynix 9b0e903e31 Core/Win32: Fix file opening in ReadWrite mode
Former-commit-id: 58feae9f282529b8067fae52e81d29bdada154f9
2015-11-30 12:50:55 +01:00
Lynix 840c591b6e Fix linking problem in United mode
Former-commit-id: 6c78f8bb7fba17bda69a622a8028c59d2fadcca2
2015-11-28 13:53:26 +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 5d3e4d7aeb Core/GuillotineBinPack: Fix search error
Former-commit-id: 8b7428f59b0a1258c8096df2f784910523dee79d
2015-11-26 23:57:48 +01:00
Lynix 72a6148d1b Core/MemoryView: Fix OpenMode
Former-commit-id: 71c88a9583981236650551b8bc0884abc04aeec5
2015-11-25 18:20:17 +01:00
Lynix 4619099a01 Core/SimpleTextDrawer: Fix assignment operator
Former-commit-id: 52aa69ef0712d142ab36eae6dedf084c32a08012
2015-11-25 18:20:02 +01:00
Lynix bbe8a776e8 Fix a shitloads of warnings on VS
Former-commit-id: fca61118f4e0530ed2eaaf9ff96de29806aa5aa8
2015-11-25 18:19:26 +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 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 a47e5633d4 Core/String: Fix (Un)Serialize not checking string read/write
Former-commit-id: 8d6f907fcaf20374b713851a102dfc4b0003a39d
2015-11-19 14:04:00 +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 bc4eb96af2 Core/File: Fix StreamOption_Text staying if reopened
Former-commit-id: b5d73fb753b8c38aa088ed793791efbbdbb404b5
2015-11-19 12:30:30 +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 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 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 86da939520 Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: 8aec2e99cfa90bff230e2390d1bdc5908db41c27
2015-11-16 10:05:48 +01:00
Lynix 0cda3c1d14 Network/SocketImpl: Add query methods
I'm still not sure I will use them


Former-commit-id: 1c023a51372b6864ebd7f09142ff9adeced72dd0
2015-11-16 10:05:45 +01:00
Lynix 682b8811f5 Graphics/TextSprite: Fix crash
Former-commit-id: c659044edff45afc7eec91065619bdfb402bc32d
2015-11-14 11:43:24 +01:00
Lynix 6a3eb68225 Core/String: Fix heap corruption
Former-commit-id: cf3f1172a43b7ddb9b8e8e9521e3dc1258fa6c21
2015-11-14 11:43:06 +01:00
Lynix a128c2aacb Network/HostnameInfo: Fix empty canonical name on Windows
Former-commit-id: 5cbe995eaf14305d70d2ccd43b8d3120c4b6ad2e
2015-11-14 02:12:40 +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 1b4ac70ac3 Network/SocketImpl: Fix SetKeepAlive
Former-commit-id: 490857d9a34ed1492710666695965bc930691c0b
2015-11-13 18:21:26 +01:00
Lynix 3a4acd9584 Network/TcpClient: Remove unreliable QueryState()
Former-commit-id: 75d61ca0d84150a278c168c81af4c755e8a74d91
2015-11-13 14:17:43 +01:00
Lynix a324f44901 Network/TcpClient: Fix QueryState() when connection failed
Former-commit-id: 15824535922186c0601ade8bfbbe76866b7cd5ff
2015-11-13 14:01:36 +01:00
Lynix 5325513bd8 Network/TcpClient: Allow configuration before connection
Former-commit-id: 65c81f994ae5b9e9cce0132e2a86b1918879b24f
2015-11-13 14:01:18 +01:00
Lynix 8935aa895d Network/SocketImpl: Fix QueryAvailableBytes error handling on Windows
Former-commit-id: 7b1c17a66416201ebea620eb8f992092b511adb8
2015-11-13 13:07:49 +01:00
Lynix 328083638e Network/UdpSocket: Improve code
Former-commit-id: 66ad787d036b6c855dd2a0872c2ceecff9a1674e
2015-11-13 13:07:24 +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 b77c50fe58 Network/TcpClient: Fix peer address not updated if Connect() fails
Former-commit-id: 1c8f9d5e20f6266d40233e7ad0ecf7b12fee0127
2015-11-12 14:54:47 +01:00
Lynix f28e1a7d9b Network/UdpSocket: Add broadcasting option
Former-commit-id: bde428efc5e9c77cf3e64ec04d58d72613f1d8de
2015-11-12 13:35:46 +01:00
Lynix 81221fbf0b Network/TcpClient: Fix LowDelay
Former-commit-id: 70fc4224ae7f8913e27a3a3cf234500db262f73c
2015-11-12 13:19:21 +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 fd09cdbf1e Network/TcpClient: Replace Connect overload by WaitForConnected method
Former-commit-id: 11ff81ea975f79a51f6342a9a574a23d18c0180f
2015-11-10 13:55:42 +01:00
Lynix 66daa68333 Network: Little clean up
Former-commit-id: 594fbfbbe9051ac4ec7b647f9e2eb1a74d640a69
2015-11-10 13:35:09 +01:00
Lynix 65bc2d46e7 Network/Win32: Update comment
Former-commit-id: 8e8592279e3df84c88ea14b9698dbb172ee21566
2015-11-10 13:26:47 +01:00
Lynix 4ad1a47064 Network: Add ResolveError handling
Former-commit-id: 0dc3d109284e8b475577bf44cbaeb503c4baae73
2015-11-10 13:24:25 +01:00
Lynix 5f0aa64555 Network/TcpClient: Fix clients from TcpServer state
Former-commit-id: 39d0884471fb2b0d6a8a12634b26a2f5da894a58
2015-11-10 12:47:33 +01:00
Lynix 2efaa9dad6 Network/Socket: Rename ChangeState to UpdateState
Former-commit-id: 96f1909e002c0d1bc7a3ebd173fae799b6ba4770
2015-11-10 12:19:03 +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 fe680c038b Core/String: Fix crash
Former-commit-id: dc3199cfe9fb299000a5c07b26bd6ac611130459
2015-11-03 22:34:09 +01: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 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 438e45c08e Test fixes for linux
Former-commit-id: 9d58eba0f30eb968161b212541f2411263162293
2015-09-19 17:11:31 +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 466720abec Core/String: Fix IsNull() method (thanks to Unit tests)
Former-commit-id: dd4828c3c0e2d3423094cf018e70fd74deac0740
2015-09-18 14:10:15 +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 44e99bce3d Core/HashDigest: Cleanup code
Former-commit-id: 869c880df6822e7cccf4b847bbba9a5390100a5d
2015-09-13 12:06:38 +02:00
Lynix 73e03073eb Lua: Add automatic function binding
Former-commit-id: dcb1d3ca474c9e10f9a40428095a5ff752f5c4a9
2015-09-10 18:03:52 +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 853ff0e701 Consistency
Former-commit-id: 379ae9d0f63c08a2de6f573bdb52068ed84c19ef
2015-08-21 12:16:09 +02:00
Gawaboumga 8716daf73c Debug axes
Former-commit-id: e7d93df67679d1e29014120aef5cc0c3421fd9c2
2015-08-21 12:14:35 +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 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
Lynix 40d35fbe5f Utility/SimpleTextDrawer: Fix movement
Former-commit-id: ac62391a2e28f50a0a61e984692a7a1e3444b28e
2015-08-20 00:00:16 +02:00
Lynix 0bdfa995b0 Merge branch 'NDK-ShadowMapping' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK-ShadowMapping
Former-commit-id: 77ef760d6343058bfdd33e391c0743d5008c8c49
2015-08-19 23:23:24 +02:00
Lynix 831b9358ef Utility/SimpleTextDrawer: Fix movement
Former-commit-id: f5086d1ca281f31a3b89d5cd535f9aeaa9b2a929
2015-08-19 23:23:19 +02:00
Lynix cd3b19ca79 Graphics/Shader: Fix shadowing
Former-commit-id: 54fc9a019217eef85281c33a8a7becb6fec4f851
2015-08-19 13:46:11 +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 391d248e59 Graphics/Sprite: Fix linker error
Former-commit-id: 1867897b6d67ccd7ed1779c66f086e3dc962e693
2015-08-16 01:45:31 +02:00
Lynix 29ffd44683 Graphics/ForwardRenderTechnique: Fix crash when rendering billboards without instancing
Former-commit-id: af5595a2eb0ddf7c9bb53250af3a5e2d78ea2cda
2015-08-16 01:45:12 +02:00
Lynix ff9d233e7c Graphics/Billboard: Fix billboard texcoords
Former-commit-id: 4c3182736ded66d0d03ed5d0abc54a51d6f6eca6
2015-08-16 01:43:59 +02:00
Lynix 95ae8ed82c Graphics: Add billboard class
Former-commit-id: bc898f00aa78dd42f61d34ce743ed9a73dce55f6
2015-08-16 01:43:17 +02:00
Lynix 5cad63c21b Graphics/Shadow: Implement PCF for spot lights
Former-commit-id: 0045af26b612a5c41268fcf3e3d03893e01c0448
2015-08-14 14:13:53 +02:00
Lynix fabe42dc3a Renderer/Texture: Set up compare mode
Former-commit-id: 6f85b6956530ea27b5bb96eb9b51a3ddc702f71b
2015-08-13 13:55:14 +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 5556c38901 Renderer/RenderTexture: Fix Detach() not removing color targets
Former-commit-id: 058d95e1952f2316333be380cb6418c121db4a32
2015-07-05 23:25:12 +02:00
Lynix c0ee9d04b5 Graphics/Material: Add depth material parameter
Former-commit-id: 980888e12e5d8c8cf280c6a62592068cfab49d2e
2015-07-05 23:23:17 +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 bdb6554bc8 Graphics/DepthRenderQueue: Make use of shadow casting parameter
Former-commit-id: cf15775c67a5d4245d344d001847b9fb1ffe7432
2015-06-30 20:47:08 +02:00
Lynix 34e8271d24 Fix warnings
Former-commit-id: 42f2d38f7bf5143d91da6a0fa7dc7d3b88ce56ea
2015-06-30 20:44:37 +02:00
Lynix d93229a9ac Fix compilation error
Former-commit-id: 5f264fc941898921da408b836c385d4073ebe3ae
2015-06-30 20:44:01 +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 8bdb1c5206 Core/TaskSchedulerImpl: Fix compilation under POSIX
Former-commit-id: a5cedcad78a02283984bcb56be2d5a58e11cd504
2015-06-26 11:46:21 +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 c4783ac38f Graphics/ParticleSystem: Fix debug build
Former-commit-id: 52f1ea20af27d98a6e6c366f5a9f87e73bf529b0
2015-06-24 00:20:47 +02:00
Lynix eddac5c0b6 Graphics/SkyboxBackground: Fixes
Former-commit-id: ab45a2efa957e33015e4d8dd57ebc8a5d028798c
2015-06-24 00:18:38 +02:00
Lynix bfa2246ca2 Graphics: Fix missing initialisation of skyboxes
Former-commit-id: cf9989b52ca3d80fd1e789178dc77b67b98c2cdf
2015-06-24 00:10:54 +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 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 80d4acfe32 Core/MemoryManager: Add delete checks
Now able to detect double-delete and dangling pointer delete


Former-commit-id: 7ac9ab7034b8b790333d5655aa0c82a49bb9309e
2015-06-21 13:20:10 +02:00
Lynix 9318d269e2 Renderer/RenderTexture: Fix and inline
Former-commit-id: 4bf8ad8acd3b978c4665df9547328333b9f9ad42
2015-06-21 13:18:37 +02:00
Lynix 1593b7969f Graphics/Material: Fix shadow states initialize/copy/parameter
Former-commit-id: efe926baa3a5f00e04e7443b3463730e0d16edf7
2015-06-21 13:11:03 +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 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 e89b87044d Graphics: Fix some comments
Former-commit-id: df6d080b1ce251b7fe5707ddbb4e31773ba9035d
2015-06-17 14:32:32 +02:00
Lynix ebbaaf7ff2 Graphics: Add depth render technique/queue
Former-commit-id: 711306ee5f84a9579068ce23240dc105cec15cde
2015-06-17 14:32:05 +02:00
Lynix 39779c059d Renderer/OpenGL: Apply swizzle on depth formats
Too much red when debugging shadow maps


Former-commit-id: 4445429fcae3208912fd509097403f3293a2ec7e
2015-06-16 23:35:52 +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 6d953d9e93 Graphics: Separate Renderable and make Light a Renderable (LightComponent)
Former-commit-id: 6177d473f27ef493ba77417fc14461cb08b6f9e1
2015-06-16 00:31:04 +02:00
Lynix 836e4af221 Utility/OBJParser: Fix material indexes being unstables
Former-commit-id: 10a3e37d9223359d45e3754ba69e6439be97852a
2015-06-14 22:44:21 +02:00
Lynix f4c3ec51ed Final VS fixes
Former-commit-id: 6da44f94127f61de39710a52b8b3b73ce19c1269
2015-06-14 16:18:37 +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 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 8f797737c6 Utility/Font: Fix crash
Former-commit-id: 6da45eeb68cba7d7588b7092cb3e88d00a91d307
2015-06-13 00:46:01 +02:00
Lynix 310dcf40b1 Utility/Image: Clean memory managing
Former-commit-id: 15312493a66ea26266029a45cc3aa22cc83386eb
2015-06-13 00:45:21 +02:00
Lynix 096b420d2c Graphics/TextSprite: Fix Update not invalidating instance data
Former-commit-id: 5081c4dfc534671e0a157c0f0d279940eec9b091
2015-06-12 14:02:15 +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 a38d988507 Graphics/TextSprite: Fix memory corruption
Former-commit-id: 2fc1fdcec29d58164b46ccd837bab56602418ce0
2015-06-12 00:18:35 +02:00