aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/cine.h
AgeCommit message (Collapse)Author
2010-12-31CINE: Fix CollisionPage Uninitialised Reads in Operation Stealth.David Turner
The collisionPage is only initialised with values when loadCtFw() / loadCtOS() is called. However, currently during the display of the Delphine Software Logo in Operation Stealth, checkCollision() is called, but the collisionPage has not been loaded. To fix the invalid reads, have added code to set the page to zero after allocation. Shouldn't cause any issues to FW as this will load over the top anyway. Have also added debug output around this behaviour so that if this is not sufficient i.e. a collision page load is actually missing, then this will aid investigation. svn-id: r55071
2010-11-07CINE: Added basic debugging console to engineDavid Turner
Since CINE uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands. svn-id: r54115
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-08-09CINE: eliminate global variablesEugene Sandulenko
svn-id: r51937
2010-07-16CINE: Get rid of g_saveFileManMax Horn
svn-id: r50944
2010-05-19Implement FR #2841445: FW: Restart doesn't workEugene Sandulenko
svn-id: r49096
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-12-01Fill out doxygen comment about supported gamesEugene Sandulenko
svn-id: r46235
2009-11-24Added Doxygen comments for the various engine namespaces (currently mostly ↵Max Horn
without details; help filling these out is welcome) svn-id: r46128
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
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-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
2008-11-12Saving and loading from the GMM is now supported in the cine engineFilippos Karapetis
svn-id: r35031
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-11-04Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some ↵Max Horn
EngineFeature comments svn-id: r34896
2008-08-08Added detection entry for the Sony published CD version of Future Wars.Kari Salminen
Also added decrypting of the crypted AUTO00.PRC for this particular version. Now this version should work but no CD audio support for it yet though. svn-id: r33703
2008-08-07Implemented game speed changing by pressing - or + to e.g. ease testing.Kari Salminen
svn-id: r33689
2008-07-28Made the savegame loading routine choose between loading a Future Wars or an ↵Kari Salminen
Operation Stealth savegame format. Added a stub for loading the Operation Stealth's temporary savegame format (Not yet implemented). Made mouse cursor change to a disk icon when loading a savegame and back to normal after its done. svn-id: r33362
2008-07-27Added a preliminary saving routine for Operation Stealth (Disabled by ↵Kari Salminen
default, needs more work still. WIP!). Added backgrounds' name saving (8 names in Operation Stealth instead of just 1 like in Future Wars). Added 256 color palette saving and restoring (One of the palettes isn't properly handled yet though). svn-id: r33349
2008-07-27Cut savegame loading into smaller functional parts (resetEngine, ↵Kari Salminen
loadPlainSave etc). svn-id: r33338
2008-07-17Patch #2019455: Patch for reducing the BSS size of Cine engine.Kari Salminen
svn-id: r33087
2008-07-14Fix for bug #2016647 (FW: crash with italian amiga version).Kari Salminen
- Consists of a workaround for a script bug that used local variable 251 when it should've used global variable 251. - Also added a fix for a crash when failing copy protection in Amiga or Atari ST versions of Future Wars. NOTE: That any of the Amiga or Atari ST versions of Future Wars haven't crashed right in the beginning before seems like plain luck because accessing local variable 251 is out of bounds! svn-id: r33068
2008-06-11No need to specify CaseSensitiveString_Hash explicitly anymoreMax Horn
svn-id: r32663
2007-12-09- minor screen fix for OSGregory Montoir
- added new debug channel for sound - updated 2 opcodes comments svn-id: r29790
2007-12-07backported some changes for OSGregory Montoir
- added parsing of VOL.CNF to get the (filename,bundle) mapping (should be more efficient than testing every bundle file) - delphineUnpack allows "inplace unpacking", use this instead of allocating temporary buffers - relation script run count should be set in _localVars[0] - added comments for some "special" script variables svn-id: r29749
2007-11-03Patch #1825276: "DETECTION: advanced detector engine simplification"Eugene Sandulenko
svn-id: r29386
2007-09-19Modified patch #1738058: "Action recorder".Eugene Sandulenko
svn-id: r28968
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-30cleanup, don't rely on assert() to ensure a gamefile/savefile is opened. ↵Gregory Montoir
Also removed the use of Common::File global objects. svn-id: r27021
2007-05-13removed duplicated code (BASESON datafiles can be loaded with the existing ↵Gregory Montoir
bundle related functions) svn-id: r26836
2007-01-21Reduce dependency from common/advancedDetector.hEugene Sandulenko
svn-id: r25156
2006-11-25Support loading saves from command line.Eugene Sandulenko
svn-id: r24787
2006-11-14Added per game target saves.Eugene Sandulenko
svn-id: r24718
2006-11-11Improve international support in CINE engine.Eugene Sandulenko
svn-id: r24678
2006-10-15Add proper game detection to CinE engine.Eugene Sandulenko
svn-id: r24320
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
2006-09-16Reduce code duplicationMax Horn
svn-id: r23888
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
new getActiveDomain method that returns a pointer to the actual active *domain* - Added Engine::_targetName whose value is computed from the name of the active domain - Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain - This in turn allowed for removing usage of GameDetector in many places svn-id: r21916
2006-04-12Fix script dumpingEugene Sandulenko
svn-id: r21820
2006-04-12cleanupEugene Sandulenko
svn-id: r21819
2006-04-12DEBUG_SCRIPT -> debugCEugene Sandulenko
svn-id: r21816
2006-04-10Use our standard save file manager class to read and write the save games,Torbjörn Andersson
instead of putting them in the current working directory. svn-id: r21741
2006-04-09Moved GameSettings to namespace Cine; moved savePath to various.cppMax Horn
svn-id: r21733
2006-04-01Removed superfluous addDefaultDirectory call, as well as two unused bad ↵Max Horn
member vars svn-id: r21532
2006-03-23Got rid of ASSERT and ASSERT_PTR definesEugene Sandulenko
svn-id: r21412
2006-03-16- added defines to handle the different mouse cursorsGregory Montoir
- revised the way NUM_MAX_PARTDATA and NUM_MAX_ANIMDATA are used - renamed some variables - constify'ed function arguments - minor cleanup svn-id: r21338