Commit Graph

22 Commits

Author SHA1 Message Date
Jérôme Leclercq 9161886cc8 Update Flags.inl 2019-10-15 22:12:31 +02:00
Lynix 9576e2794d Core/Flags: Fix bitfield type selection 2019-10-15 18:09:34 +02:00
Lynix 49d59d93d8 Revert "Core/Flags: Make operators |= &= and ^= constexpr"
This reverts commit a363ae312f.
2018-08-03 23:56:52 +02:00
Lynix a363ae312f Core/Flags: Make operators |= &= and ^= constexpr 2018-08-03 20:26:44 +02:00
Jérôme Leclercq 74773e9daa Core/Flags: Add operator&|^ for enum and flags 2018-05-16 15:54:55 +02:00
Jérôme Leclercq aa623a4933 Core/Flags: Add Test method 2017-11-22 12:58:56 +01:00
Jérôme Leclercq 54faabcc33 Core/Flags: Allow explicit operator conversion to any integer type of the same size (or greater size) than the internal size 2017-11-22 12:58:17 +01:00
Jérôme Leclercq f84ac9c52b Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-11-21 12:26:45 +01:00
Jérôme Leclercq 3589a2bc8e Core/Flags: Reworked Flags class 2017-11-21 12:26:22 +01:00
Gawaboumga f991a9529e General bug fixes (#142)
* Core/Bitset: Fix TestAll method

* Fix documentation

* Fix color and their conversions

* Core/ByteStream: Fix return of Write

* Fix compiler warnings

* Math/Algorithm: Fix angle normalization

* Math/BoundingVolume: Fix lerp

* Math: Fix relation between Matrix4 and Quaternion

* More tests

* X11/Window: Fix mouse moved event generated when doing Mouse::SetPosition

* Update ChangeLog

* Should fix compilation on Windows

* Should fix compilation on Windows

Forgot to include array for Windows
2017-11-21 12:16:46 +01:00
Lynix 4a1a335cee Core/Flags: Fix compilation
Oops..
2017-06-20 07:06:50 +02:00
Jérôme Leclercq b7df3bd1c4 Core/Flags: Try some hack to fix compilation 2017-06-06 18:08:36 +02:00
Jérôme Leclercq 184a970b72 Fix all flags.. 2017-06-06 16:50:09 +02:00
Lynix 7cc11245f9 Core/Flags: Move external operators to the global scope
Fixes usage of those operators outside of the Nz namespace, global
scoping is not an issue thanks to the enable_if
2017-02-15 07:13:00 +01:00
Lynix 1d6f22cd8a Core/Flags: Make Flags default-constructible 2017-01-27 14:49:07 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix e98a02b190 Core/Flags: Allow handling of more than 32 enum options 2016-12-12 15:12:15 +01:00
Lynix 876fec6f5e Core/Flags: Make aware of enumeration max value
Preventing it to enable bits that have no corresponding enum value
2016-12-12 15:10:37 +01:00
Lynix e9061a6cf8 Core/Flags: Rename EnableFlagsOperators to EnumAsFlags 2016-12-12 15:07:16 +01:00
Lynix bc073de94a Core/Flags: Add documentation 2016-12-12 14:41:34 +01:00
Lynix 1a5617bc55 Lua/LuaInstance: Add conversion operator to UInt32 2016-11-27 13:21:04 +01:00
Lynix 0070e691b0 Core: Add Flags class 2016-11-27 02:22:07 +01:00