Commit graph

104 commits

Author SHA1 Message Date
Le Philousophe
e62dcdfed4 PINK: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Eugene Sandulenko
ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
antoniou79
74e521d8f8 PINK: Disable the Songs entry from the demo menu
This is aimed at and tested for the German Demo menu of Passport to Peril

In the original demo, the menu item for Songs is missing from the menu. In this fix we disable it (greyed out)
because the code for removing an item from the menu causes shifting of the subsequent menu items which
leads to unreliable code and potential future bugs if it's not accounted for.
2023-08-28 22:34:28 +03:00
antoniou79
59ac590df2 PINK: Don't use references to Strings in initModule
initModule calls removeModule() which results to wiping out the current _module object

This would previously result to String references no longer refering to valid Strings. This should fix the issue with segmentation fault
during the game intro when selecting New Game (and the glitch of replaying that intro video on top of itself).
2023-08-25 13:01:00 +03:00
antoniou79
693557487d PINK: Clear global game variables on New Game
This addresses the cause for #13869 PINK: Can't pickup the poker in sir Manley's house

However, this will not retroactively fix the broken saved games that carry stale global game variables from other playthroughs
It will also will not set the "appropriate" global game variables if the player uses the debug console to jump to different modules and pages back and forth.
2023-04-29 12:14:13 +02:00
Cameron Cawley
28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Eugene Sandulenko
1106b1f2da
PINK: Added support for the original CD layout of Polish Peril 2022-10-20 16:15:43 +02:00
Eugene Sandulenko
502d8387ae
PINK: Switch palette lookup to Graphics::PaletteLookup 2022-07-03 12:50:06 +02:00
Avijeet
01d264569c PINK: Rename director.h/cpp to screen.h/cpp 2022-06-27 14:15:34 +03:00
Avijeet
24de0150a2 PINK: Rename class Director to Screen 2022-06-27 14:15:34 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
sluicebox
8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
ysj1173886760
c32fb48a38 PINK: move adding debugchannels to detection 2021-05-22 01:34:57 +02:00
Eugene Sandulenko
c7517e2eac
PINK: Fixes for Finnish version 2021-05-02 01:03:02 +02:00
Eugene Sandulenko
5fa661f1b0
PINK: Fix menu in Hebrew version.
Unfortunately, we have no Hebrew glyphs in Win95 fonts.
2021-05-01 01:49:47 +02:00
Eugene Sandulenko
21be7be0d2 PINK: Fix warning 2020-07-30 00:50:09 +02:00
Henrik "Henke37" Andersson
093bee1889 PINK: Warn when the timestamps mismatch 2020-07-29 18:55:25 +02:00
Andrei Prykhodko
eb0e44a0df PINK: added feature kSupportsChangingOptionsDuringRuntime 2020-06-04 23:06:37 +03:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
mataniko
06242a712b JANITORIAL: Rename EVENT_RTL
Now that ScummVM is adding RTL support, the EVENT_RTL should be disambigious that it is for returning to launcher
2020-05-12 10:36:38 +02:00
Henrik "Henke37" Andersson
3edcc22c78 PINK: Use new MACGUI interface 2020-05-10 23:39:31 +02:00
Andrei Prykhodko
0f96d7b776 PINK: fixed pausing when menu bar disappears 2020-05-08 18:31:08 +02:00
Cameron Cawley
4b540a0042 PINK: Remove direct use of OSystem cursor functions 2020-05-05 00:21:34 +02:00
Paul Gilbert
4b09375739 PINK: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Henrik "Henke37" Andersson
37e405c936 PINK: Flag a lot of stuff as const 2020-02-15 22:05:44 +01:00
Henrik "Henke37" Andersson
463192aa51 PINK: remove member function arguments in favor of using the existing _exeResources member variable. 2020-02-13 23:41:06 +02:00
Cameron Cawley
46056aba3c ENGINES: Reduce winexe_*.h header includes 2020-01-11 17:34:12 +02:00
Cameron Cawley
948c555ea6 ALL: Create all instances of NEResources and PEResources using new instead of on the stack
Also adapted WinCursorGroup and MacMenu to reflect this.
2020-01-11 17:34:12 +02:00
Bastien Bouclet
9894976ade PINK: Push down the advanced detector include
So the whole engine is not rebuilt when making changes to shared code.
2018-12-10 19:12:18 +01:00
Andrei Prykhodko
d60265d7d4 PINK: removed unused parameter 2018-08-17 17:14:15 +03:00
Andrei Prykhodko
5f462c1ebc PINK: implemented skipString method in Archive 2018-08-17 17:14:15 +03:00
Andrei Prykhodko
8530d9fbc5 PINK: fixed Coverity warnings 2018-07-29 21:34:20 +03:00
Andrei Prykhodko
877b4e5cf3 PINK: fixed engine destroying in pda state 2018-07-26 05:24:57 +03:00
Andrei Prykhodko
c655e7fa54 PINK: fixed memory leak 2018-07-26 04:40:17 +03:00
Eugene Sandulenko
6fc6ce3ac4 PINK: Rely on MacWindoManager to restore screen after menu 2018-07-23 14:47:27 +02:00
Andrei Prykhodko
1832dd0bab PINK: fixed starting new game from menu in pda state 2018-07-22 21:33:48 +03:00
Andrei Prykhodko
c06e2abfb0 PINK: added menu commands 2018-07-22 21:26:09 +03:00
Andrei Prykhodko
cd87d76932 PINK: added more debug output, removed unneeded 2018-07-21 19:40:12 +03:00
Andrei Prykhodko
cb3945cf4f PINK: hid debug output under channels and levels 2018-07-21 16:23:57 +03:00
Andrei Prykhodko
7cc0e833f2 PINK: implemented creating menu from executable 2018-07-21 15:12:23 +03:00
Andrei Prykhodko
b6dc832346 PINK: sync with MACGUI changes 2018-07-20 22:05:46 +03:00
Andrei Prykhodko
32a0e69045 PINK: fixed redrawing screen when menu disappears 2018-07-18 22:11:21 +03:00
Andrei Prykhodko
a053a19ca2 PINK: fixed pausing of engine when menu appears 2018-07-18 21:48:54 +03:00
Eugene Sandulenko
000d5fcba8 PINK: Make menu blocking 2018-07-11 22:45:36 +02:00
Eugene Sandulenko
ace8fcca82 PINK: Made _director a pointer and reduced header dependencies 2018-07-11 22:45:36 +02:00
Eugene Sandulenko
cd357e59d0 PINK: Plug in autohide menu 2018-07-11 22:45:36 +02:00
Andrei Prykhodko
69f96a311f PINK: removed updating screen on setting cursor because it produces too much drawing calls 2018-07-06 11:41:14 +03:00
Andrei Prykhodko
95f46e3892 PINK: fixed loading games after recent changes 2018-07-05 12:06:57 +03:00
Andrei Prykhodko
68f609b9d3 PINK: added missing break 2018-07-01 21:30:10 +03:00