Commit Graph
271 Commits
Author SHA1 Message Date
D G Turner 8f1e1bdd8c LILLIPUT: Minor Sound Function Name Change For Consistency.
This has no functional change, but improves the consistency with the
renamed stopSound() function.

Also, minor fixes for formatting, removal of redundant comments and code
in sound class.
2018-07-29 05:30:37 +01:00
D G Turner dd8e003602 LILLIPUT: Fix Compiler Warning About Hiding Overloaded Virtual. 2018-07-29 05:20:55 +01:00
D G Turner bdb307634f LILLIPUT: Remove Unused Engine Pointer from Sound Class.
Since this was unused, it was causing various compiler warnings of the
set-but-not-used type. If it is needed later, this code can be restored.
2018-07-29 03:56:20 +01:00
Strangerke b9e8320de7 LILLIPUT: Fix another regression 2018-04-29 00:55:52 +02:00
Strangerke ef1b0171bf LILLIPUT: Fix regression introduced in 56db8c626e 2018-04-26 07:10:20 +02:00
Strangerke 169a604199 LILLIPUT: Implement play / music 2018-04-26 00:43:05 +02:00
Strangerke dd152510af LILLIPUT: Remove some unused variables, initialize some others 2018-04-24 00:01:46 +02:00
Adrian Frühwirth a20f90cbb7 JANITORIAL: Fix formatting 2018-04-22 00:56:21 +02:00
Strangerke 56db8c626e LILLIPUT: Refactor engine, replace the use of MinMax by Common::Rect 2018-04-20 07:55:46 +02:00
Strangerke 7af31d6614 LILLIPUT: Add safeguard in homeInPathFinding 2018-04-20 07:21:06 +02:00
Strangerke 2f00d52a23 LILLIPUT: Fix memory leak 2018-04-20 07:10:38 +02:00
Strangerke c0de8dd04d LILLIPUT: Fix unsafe read of string reported by coverity 2018-04-20 06:55:10 +02:00
Adrian Frühwirth 9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02:00
Strangerke 25aa60726d LILLIPUT: Fix uninitialized variables 2018-04-19 07:58:01 +02:00
Strangerke 637f4c5c00 LILLIPUT: Fix second compression method in MUS extraction code 2018-04-19 07:33:29 +02:00
Strangerke 763cf2f6a4 LILLIPUT: Add code to load & decompress MUS file 2018-04-18 07:18:05 +02:00
Strangerke f01af1690e LILLIPUT: Fix a regresssion in scrollToViewportCharacterTarget(), some more renaming 2018-04-16 06:54:04 +02:00
Strangerke 85c802c9b7 LILLIPUT: More renaming 2018-04-15 01:20:52 +02:00
Strangerke f102f9961b LILLIPUT: cleanup & renaming 2018-04-13 06:57:44 +02:00
Strangerke cd95328b36 LILLIPUT: Use constants in sequence functions 2018-04-12 07:38:34 +02:00
Strangerke fe81c9c1d3 LILLIPUT: some renaming 2018-04-11 23:21:09 +02:00
Strangerke 1a29932672 LILLIPUT: some more rework related to the positions 2018-04-11 07:27:45 +02:00
Strangerke 555056714b LILLIPUT: Some refactoring 2018-04-10 23:49:31 +02:00
Strangerke bf5b3f62e2 LILLIPUT: more renaming 2018-04-10 07:44:48 +02:00
Strangerke c8eff89a7e LILLIPUT: more WIP renaming 2018-04-09 00:56:17 +02:00
Adrian Frühwirth 76857c715a LILLIPUT: Fix missing format specifier in call to debugC() 2018-04-08 01:09:58 +02:00
Strangerke 7f9c06f91a LILLIPUT: more renaming, rework setMode 2018-04-08 00:02:22 +02:00
Strangerke 6695610756 LILLIPUT: More renaming work 2018-04-07 23:58:32 +02:00
Strangerke 397a94bc62 LILLIPUT: Some more renaming in the sequence manager 2018-04-07 23:58:32 +02:00
Adrian Frühwirth 00e59a3122 ALL: Load savegame thumbnail only when necessary
This commit introduces the following changes:

1. Graphics::loadThumbnail()

   Now returns a boolean and takes a new argument skipThumbnail which
   defaults to false. In case of true, loadThumbnail() reads past the
   thumbnail data in the input stream instead of actually loading the
   thumbnail. This simplifies savegame handling where, up until now,
   many engines always read the whole savegame metadata (including
   the thumbnail) and then threw away the thumbnail when not needed
   (which is in almost all cases, the most common exception being
   MetaEngine::querySaveMetaInfos() which is responsible for loading
   savegame metadata for displaying it in the GUI launcher.

2. readSavegameHeader()

   Engines which already implement such a method (name varies) now take
   a new argument skipThumbnail (default: true) which is passed
   through to loadThumbnail(). This means that the default case for
   readSavegameHeader() is now _not_ loading the thumbnail from a
   savegame and just reading past it. In those cases, e.g.
   querySaveMetaInfos(), where we actually are interested in loading
   the thumbnail readSavegameHeader() needs to explicitely be called
   with skipThumbnail == false.

   Engines whose readSavegameHeader() (name varies) already takes an
   argument loadThumbnail have been adapted to have a similar
   prototype and semantics.
   I.e. readSaveHeader(in, loadThumbnail, header) now is
   readSaveHeader(in, header, skipThumbnail).

3. Error handling

   Engines which previously did not check the return value of
   readSavegameHeader() (name varies) now do so ensuring that possibly
   broken savegames (be it a broken thumbnail or something else) don't
   make it into the GUI launcher list in the first place.
2018-04-07 09:26:20 +02:00
Strangerke 83412c91af LILLIPUT: Change the type of _characterTilePos 2018-03-31 01:55:40 +02:00
Strangerke 566f6a6443 LILLIPUT: some more renaming in the sequencer 2018-03-31 01:55:40 +02:00
Strangerke 3720c04cb6 LILLIPUT: Refactor a bit sequenceMoveCharacter to use 3 parameters instead of 2 2018-03-31 01:55:40 +02:00
Strangerke 467cfbc42a LILLIPUT: More renaming work 2018-03-31 01:55:40 +02:00
Strangerke 411e182044 LILLIPUT: Remove some useless code 2018-03-29 07:11:42 +02:00
rsn8887 b875f46db0 LILLIPUT: Fix narrowing conversion compiler errors on psp2 build 2018-03-28 23:00:13 -05:00
Strangerke 4b0fc02ad0 LILLIPUT: Rename sound opcodes 2018-03-29 00:29:23 +02:00
Strangerke 97bc0392b8 LILLIPUT: Fix name in configure.engine 2018-03-28 23:41:10 +02:00
Strangerke 74ce6af22e LILLIPUT: more renaming and refactoring 2018-03-28 17:36:57 +02:00
Strangerke 96f35b1740 LILLIPUT: Some more renaming, use CLIP in OC_scrollAwayFromCharacter 2018-03-28 17:36:57 +02:00
Strangerke 5bc90c0a4b LILLIPUT: Some more renaming 2018-03-28 17:36:57 +02:00
Strangerke fedbb3d7fe LILLIPUT: Rename some more opcodes 2018-03-28 17:36:57 +02:00
Strangerke 2ea8d71a5a LILLIPUT: More renaming 2018-03-28 17:36:57 +02:00
Strangerke 81a16b0c8e LILLIPUT: Some more renaming 2018-03-28 17:36:57 +02:00
Strangerke 37067dd6e9 LILLIPUT: Silent some CppCheck warnings 2018-03-28 17:36:57 +02:00
Strangerke b17dfaad10 LILLIPUT: More renaming 2018-03-28 17:36:57 +02:00
Strangerke 491dd07e68 LILLUPUT: Add missing kActionType values 2018-03-28 17:36:57 +02:00
Strangerke bda21673e8 LILLIPUT: More renaming 2018-03-28 17:36:57 +02:00
Joseph-Eugene Winzer 157e69b8b1 LILLIPUT: Sorts SaveStateList instead of file names
This ensures that the save files are sorted numerically instead of
'hoping' for it.
2018-03-28 17:36:57 +02:00
Joseph-Eugene Winzer 132fa2fdab LILLIPUT: Updates savefile pattern for numeric wildcard 2018-03-28 17:36:57 +02:00