Commit graph

34 commits

Author SHA1 Message Date
Donovan Watteau
a933dc768c ILLUSIONS: Fix text handling crash on big-endian systems
The loop reversing the wide characters on big-endian systems would loop
until _tblPtr, which is way past all TalkEntry text parts, effectively
reversing the string multiple times at incorrect positions.  Thus, some
characters would remain in the incorrect endianness, and the game would
crash.

Trac tickets #11528 and #11236.
2021-07-04 01:20:22 +03:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eric Fry
bc85ff1868 ILLUSIONS: Fix wide text handling logic for big endian systems. (#11236) 2020-08-25 18:18:20 +10:00
Bastien Bouclet
e04b23bb72 ILLUSIONS: Add override keywords 2020-02-09 12:43:15 +01:00
D G Turner
129988d0e9 ILLUSIONS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-16 11:30:12 +00:00
Eric Fry
848b5a5ff5 ILLUSIONS: Formatting fixes 2018-07-20 06:43:33 +00:00
johndoe123
65049228a8 ILLUSIONS: Remove old TODOs
(cherry picked from commit bb95440)
2018-07-20 06:43:33 +00:00
Eric Fry
c01a1269b6 ILLUSIONS: DUCKMAN: Clear fader when loading/unpausing backgrounds
(cherry picked from commit 3367aafae37d6c28c1ab1e8323613a56a44e3a5c)

ILLUSIONS: Delete dictionary list before it gets removed

(cherry picked from commit d9d0c11)

ILLUSIONS: Implement PathFinder::postProcess

(cherry picked from commit ee98dfc)
2018-07-20 06:43:33 +00:00
Eric Fry
fee1f3d8cb ILLUSIONS: always use braces for loops 2018-07-20 06:43:33 +00:00
Eric Fry
989d8d9b8a ILLUSIONS: Formatting, remove trailing whitespace. 2018-07-20 06:43:33 +00:00
Eric Fry
7cadb7ad0c ILLUSIONS: Formatting 2018-07-20 06:43:33 +00:00
Eric Fry
3d9f5ed20f ILLUSIONS: Replace spaces with tabs
Replace while(1) with do..while loop
Removed dead code
Renamed FP16 to FixedPoint16 to improve readability
2018-07-20 06:43:33 +00:00
Eric Fry
83994972de ILLUSIONS: Add debug cheat code support
Work on inventory add/remove debug menu.
2018-07-20 06:43:33 +00:00
Eric Fry
88ef190569 ILLUSIONS: Add logic to enable palette cycling sequence 2018-07-20 06:43:33 +00:00
Eric Fry
7b88bd8efe ILLUSIONS: Add more logging
Add todo to check named point on opAppearForeignActor
2018-07-20 06:43:33 +00:00
Eric Fry
7c46d891c6 ILLUSIONS: Print walk rectangle point on background to aid in debugging
Comment and rename some code in pathfinder to aid in understanding
2018-07-20 06:43:33 +00:00
Eric Fry
c66b2208e0 ILLUSIONS: silence clang warning about not operation in expression 2018-07-20 06:43:33 +00:00
Eric Fry
2f551cabba ILLUSIONS: Change video skip key from escape to space
Add debug logging on unknown background info field
Removed unused debug variables
2018-07-20 06:43:33 +00:00
Eric Fry
5dd96b6fbe ILLUSIONS: Add midi music player 2018-07-20 06:43:33 +00:00
Eric Fry
a7d78df98c ILLUSIONS: Fix clang warnings. Work on menu keyboard control
Fix some warnings while compiling with clang.
Add up/down key support in game menus.
2018-07-20 06:43:33 +00:00
Eric Fry
39798c63d1 ILLUSIONS: Fix static buffer overrun in debug log function.
This was causing the game to crash when loading the main scumm menu.
It was corrupting another static string in the about dialog.
2018-07-20 06:43:33 +00:00
Eric Fry
43ba5f6327 ILLUSIONS: Fill in background for text in menus 2018-07-20 06:43:33 +00:00
Eric Fry
8e462f313f ILLUSIONS: Work on menu border decoration 2018-07-20 06:43:33 +00:00
johndoe123
2bd1386528 ILLUSIONS: Move palette code from Screen to new ScreenPalette class 2018-07-20 06:43:33 +00:00
johndoe123
c0c25691e0 ILLUSIONS: BBDOU: Implement missing script opcodes and special opcodes; fix ActorType bugs and more 2018-07-20 06:43:33 +00:00
johndoe123
aed3852701 ILLUSIONS: Implement save/load functionality
- Only works in Duckman at the moment
- Only via the ScummVM main menu for now, save/load via the game's menu to be implemented
2018-07-20 06:43:33 +00:00
johndoe123
6b36b750c2 ILLUSIONS: DUCKMAN: Implement special opcodes 160017, 16001B, 160020 and 160021 2018-07-20 06:43:33 +00:00
johndoe123
fa17f684da ILLUSIONS: DUCKMAN: Start implementing the menu system
Still work-in-progress, missing functionality and buggy
Maybe needs some work for BBDOU where this isn't implemented yet.
2018-07-20 06:43:33 +00:00
johndoe123
8b48f2f63f ILLUSIONS: Rename ProgInfo -> SceneInfo 2018-07-20 06:43:33 +00:00
johndoe123
61a0b5badb ILLUSIONS: Rename tag -> sceneId 2018-07-20 06:43:33 +00:00
johndoe123
41978f466d ILLUSIONS: Add GAM archive reader for Duckman and adjust the resource reader/system 2018-07-20 06:43:33 +00:00
johndoe123
9d98f92298 ILLUSIONS: Add text drawing to BBDOU 2018-07-20 06:43:33 +00:00
johndoe123
36ec0fafdb ILLUSIONS: Refactor the input system 2018-07-20 06:43:33 +00:00
johndoe123
a173329ae9 ILLUSIONS: Move resource-related files into resources subdirectory 2018-07-20 06:43:33 +00:00