aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
AgeCommit message (Collapse)Author
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-07-15Remove ioFailed() usage from Cine engine.Kari Salminen
svn-id: r42502
2009-07-13Fix for bug #2669415 (FW: half walking speed in a screen).Kari Salminen
svn-id: r42439
2009-07-01- Added GCC_PRINTF attribute to several funcs where it makes senseMax Horn
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings - removed duplicate prototypes for some funcs - fixed some "increases required alignment of target type" warnings svn-id: r42009
2009-06-27Name Operation Stealth's global variables 251 and 252 and init them in main ↵Kari Salminen
loop. These are used as a sort of a backup for the mouse position (x, y) variables 249 and 250. Future Wars's VAR_MOUSE_Y_MODE and Operation Stealth's VAR_MOUSE_X_POS_2ND (251) clash and that's possibly why executePlayerInput currently works incorrectly with Operation Stealth. More reverse engineering is needed... svn-id: r41915
2009-06-20fixed OPL 0xB0 register write. the return value of findNote() already ↵Gregory Montoir
includes the octave, no need to readd it. svn-id: r41704
2009-06-11Fix Operation Stealth's 2nd arcade sequence's revolving doors.Kari Salminen
- Now the doors actually do revolve when before they didn't. - The fix was to alias the 9th background with the collision page directly when loading collision page data. This way changes written to the 9th background go to the collision page and vice versa (And there were changes in the labyrinth). - Also converted _bgTable from a pure array to a Common::Array svn-id: r41453
2009-06-08Convert 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-06-06Added game GUI options to advancedDetector and updated all enginesEugene Sandulenko
svn-id: r41272
2009-05-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-24Add color and color component getters to Cine::Palette.Kari Salminen
svn-id: r40849
2009-05-19COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵Max Horn
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725
2009-05-11Fix bug #2055836: "FW: Music is not restarted when loading a saved game"Eugene Sandulenko
svn-id: r40465
2009-04-04Add 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-01Cine::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-04-01Add default constructor for Cine::Palette (Creates an invalid, empty palette).Kari Salminen
svn-id: r39793
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