Commit Graph
155 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 5733e3de1c PRINCE: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Thierry Crozat c168c85db5 PRINCE: Fix out of bound access when examining objects
The bug was introduced in commit 9a09449e8 and was causing random
crashes.
2021-08-21 23:36:50 +01:00
aviloria 9a09449e88 PRINCE: Fix display of multiple phrases (#3298)
When examining an object, if the description has multiple phrases, only the first one was displayed on the screen (but speech audio continues).
Thant's because multiple phrases are encoded in the same string using '\0' separator, so strcpy/strncpy should be avoided.
2021-08-21 22:29:11 +03:00
Eugene Sandulenko 3c5569d272 PRINCE: Fix infinite loop on bad 'look' data. Fixes #11429 2020-08-25 18:36:52 +02:00
Eugene Sandulenko 1817cbd6b4 PRINCE: Initialize class variables 2020-03-14 01:22:03 +01:00
Eugene Sandulenko 117ceb5758 PRINCE: Fix potential buffer overflow 2020-03-14 01:22:03 +01:00
Eugene Sandulenko 0cc6e9d79c PRINCE: Print out opcode before execution, not after 2020-03-10 17:36:40 +01:00
Eugene Sandulenko f3b5bc7ccf PRINCE: Convert flag lookup into hashmap. This is more stable 2020-03-10 16:30:49 +01:00
Eugene Sandulenko faafefc833 PRINCE: Fix warnings and undefined behaviour 2020-01-31 16:53:54 +01:00
Eugene Sandulenko 9a5ba52e6b PRINCE: Cleanup debug output 2018-05-06 19:33:45 +02: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 dfbf6b7287 PRINCE: Don't output debug information unless requested 2018-05-06 01:24:12 +02:00
Adrian Frühwirth b09dab8c9f PRINCE: Add FIXMEs for potential bugs 2018-05-06 00:00:38 +02:00
Eugene Sandulenko 5515f414af PRINCE: Decompress files if they're extracted 2018-05-05 23:17:35 +02:00
Eugene Sandulenko 919013d7f2 JANITORIAL: Fix formatting 2018-05-05 23:17:34 +02:00
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Eugene Sandulenko df9eaac734 PRINCE: Proper processing of missing sprite mask 2016-05-31 17:12:18 +02:00
lukaslw 54a4b2fa86 PRINCE: Double animation of bird after 'throw a rock' mini-game fix 2014-11-09 22:20:36 +01:00
lukaslw bb145b439d PRINCE: Silence signed and unsigned comparison warnings in gcc 2014-11-08 20:57:37 +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
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
Eugene Sandulenko 9c5eba6ffd PRINCE: Fix mask sign 2014-10-10 14:38:14 +02:00
Eugene Sandulenko 5fd804f267 PRINCE: Read O_FLCSPEED command argument 2014-10-10 14:18:23 +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
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 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 e894a18b08 PRINCE: Script::installSingleBackAnim - update 2014-10-07 16:05:37 +02:00
lukaslw 80cf4bae8b PRINCE: Script::loadAllMasks - fix 2014-10-07 02:56:34 +02:00
lukaslw 115340bc87 PRINCE: Resource loading - renaming 2014-10-07 02:14:12 +02:00
lukaslw 9ef705ebb4 PRINCE: playNextFLCFrame() update 2014-08-15 21:57:26 +02:00
lukaslw 70a94908d3 PRINCE: Throw a rock mini-game - cursor update 2014-08-10 16:08:45 +02:00
lukaslw 425132faf9 PRINCE: showPalette(), showLogo() - update 2014-08-09 21:44:38 +02:00
lukaslw b97f726a3e PRINCE: scrollCredits() implementation, showLogo() update 2014-08-09 05:37:57 +02:00
lukaslw 886cf189c6 PRINCE: showPower(), O_EXIT - last mini-game and game ending 2014-08-08 22:58:38 +02:00
lukaslw b0dd6db58c PRINCE: Script update - readScriptFlagValue fix 2014-08-08 17:09:26 +02:00
lukaslw 4dbcdd19ec PRINCE: showNormAnims() fix 2014-08-07 02:20:52 +02:00
lukaslw a3c829a774 PRINCE: Background animations - update 2014-08-05 18:11:33 +02:00
lukaslw 49337549d9 PRINCE: makeCurve(), getCurve(), mouseWeirdo(), O_KRZYWA, O_GETKRZYWA, O_GETMOB 2014-08-05 04:30:07 +02:00
lukaslw 51bc133c43 PRINCE: Background interpreter during dialog boxes 2014-08-02 16:03:54 +02:00
lukaslw 54a78d6341 PRINCE: mainLoop() update 2014-08-02 13:39:33 +02:00
lukaslw 3c29d61f67 PRINCE: Code clean-up 2014-08-01 17:38:04 +02:00
lukaslw 34f496c38a PRINCE: Second hero implementation 2014-07-31 20:59:41 +02:00
lukaslw 1b5d3e00a3 PRINCE: FLC animations - update 2014-07-30 23:44:45 +02:00
lukaslw 93a552c26d PRINCE: Skull mini-game fix 2014-07-30 19:54:39 +02:00
lukaslw 08d781b6ad PRINCE: Game saving - basic implementation 2014-07-29 02:25:42 +02:00