Commit graph

76 commits

Author SHA1 Message Date
Strangerke
4dfc428bac LAB: Some cleanup and refactoring 2015-12-23 21:35:32 +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
b9326e3850 LAB: Refactor some DispMan functions to use Common::String 2015-12-23 21:35:30 +01:00
Strangerke
a2097d2a2e LAB: Get rid of strcat by using Common::String 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
70396e6fba LAB: Handle some differences in the intro of the Amiga version 2015-12-23 21:34:10 +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
1c02487a00 LAB: Fix the intro of the DOS version 2015-12-23 21:34:09 +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
Strangerke
802a0d09dc LAB: Use Common::KEYCODE in several places 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
fbff6313b5 LAB: Initialize a variable. This should fix a Valgrind warning. 2015-12-23 21:34:06 +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
Strangerke
52d0243eff LAB: Fix the coding style of a some if/else statements 2015-12-23 21:34:05 +01:00
Eugene Sandulenko
aa718e4c84 LAB: Variable rename 2015-12-23 21:34:04 +01:00
Filippos Karapetis
dffaffdd09 LAB: Simplify calls to initMusic() 2015-12-23 21:34:02 +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
6668b76edc LAB: Remove some more useless g_lab 2015-12-23 21:34:02 +01:00
Filippos Karapetis
452c20ab8a LAB: Get rid of the rest of the custom time delay functions 2015-12-23 21:34:01 +01:00
Filippos Karapetis
1b0a7db0b6 LAB: Get rid of getTime(), readBlock() and getRandom()
Also, simplify some time-related functions
2015-12-23 21:34:01 +01:00
Strangerke
7bb45a8eaa LAB: Move timing functions to the utility class 2015-12-23 21:34:01 +01:00
Eugene Sandulenko
c42629674b LAB: Code naming, reduced variable scope 2015-12-23 21:33:58 +01:00
Eugene Sandulenko
9af853b6ab LAB: Reduced last reducable header: anim.h 2015-12-23 21:33:58 +01:00
Eugene Sandulenko
9015cf72a3 LAB: Reduced header dependency: interface.h 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
66f2935a22 LAB: Reduced header dependency: dispman.h, eventman.h 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
9a9b752c0e LAB: More header dependency redux 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
d8e01fe23a LAB: Reduce header dependency from music.h 2015-12-23 21:33:56 +01:00
Eugene Sandulenko
eccb852749 LAB: Removed unnecessary includes 2015-12-23 21:33:56 +01:00
Strangerke
ae056a767b LAB: Use doxygen format for function comments 2015-12-23 21:33:55 +01:00
Strangerke
3a1ee64761 LAB: Review spacing 2015-12-23 21:33:55 +01:00
Filippos Karapetis
75c9d0b585 LAB: Fix spelling 2015-12-23 21:33:53 +01:00
Strangerke
5636181b78 LAB: Move text functions to DisplayMan, some renaming 2015-12-23 21:33:52 +01:00
Strangerke
895d29c1ae LAB: Some more renaming, remove useless variables 2015-12-23 21:33:52 +01:00
Strangerke
785772e86f LAB: Move fade functions to DisplayMan, some renaming 2015-12-23 21:33:52 +01:00
Strangerke
ef99d82d13 LAB: Move more functions to DisplayMan 2015-12-23 21:33:51 +01:00
Filippos Karapetis
525db01913 LAB: Simplify several calls to flowText() and rectFill() 2015-12-23 21:33:51 +01:00
Filippos Karapetis
a182a6af1a LAB: Rewrite picture handling and get rid of the memory manager 2015-12-23 21:33:50 +01:00
Strangerke
733fbe4c62 LAB: Start working on a separate DisplayMan class 2015-12-23 21:33:50 +01:00
Strangerke
1d13083b29 LAB: Clean up includes in Intro 2015-12-23 21:33:47 +01:00
Strangerke
9ac98357bd LAB: Get rid of g_lab in Intro 2015-12-23 21:33:47 +01:00
Strangerke
2fb0250e0c LAB: Renaming of Anim 2015-12-23 21:33:46 +01:00
Strangerke
d656aa4859 LAB: Introduce the Anim class (WIP) 2015-12-23 21:33:46 +01:00
Filippos Karapetis
0fbf62f7f0 LAB: Plug several font-related memory leaks. Some cleanup 2015-12-23 21:33:45 +01:00