summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/palette.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed pmd85 regression, nw. Also replaced a fail-safe in ↵ mooglyguy2018-08-301-14/+28
| | | | src/lib/util/palette.cpp with an assert. Expect regressions, so better to get it out of the way now. nw
* Fix clang-5.0 warning .. Maximum of unsigned X and 0 is always X. (nw) couriersud2017-02-241-1/+1
|
* Improvements to rgb_t (nw) AJR2016-10-221-20/+7
| | | | | | | - Make most class methods constexpr - Make color constants (white, black, etc.) into constexpr factory methods, in order to fix a static initialization problem discussed on the MAMEWorld forums. (Note that while C++14 allows constexpr member variables to be initialized outside classes, current compilers' support for C++14 constexpr rules has proven to be lamentably deficient.) - Create bitmap_rgb32::erase to simplify syntax in update handlers
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-41/+41
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* fix after pass through the diff Vas Crabb2016-08-011-2/+2
|
* cleanup of some conversions (nw) Miodrag Milanovic2016-07-311-2/+2
|
* std::min and std:max instead of MIN and MAX, also some more macros converted ↵ Miodrag Milanovic2016-07-311-6/+7
| | | | to inline functions (nw)
* Added rgb_t::transparent constant Nathan Woods2016-06-181-0/+1
|
* Add support to adjust the screen color Dirk Best2016-03-121-0/+8
| | | | This is now used for monochrome screens instead of creating custom palettes.
* clang-modernize part 1 (nw) Miodrag Milanovic2015-12-031-7/+7
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+561