aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-20removed trailing whitespacesMax Horn
svn-id: r40742
2009-05-20SCI: Moved code related to loading/setting up kernel function names from ↵Max Horn
vocab_debug.cpp to engine/kernel.cpp svn-id: r40741
2009-05-20SCI: Changed EngineState::opcodes to a Common::Array (maybe we shold just ↵Max Horn
remove the relevant code completely, though, it seems useless, esp. as long as we hardcode the way we interpret every opcode svn-id: r40740
2009-05-20SCI: Moved some private decls from kernel.h to kernel.cpp; removed pointless ↵Max Horn
(and incorrect) fallback code in k_Unknown svn-id: r40739
2009-05-20SCI: Moved the few kernel functions that were in kernel.cpp to a new file ↵Max Horn
kmisc.cpp svn-id: r40738
2009-05-20fix warningMax Horn
svn-id: r40737
2009-05-20- Reverted commit #40730, as it introduced rounding errorsFilippos Karapetis
- Properly fixed the FLIC player - The sound chunk tag of DXA files is now read by the DXADecoder's loadFile() method svn-id: r40736
2009-05-20Removed the rest of the hard-coded cutscene information. It was only needed toTorbjörn Andersson
get the number of frames of a cutscene (to find the "lead out frame"), but this information is already provided by both the DXA and the SMK players. (It wasn't provided by the now obsolete MPEG player.) svn-id: r40735
2009-05-20Removed the "seamless" flag. It was something I added to cope with the fadeTorbjörn Andersson
in/out behaviour of the MPEG cutscene player, and no longer seems to be needed. svn-id: r40734
2009-05-19Start of fixing bug #2537054: "AGI: Using GMM to load causes graphics glitches"Eugene Sandulenko
The engine still crashes when load from GMM occured with a text box on screen. svn-id: r40733
2009-05-19SCI: Some debugger fixes and cleanup.Walter van Niftrik
svn-id: r40732
2009-05-19Fix regression introduced in r40438. Saves were badly broken.Eugene Sandulenko
svn-id: r40731
2009-05-19Changed calculations based on frame delay to be based on the scale of 1ms, ↵Filippos Karapetis
not 1/100. This fixes the FLIC player and also makes the overall code a bit clearer and easier to understand svn-id: r40730
2009-05-19Some fixes to the video decoders, thanks to salty-horse's commentsFilippos Karapetis
svn-id: r40729
2009-05-19Removed some redundant variables, and renamed some variables with strange ↵Filippos Karapetis
names ("foo"?) svn-id: r40727
2009-05-19- FormattingJohannes Schickel
- Warning fixes - Rename "test_read_v2_as_v1" to "test_read_v1_as_v2", to match behavior svn-id: r40726
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-19SCI: Changed K_FILEIO_FILE_EXISTS to check regular files too.Walter van Niftrik
svn-id: r40724
2009-05-19Improved Common::Serializer in several ways:Max Horn
* Added support versioned serialization * Added a convenience API for handling 'magic IDs' transparently * Exposed the err()/clearErr() methods of the underlying streams * Added a basic unit test for versioned loading (more should be added, in particular for saving) * Removed the syncString(char *, uint16) alias for syncBytes(byte *buf, uint32 size) svn-id: r40723
2009-05-19Converted unit tests to use TS_ASSERT_EQUALS / TS_ASSERT_DIFFERS where ↵Max Horn
possible; also made them comply a bit more to our code formatting guideline svn-id: r40722
2009-05-19Updated link to CxxTest homepageMax Horn
svn-id: r40721
2009-05-19SCI: Doxygenified a few commentsMax Horn
svn-id: r40720
2009-05-19SCI: Added some stubs for LSL6CD (lores).Walter van Niftrik
svn-id: r40719
2009-05-19Correct translation error.Travis Howell
svn-id: r40718
2009-05-19Formatting.Johannes Schickel
svn-id: r40717
2009-05-19Improve looping of videos, in the demo version of The Feeble Files.Travis Howell
svn-id: r40716
2009-05-19Remov lots of superfluous debug output.Johannes Schickel
svn-id: r40715
2009-05-19SCI: Introduce a new subclass StringFrag of MemObject (does nothing right ↵Max Horn
now); switched MemObject to subclass Common::Serializable svn-id: r40714
2009-05-19SCI: got rid of EngineState::savegame_version; some cleanupMax Horn
svn-id: r40713
2009-05-19SCI: Init the diff .#&$ EngineState::flags field in the constructor and when ↵Max Horn
loading -- fixes many weird crashes upon loading (lesson to be learned: if you add fields to a class, then (a) init it in the construtor and (b) if the class support serializing, make sure the new field is handled when saving/loading :-) svn-id: r40712
2009-05-19SCI: Cleanup/paranoia checksMax Horn
svn-id: r40711
2009-05-18Don't quit when the user selects "Load game" in main menu.Johannes Schickel
svn-id: r40710
2009-05-18Don't crash on debugger shortcut when no debugger is present. (Fixes crash ↵Johannes Schickel
in LoL, when the user tries to press Ctrl+d) svn-id: r40709
2009-05-18Add some simple implementation for type 8 data blocks:Johannes Schickel
- Fix sound effect in LoL demo svn-id: r40708
2009-05-18Add support for music in the LoL intro demo.Johannes Schickel
svn-id: r40706
2009-05-18Preliminary support for LoL intro demo.Johannes Schickel
svn-id: r40705
2009-05-18Implement FR#2103654: "AGI sound volume"Eugene Sandulenko
svn-id: r40704
2009-05-18Fix bug with AGI ignoring music volume.Eugene Sandulenko
svn-id: r40703
2009-05-18Fix bug #2791868: "GUI: Glitch when closing menu after hovering on option"Eugene Sandulenko
svn-id: r40702
2009-05-18LOL: fixed automapFlorian Kagerer
svn-id: r40701
2009-05-18Fixed long standing palette loading bug in WSA v1 code.Johannes Schickel
svn-id: r40700
2009-05-18Don't delay any longer, when engine is asked to quit.Johannes Schickel
svn-id: r40699
2009-05-18tinsel: fixed "Unknown drawing type" for inventory in Discworld PSXFabio Battaglia
svn-id: r40698
2009-05-18tinsel: start adding transparency support to Discworld PSXFabio Battaglia
svn-id: r40697
2009-05-18Add some code differences for LoL intro demo.Johannes Schickel
svn-id: r40696
2009-05-18SCI: Added FIXMEMax Horn
svn-id: r40695
2009-05-18SCI: Got rid of EngineState::execution_stack_pos; overally, the resulting ↵Max Horn
code should be even stricter in detecting invalid VM stack access (and some bugs when loading saves might be fixed now...) svn-id: r40694
2009-05-18Typo.Johannes Schickel
svn-id: r40693
2009-05-18Removed a leftover simple_said defineFilippos Karapetis
svn-id: r40692
2009-05-18SCI: Removed SCI_SIMPLE_SAID_CODE and the associated heavily bitrotted codeMax Horn
svn-id: r40691