98 Commits

Author SHA1 Message Date
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Filippos Karapetis
816381bbfe LAB: Move frame waiting outside setAmigaPal() 2016-01-14 23:41:32 +02:00
Filippos Karapetis
7aafcaca1a LAB: Move music reset code into a separate function 2016-01-14 23:41:28 +02:00
Filippos Karapetis
b72c02bad4 LAB: Simplify and clean up the intro code 2016-01-05 21:47:31 +02:00
Filippos Karapetis
c5f5fbc208 LAB: Refactor the music code 2015-12-27 21:16:43 +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
Strangerke
55f236f6ff LAB: Fix glitch when skipping intro 2015-12-26 23:11:04 +01:00
Filippos Karapetis
19303c49cf LAB: Rename closeFont() to freeFont() 2015-12-24 18:30:54 +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
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
Filippos Karapetis
7c33862a09 LAB: The second parameter of fade() is always 0 2015-12-24 00:44:16 +02:00
Filippos Karapetis
c66d5eca3a LAB: setAmigaPal() is always using 16 colors 2015-12-23 21:43:17 +01:00
Filippos Karapetis
29d85c8d50 LAB: Use int in for loops, instead of uint16 2015-12-23 21:43:17 +01:00
Strangerke
34b59256fc LAB: Replace g_system by _system 2015-12-23 21:43:16 +01:00
Filippos Karapetis
f7395ba0ab LAB: Rewrite the action message functionality (_doNotShowMessage) 2015-12-23 21:43:16 +01:00
Strangerke
be4c436dca LAB: Move event update functions out of updateMusic 2015-12-23 21:35:34 +01:00
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