Commit Graph
31 Commits
Author SHA1 Message Date
Hubert Maier c8964dc2b4 ILLUSIONS: Correct spelling mistake
neccessary -> necessary
2022-10-27 15:56:13 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 49d745bbe4 ILLUSIONS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
aryanrawlani28 e5445fb901 GUI: U32: Small improvements/fixes
- Remove = operator in String, which compared to a U32String.
- Let implicit cast take care of results from getResultString, so in-future easy to spot new changes.
- Use uint32 for each char when encodingUrlStrings, to avoid unsafe comparision.
2020-08-30 14:43:41 +02:00
aryanrawlani28 579b370183 ILLUSIONS: Fix conversion to string 2020-08-30 14:43:41 +02:00
aryanrawlani28 4b6976c558 GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes.

- Add a fake constructor to Keymap, text-to-speech, setDescription (save-state)
- Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage
- Use the above functions and constructors to reduce changes in Engines
- Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc.
- Mark some strings as "translation" strings. (Not yet added to POTFILES)
- Remove some CP related things from po/modules.mk
- Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28 bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
Bastien Bouclet bb813719b5 ENGINES: Change targets to have an 'engine ID'
The engine ID identifies which engine should be used to launch the target.
Also remove the 'single ID' system. Different games from engines that used
that system now have different game IDs.

Also-By: Matthew Hoops <clone2727@gmail.com>
2019-11-03 11:43:00 +01:00
Eugene Sandulenko e6b61c3874 ILLUSIONS: Fix warnings 2018-07-21 12:15:05 +02:00
johndoe123 94fdd597d9 ILLUSIONS: BBDOU: Add menu system class, adjust existing code (actual menus not done yet)
(cherry picked from commit 03b0ca1)
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 9ad048f8a6 ILLUSIONS: Fix formatting
Remove debug code from bbdou menu item select callback
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 0303b83ead ILLUSIONS: Pause actors when entering menu 2018-07-20 06:43:33 +00:00
Eric Fry ced1ff2356 ILLUSIONS: Move sliders in option menu 2018-07-20 06:43:33 +00:00
Eric Fry 0793272dfa ILLUSIONS: Wire up sfx to menus 2018-07-20 06:43:33 +00:00
Eric Fry 423a8ec433 ILLUSIONS: Replace 0x40004 with CURSOR_OBJECT_ID constant
Fix pan bug in starship enterprise scene
Add sequence opcode name to debug log
Hack to fix endless loop bug outside the starship enterprise
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 a36cd2e39f ILLUSIONS: Name menu border color variables to add readability
Fix menu hover color layer position.
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
Eric Fry a6cd908e0e ILLUSIONS: Replace text flag magic numbers with defines 2018-07-20 06:43:33 +00:00
Eric Fry b3e9c972f1 ILLUSIONS: Improve naming of variables and methods in menu system.
Start work on keyboard menu support and menu background fill.
2018-07-20 06:43:33 +00:00
Eric Fry 13d5c2fa26 Save description with savegame 2018-07-20 06:43:33 +00:00
Eric Fry 92c979e99a Fixed save continue dialog menu 2018-07-20 06:43:33 +00:00
Eric Fry 783fd02893 Work on save support 2018-07-20 06:43:33 +00:00
Eric Fry 02063f60d0 Getting it to compile after merging master 2018-07-20 06:43:33 +00:00
johndoe123 823ba2f462 ILLUSIONS: DUCKMAN: Implement load game from the game's menu system
- Fix pause/unpause opcodes
- Reduce debug output
2018-07-20 06:43:33 +00:00
johndoe123 d16ebff390 ILLUSIONS: DUCKMAN: Implement special opcode 160012 and related code 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