Commit graph

144 commits

Author SHA1 Message Date
Filippos Karapetis
8b45875e24 LAB: Get rid of _screenImage
Thanks to wjp for finding this
2015-12-24 13:00:10 +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
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
7c33862a09 LAB: The second parameter of fade() is always 0 2015-12-24 00:44:16 +02:00
Willem Jan Palenstijn
10d9d8dee5 LAB: Fix warnings by adding consts 2015-12-23 21:51:39 +01:00
Filippos Karapetis
29d85c8d50 LAB: Use int in for loops, instead of uint16 2015-12-23 21:43:17 +01:00
Strangerke
be4c436dca LAB: Move event update functions out of updateMusic 2015-12-23 21:35:34 +01:00
Strangerke
503b633866 LAB: Remove useless casts and dead code 2015-12-23 21:35:34 +01:00
Strangerke
108cbce3b5 LAB: Remove useless assignments 2015-12-23 21:35:34 +01:00
Strangerke
26c48305b5 LAB: Add a couple of safeguards 2015-12-23 21:35:34 +01:00
Strangerke
b53735ba06 LAB: Constify some parameters 2015-12-23 21:35:32 +01:00
Strangerke
cff1f99b26 LAB: Set a default to the second parameter of readPict 2015-12-23 21:35:32 +01:00
Strangerke
baa638fe2e LAB: Remove useless call to c_str 2015-12-23 21:35:31 +01:00
Strangerke
ae9c2fea51 LAB: Replace char* by Common::String in several functions 2015-12-23 21:35:31 +01:00
Strangerke
28c74aed05 LAB: More work on the comments 2015-12-23 21:35:30 +01:00
Strangerke
2981ccc243 LAB: get rid of the last strcpy 2015-12-23 21:35:30 +01:00
Strangerke
3fcd3c1526 LAB: Avoid memory leaks with fonts 2015-12-23 21:35:30 +01:00
Filippos Karapetis
3e8eaa2c35 LAB: Use Common::String for strings, removing a ton of memory leaks
Also, add a method to properly free room views
2015-12-23 21:35:27 +01:00
Filippos Karapetis
c5528a631d LAB: Handle some differences of the Amiga version
The Amiga version is still not working, as the CONTROL and INV files
are missing, and the format of the font files is different
2015-12-23 21:34:09 +01:00
Filippos Karapetis
12572a9c4b LAB: Merge enableButton() and disableButton() 2015-12-23 21:34:08 +01:00
Filippos Karapetis
69680808d0 LAB: Remove unused variable 2015-12-23 21:34:08 +01:00
Filippos Karapetis
832d87e0bf LAB: Use Common::Point in IntuiMessage 2015-12-23 21:34:08 +01:00
Filippos Karapetis
b6bed0aed7 LAB: Simplify mouse button handling 2015-12-23 21:34:08 +01:00
Strangerke
25509777aa LAB: Get rid of flowTextScaled 2015-12-23 21:34:07 +01:00
Strangerke
054a7a1e19 LAB: Use Common::Rect in functions related to flowText (WIP) 2015-12-23 21:34:07 +01:00
Filippos Karapetis
605c2e553b LAB: Use common keycodes instead of direct keycode values 2015-12-23 21:34:07 +01:00
Filippos Karapetis
005e077551 LAB: Some renames 2015-12-23 21:34:07 +01:00
Strangerke
83126e84ee LAB: Make the use of nullptr consistent through the engine 2015-12-23 21:34:06 +01:00
Strangerke
eab6682929 LAB: Add some checks to quit the game quickly when closing ScummVM 2015-12-23 21:34:06 +01:00
Strangerke
e71f28d0ba LAB: Reorder mouse position check in processMonitor in order to avoid duplicate checks 2015-12-23 21:34:05 +01:00
Strangerke
69294eccb0 LAB: Some renaming in DisplayMan 2015-12-23 21:34:05 +01:00
Strangerke
e0de03463e LAB: Use strlen to compute text length instead of a difference between start and end address. Some refactoring. 2015-12-23 21:34:05 +01:00
Eugene Sandulenko
167d9c48a3 LAB: Reduced scope of a few more variables 2015-12-23 21:34:05 +01:00
Eugene Sandulenko
aa718e4c84 LAB: Variable rename 2015-12-23 21:34:04 +01:00
Strangerke
974740d307 LAB: Some renaming in LabEngine 2015-12-23 21:34:03 +01:00
Strangerke
ad54a75b85 LAB: Add _vm to Image class 2015-12-23 21:34:03 +01:00
Filippos Karapetis
2332fb617c LAB: Rename gadget to button 2015-12-23 21:34:03 +01:00
Filippos Karapetis
577b60d785 LAB: Move getMsg to the event manager 2015-12-23 21:34:02 +01:00
Strangerke
7c1401264c LAB: Remove interface.h, get rid of a lot of useless defines 2015-12-23 21:34:02 +01:00
Strangerke
c837e67070 LAB: Move interface functions to EventMan 2015-12-23 21:34:02 +01:00
Strangerke
7efd471a92 LAB: check header define names, rename a parameter of processMonitor() 2015-12-23 21:34:02 +01:00
Strangerke
ac346869f7 LAB: Remove a useless use of g_lab 2015-12-23 21:34:01 +01:00
Strangerke
aef304a83b LAB: Some renaming and refactoring in special.cpp 2015-12-23 21:34:01 +01:00
Filippos Karapetis
aa7ec3654d LAB: Refactor readPictToMem()
This fixes crashes in the teleporter and the journal, and plugs several
memory leaks
2015-12-23 21:34:00 +01:00
Eugene Sandulenko
165c0b3b49 LAB: More vars renaming 2015-12-23 21:34:00 +01:00
Strangerke
67b3960968 LAB: Remove some useless use of g_lab 2015-12-23 21:33:59 +01:00