Commit Graph

300 Commits

Author SHA1 Message Date
Eugene Sandulenko
3c5569d272 PRINCE: Fix infinite loop on bad 'look' data. Fixes #11429 2020-08-25 18:36:52 +02:00
Eugene Sandulenko
392492fa27 PRINCE: Losen path requirements for prince_translation.dat file 2020-03-09 16:17:48 +01:00
Paul Gilbert
edcf6b9112 PRINCE: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
D G Turner
a45106412a PRINCE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-27 02:34:35 +00:00
Adrian Frühwirth
7f85a988c0 Revert "PRINCE: Don't output debug information unless requested"
This reverts commit dfbf6b7287.
2018-05-06 09:25:31 +02:00
Adrian Frühwirth
589f0f8750 PRINCE: Use ScummVM save/load dialogs
The original option dialogs do not seem to be implemented yet so we
always show the ScummVM ones when using the save/load hotkeys for now.

This partly fixes Trac#9866.
2018-05-06 02:26:28 +02:00
Adrian Frühwirth
dfbf6b7287 PRINCE: Don't output debug information unless requested 2018-05-06 01:24:12 +02:00
Eugene Sandulenko
5515f414af PRINCE: Decompress files if they're extracted 2018-05-05 23:17:35 +02:00
Eugene Sandulenko
c234630931 PRINCE: Initial support for packed Russian version 2018-05-05 23:17:35 +02:00
Eugene Sandulenko
7352737a69 PRINCE: Even more prince.cpp refactoring. Inventory and pathfinding 2018-05-05 23:17:35 +02:00
Eugene Sandulenko
788a1fab82 PRINCE: More prince.cpp restructuring 2018-05-05 23:17:35 +02:00
Eugene Sandulenko
67abcc36a7 PRINCE: Moved audio-related methods to separate files 2018-05-05 23:17:35 +02:00
Eugene Sandulenko
951c365591 PRINCE: Move cursor manipulation to cursor.cpp 2018-05-05 23:17:34 +02:00
Eugene Sandulenko
faf579c48f PRINCE: Move resource loading methods to separate file 2018-05-05 23:17:34 +02:00
Eugene Sandulenko
132f77fd16 PRINCE: Rename sound.cpp to music.cpp 2018-05-05 23:17:34 +02:00
Eugene Sandulenko
919013d7f2 JANITORIAL: Fix formatting 2018-05-05 23:17:34 +02:00
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
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
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
523c0ac0aa PRINCE: Detecting unknown cursors 2016-05-31 17:12:18 +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
lukaslw
3472d95f45 PRINCE: playSample() - split to sound and speech types to correct volume settings 2014-11-09 03:05:34 +01:00
lukaslw
ce1e776eee PRINCE: Add loading during startup and syncSoundSettings features 2014-11-09 01:42:54 +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
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
522cd1c970 PRINCE: Fix warning 2014-10-26 09:30:21 +01: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
e396362d36 PRINCE: Reduce the scope of several variables in PrinceEngine 2014-10-10 20:30:18 +02:00
Eugene Sandulenko
3899532440 PRINCE: Revert incorrect const'ness at printAt() 2014-10-10 14:52:10 +02:00
Eugene Sandulenko
30953f124f PRINCE: Fix variable sign 2014-10-10 14:35:13 +02:00
Eugene Sandulenko
430c271b87 PRINCE: Fix const'ness 2014-10-10 14:34:14 +02:00
Eugene Sandulenko
44c90d31d7 PRINCE: Fix warning 2014-10-10 14:29:11 +02:00
Eugene Sandulenko
a0bdea9286 PRINCE: Fix warning 2014-10-10 14:19:39 +02:00
Eugene Sandulenko
68738cef0f PRINCE: Bail out on unknown language 2014-10-10 14:17:52 +02:00
Willem Jan Palenstijn
dd849ac5b7 PRINCE: Fix more warnings 2014-10-10 14:11:43 +02:00
Eugene Sandulenko
24dd5d1f53 PRINCE: Rename runDialog() into dialogRun() to avoid clash with Engine::runDialog() 2014-10-10 14:08:15 +02:00