aboutsummaryrefslogtreecommitdiff
path: root/engines/prince
AgeCommit message (Collapse)Author
2018-05-05PRINCE: Move resource loading methods to separate fileEugene Sandulenko
2018-05-05PRINCE: Rename sound.cpp to music.cppEugene Sandulenko
2018-05-05JANITORIAL: Fix formattingEugene Sandulenko
2018-05-01PRINCE: Push down the AD includesBastien Bouclet
2018-04-29PRINCE: Update detected game titlesAdrian Frühwirth
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-29JANITORIAL: Fix typoAdrian Frühwirth
2018-03-26PRINCE: Let listSaves return list sorted on slot numbersAdrian Frühwirth
2017-11-20PRINCE: Added detection for alternative Russian versionEugene Sandulenko
2017-10-07ENGINES: Remove default1x scaler flagColin Snover
This flag is removed for a few reasons: * Engines universally set this flag to true for widths > 320, which made it redundant everywhere; * This flag functioned primarily as a "force 1x scaler" flag, since its behaviour was almost completely undocumented and users would need to figure out that they'd need an explicit non-default scaler set to get a scaler to operate at widths > 320; * (Most importantly) engines should not be in the business of deciding how the backend may choose to render its virtual screen. The choice of rendering behaviour belongs to the user, and the backend, in that order. A nearby future commit restores the default1x scaler behaviour in the SDL backend code for the moment, but in the future it is my hope that there will be a better configuration UI to allow users to specify how they want scaling to work for high resolutions.
2016-10-21PRINCE: Refactored detection code into widely accepted schemaEugene Sandulenko
2016-09-03PRINCE: Make Russian version of the game start.Eugene Sandulenko
Crashes right after the intro AVI.
2016-09-03PRINCE: Added detection to Russian version of the game.Eugene Sandulenko
The engine requires a bit of work, as this version has all files unpacked from the PTC archives.
2016-09-03PRINCE: Properly detect translated versions, and mark them via Game FeatureEugene Sandulenko
2016-09-03JANITORIAL: Make GPL headers uniformEugene Sandulenko
2016-08-24ALL: Make simpleSaveNames() a MetaEngineFeatureAlexander Tkachev
Added it into hasFeature() of all engines which returned `true` in simpleSaveNames() before. As mentioned in #788, SCI is not always using simple names, so it doesn't have such feature now.
2016-08-24ALL: Add MetaEngine::simpleSaveNames()Alexander Tkachev
Engines with "simple" savenames would support "Run in background" in save/load dialog and gradual save slots unlocking. Other engines save/load feature would be locked until save sync is over.
2016-07-04PRINCE: Remove manual debug level setting. It's too noisy.Torbjörn Andersson
2016-07-04PRINCE: Add video player for topware.avi logoTorbjörn Andersson
The sound is rather bad, but I assume that's something with our CinePak video decoder so I'll leave it like this for now. The player itself is based on the BBVS engine.
2016-07-03PRINCE: Prefix the names of the data archivesTorbjörn Andersson
This avoids a conflict between the "all" directory and the "all" archive, if the directory happens to be named in all lower case. While it isn't on the CD, we shouldn't introduce case sensitivity in the file names if we can avoid it.
2016-07-03PRINCE: Correct search path to voices/databank.ptcTorbjörn Andersson
At least in my copy, the voices directory is on the same level as the other directories. (Though the whole thing is inside a directory called "data", so maybe that's where that came from?)
2016-06-08PRINCE: Use # as savefile matching patternEugene Sandulenko
2016-05-31PRINCE: Detecting unknown cursorsEugene Sandulenko
2016-05-31PRINCE: Proper processing of missing sprite maskEugene Sandulenko
2016-05-31PRINCE: Object initializationEugene Sandulenko
2016-05-17ALL: Change main engine header guard defines to <directory>_<engine>_HEugene Sandulenko
Recently we started to use this as new semantics, although in the past we used simly <engine>_H. Now these guard defines are consistent with rest of the files which are used in the engines.
2016-05-14PRINCE: Remove redundant checkEugene Sandulenko
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2016-03-08ENGINES: Make variable names of ADGameDescription conform to our guidelines.Johannes Schickel
gameid -> gameId guioptions -> guiOptions
2016-03-08ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.Johannes Schickel
_singleid -> _singleId _gameids -> _gameIds _guioptions -> _guiOptions
2016-03-05CONFIGURE: Introduced new engine dependency: highresEugene Sandulenko
Some backends like GCW0 do no support graphics >320x240 due to the hardware limitation (downscaling is possible but it will ruin the pixel hunting which is often part of the gameplay). Instead of manually updating the list of engines, we now introduce a new dependency. I marked all relevant engines, but some, like tinsel, require more work with putting their relevant high-res games under USE_HIGHRES define.
2016-02-15JANITORIAL: Typos detected with lintian & grepAlexandre Detiste
2015-11-27PRINCE: Fix color clipping logicEugene Sandulenko
2014-11-09PRINCE: Double animation of bird after 'throw a rock' mini-game fixlukaslw
2014-11-09PRINCE: playSample() - split to sound and speech types to correct volume ↵lukaslw
settings
2014-11-09PRINCE: canLoadGameStateCurrently() - to check if loading is allowedlukaslw
Also block saving during dialogbox and inventory drawing
2014-11-09PRINCE: canSaveGameStateCurrently() - check conditions when you can't save ↵lukaslw
the game state
2014-11-09PRINCE: Add loading during startup and syncSoundSettings featureslukaslw
2014-11-09PRINCE: Allow RTL engine featurelukaslw
2014-11-09PRINCE: Allow to skip intro animation with LMBlukaslw
2014-11-08PRINCE: showLogo() - allow to skip logo animation or quit game during itlukaslw
2014-11-08PRINCE: Silence last comparison warning in gcclukaslw
2014-11-08PRINCE: Silence signed and unsigned comparison warnings in gcclukaslw
2014-11-08PRINCE: Fix double loading of variaTxt.dat file in init()lukaslw
2014-11-08PRINCE: Reduce pause() and pause2() to one function and rename it to ↵lukaslw
pausePrinceEngine()
2014-11-08PRINCE: Implement pauseEngineIntern() - pause and resume music in GMMlukaslw
2014-10-28PRINCE: Change PrinceGameType enum nameslukaslw
Fix compilation on gcc
2014-10-28PRINCE: Allow to load translation file - prince_translation.datlukaslw
Update detection file to allow English language with both PL and DE data files. Add setMobTranslationTexts() to update mob names to translated ones in each location
2014-10-28PRINCE: Remove trailing whitespaceFilippos Karapetis
2014-10-26PRINCE: Fix another variable signEugene Sandulenko