Commit graph

119 commits

Author SHA1 Message Date
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Cameron Cawley
bd559de863 KINGDOM: Use OSystem::copyRectToScreen() and fillScreen() where possible 2024-01-07 11:09:34 +02:00
antoniou79
21248eca74 KINGDOM: Supporting returning back to launcher feature
Also adds a _mixer->stopAll() call in the engine's destructor
2024-01-02 11:23:59 +02:00
Le Philousophe
ca89a72b68 KINGDOM: Migrate engine to Path 2023-12-24 13:19:25 +01:00
sluicebox
5656c999f8 KINGDOM: Fix memory leak. PVS-Studio V773 2023-12-19 04:11:02 -08:00
Cameron Cawley
214b3bd8c1 KINGDOM: Free allocated memory on exit 2023-12-18 18:17:15 +01:00
Cameron Cawley
821666e210 KINGDOM: Avoid loading entire files into memory 2023-12-18 18:17:15 +01:00
Athanasios Antoniou
c9c03d6995
KINGDOM: Fix skipping and quitting demo movie (#5372)
The detection that the demo movie was skipped is done by the external flag _demoMovieSkipped

This is not as clean as it would be updating a reference parameter variable from within playMovie()
but that would require changing the signature of playMovie and all of its calls
2023-10-22 02:34:30 +02:00
Strangerke
eafd061334 KINGDOM: Fix potential memory leak 2023-05-01 07:37:56 +01:00
Cameron Cawley
7bcc15c0d9 KINGDOM: Simplify the console code 2022-12-02 22:58:31 +02:00
Cameron Cawley
8f6028c43d KINGDOM: Reduce the size of the static data and make it const 2022-11-30 23:30:25 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ysj1173886760
957189213d KINGDOM: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Strangerke
5645b973cc KINGDOM: Initialize graphics for the 3DO version 2020-06-15 00:51:00 +01:00
Eugene Sandulenko
00442a193c KINGDOM: Simplified drawHotSpot() 2020-06-11 10:55:28 +02:00
Eugene Sandulenko
b7e878f0de KINGDOM: Got rid of global constructors 2020-06-11 10:53:00 +02:00
Strangerke
4fc151caf1 KINGDOM: Add finalFrameTable to better match the original, rename enAll and dsAll, add some comment in the Help screen 2020-06-10 23:24:00 +01:00
Strangerke
95c464e338 KINGDOM: Modify readSavegameHeader in order to match the other engines 2020-06-10 13:26:45 +01:00
Strangerke
1d3dc9cb13 KINGDOM: Small rework to silence a coverity warning 2020-06-10 13:22:59 +01:00
Thomas Fach-Pedersen
32c27f54f7 KINGDOM: Fix cursor in item selection 2020-06-07 12:17:03 +02:00
Eugene Sandulenko
cd4e446a28 KINGDOM: Fix compilation 2020-06-07 11:32:03 +02:00
Thomas Fach-Pedersen
96b5abd174 KINGDOM: Fix item selection
This makes the cursor in item selection wronger, though.
But it wasn't entirely right before either.
2020-06-07 00:34:49 +02:00
Thomas Fach-Pedersen
0aeff580a6 KINGDOM: Fix logic error in checkMainScreen
Usable inventory items are now shown on the log.
2020-06-07 00:14:47 +02:00
Thomas Fach-Pedersen
a01c28e475 KINGDOM: Fix logic error in getUserInput
You can now pick up the spell of traveling.
2020-06-07 00:14:12 +02:00
Thomas Fach-Pedersen
fcccb2b8c3 KINGDOM: Use _frameStop in MoviePlay 2020-06-07 00:13:55 +02:00
Eugene Sandulenko
353dd6ca72 JANITORIAL: Remove trailing whitespaces 2020-06-07 00:05:21 +02:00
Eugene Sandulenko
99386a2b84 KINGDOM: Fix warning 2020-06-07 00:05:11 +02:00
Strangerke
e39f16f28e KINGDOM: Turn a bunch of debug() into warning(), remove obsolete STUBs, 2020-06-07 00:02:29 +02:00
Strangerke
0291e23f0f KINGDOM: Reduce variable scope (CppCheck warning) 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen
cd8da6328f KINGDOM: Fix mouse debounce and keyboard input 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen
1b5e758f30 KINGDOM: Improve placement of non-fullscreen video 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen
5ed3222fce KINGDOM: Support partial palette update in MVE decoder 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen
c24d35d387 KINGDOM: Set audio track when playing movie 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen
9310bd99e4 KINGDOM: Fix readMouse clobbering quit events 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen
aff19ae96b KINGDOM: Implement preliminary MVE decoder.
Implements decoding for formats 0x6 and 0x10. Not bug free.
2020-06-07 00:02:29 +02:00
Strangerke
4a16632524 KINGDOM: Cleanup, optimize includes, fix some booleans initialized to 0 2020-06-07 00:02:29 +02:00
Eugene Sandulenko
c828e7548b KINGDOM: Sync with modern ScummVM 2020-06-07 00:02:29 +02:00
Strangerke
f4b43dde36 KINGDOM: Add debug command to display hotspots 2020-06-07 00:02:29 +02:00
Strangerke
c4e54246a7 KINGDOM: Remove movie name array 2020-06-07 00:02:29 +02:00
Strangerke
b835a4b213 KINGDOM: Use Common::Rect for hotspot areas 2020-06-07 00:02:29 +02:00
Strangerke
989a8a6b89 KINGDOM: Turn Cursor position into a common::point 2020-06-07 00:02:29 +02:00
Strangerke
db4852e3bd KINGDOM: Fix display init 2020-06-07 00:02:29 +02:00
Strangerke
585b24e4d0 KINGDOM: Fix compilation 2020-06-07 00:02:29 +02:00
Strangerke
82e562446c KINGDOM: Fix numbering of nodes in the full version. All indexes greater than 27 have been reduced by 1 2020-06-07 00:02:29 +02:00
Strangerke
5a94977c63 KINGDOM: Add _MouseMapAS for the demo version 2020-06-07 00:02:29 +02:00
Strangerke
e300515b52 KINGDOM: Add mouseMapMS for the demo version 2020-06-07 00:02:29 +02:00
Strangerke
5365e3bc53 KINGDOM: Revert previous commit after checking variable initialization, fix some initializations 2020-06-07 00:02:29 +02:00
Strangerke
de25db242a KINGDOM: Add the display of the optional last frame , make resources optional 2020-06-07 00:02:29 +02:00
Strangerke
a9216adcd8 KINGDOM: Start splitting Demo and Full DOS versions 2020-06-07 00:02:29 +02:00
Strangerke
36493f5bc2 KINGDOM: Refactor GPL4 2020-06-07 00:02:29 +02:00