aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2009-03-09Rewrote Common::List iterator code to ensure const correctness is preserved.Max Horn
We tried to implement the list iterators in a clever way, to reduce code duplication. But this is essentially impossible to do properly, sadly -- this is one of the places where the ugly drawbacks of C++ really show. As a consequence, our implementation had a bug which allowed one to convert any const_iterator to an iterator, thus allowing modifying elements of const lists. This rewrite reintroduces code duplication but at least ensures that no const list is written to accidentally. Also fix some places which incorrectly used iterator instead of const_iterator or (in the kyra code) accidentally wrote into a const list. svn-id: r39279
2009-03-09SCI: result_word_t -> ResultWord; switched to Common::List for storing lists ↵Max Horn
of ResultWords svn-id: r39278
2009-03-09Don't adjust data pointer in makeStream.Willem Jan Palenstijn
It is already adjusted in getAudioStream. svn-id: r39276
2009-03-09LOL: - fixed inventory bugFlorian Kagerer
- fixed monster speed svn-id: r39275
2009-03-09Fix uninitialized color meta-values.Willem Jan Palenstijn
This fixes holes in text boxes in Iceman, among other things. svn-id: r39274
2009-03-09SCI: Added BaseSongIterator copy constructor which invokey sci_refcount_increfMax Horn
svn-id: r39273
2009-03-09Reset child iterators on deletion.Willem Jan Palenstijn
This fixes an illegal access in ~TeeSongIterator. svn-id: r39272
2009-03-09- Applied patch #2668849 by sunmaxBenjamin Haisch
svn-id: r39271
2009-03-09Added LGOP2 detection entries:Benjamin Haisch
- German, supplied by windlepoons (bug tracker #2675695) - French and Spanish, supplied by goodoldgeorg (bug tracker #2675759) svn-id: r39270
2009-03-09SCI: Rewrote handling of song wakeup times & (iterator) delays, to avoid ↵Max Horn
rounding issues between ticks (1/60s) and milliseconds; also fixed a bug (coming from Glutton ;) where delays measured in millisecs were treated as ticks instead. Thanks to Walter for the precursor of this patch svn-id: r39263
2009-03-09Add more code differences in PN.Travis Howell
svn-id: r39261
2009-03-09Cleanup.Travis Howell
svn-id: r39260
2009-03-09Minor cleanup.Travis Howell
svn-id: r39259
2009-03-09Changed _inputting & _inputReady from uint8 to bool.Travis Howell
svn-id: r39258
2009-03-09AGOS: Changed _leftButtonDown & _rightButtonDown from byte to intMax Horn
svn-id: r39256
2009-03-09Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as ↵Max Horn
some other tweaks svn-id: r39255
2009-03-09cleanup ;-)Max Horn
svn-id: r39254
2009-03-09Change Personal Nightmare support to optional, until setjmp/longjmp code is ↵Travis Howell
converted. svn-id: r39253
2009-03-09Add comment to getlong().Travis Howell
svn-id: r39252
2009-03-09LOL: added scene animations (like that fountain right at the start)Florian Kagerer
svn-id: r39251
2009-03-09LOL: minor fix for text displayer (text pages now advance automatically when ↵Florian Kagerer
the speech has reached the next part) svn-id: r39250
2009-03-08LOL: some more work on the text displayer so that it handles longer texts ↵Florian Kagerer
(needed for some library books) svn-id: r39249
2009-03-08Replace samewrd() function, with scumm_strnicmp.Travis Howell
svn-id: r39248
2009-03-08Add loading of hard coded icon data in the AtariST version of PN.Travis Howell
svn-id: r39247
2009-03-08Added more missing NULLingSven Hesse
svn-id: r39246
2009-03-08Formatting.Johannes Schickel
svn-id: r39245
2009-03-08Fix warning.Johannes Schickel
svn-id: r39244
2009-03-08Fix missing return.Willem Jan Palenstijn
svn-id: r39243
2009-03-08Use new Palette class to manager pixmap palettes.Willem Jan Palenstijn
There are some remaining regressions with text colour in SCI1 games, but overall it should fix more than it breaks. svn-id: r39242
2009-03-08some cleanupMax Horn
svn-id: r39241
2009-03-08Added game object data files for dino and FTA2Filippos Karapetis
svn-id: r39237
2009-03-08- Reworked the different file types a bitFilippos Karapetis
- Some initial work on Dinotopia's intro sequence svn-id: r39234
2009-03-08Correct more errors in hitBox8().Travis Howell
svn-id: r39233
2009-03-08Oops, fix size argument to memset call.Johannes Schickel
svn-id: r39230
2009-03-08Variable _oneClick is a byte, so we can't compare it to boolean true/falseFilippos Karapetis
svn-id: r39229
2009-03-08Restore potentially useful info deleted in r39188Willem Jan Palenstijn
svn-id: r39228
2009-03-08Cleanup.Travis Howell
svn-id: r39227
2009-03-08Fix boxes not blocking control/priority map.Willem Jan Palenstijn
This is a regression from r39089 and caused text to be hidden behind trees in the KQ5 introduction and missing text in longbow. svn-id: r39226
2009-03-08- CleanupJohannes Schickel
- Add FIXME svn-id: r39225
2009-03-08Cleanup.Johannes Schickel
svn-id: r39224
2009-03-08Correct error in hitBox8().Travis Howell
svn-id: r39223
2009-03-08Cleanup.Travis Howell
svn-id: r39222
2009-03-08Cleanup.Johannes Schickel
svn-id: r39221
2009-03-08Clarify several errors messages.Travis Howell
svn-id: r39219
2009-03-08Don't attempt to load save game slot in PN, if no match found.Travis Howell
svn-id: r39218
2009-03-08Re-use save game slot, if the name matches, when saving in PN.Travis Howell
svn-id: r39217
2009-03-08Add initial support for Personal Nightmare.Travis Howell
Thanks to dreammaster for file decompression and icon decoding code. NOTE: setjmp/longjmp code will require conversion for portability. svn-id: r39216
2009-03-08SCI: Fixed regression in new_fast_forward_iteratorMax Horn
svn-id: r39215
2009-03-08SCI: Changed suffix list to be stored as a Common::List; also fixed ↵Max Horn
spelling: suffices -> suffixes svn-id: r39214
2009-03-08SCI: Renamed vocab.cpp to vocabulary.cpp, to match the name of the header fileMax Horn
svn-id: r39213