aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
AgeCommit message (Collapse)Author
2009-03-28Cine::Palette: Revamp palette constants so they can be used for e.g. ↵Kari Salminen
allocating a constant sized byte buffer from stack. svn-id: r39728
2009-03-28Cine::Palette: Add constants for normally used palette color counts and byte ↵Kari Salminen
sizes. svn-id: r39726
2009-03-28Cine::Palette: Add empty() and isValid() functions.Kari Salminen
svn-id: r39725
2009-03-27Cine::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-27Make 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-27Cine::Palette: Remove unnecessary and needlessly complicating saving of the ↵Kari Salminen
last loaded palette data's endian type. svn-id: r39710
2009-03-27Cine::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-25Cine::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-24Cine::Palette: Add fillWithBlack and saturatedAddNormalizedGray-methods.Kari Salminen
svn-id: r39676
2009-03-16Fix for warnings on trunk-lenny-x86_64-build (Yay \o/ Buildbot!).Kari Salminen
svn-id: r39456
2009-03-16Cine::Palette: Make saturatedAddColor-methods more like their old ↵Kari Salminen
counterparts transformPaletteRange and transformColor. svn-id: r39454
2009-03-16Prefix 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-16Add endianness handling to Cine::Palette's load and save functions.Kari Salminen
svn-id: r39452
2009-03-14Cine::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-11Fix assertion (Doh! That was supposed to be the other way).Kari Salminen
svn-id: r39344
2009-03-11Cine::Palette: Move color format setting to setColorFormat-method.Kari Salminen
svn-id: r39339
2009-03-11Formatting.Kari Salminen
svn-id: r39338
2009-03-11Add saving in original palette format and the OSystem's palette format to ↵Kari Salminen
Cine::Palette. svn-id: r39337
2009-03-11Add saving functions to Cine::Palette (Now one can output the palette in ↵Kari Salminen
other formats too). svn-id: r39336
2009-03-11Fix 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 warningsJohannes Schickel
- Formatting svn-id: r39317
2009-03-10Fix compile of CINE engine.Travis Howell
svn-id: r39312
2009-03-10Palette-class for Cine-engine, WIP: Take 2. Testing, using and documentation ↵Kari Salminen
still TODO. svn-id: r39310
2009-03-05Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match ↵Jordi Vilalta Prat
the meaning of the returned string, as discussed some time ago in scummvm-devel svn-id: r39132
2009-03-01Engines: Fused several init&go methods into a single run methodMax Horn
svn-id: r39003
2009-03-01Merged Engine::go() and ::init() into a new run() method (currently ↵Max Horn
implemented by calling the existing init&go methods; to be cleaned up by engine authors svn-id: r39002
2009-02-15Fixed compilation (along with it const correctness).Johannes Schickel
svn-id: r38287
2009-02-15Quick dirty hack to make the engine run again on PalmOSChris Apers
svn-id: r38278
2009-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2009-01-30Renamed SpecialDebugLevel to DebugChannelMax Horn
svn-id: r36142
2009-01-29Moved AdvancedDetector from common/ to engines/Max Horn
svn-id: r36132
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-25Pushing down some header deps (on common/system.h, mostly)Max Horn
svn-id: r35542
2008-11-20Fixed gcc warning.Johannes Schickel
svn-id: r35137
2008-11-20Fix resizing of the internal color array in Palette-class.Kari Salminen
svn-id: r35136
2008-11-20Add Palette-class for handling 9-bit and 24-bit palettes. WIP!Kari Salminen
svn-id: r35135
2008-11-18Make the 256 color transformPaletteRange-function and Future Wars's ↵Kari Salminen
refreshPalette-function compliant with disassembly. svn-id: r35118
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-13Fix compile of CINE engine.Travis Howell
svn-id: r35039
2008-11-13Started moving Save/Load code to saveload.cpp/.hFilippos Karapetis
svn-id: r35033
2008-11-12Deleting save states via the launcher and the GMM is now supported in the ↵Filippos Karapetis
cine engine svn-id: r35032
2008-11-12Saving and loading from the GMM is now supported in the cine engineFilippos Karapetis
svn-id: r35031
2008-11-09- The GMM save dialog is now working for all engines which support the ↵Filippos Karapetis
appropriate features - Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots - Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started) svn-id: r34963
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-11-05Got rid of the unused 'filename' attribute in SaveStateDescriptorMax Horn
svn-id: r34905
2008-11-04Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some ↵Max Horn
EngineFeature comments svn-id: r34896
2008-10-26Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, ↵Filippos Karapetis
as discussed in patch #2122869 svn-id: r34854
2008-10-22Remove unnecessary function overloadings for loadBg16 and loadBg256.Kari Salminen
svn-id: r34840
2008-10-22Make incrustMask and incrustSprite only draw to the current background in ↵Kari Salminen
Operation Stealth. svn-id: r34838