Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-07 | COMMON: OSystem now has a PaletteManager | Max Horn | |
svn-id: r55806 | |||
2011-01-10 | CINE: Modified Palette::rotateRight() function to cope with all positive ↵ | David Turner | |
values of rotation. This fixes the assert in Operation Stealth in Scene 7 when the Russians mount the Jetskis. svn-id: r55195 | |||
2010-09-06 | CINE: Get rid of needless static variable. | Johannes Schickel | |
svn-id: r52608 | |||
2010-08-09 | CINE: eliminate global variables | Eugene Sandulenko | |
svn-id: r51937 | |||
2010-04-28 | CINE: Get rid of some global constructor uses | Max Horn | |
svn-id: r48843 | |||
2010-04-21 | CINE: Change Doxygen commands to match our CFC | Max Horn | |
svn-id: r48764 | |||
2010-02-08 | Get rid of the workaround for a g++ (code generation) bug on AMD64, by ↵ | Johannes Schickel | |
passing a reference of a Color instance to saturatedAddColor instead of a value. svn-id: r48006 | |||
2010-02-08 | According to Buddha^ it should be fine to calculate (and set) the AMIGA dim ↵ | Johannes Schickel | |
palette in Palette::setGlobalOSystemPalette. svn-id: r48005 | |||
2010-01-31 | Fix return of a reference to a temporary object introduced with r47766. ↵ | Johannes Schickel | |
(Hopefully this "workaround" will work also for Chrilith's compiler ;-). svn-id: r47771 | |||
2010-01-31 | Slight fixes to comply with our coding guidelines. | Johannes Schickel | |
svn-id: r47770 | |||
2010-01-31 | Prevent my compiler to crash and object copy hopefully it doesn't break ↵ | Chris Apers | |
something svn-id: r47766 | |||
2010-01-25 | Strip trailing spaces/tabs. | Johannes Schickel | |
svn-id: r47541 | |||
2009-09-20 | Implement support for transparent dialgue boxes in the Amiga version of ↵ | Johannes Schickel | |
Future Wars. svn-id: r44222 | |||
2009-09-20 | Implement more precise palette conversion in Palette::save. This makes the ↵ | Johannes Schickel | |
output look more like the original (compared against E-UAE), but still not perfect. svn-id: r44221 | |||
2009-09-15 | Add link to gcc bug report, in the comment for the gcc aimed workaround for ↵ | Johannes Schickel | |
AMD64. svn-id: r44112 | |||
2009-09-15 | CINE: Turn some methods into const methods | Max Horn | |
svn-id: r44100 | |||
2009-09-15 | Fix valgrind warning inside "saturatedAddColor", when using the same palette ↵ | Johannes Schickel | |
object as both source and destination. svn-id: r44094 | |||
2009-08-01 | Remove obsolete comment from Cine::Palette::saturatedAddColor. | Kari Salminen | |
svn-id: r42973 | |||
2009-06-08 | Convert FWRenderer and OSRenderer to use Cine::Palette. | Kari Salminen | |
Also fix some bugs that came up in testing of Cine::Palette. svn-id: r41386 | |||
2009-05-24 | Strip trailing whitespaces in the whole code base. | Johannes Schickel | |
svn-id: r40867 | |||
2009-05-24 | Add color and color component getters to Cine::Palette. | Kari Salminen | |
svn-id: r40849 | |||
2009-04-04 | Add saturatedAddColor-function in which you can specify the added color's ↵ | Kari Salminen | |
format (This replaces saturatedAddNormalizedColor). Make colorFormat()-accessor function to return a const reference for speed. svn-id: r39851 | |||
2009-04-01 | Cine::Palette: Add saturatedAddNormalizedColor-function (Going to be used to ↵ | Kari Salminen | |
combine FWRenderer's and OSRenderer's transformPalette-functions into one later on). svn-id: r39795 | |||
2009-03-28 | Cine::Palette: Add empty() and isValid() functions. | Kari Salminen | |
svn-id: r39725 | |||
2009-03-27 | Cine::Palette: Add a black palette constructor and a clear-function for ↵ | Kari Salminen | |
clearing the palette of all data (Releases used memory etc). svn-id: r39713 | |||
2009-03-27 | Make Cine::Palette use the PixelFormat's convenience functions introduced in ↵ | Kari Salminen | |
r39711 (This way I don't have to cache the rMax, gBits etc values and I'm left with less member variables to keep up to date). svn-id: r39712 | |||
2009-03-27 | Cine::Palette: Remove unnecessary and needlessly complicating saving of the ↵ | Kari Salminen | |
last loaded palette data's endian type. svn-id: r39710 | |||
2009-03-27 | Cine::Palette: Add setGlobalOSystemPalette-method for setting the global ↵ | Kari Salminen | |
OSystem's palette from the Palette object's internal representation. svn-id: r39709 | |||
2009-03-25 | Cine::Palette::saturatedAddNormalizedGray: Use fractional representation ↵ | Kari Salminen | |
(dividend/denominator) of the normalized gray value in range [-1, +1] rather than a floating point. svn-id: r39691 | |||
2009-03-24 | Cine::Palette: Add fillWithBlack and saturatedAddNormalizedGray-methods. | Kari Salminen | |
svn-id: r39676 | |||
2009-03-16 | Fix for warnings on trunk-lenny-x86_64-build (Yay \o/ Buildbot!). | Kari Salminen | |
svn-id: r39456 | |||
2009-03-16 | Cine::Palette: Make saturatedAddColor-methods more like their old ↵ | Kari Salminen | |
counterparts transformPaletteRange and transformColor. svn-id: r39454 | |||
2009-03-16 | Prefix Cine's endian types with CINE_ so they don't clash with already ↵ | Kari Salminen | |
defined LITTLE_ENDIAN and/or BIG_ENDIAN on some platforms. svn-id: r39453 | |||
2009-03-16 | Add endianness handling to Cine::Palette's load and save functions. | Kari Salminen | |
svn-id: r39452 | |||
2009-03-14 | Cine::Palette revamp part 2: Fix save-function, add Cine-palette formats etc. | Kari Salminen | |
- Removed excess convenience functions, made the used palette formats publicly available instead (Cine::kLowPalFormat, Cine::kHighPalFormat etc) - Fixed output conversion i.e. save-functions.. Hopefully they work ;-) - Renamed some parameters for unification (colors -> buf, numBytes -> size) - Added some documentation, e.g. for the load- & save-functions. svn-id: r39405 | |||
2009-03-11 | Fix assertion (Doh! That was supposed to be the other way). | Kari Salminen | |
svn-id: r39344 | |||
2009-03-11 | Cine::Palette: Move color format setting to setColorFormat-method. | Kari Salminen | |
svn-id: r39339 | |||
2009-03-11 | Formatting. | Kari Salminen | |
svn-id: r39338 | |||
2009-03-11 | Add saving in original palette format and the OSystem's palette format to ↵ | Kari Salminen | |
Cine::Palette. svn-id: r39337 | |||
2009-03-11 | Add saving functions to Cine::Palette (Now one can output the palette in ↵ | Kari Salminen | |
other formats too). svn-id: r39336 | |||
2009-03-11 | Fix assertions in palette loading function to really test that each color ↵ | Kari Salminen | |
component fits inside a single byte (Easier to parse that way). svn-id: r39333 | |||
2009-03-10 | - Fix warnings | Johannes Schickel | |
- Formatting svn-id: r39317 | |||
2009-03-10 | Palette-class for Cine-engine, WIP: Take 2. Testing, using and documentation ↵ | Kari Salminen | |
still TODO. svn-id: r39310 | |||
2009-01-01 | Whoa! Removing trailing spaces. | Eugene Sandulenko | |
svn-id: r35648 | |||
2008-11-20 | Fixed gcc warning. | Johannes Schickel | |
svn-id: r35137 | |||
2008-11-20 | Fix resizing of the internal color array in Palette-class. | Kari Salminen | |
svn-id: r35136 | |||
2008-11-20 | Add Palette-class for handling 9-bit and 24-bit palettes. WIP! | Kari Salminen | |
svn-id: r35135 | |||
2008-11-18 | Make the 256 color transformPaletteRange-function and Future Wars's ↵ | Kari Salminen | |
refreshPalette-function compliant with disassembly. svn-id: r35118 | |||
2008-08-11 | Changed palPtr from a pointer to a Common::Array named palArray. Removed ↵ | Kari Salminen | |
palEntriesCount variable as it's now equivalent to palArray.size(). svn-id: r33785 | |||
2008-05-24 | Patch #1969189: "CinE renderer rewrite" | Eugene Sandulenko | |
svn-id: r32257 |