Commit graph

20 commits

Author SHA1 Message Date
Matthew Jimenez
ee5ebec7ca IMAGE: Remove palette start from image decoder.
The palette start value was always zero, adding complexity without benefit.
2024-03-31 23:16:59 +03:00
Le Philousophe
94f6c8852b CRYOMNI3D: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Le Philousophe
4c55d7ae3f CRYOMNI3D: Completely rework file accesses
The previous assumption that all files were identical is wrong.
Use full paths to make it work properly.
2023-04-02 17:05:27 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Le Philousophe
1bc068decd CRYOMNI3D: Fix Coverity warnings
- Add initializations to constructors
- Use correct variable
- Fix unintended sign extension because of int promotion
- Use camelCase for variable names
2020-02-16 20:20:46 +01:00
Le Philousophe
38bead0c37 JANITORIAL/CRYOMNI3D: Fix warnings in MSVC
Most of them were due to setting -1 to unsigned values
Else it was bogus unintialized values
2019-06-30 16:46:32 +02:00
Le Philousophe
3915be8ff1 CRYOMNI3D: Implement load/save in-game with GMM 2019-06-08 12:43:22 +02:00
Le Philousophe
89922138e2 CRYOMNI3D: Use CursorMan instead of using backend directly
This avoids bugs when GMM is displayed.
It uses GMM like all dialogs in ScummVM and without CursorMan our cursor
get erased when GMM is closed.
2019-06-08 12:43:22 +02:00
Le Philousophe
f25102ac76 CRYOMNI3D: Put delayMillis out of pollEvents
This let's improve reaction times
2019-06-01 22:43:48 +02:00
Le Philousophe
28206dd554 CRYOMNI3D: Fix include paths 2019-06-01 22:43:48 +02:00
Le Philousophe
ff197718c2 CRYOMNI3D: Rename unsigned int to uint 2019-06-01 22:43:48 +02:00
Le Philousophe
01f6e2db12 CRYOMNI3D: Implement countdown 2019-06-01 22:43:48 +02:00
Le Philousophe
91d0f43cbf CRYOMNI3D: Add ability to choose ZON file
That's only used for workaround when an unused image file hasn't any ZON
file for it
2019-06-01 22:43:48 +02:00
Le Philousophe
17887c713e CRYOMNI3D: Reset key pressed
Without that we have spurious presses when there is no event
2019-06-01 22:43:48 +02:00
Le Philousophe
349201ba15 CRYOMNI3D: Let callback modify displayed fixed image 2019-06-01 22:43:48 +02:00
Le Philousophe
5a0d511ebd CRYOMNI3D: Use typedef instead of repeating 2019-06-01 22:43:48 +02:00
Le Philousophe
c83f86a245 CRYOMNI3D: Fix file names for Macintosh version
Add a function to unify extensions handling.
That lets us substitute dashes by underscore on PC versions of
Versailles and fix dashes for Macintosh.
2019-06-01 22:43:48 +02:00
Le Philousophe
84b60b92bd CRYOMNI3D: Fix appending of files extensions
We clear the previous extension and even if there is none, we must
append the new one
2019-06-01 22:43:48 +02:00
Le Philousophe
531aa8392e CRYOMNI3D: Add engine for Versailles 1685 2019-06-01 22:43:48 +02:00