Commit Graph

622 Commits

Author SHA1 Message Date
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