40 Commits

Author SHA1 Message Date
Strangerke
e55777aca0 LAB: Remove unused variable 2015-12-29 10:45:39 +01:00
Strangerke
2560fdb191 LAB: Make private some DispMan functions and variables, some renaming 2015-12-26 14:27:53 +01:00
Willem Jan Palenstijn
01d99d213d LAB: Reduce passing around of pointers to the near-global _closeDataPtr 2015-12-26 14:18:44 +01:00
Filippos Karapetis
19303c49cf LAB: Rename closeFont() to freeFont() 2015-12-24 18:30:54 +02:00
Willem Jan Palenstijn
d98d39c315 LAB: Move dispBitMap to Anim 2015-12-24 16:51:02 +01: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
7a7a25c91d LAB: The maxHeight parameter of readPict() is no longer used 2015-12-24 01:32:22 +02: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
52c7fcbfe5 LAB: Rename overlayRect() to checkerboardEffect() 2015-12-23 21:43:17 +01:00
Filippos Karapetis
c66d5eca3a LAB: setAmigaPal() is always using 16 colors 2015-12-23 21:43:17 +01:00
Filippos Karapetis
f7395ba0ab LAB: Rewrite the action message functionality (_doNotShowMessage) 2015-12-23 21:43:16 +01:00
Filippos Karapetis
f59ccf534c LAB: Get rid of the _doNotDrawMessage hack (from the original)
This is actually a nasty hack in the original to avoid duplicate
messages, but it ended up hiding some game messages. This hack isn't
really necessary at all for game functionality, so it has been
removed, without any notable side-effects
2015-12-23 21:35:35 +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
ae9c2fea51 LAB: Replace char* by Common::String in several functions 2015-12-23 21:35:31 +01:00
Strangerke
a4d3bda5c1 LAB: Use an array of Common::Strings instead of bytes in Action 2015-12-23 21:35:31 +01:00
Strangerke
ee4e67a731 LAB: Move and improve function comments to header in DispMan 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
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
D G Turner
a7afc80e18 LAB: Avoid variable shadowing compiler warning. 2015-12-23 21:34:09 +01:00
Filippos Karapetis
bc25b6be55 LAB: Change the graphics and audio code to use Common::File directly 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
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
21e6f40301 LAB: Fix a regression related to random number generation, some renaming 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
aa718e4c84 LAB: Variable rename 2015-12-23 21:34:04 +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
Strangerke
4a9286ef27 LAB: Move getWord to DisplayMan 2015-12-23 21:33:59 +01:00
Strangerke
199fa254f9 LAB: Rename CloseDataPtr pointers, some refactoring 2015-12-23 21:33:59 +01:00
Filippos Karapetis
f137e1af15 LAB: Use a local buffer for moving tiles in the tile puzzle
This fixes the crash when a tile is moved
2015-12-23 21:33:58 +01:00
Eugene Sandulenko
cf020db741 LAB: Converted DisplayMan::_dispBitMap to a pointer. 2015-12-23 21:33:58 +01:00
Eugene Sandulenko
8e9798a0bc LAB: Reduce header intra-dependency. Reduced image.h dependency 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
eccb852749 LAB: Removed unnecessary includes 2015-12-23 21:33:56 +01:00
Eugene Sandulenko
d2a540ea55 LAB: Rename graphics.* to dispman.* 2015-12-23 21:33:56 +01:00