aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control
AgeCommit message (Collapse)Author
2018-04-07ALL: Load savegame thumbnail only when necessaryAdrian Frühwirth
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-03-12TITANIC: Removed unused arrays and fieldsPaul Gilbert
2017-10-10TITANIC: Only allow moving to SGT TV in assigned roomPaul Gilbert
2017-10-06TITANIC: DE: Fixes to vocabs, strings, and font in titanic.datPaul Gilbert
2017-10-03TITANIC: DE: Fix positioning of PET tab namesPaul Gilbert
2017-10-03TITANIC: DE: Fix color of text in PET Translation tab textPaul Gilbert
2017-10-03TITANIC: DE: Fix horizontal placement of PET mode buttonsPaul Gilbert
2017-10-03TITANIC: DE: Fix dimensions of text area in PET Translation tabPaul Gilbert
2017-10-02TITANIC: DE: Allow for two lines in PET Rooms tab tooltipsPaul Gilbert
2017-09-26TITANIC: Convert some remaining strings to use their titanic.dat entriesPaul Gilbert
2017-09-09TITANIC: Cleanup and fixes for clicking on Starfield marker LEDsPaul Gilbert
2017-09-08TITANIC: Keep highlighted inventory items animating when changing roomPaul Gilbert
2017-09-05TITANIC: Hook up in-game sound sliders to ScummVM volumesPaul Gilbert
2017-09-04TITANIC: Implement setup code for sound slider positionsPaul Gilbert
2017-09-04TITANIC: Cleanup and enum for CPetSoundPaul Gilbert
2017-08-26TITANIC: Fix error setting correct PET buttons for a given areaPaul Gilbert
2017-08-26TITANIC: Add further strings to create_titanic toolPaul Gilbert
2017-08-25TITANIC: Show NPC portrait in Conversations tab after loading savegamePaul Gilbert
2017-08-24TITANIC: Reduce header includes for titanic.hDavid Fioramonti
I reduced the header includes a lot in Titanic.h and forward declared when I could. Titanic.h was including a lot and a lot of functions that were including it were not using its API. This will help make it more clear which implementation files are using which class since they will just need to include which ones they need. I also moved the debug related items in Titanic.h into the debugger header. I also reordered several of the the header includes to be local to global.
2017-08-22TITANIC: Ensure PET _remoteTargetName is set when savingPaul Gilbert
2017-08-22TITANIC: Fix using Fn keys when Conversations tab is activePaul Gilbert
2017-08-20TITANIC: Fix Tab key toggle for Starfield/Photo being brokenPaul Gilbert
2017-08-20TITANIC: Fix Coverity suggestion in CPetConversationsPaul Gilbert
2017-08-20TITANIC: Add Tab key as a shortcut for switching to inventoryPaul Gilbert
2017-08-13TITANIC: Fix crash after dragging sound slidersPaul Gilbert
2017-08-13TITANIC: Show PET Sound slidersPaul Gilbert
2017-08-12TITANIC: Fix duplication of RealLife icons when passenger class changesPaul Gilbert
2017-08-11TITANIC: Fix highlighting PET tab icons during load or Deskbot convPaul Gilbert
2017-08-11TITANIC: Fix rendering bottom line of room glyphsPaul Gilbert
2017-08-04TITANIC: Introduce movement via arrow keysPaul Gilbert
This also fixes a bug with Page Up, Down, Home, & End not working for the Conversation tab. Additionally, code for scrolling individual lines in the conversation and glyphs via the arrow keys has been removed in favor of this centrallised movement, since they were somewhat redundant, and the mouse wheel can be used for scrolling.
2017-07-28TITANIC: Show initial transform anim when Titania pieces added to inventoryPaul Gilbert
2017-07-28TITANIC: Further cleanup of inventory glyphsPaul Gilbert
2017-07-27TITANIC: Cleanup/renaming of inventory glyph animatin codePaul Gilbert
2017-07-15TITANIC: Fix inventory scrolling when an item is selectedPaul Gilbert
2017-07-15TITANIC: Don't allow starfield to be shown if puzzle was skippedPaul Gilbert
2017-07-10TITANIC: Fix rendering of conversation text inputPaul Gilbert
2017-07-05TITANIC: Fix Rooms Glyphs list only allowing a single custom entryPaul Gilbert
2017-07-05TITANIC: Fix refreshing inventory tooltip when chicken gets coldPaul Gilbert
2017-06-25TITANIC: Set PET area title positions for German versionPaul Gilbert
2017-06-25TITANIC: Fix display of PET area titlesPaul Gilbert
2017-06-25TITANIC: Adding support for German PET's extra Translation areaPaul Gilbert
2017-06-21TITANIC: Renamings for room flags sublevel methodsPaul Gilbert
2017-06-21TITANIC: Fix 2nd class room flags calculationPaul Gilbert
2017-05-30TITANIC: Fix flickering of marker bulbs in PET Starfield displayPaul Gilbert
2017-05-30TITANIC: Renamings and fixes for starfield marker buttons in PETPaul Gilbert
2017-04-04TITANIC: Change debug level constants to have a DEBUG_ prefixPaul Gilbert
2017-04-03TITANIC: Add missing break to switch statementPaul Gilbert
2017-03-29TITANIC: Further code for new skip nav button to work correctlyPaul Gilbert
2017-03-29TITANIC: Add remote icon for skipping nav puzzlePaul Gilbert
2017-02-27TITANIC: Implemented CStarControl doActionPaul Gilbert