Commit Graph

549 Commits

Author SHA1 Message Date
Strangerke
3740560153 LAB: Use constant for breadcrumbs-related loops 2015-12-25 02:18:07 +01:00
Willem Jan Palenstijn
f2194d595d Merge branch 'master' of github.com:scummvm/scummvm 2015-12-24 20:29:58 +01:00
Willem Jan Palenstijn
da2074146f LAB: Make tab behave more logically
When skipping to the next closeup, it seems to make little sense to
check the _graphicName of the current one.
2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
f42d896d99 LAB: Fill mouse position field for keypresses
This makes the tab key recognize the current mouse position
2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
ad182f1f69 LAB: Make readAction consistent with the other read functions 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
0d97d1af82 LAB: Avoid manual memory management of CloseData 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
1a1525a155 LAB: Avoid manual memory management of ViewData 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
cd3ebf687c LAB: Avoid manual memory management of RuleList 2015-12-24 20:28:57 +01:00
Strangerke
c191efa623 LAB: Remove the 3rd parameter of drawMap (always false) 2015-12-24 18:55:10 +01:00
Filippos Karapetis
92bc524984 LAB: Rename kMessageDeltaMove to kMessageMoveCursorToCloseup 2015-12-24 19:44:42 +02:00
Filippos Karapetis
a5553b3197 Use Common::Keycode and enums in interface buttons 2015-12-24 19:12:02 +02:00
Willem Jan Palenstijn
b614ccc2e8 LAB: Avoid manual memory management in Action lists 2015-12-24 17:42:40 +01:00
Filippos Karapetis
19303c49cf LAB: Rename closeFont() to freeFont() 2015-12-24 18:30:54 +02:00
Filippos Karapetis
c0f3131fbe LAB: Reorganize the code a bit in getMsg() 2015-12-24 18:30:41 +02:00
Filippos Karapetis
b2fad340b5 LAB: More cleanup of the keyboard handling code 2015-12-24 18:25:16 +02:00
Filippos Karapetis
9c749c7d2e LAB: Start to untangle the mess in the event code 2015-12-24 18:12:57 +02:00
Willem Jan Palenstijn
60657f9fd2 LAB: Simplify Anim output to buffer 2015-12-24 16:53:32 +01:00
Willem Jan Palenstijn
d98d39c315 LAB: Move dispBitMap to Anim 2015-12-24 16:51:02 +01:00
Willem Jan Palenstijn
dacbf9881c LAB: Make _dispBitmap handling more explicit 2015-12-24 16:16:48 +01:00
Willem Jan Palenstijn
442c1538a2 LAB: Clean up diff chunk handling 2015-12-24 16:02:22 +01:00
Willem Jan Palenstijn
82c610d160 LAB: Remove now-unused variable 2015-12-24 15:32:24 +01:00
Willem Jan Palenstijn
6ace70a625 LAB: Clarify and clean up drawJournalText 2015-12-24 15:28:25 +01:00
Willem Jan Palenstijn
a08dd694e5 LAB: Improve whitespace handling in flowText
flowText was handling presence/absence of whitespace after lines
inconsistently. This caused end-of-string to be missed, which broke
last-page detection in the journal. It also introduced extra spaces at the
beginning of pages.
2015-12-24 15:27:48 +01:00
Filippos Karapetis
6ad6632070 LAB: Remove excess delay in map 2015-12-24 13:07:53 +02:00
Filippos Karapetis
f8bf5ed867 LAB: Simplify flowText() a bit
Since the extra image buffer is only used in one place, we can save
ourselves one assignment
2015-12-24 13:07:18 +02:00
Filippos Karapetis
8b45875e24 LAB: Get rid of _screenImage
Thanks to wjp for finding this
2015-12-24 13:00:10 +02:00
Filippos Karapetis
28b5105f56 LAB: Move enums to the top of processroom.h 2015-12-24 12:38:26 +02:00
Filippos Karapetis
3097ac8f1e LAB: Change condition defines into an enum 2015-12-24 12:36:26 +02:00
Filippos Karapetis
f018b44ff8 LAB: Fix loading of journal text 2015-12-24 12:29:23 +02:00
Filippos Karapetis
4b3e671de5 LAB: Merge flowTextToMem() inside flowText() 2015-12-24 12:27:56 +02:00
Filippos Karapetis
7216bddd56 LAB: Merge setPen() into rectFill() 2015-12-24 12:08:51 +02:00
Filippos Karapetis
05973b9b41 LAB: Get rid of a superfluous variable 2015-12-24 11:59:03 +02:00
Strangerke
1206fe22b8 LAB: Fix out of bound in writeColorRegs 2015-12-24 08:30:50 +01:00
Strangerke
746f494c85 LAB: Fix bug in doTransWipe 2015-12-24 08:10:30 +01:00
Strangerke
9e048bc207 LAB: Stop adding useless garbage at the end of the savegames 2015-12-24 08:03:04 +01:00
Strangerke
5b3380c6e6 LAB: Initialize some variables in constructor 2015-12-24 07:47:46 +01:00
Strangerke
ba243ea587 LAB: Handle intro font in intro constructor and destructor 2015-12-24 02:03:00 +01:00
Strangerke
f4bc3c0ab4 LAB: Rename main intro function 2015-12-24 01:47:53 +01:00
Strangerke
887add323b LAB: Fix unsafe use of boolean 2015-12-24 01:44:22 +01:00
Strangerke
aa104040d4 LAB: Simplify the calls to doPictText 2015-12-24 01:42:21 +01:00
Strangerke
0bf89c1eec LAB: Cleanup the way shouldQuit is called 2015-12-24 01:21:40 +01:00
Strangerke
997150e76e LAB: Change the initial valueof _screenBytesPerPage, use it in Journal functions 2015-12-24 01:12:39 +01:00
Filippos Karapetis
6f6c92d470 LAB: Prevent the Image destructor from deleting the drawing buffer 2015-12-24 01:32:22 +02:00
Filippos Karapetis
7a7a25c91d LAB: The maxHeight parameter of readPict() is no longer used 2015-12-24 01:32:22 +02:00
Strangerke
b67b39038b LAB: Remove duplicate code in a switch 2015-12-24 00:08:41 +01:00
Filippos Karapetis
7c33862a09 LAB: The second parameter of fade() is always 0 2015-12-24 00:44:16 +02:00
Willem Jan Palenstijn
1d2f90f040 LAB: Fix build error on AmigaOS4 2015-12-23 23:06:10 +01:00
Filippos Karapetis
35f53bb522 LAB: Error out on unused opcodes
This also fixes a warning
2015-12-23 23:07:40 +02:00
Filippos Karapetis
9d7a2f4e7f LAB: Fix usage of drawMessage() with empty messages 2015-12-23 23:01:17 +02:00
Filippos Karapetis
70ec11d260 LAB: Change the direction and map door defines into enums 2015-12-23 22:59:59 +02:00