420 Commits

Author SHA1 Message Date
Eugene Sandulenko
c8dca57555 PRINCE: Refactored detection code into widely accepted schema 2016-10-21 10:32:48 +02:00
Eugene Sandulenko
38cf75e885 PRINCE: Make Russian version of the game start.
Crashes right after the intro AVI.
2016-09-03 16:10:59 +02:00
Eugene Sandulenko
7255a53901 PRINCE: Added detection to Russian version of the game.
The engine requires a bit of work, as this version has all files
unpacked from the PTC archives.
2016-09-03 15:59:19 +02:00
Eugene Sandulenko
b5eef9a36a PRINCE: Properly detect translated versions, and mark them via Game Feature 2016-09-03 15:59:19 +02:00
Eugene Sandulenko
fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Alexander Tkachev
b665fc933d ALL: Make simpleSaveNames() a MetaEngineFeature
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-24 16:07:55 +06:00
Alexander Tkachev
ab1d160ec8 ALL: Add MetaEngine::simpleSaveNames()
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-08-24 16:07:55 +06:00
Torbjörn Andersson
eff9f87483 PRINCE: Remove manual debug level setting. It's too noisy. 2016-07-04 07:12:45 +02:00
Torbjörn Andersson
9020002c78 PRINCE: Add video player for topware.avi logo
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-04 01:03:32 +02:00
Torbjörn Andersson
35a5918ada PRINCE: Prefix the names of the data archives
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-03 22:20:52 +02:00
Torbjörn Andersson
2ac0b7d7ae PRINCE: Correct search path to voices/databank.ptc
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-07-03 22:20:52 +02:00
Eugene Sandulenko
044f8b2063 PRINCE: Use # as savefile matching pattern 2016-06-08 10:16:18 +02:00
Eugene Sandulenko
523c0ac0aa PRINCE: Detecting unknown cursors 2016-05-31 17:12:18 +02:00
Eugene Sandulenko
df9eaac734 PRINCE: Proper processing of missing sprite mask 2016-05-31 17:12:18 +02:00
Eugene Sandulenko
378f8573b0 PRINCE: Object initialization 2016-05-31 17:12:18 +02:00
Eugene Sandulenko
33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
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-17 18:21:30 +02:00
Eugene Sandulenko
a088d1fb10 PRINCE: Remove redundant check 2016-05-14 11:34:41 +02:00
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Johannes Schickel
3aecd8ef2a ENGINES: Make variable names of ADGameDescription conform to our guidelines.
gameid     -> gameId
guioptions -> guiOptions
2016-03-08 19:01:38 +01:00
Johannes Schickel
0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Eugene Sandulenko
23d74fddb4 CONFIGURE: Introduced new engine dependency: highres
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-03-05 14:25:56 +01:00
Alexandre Detiste
6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Eugene Sandulenko
1f1c9803a7 PRINCE: Fix color clipping logic 2015-11-27 22:34:26 +01:00
lukaslw
54a4b2fa86 PRINCE: Double animation of bird after 'throw a rock' mini-game fix 2014-11-09 22:20:36 +01:00
lukaslw
3472d95f45 PRINCE: playSample() - split to sound and speech types to correct volume settings 2014-11-09 03:05:34 +01:00
lukaslw
cb01dd36b6 PRINCE: canLoadGameStateCurrently() - to check if loading is allowed
Also block saving during dialogbox and inventory drawing
2014-11-09 02:42:48 +01:00
lukaslw
d5938d2520 PRINCE: canSaveGameStateCurrently() - check conditions when you can't save the game state 2014-11-09 02:15:56 +01:00
lukaslw
ce1e776eee PRINCE: Add loading during startup and syncSoundSettings features 2014-11-09 01:42:54 +01:00
lukaslw
8ad075a764 PRINCE: Allow RTL engine feature 2014-11-09 00:11:34 +01:00
lukaslw
b5596482f0 PRINCE: Allow to skip intro animation with LMB 2014-11-09 00:04:51 +01:00
lukaslw
e33383b19f PRINCE: showLogo() - allow to skip logo animation or quit game during it 2014-11-08 23:51:56 +01:00
lukaslw
71eedf9a3e PRINCE: Silence last comparison warning in gcc 2014-11-08 21:00:47 +01:00
lukaslw
bb145b439d PRINCE: Silence signed and unsigned comparison warnings in gcc 2014-11-08 20:57:37 +01:00
lukaslw
e228a313e2 PRINCE: Fix double loading of variaTxt.dat file in init() 2014-11-08 20:41:00 +01:00
lukaslw
56af32f2ad PRINCE: Reduce pause() and pause2() to one function and rename it to pausePrinceEngine() 2014-11-08 20:14:33 +01:00
lukaslw
ccb051f0e3 PRINCE: Implement pauseEngineIntern() - pause and resume music in GMM 2014-11-08 19:44:06 +01:00
lukaslw
5f022f2e9e PRINCE: Change PrinceGameType enum names
Fix compilation on gcc
2014-10-28 21:36:25 +01:00
lukaslw
9ad2135ff9 PRINCE: Allow to load translation file - prince_translation.dat
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-28 20:59:11 +01:00
Filippos Karapetis
0f0ca25e43 PRINCE: Remove trailing whitespace 2014-10-28 16:21:53 +02:00
Eugene Sandulenko
123e52f441 PRINCE: Fix another variable sign 2014-10-26 09:34:48 +01:00
Eugene Sandulenko
3b9ac0318c PRINCE: Fix variable sign 2014-10-26 09:32:58 +01:00
Eugene Sandulenko
522cd1c970 PRINCE: Fix warning 2014-10-26 09:30:21 +01:00
Torbjörn Andersson
f25e889c13 PRINCE: Fix potential out-of-bounds read (CID 1248502)
Since _opcodes[] has kNumOpcodes elements, kNumOpcodes itself is
not a valid index.
2014-10-25 21:02:03 +02:00
Torbjörn Andersson
0579bf6f18 PRINCE: Fix potential out-of-bounds reads (CID 1248500, 1248503)
Since heroSetTable[] is an array of int, use >= ARRAYSIZE() instead
of > sizeof().
2014-10-25 20:57:52 +02:00
Torbjörn Andersson
b6302c6e51 PRINCE: Fix potential out-of-bounds write (CID 1248504)
There are kMaxTexts text slots, so kMaxTexts itself is not valid.
2014-10-25 20:52:14 +02:00
Strangerke
17e74e9a37 PRINCE: rename a couple of variables named "rand" 2014-10-10 20:47:37 +02:00
Strangerke
5c012f8e01 PRINCE: Reduce the scope of several variables in GraphicsMan 2014-10-10 20:43:23 +02:00
Strangerke
e396362d36 PRINCE: Reduce the scope of several variables in PrinceEngine 2014-10-10 20:30:18 +02:00
Strangerke
f553a48329 PRINCE: Reduce the scope of several variables in Hero 2014-10-10 20:13:26 +02:00
Willem Jan Palenstijn
f52d3fa84b PRINCE: Attempt to fix compilation on AmigaOS 2014-10-10 17:02:30 +02:00