aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-10-28SWORD25: Standardised savegame filenames, start on advanced engine featuresPaul Gilbert
svn-id: r53901
2010-10-28SWORD25: Start to rename read/write methods of *PersistenceBlock classesMax Horn
All should be renamed to reduce risk of accidental incorrect use. svn-id: r53899
2010-10-28SWORD25: Get rid of CallbackRegistryMax Horn
svn-id: r53898
2010-10-28SWORD25: Simplify InputEngine::(un)persistMax Horn
svn-id: r53897
2010-10-27ENGINE: Rename resetTotalPlayTime to setTotalPlayTime.Johannes Schickel
I also extended the comment for it to show two possible use cases. svn-id: r53895
2010-10-27ENGINE: Generalize SCUMM play time counting and move it into Engine.Johannes Schickel
This implements Max's idea on -devel ("Re: [Scummvm-devel] ATTN Engine authors: Advanced engine features") from 27.10.2010 on 11:12PM CEST. Unlike the SCUMM implementation it stores the play time as ms instead of s. The SCUMM engine was adapted to use this instead to reduce code duplication. svn-id: r53892
2010-10-27SCI: Cleanup, invoking pauseEngine() on Console::preEnter() and ↵Filippos Karapetis
Console::postEnter() svn-id: r53890
2010-10-27JANITORIAL: Remove unnecessary semicolonsTorbjörn Andersson
svn-id: r53889
2010-10-27LASTEXPRESS: Rename variable to silence GCC warningTorbjörn Andersson
svn-id: r53888
2010-10-27SCI: Proper pausing/resuming of MIDI music in ↵Filippos Karapetis
SciEngine::pauseEngineIntern(), Console::preEnter() and Console::postEnter() and added a sanity check in SciEngine::getDebugger() svn-id: r53886
2010-10-27LASTEXPRESS: Use Common::Rational when adjusting menu clockJulien Templier
Also fix the wrong check that set the time directly to the target time svn-id: r53885
2010-10-27LASTEXPRESS: Hide menu elements after a game has been loadedJulien Templier
svn-id: r53884
2010-10-27LASTEXPRESS: Implement game loading (last save entry only)Julien Templier
svn-id: r53883
2010-10-27LASTEXPRESS: Do not try to show intro when loading a gameJulien Templier
svn-id: r53882
2010-10-27LASTEXPRESS: Cleanup game savingJulien Templier
- Move loading of game stream to separate function - Add checks for NULL in functions using _savegame - Add expected saved size for sound & savepoints svn-id: r53881
2010-10-27LASTEXPRESS: Add some missing casts and const qualifiersJulien Templier
svn-id: r53880
2010-10-27SWORD25: Fix keyboard state handlingMax Horn
Previously, you could get the game into a state where it would think a key was constantly being pressed. E.g. by pressing 'p' several times quickly in a row, the game would end in a state where it endlessly toggled between pause mode and regular mode. svn-id: r53878
2010-10-27SWORD25: Use ScummVM keycodesMax Horn
This should enable use of F-keys in BS25. Most of the KEY_* constants are not used by the scripts anyway. svn-id: r53877
2010-10-27SWORD25: Fix out of bounds writes when pressing keys like ctrl or F-keysMax Horn
This fixes a crash one got by quitting via the GMM. svn-id: r53876
2010-10-27GROOVIE: Fix bug #3095031 (regression in Russian T7G).Jordi Vilalta Prat
Additionally fixed some NEWS file punctuation. svn-id: r53874
2010-10-27AGI: Add note about AgiEngine::parseFeaturesMax Horn
svn-id: r53872
2010-10-26AGI: Fix memory leak in AgiEngine::parseFeatures()Max Horn
svn-id: r53869
2010-10-26AGI: Replace report() macro by debug() / warning()Max Horn
This makes AGI quite a bit less noisy by default. svn-id: r53868
2010-10-26TOON: Fix SetMousePos wrong positionSylvain Dupont
When the game was in a close up, cmd_Set_Mouse_Pos was setting a out-of-window mouse position. svn-id: r53866
2010-10-26TOON: Implement cmd_Set_Anim_Scale_SizeSylvain Dupont
Used to rescale the knight animation when the knight is moved around the room in Chapter 2 svn-id: r53865
2010-10-26GMM: Add a basic help dialogs for engines not providing one (i.e. all but ↵Max Horn
SCUMM) svn-id: r53860
2010-10-26HUGO: Add specific schedulers for each DOS version. Arnaud Boutonné
This fixes intro (and game) in H3 DOS, general game behavior in H2 Dos. H1 Dos is still broken. svn-id: r53858
2010-10-26SCI: removing unneeded callMartin Kiewitz
was a left-over from debugging svn-id: r53857
2010-10-26SCI: fix gfx issues when giving out cards hoyle4Martin Kiewitz
bit 2 actually triggers special drawing of cels in sierra sci svn-id: r53855
2010-10-26LASTEXPRESS: Read savegame in blocks instead of bytesWillem Jan Palenstijn
svn-id: r53854
2010-10-26SCI: kAnimate bit 2 is hoyle 4 exclusiveMartin Kiewitz
adjusted comments about that and also renamed the bit, also added additional TODO, because hoyle 4 has special code that gets into action, when bit 0 is not set, but bit 2 is svn-id: r53853
2010-10-26SCI: little cleanup kAnimateMartin Kiewitz
svn-id: r53852
2010-10-26SCI: fixing bug #3091767 by reverting r52820Martin Kiewitz
interpreters should get checked for that hoyle 4 code, comment added svn-id: r53851
2010-10-26LASTEXPRESS: Fix GCC warningsJulien Templier
svn-id: r53850
2010-10-26LASTEXPRESS: Turn dummy action error into a warningJulien Templier
svn-id: r53849
2010-10-26LASTEXPRESS: Fix forward/backward in the menuJulien Templier
svn-id: r53848
2010-10-26LASTEXPRESS: Implement loading of savegame entry headersJulien Templier
svn-id: r53847
2010-10-26LASTEXPRESS: Do not delete Clock & TrainLine frames in clear() functionsJulien Templier
svn-id: r53846
2010-10-26LASTEXPRESS: More savegame workJulien Templier
- Implement SaveLoad::writeEntry - Implement missing saveLoadWithSerializer functions for all serialized classes & structs - Add stub for SaveLoad::computePadding svn-id: r53845
2010-10-26LASTEXPRESS: Make GameState::time of type TimeValueJulien Templier
svn-id: r53844
2010-10-26LASTEXPRESS: Silence GCC warningTorbjörn Andersson
svn-id: r53843
2010-10-26SCUMM: Add alternative version of patch #3094717 - MMC64: save actor state.Travis Howell
svn-id: r53842
2010-10-26LASTEXPRESS: Savegame support updateJulien Templier
- Implement Menu::startGame() properly - Add stubs functions for game restart - Made savegame headers serializable and moved validity checks inside struct definition - Implement create/init savegame functions - Add SavegameStream to be able to read/write to the same memory stream - Add stubs for setup, writeEntry & loadEntry functions svn-id: r53841
2010-10-25SWORD25: Disable script triggered screenshotsMax Horn
svn-id: r53840
2010-10-25SWORD25: Add FIXME about savegame names; cleanupMax Horn
svn-id: r53839
2010-10-25SWORD25: Simplify FS 'wrapper' code a bit, add FIXME commentsMax Horn
The save system of this engine currently partially bypasses the SaveFileManager API, by (abusing) the fact that the Lua engine allows creating files in arbitrary places (it exposes fopen, fread, fwrite etc.). This is used to create a 'config.lua' configuration file. This makes it non-portable. In addition, the filenames used for the savestates ("0.b25s") do not comply with our naming conventions for engine savestates. It should be possible to overcome all this, but it might require hacking the Lua engine; or we could try to replace some of the BS2.5 script functions with our own, dynamically. svn-id: r53838
2010-10-25SWORD25: 'Implement' RTL support & add TODOs about missing feature supportMax Horn
svn-id: r53837
2010-10-25TOON: Fixed some Z-order issues for animationsSylvain Dupont
Happened when the flag 0x20 was set in Init_Scene_Anim It says to use the background layer system svn-id: r53836
2010-10-25SWORD25: Get rid of most of the 'kernel service/superclass' codeMax Horn
svn-id: r53835
2010-10-25TOON: Implemented Ambient SFXSylvain Dupont
For example used in arcade playing sounds, lullaby music, toilet game win sound effects... svn-id: r53834