Commit Graph

397 Commits

Author SHA1 Message Date
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
Eugene Sandulenko
3899532440 PRINCE: Revert incorrect const'ness at printAt() 2014-10-10 14:52:10 +02:00
Eugene Sandulenko
0afaf44409 PRINCE: Sort files in module 2014-10-10 14:41:27 +02:00
Eugene Sandulenko
9c5eba6ffd PRINCE: Fix mask sign 2014-10-10 14:38:14 +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
5fd804f267 PRINCE: Read O_FLCSPEED command argument 2014-10-10 14:18:23 +02:00
Eugene Sandulenko
68738cef0f PRINCE: Bail out on unknown language 2014-10-10 14:17:52 +02:00
Eugene Sandulenko
70d83d20b0 PRINCE: Remove unnecessary reassignment 2014-10-10 14:14:21 +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
Willem Jan Palenstijn
6419a0da5e PRINCE: Fix a few warnings 2014-10-10 14:02:33 +02:00
Willem Jan Palenstijn
bdc20cf1c9 PRINCE: Fix a few compile errors 2014-10-10 14:02:33 +02:00
lukaslw
c769c3b885 PRINCE: Add MKTAG - BLAH in decrypt function 2014-10-09 21:05:55 +02:00
lukaslw
c9c93b4b4d PRINCE: Change all WRITE_UINT16 to WRITE_LE_UINT16 and all WRITE_UINT32 to WRITE_LE_UINT32 for endian-safety fix 2014-10-09 21:01:31 +02:00
lukaslw
0e6ae70d9b PRINCE: Fix INT_MAX error - change it to kIntMax constant 2014-10-09 18:43:17 +02:00
lukaslw
081ad221d5 PRINCE: Change ADGameFlag in gameDescriptions to ADGF_TESTING 2014-10-09 18:28:30 +02:00
lukaslw
9db1d77d47 PRINCE: Remove readScript and LittleEndianReader templates from Script
Change all of READ_UINT16 to READ_LE_UINT16 and all READ_UINT32 to READ_LE_UINT32 for endian-safety
2014-10-09 17:54:46 +02:00
lukaslw
f80d72d10a PRINCE: script.h - small comment correction 2014-10-09 00:34:21 +02:00
lukaslw
ebd417fef4 PRINCE: GraphicsMan::getBlendTableColor - change big number to INT_MAX 2014-10-09 00:12:09 +02:00
lukaslw
257fd35f5a PRINCE: Hero::showHeroShadow - ct_loop variable rename to ctLoop 2014-10-09 00:04:55 +02:00
lukaslw
f10ea31e3b PRINCE: GraphicsMan - add some new comments 2014-10-08 23:59:20 +02:00