Commit Graph

720 Commits

Author SHA1 Message Date
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Johannes Schickel
7fde01b658 LAB: Remove gap handling from removeSaveState.
This removes the annoying behavior that removing a save state causes your
physical files to be renamed.
2016-03-08 19:07:48 +01:00
Johannes Schickel
0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Bendegúz
82e73c38fc LAB: Process events during ending sequence
LAB: Fix bug #7022 - Events not processed during ending sequence
2016-03-05 15:33:34 +01:00
Kirben
1ad3b6d3cf LAB: Remove ADGF_TESTING from DOS version of Labyrinth of Time. 2016-02-28 11:13:49 +11:00
Johannes Schickel
c31fdb1efc LAB: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Johannes Schickel
9d3fdfc300 LAB: Enable by default.
Thanks to tsoliman for noticing.
2016-02-10 07:00:16 +01:00
Filippos Karapetis
c5d78ecd63 LAB: Allow saving/loading in animated scenes - bug #7014 2016-02-08 00:19:06 +02:00
Filippos Karapetis
eb97c05ccc LAB: Merge all the different scene restoring code after saving/loading 2016-02-08 00:19:05 +02:00
Filippos Karapetis
e6fbf372fb LAB: Fix wrong glowing belt file in getInvName()
A regression from 4fb53ad170
2016-02-02 21:19:59 +02:00
Willem Jan Palenstijn
727ba4f2b1 LAB: Fix loading rules from room 0
Regression from cd3ebf687c.

This fixes bug #6997.
2016-02-02 00:18:34 +01:00
Johannes Schickel
b2db9434de LAB: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Strangerke
6e95d092f5 LAB: Fix the coordinates of the inventory buttons of the non-Windows versions 2016-01-26 00:31:52 +01:00
Strangerke
75d1385c8d LAB: Wait for the end of sound effects when they are played in Diff files. Fixes toilet noises. 2016-01-25 01:11:51 +01:00
Strangerke
2f03bc7776 LAB: Add a workaround to load the right file in rooms 121 & 122 (Dos and Windows) 2016-01-25 00:35:38 +01:00
Strangerke
fb34336863 LAB: Do not crash the DOS version in case of missing file as some files are known to be missing in the original 2016-01-25 00:21:28 +01:00
Strangerke
78b9a903ad LAB: Add a workaround for DOS version using long filenames 2016-01-24 13:34:37 +01:00
Strangerke
9793201dea LAB: Remove testing flag on the Amiga version, set it as unsupported 2016-01-24 01:38:29 +01:00
Strangerke
4c43e575b3 LAB: Fix DOS filename in speciallocks 2016-01-24 01:36:00 +01:00
Filippos Karapetis
792ae03373 LAB: Mark all versions as testing 2016-01-23 03:18:52 +02:00
Filippos Karapetis
617ca2e306 LAB: Move mouse code in interfaceOn, for consistency with interfaceOff 2016-01-23 03:18:52 +02:00
Filippos Karapetis
f3cdd217ba LAB: Get rid of _interfaceOff 2016-01-15 21:03:58 +02:00
Filippos Karapetis
afa75b7047 LAB: Separate the interface from the event manager 2016-01-15 21:03:57 +02:00
Filippos Karapetis
ad1aac46ce LAB: Remove superfluous calls to updateEvents()
These are leftovers, as updateEvents() was called to fill in the music
buffer
2016-01-14 23:41:36 +02:00
Filippos Karapetis
924d43b7aa LAB: Better separation of the event and interface code 2016-01-14 23:41:35 +02:00
Filippos Karapetis
46fdd5e7a4 LAB: Clean up the trial warning handling code 2016-01-14 23:41:35 +02:00
Filippos Karapetis
e8d1100fec LAB: Allow the game to be launched from the GAME folder
The FONTS folder is pretty much useless, so if a user points ScummVM
to the GAME folder, handle the game files properly
2016-01-14 23:41:34 +02:00
Filippos Karapetis
280bd0f7c2 LAB: Read the header of DIFF files when opening them 2016-01-14 23:41:34 +02:00
Filippos Karapetis
b61ade788e LAB: Call checkRoomMusic() when changing a room 2016-01-14 23:41:33 +02:00
Filippos Karapetis
374a76c89f LAB: Use the sample speed value instead of a define for game music 2016-01-14 23:41:33 +02:00
Filippos Karapetis
ce5f8f32cb LAB: Clean up the event loops of special game screens 2016-01-14 23:41:32 +02:00
Filippos Karapetis
816381bbfe LAB: Move frame waiting outside setAmigaPal() 2016-01-14 23:41:32 +02:00
Filippos Karapetis
0f45658259 LAB: Fix accidental change to code style 2016-01-14 23:41:31 +02:00
Filippos Karapetis
4f0985c2de LAB: Hide the mouse cursor while fading when closing the map 2016-01-14 23:41:31 +02:00
Filippos Karapetis
1d4a62a028 LAB: Properly update the screen in monitors 2016-01-14 23:41:31 +02:00
Filippos Karapetis
241c9829f6 LAB: Rename doCloseup() to reflect its actual purpose 2016-01-14 23:41:30 +02:00
Filippos Karapetis
cd2520b795 LAB: Get rid of setDirection()
A leftover from code restructuring
2016-01-14 23:41:30 +02:00
Filippos Karapetis
463f889447 LAB: Rename the members of the CrumbData struct
This helps to distinguish them from the LabEngine variables
2016-01-14 23:41:29 +02:00
Filippos Karapetis
cb0f7e8a92 LAB: Cleanup and reorder the music code 2016-01-14 23:41:29 +02:00
Filippos Karapetis
7aafcaca1a LAB: Move music reset code into a separate function 2016-01-14 23:41:28 +02:00
Filippos Karapetis
49a45a21ce LAB: The parameter of doMap() isn't needed 2016-01-14 23:41:27 +02:00
Filippos Karapetis
d76fe85af4 LAB: Prevent duplicate processing of input 2016-01-11 01:50:11 +02:00
Filippos Karapetis
38df43fe55 LAB: Prevent excessive screen updates when checking for events 2016-01-11 01:50:10 +02:00
Filippos Karapetis
31d47d6be2 LAB: Bugfixes for the lowres DOS version
The lowres DOS version should be working properly now
2016-01-08 02:01:28 +02:00
Filippos Karapetis
e3b9f726a1 LAB: Remove superfluous class variables 2016-01-08 02:01:28 +02:00
Filippos Karapetis
5b5efd4cbe LAB: Use the same text rect in monitors for DOS and Windows versions
The Windows rectangle looks better than the DOS one, with some small
spacing on the top left. This is a minor enhancement, and it does help
to make the monitors slightly better. Also, this helps us clean up the
monitor code a bit
2016-01-08 02:01:27 +02:00
Torbjörn Andersson
a330d993ae LAB: Use cursor manager to set, show and hide the cursor
While not strictly necessary, without this the debug console will
mess up the cursor on closing, because it doesn't know what cursor
to restore.
2016-01-06 11:19:53 +01:00
Willem Jan Palenstijn
15bbcff786 LAB: Fix switching between texts in monitor 2016-01-05 23:00:06 +01:00
Willem Jan Palenstijn
1eed77c376 LAB: Fix end-of-text detection in monitor 2016-01-05 22:59:14 +01:00
Willem Jan Palenstijn
9cb7535e6d LAB: Ignore clicks in empty region in monitor
Regression from e71f28d0ba
2016-01-05 22:05:23 +01:00
Filippos Karapetis
b72c02bad4 LAB: Simplify and clean up the intro code 2016-01-05 21:47:31 +02:00
Torbjörn Andersson
e5189bad67 LAB: Initialise _displayBuffer to silence Valgrind warning
Otherwise, its contents will be undefined on the first screen
update. That could probably be fixed by introducing some sort of
"dirty rect" mechanism, but I don't think it's a bad idea to
initialise it regardless.
2015-12-31 10:58:09 +01:00
Strangerke
9834d37b33 LAB: Reduce the scope of some variables 2015-12-29 13:31:34 +01:00
Strangerke
b580d2d1d0 LAB: Simplify code in doCloseUp 2015-12-29 12:47:37 +01:00
Strangerke
583f86be27 LAB: Simplify code in perFlipButton 2015-12-29 12:32:09 +01:00
Strangerke
0ca10a7d40 LAB: Remove two other unused variables 2015-12-29 10:48:26 +01:00
Strangerke
e55777aca0 LAB: Remove unused variable 2015-12-29 10:45:39 +01:00
Torbjörn Andersson
9ec9bca25b LAB: Fix small getFont() memory leak 2015-12-28 11:05:36 +01:00
Torbjörn Andersson
fe47fec521 LAB: Free the remaining parts of _moveButtonList and _invButtonList
We can't use freeButtonList(), because apparently some of the button
images are shared between the two lists. At least, that's how I
understand it.
2015-12-28 11:05:36 +01:00
Filippos Karapetis
f6e42a7282 LAB: Simulate events by setting an unused key 2015-12-28 01:59:17 +02:00
Filippos Karapetis
5c75ac9898 LAB: Fix loading from the GMM and warping to rooms from the console 2015-12-28 01:04:28 +02:00
Filippos Karapetis
3977a7ffa1 LAB: Add support for saving and loading games from the GMM 2015-12-27 23:22:54 +02:00
Filippos Karapetis
4548cbddb5 LAB: Add support for loading games from the launcher 2015-12-27 23:07:41 +02:00
Filippos Karapetis
bb34bc94ec LAB: Fix the shortcut keys for the journal buttons 2015-12-27 22:55:38 +02:00
Filippos Karapetis
a7959a4ed4 LAB: Remove superfluous mouse show/hide calls
Our mouse cursor is drawn in a separate layer, so we can draw on the
screen without needing to hide it beforehand
2015-12-27 22:50:09 +02:00
Filippos Karapetis
b0a029cd64 LAB: Remove superfluous mouseShow() calls in diffNextFrame()
This fixes the incorrectly visible cursor in the intro
2015-12-27 22:47:44 +02:00
Filippos Karapetis
ab8382418d LAB: Do not pause the background music when a sound effect is played 2015-12-27 21:42:51 +02:00
Filippos Karapetis
70822b32b0 LAB: Some more cleanup to the music code 2015-12-27 21:42:05 +02:00
Filippos Karapetis
f0ee57b6db LAB: Remove now unused define 2015-12-27 21:31:10 +02:00
Filippos Karapetis
f382321fb3 LAB: Reorder a function 2015-12-27 21:20:22 +02:00
Filippos Karapetis
c5f5fbc208 LAB: Refactor the music code 2015-12-27 21:16:43 +02:00
Filippos Karapetis
29342b1331 LAB: Document usage of some opcodes and mark some unused ones 2015-12-27 21:13:09 +02:00
Strangerke
d393674100 LAB: Allow to skip more efficiently the intro while the 2nd screen is displayed 2015-12-27 15:23:51 +01:00
Willem Jan Palenstijn
a49ffcd87b LAB: Remove some unnecessary casts 2015-12-27 13:52:34 +01:00
Filippos Karapetis
662649319b LAB: Simplify fillBuffer() 2015-12-27 14:36:02 +02:00
Filippos Karapetis
764d261873 LAB: Unify the sound flags code for music and sound effects 2015-12-27 14:36:01 +02:00
Filippos Karapetis
684830082b LAB: Simplify resetMusic() 2015-12-27 14:36:01 +02:00
Filippos Karapetis
e2d019f9d1 LAB: Rename _lastMusicRoom to _curRoomMusic 2015-12-27 14:36:00 +02:00
Filippos Karapetis
e4745a0b20 LAB: Remove incorrect mouse cursor hiding at the start of every anim
This resulted in having the mouse cursor flash in scenes with animation
(e.g. the Surreal Maze)
2015-12-27 14:36:00 +02:00
Filippos Karapetis
bce260bb5f LAB: Get rid of _doReset
This resulted in calling resetMusic() twice
2015-12-27 14:36:00 +02:00
Willem Jan Palenstijn
86a593af09 LAB: Simplify check order 2015-12-27 13:34:50 +01:00
Strangerke
e06252cda5 LAB: Init the mouse in the center of the screen 2015-12-27 11:30:56 +01:00
Strangerke
c0e64a091a LAB: Review the variable types used in Special, reduce the scope of some variables 2015-12-27 11:20:54 +01:00
Strangerke
9bc8d25b02 LAB: Remove a useless assignment 2015-12-27 11:00:05 +01:00
Strangerke
bc368c6967 LAB: Remove useless pragma 2015-12-27 01:30:00 +01:00
Strangerke
2bad773046 LAB: Use an enum for special room ids 2015-12-27 01:05:43 +01:00
Strangerke
3712befbd7 LAB: Remove unused defines 2015-12-27 00:46:41 +01:00
Filippos Karapetis
3215d14e82 LAB: Rename TilePuzzle to SpecialLocks, to better reflect its purpose
This class handles two different special locks, the tile puzzle and
the combination door
2015-12-27 01:42:45 +02:00
Willem Jan Palenstijn
428f9acdcf LAB: Revert functional change of cleanup commit
(7f2b69b75c)
2015-12-27 00:29:05 +01:00
Filippos Karapetis
56c5919c3d LAB: Fix crash in the the door number puzzle 2015-12-27 01:14:55 +02:00
Filippos Karapetis
1d3a3a24fa LAB: Fix regression in the tab handling code 2015-12-27 00:47:21 +02:00
Strangerke
55f236f6ff LAB: Fix glitch when skipping intro 2015-12-26 23:11:04 +01:00
Willem Jan Palenstijn
90ac7a2bcb LAB: Clean up Image._imageData memory handling 2015-12-26 21:59:10 +01:00
Willem Jan Palenstijn
e4027040a8 LAB: Remove useless virtual keywords 2015-12-26 21:30:55 +01:00
Strangerke
3cc42273c5 LAB: Remove an unused function in EventManager 2015-12-26 20:41:30 +01:00
Strangerke
ce81ddbb4e LAB: Rename 'im' to 'img' for naming consistency 2015-12-26 20:32:29 +01:00
Willem Jan Palenstijn
f23dcd64b0 LAB: Make breadcrumb key checks more consistent
This platform check was lost in
60d4f0a069.
2015-12-26 18:55:31 +01:00
Strangerke
dd78b9208b LAB: Add hardcoded data for cumbs images 2015-12-26 17:11:39 +01:00
Willem Jan Palenstijn
e4fbcabbc9 LAB: Fix map
Regression from be1fd471be.
2015-12-26 17:07:28 +01:00
Strangerke
286cd81643 LAB: Rewrite while statements in blitBitmap 2015-12-26 16:14:25 +01:00