Commit Graph

75 Commits

Author SHA1 Message Date
Lynix 175a98c4fc Fix compilation 2017-06-20 08:28:57 +02:00
Lynix 50a3f78f91 Core/Thread: Add posibility of setting thread name 2017-06-20 08:16:08 +02:00
Lynix 5fe782bd46 Core/FileImpl: Remove implicit region locking (Windows) 2017-06-20 06:57:58 +02:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix efcce7d442 Core/Enums: Fix typo in OpenMode (MustExit => MustExist) 2016-11-27 14:23:26 +01:00
Lynix a34d1e410c Core/Enum: Convert OpenMode and StreamOption to the new flags system 2016-11-27 13:40:47 +01:00
Lynix 30e07ea2e2 Core: Rewrite CPUID to preserve EBX register (Fix #73)
Former-commit-id: 19651c4e8856df2e6a9a208b5dfab1dfdde80978 [formerly d7392176b9b510939aeefaf5c853d023af211379] [formerly 36c14e52fae5966508143704557610247aaf2e22 [formerly 1901b3100ddc4621685375de77dfb7863687d1b4]]
Former-commit-id: 53af7fc2cb9ee97f16cc03db53658385dc218b71 [formerly d43f598f33684430ab3a58db1533cb108be6e26a]
Former-commit-id: 5d88e9b7ef4bc7e05060ac06678d6c141d9a88a4
2016-10-03 19:05:50 +02:00
Lynix c61b4598e8 Core/Config: Rename WINDOWS_VISTA option to WINDOWS_NT6
Former-commit-id: 9d0c33b7d79521e074aa84684d09d7855956d1df [formerly 7400f0dc41845e0bf275e7a631ec760857db6009] [formerly 9bc38d067febb9723119adf811922642b1f7b782 [formerly e7b9f3e327d422a9ed1e01cdc9439170a67bf7d2]]
Former-commit-id: 8614882bef71668ed10cd7fedbf4a058073e6389 [formerly 1bbf4a90092509565475a1709c82dc696f8b8a04]
Former-commit-id: 0b6c22973bfa60dca69902388244d4d40fc9b554
2016-09-27 13:40:29 +02:00
Lynix 62be0e21df Win32: Fix compilation with NAZARA_CORE_WINDOWS_VISTA
Former-commit-id: 6249451f41f2dce01652ea61866aa17053ffa4cc [formerly 3db7c2e797fbaa519b303fd533e0184c60781505] [formerly 3342dd5ea892e839757fb3e2e567352c718889de [formerly 174f4491e3141badbce1ded1e4f8e7f2cec2a3d7]]
Former-commit-id: d80442b18af96bdecc17bc5409d42483a3a80cd2 [formerly 05adb7a04a120d5989c4307adfdd6f34beef313d]
Former-commit-id: bce1c276014724556464f34d2112e6465202cf93
2016-09-25 02:53:07 +02:00
Lynix 280bf97ba9 Core/HardwareInfo: Fix indentation (Windows)
Former-commit-id: 671c53304bd94ae774a8c8520a5c97dbf7177ab6 [formerly fe014ab5c3605ddd3940e3e0c9da9fcc4be324a1] [formerly 51202a9ddac0b11adffc29bb706ec06a62e488c0 [formerly cd17653d4dad37f98c45b4a9293ea14fe86c97c8]]
Former-commit-id: df48b40400b2f8e1652f6cb234b2fa0cf103b263 [formerly 59fe6beeb03df44323eaf57ab1f7019c0d3c3313]
Former-commit-id: cf1af1dfed868d8a63130616f4e0d0135cd0c87b
2016-08-31 19:16:20 +02:00
Lynix 1f2719fd17 Revert "Core/HardwareInfo: Fix indentation (Windows)"
This reverts commit a4019076ff9afd3cb7e2d98a54c9788fd2df1457 [formerly 3a39cd2e8a3aa8bb46f9f1465923f2abb8fc19a1] [formerly a23f6beee25e408579609874672806b124bf5fc0 [formerly be4cec088d5683bc18e54fd5daa2805134a88bb9]] [formerly dd94bfecaf16a96cdc39de9abd3c0749f17bf824 [formerly 539605da0eb694cbad2fb52fdb49b9a79c3a0d04] [formerly 00917e0bb4766a6f19f303040241c81a92778185 [formerly 48c4b5219e3d1f74f04099f164712c2baddf1d4b]]].


Former-commit-id: 153fd6ac243aee3971fda0a4a2ec9bed51a4ecbf [formerly 83b196ee86d8689cd331b8ac1e9256fc4158f4bb] [formerly 76dceaeb34c1e3156537ebaa3ba0a73950b03805 [formerly 10f813a3f75ef706c37c3e312ccc58a556b5e1f5]]
Former-commit-id: 9e2e56623d1f2b95f013ee0f565a5ffdf0f450b9 [formerly 1e58bd22e6b1070954227f669d92794ce56581a6]
Former-commit-id: c5ccf208507c40c8939ce9a92c8f4def6e231b79
2016-08-31 19:16:03 +02:00
Lynix 85b2f41667 Core/HardwareInfo: Fix indentation (Windows)
Former-commit-id: 7ba2d1623489a77445c5f687b329fffd8f85bfc0 [formerly 670207d53279fa6ff6a63ee0c701ac5691b3073c] [formerly 214e08cdb6fa4abe6289c139b62211a806f7545b [formerly 1774090b940bb9046ed51fcb70e7fc89e490cc67]]
Former-commit-id: a6ebc85ef52dece75daf2dbd95b73cfad48e957c [formerly 00b7ddd2874d348d452ae8fd0bd668b90b7c4bcd]
Former-commit-id: e9dd53029407209f3210cd47b16e1e0070e1ccfd
2016-08-31 18:20:23 +02:00
Lynix 819b46f5fc Fix a shitload of warnings in 64 bits mode
Former-commit-id: c7792a7d5b1f85ab934da25324831b9daa3f47ff [formerly 3469974c48432be1f65808bff0ea39d9e22f5b50]
Former-commit-id: 5080815e9e1a3aebe237ff9a291b908ce0292eca
2016-06-13 21:09:55 +02:00
Lynix 019c1f4a36 Core/File: Add SetSize method (currently missing Posix implementation!)
Former-commit-id: c9ffb545485d90940d620e94fd25a7256d62ab58
2016-04-29 14:20:22 +02:00
Lynix 78469266fd Core/File: Add OpenMode_MustExit
Former-commit-id: 1df10e230d3c6ef71244060845b1fc02f7b5a8e9
2016-04-27 18:10:45 +02:00
Lynix a31a969409 Replace useless reinterpret_cast by static_cast
Former-commit-id: f61d644d968d4fe9523a5cd122e11525a9c2765d
2016-04-07 04:20:18 +02:00
Lynix 9b0e903e31 Core/Win32: Fix file opening in ReadWrite mode
Former-commit-id: 58feae9f282529b8067fae52e81d29bdada154f9
2015-11-30 12:50:55 +01:00
Lynix bbe8a776e8 Fix a shitloads of warnings on VS
Former-commit-id: fca61118f4e0530ed2eaaf9ff96de29806aa5aa8
2015-11-25 18:19:26 +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 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 2fd3872099 Core: Remove NonCopyable
Former-commit-id: f8c6d10ad0b1abb4a32e3c867b7f24fd4bde68a4
2015-09-24 00:37:21 +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 3dbcb25384 Transfert enumeration from file to enums
Former-commit-id: 0d9e191373affda50d0eb6c2376c7a23720e591b
2015-08-21 11:22:35 +02:00
Lynix 251e21f006 More VS fixes
Former-commit-id: 356effb816b9527ff9e89ee3b99074c468455b08
2015-06-13 19:42:07 +02:00
Lynix 90e4a1ca52 Core/HardwareInfo: Added GetTotalMemory
Former-commit-id: 71289723115161dd253ccb65c1c91af65344c678
2015-05-19 14:13:48 +02:00
Lynix c3e5a7defc Core/HardwareInfo: Improve accuracy under Windows
(I don't think this will change a thing but let's follow the spec
anyway)


Former-commit-id: 882225b4caf46cc0a34643d6a55d5f818f7f36b5
2015-05-19 13:52:44 +02:00
Lynix bb74a9a6cb Merge pull request #35 from Gawaboumga/POSIX
Fixed POSIX mutexes being not recursive + minor fixes

Former-commit-id: ecd3fb06ec6e53f1cfd237b3d0a860cf88978c03
2015-05-03 18:28:45 +02:00
Youri Hubaut b29d1ffcd8 Little fixes and recursive mutex in NzFile
Former-commit-id: 7b5f3a6b14d027dc664e5d220257a22caca25c95
2015-05-02 16:19:46 +02:00
Lynix a67d66bbd8 (HardwareInfo) Added Cpuid to the public interface
Also improved the code


Former-commit-id: 07025657e01ff21a3581204ce74e180c3a5e7737
2015-02-24 17:28:02 +01:00
Lynix 60b6b2f4de Refactored code
Former-commit-id: b4f0723b03152a657acd41758c297ac4a9bf1a50
2015-02-24 16:16:56 +01:00
Lynix 25dc252666 (String) Remade GetXBuffer, now called GetXString
And returns a standard string


Former-commit-id: 516735324a62cb6296e19d3be1960322073e5f3a
2015-02-03 21:16:17 +01:00
Lynix 53e2dfc6c9 Added some comments (as requested)
Former-commit-id: c6c25caf017124c492efc54d5ba8499028896112
2015-01-30 22:33:56 +01:00
Lynix ea8d683624 Updated copyright year
(532 files, wow)


Former-commit-id: cbb31f1124a86720bd3a54fe589a0f849a87b434
2015-01-21 20:53:01 +01:00
Lynix c5b31d4f03 Replaced CreateSemaphore call by CreateSemaphoreW
Former-commit-id: 8f1897c846bc08d79a7298b1d95a2319c1aefffd
2014-06-25 19:35:53 +02:00
Lynix cc01216e1c Fixed crash in TaskScheduler Windows implementation
Also replaced CreateEventA calls by CreateEventW calls to avoid one
level of function call.
Thanks to bacelar


Former-commit-id: 4612e3fb0af8eef9ffd947d8edf55e4f2fa27c9b
2014-06-25 15:23:31 +02:00
Lynix eceabcd241 Fixed some of the pull request code in order to merge it
Former-commit-id: 76d71f15b335535e7dfcaf986440a00e85e45c1b
2014-06-15 01:55:07 +02:00
Gawaboumga 676ed6c9d8 Correction of mathematical functions.
BoundingVolume: Add of constructor and setter OrientedBox. Extend is now
up to date.
Box: Use of <T>. Return this
Frustrum: Use of <T>
Matrix: Use of <T>
OrientedBox: m_corners is up to date
Rect: Add of operators /= and /. Return this
Sphere: Add of Intersect and Contains with box. Little corrections.
Vector2: Return

TaskSchedulerImpl: Add of include header cstdlib to compile because of
std::div
HardwareInfo/main: use of accentAigu

Former-commit-id: a5a7f8e8c45448e5683eb13bff453d6f67478d03
2014-06-14 22:10:37 +02:00
Lynix 55fe71ee21 Fixed cpuid reported supported on unsupported compilers
Former-commit-id: 4f5fc2251882ae04d9131242d0f9d7f8a3a3e6dc
2014-04-21 10:43:46 +02:00
Lynix 485b35684d Added comments and optimized TaskScheduler
Former-commit-id: 863338b4599fdee38cfebec7e9dff47b571ba203
2014-03-30 19:18:42 +02:00
Lynix c096756dab Happy thousandth commit Nazara
Updated copyright year (Yay, 515 file updated)
Regenerated global headers
Fixed some typo
Improved some shaders
-Blah blah blah-

Thank you all for supporting my project !
-Lynix


Former-commit-id: e4e741b318ba4f203da5ffd265bd5e516e7ffd7d
2014-01-12 20:16:21 +01:00
Lynix 9389e1ea05 Changed DynLib internal
Fixes the "Assimp32.dll not found" bug


Former-commit-id: 662adba33c5d9cfbd23c8b0af0670626070baaa9
2014-01-12 10:33:03 +01:00
Lynix b85a5bd5d5 Some changes in DynLib internals
Former-commit-id: cfd8cbbdf30e2b0a6faa3a283c860001b07ae6de
2014-01-08 11:12:34 +01:00
Lynix 3dd8b8fce1 Modified DynLib/PluginManager interface
Former-commit-id: 2dae56cad852a46c9bac828cc7775a4da42c96cf
2014-01-05 15:30:27 +01:00
Lynix 0af23c11f5 Fixed TaskSchduler not releasing memory and handles
Former-commit-id: 4bf70d2ffdaaaea6b8ee122bb4589b3d8c68884f
2013-11-30 16:13:54 +01:00
Lynix 55aed0ec68 Rewrote Task Scheduler
Better and faster implementation


Former-commit-id: d765415ca0576cd843480292e30c2d7bafa7f66a
2013-11-30 13:48:01 +01:00
Lynix 3c337c0191 Optimized ConditionVariable Windows implementation
Former-commit-id: 4f2e582d64e8f3a1f83cea2bd0f7220987aa4332
2013-11-30 12:29:39 +01:00
Lynix a410e8856a Improved Error system
Former-commit-id: ddd08841d30575713f4a28ac02566f92791e5539
2013-10-09 10:14:09 +02:00
Lynix b1d7770570 Fixed compilation error when building for vista
Former-commit-id: e6a1948da62dd5837293a9febc706f52c93c60e4
2013-06-07 11:53:29 +02:00
Lynix 738788b4c3 Made use of smart pointers :)
Former-commit-id: 5380752e0da3f4b958a944e41fcde38722e3c4c2
2013-05-23 02:14:41 +02:00