Commit graph

191 commits

Author SHA1 Message Date
Filippos Karapetis
1d3a3a24fa LAB: Fix regression in the tab handling code 2015-12-27 00:47:21 +02:00
Willem Jan Palenstijn
f23dcd64b0 LAB: Make breadcrumb key checks more consistent
This platform check was lost in
60d4f0a069.
2015-12-26 18:55:31 +01:00
Strangerke
dd78b9208b LAB: Add hardcoded data for cumbs images 2015-12-26 17:11:39 +01:00
Willem Jan Palenstijn
33ed5af212 LAB: Remove type ConstDataPtr, add consts 2015-12-26 15:14:37 +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
Willem Jan Palenstijn
e3ce65cce8 LAB: Reduce passing around of pointers to the near-global _closeDataPtr 2015-12-26 14:04:39 +01:00
Willem Jan Palenstijn
6daf92cbf4 LAB: Reduce passing around of pointers to the near-global _closeDataPtr 2015-12-26 13:58:07 +01:00
Filippos Karapetis
7f2b69b75c LAB: Rename fromCrumbs() to processEvent() and simplify it a bit 2015-12-25 14:12:06 +02:00
Willem Jan Palenstijn
23ace32e09 LAB: Simplify tab handling 2015-12-25 11:20:03 +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
0d97d1af82 LAB: Avoid manual memory management of CloseData 2015-12-24 20:28:57 +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
Filippos Karapetis
19303c49cf LAB: Rename closeFont() to freeFont() 2015-12-24 18:30:54 +02:00
Filippos Karapetis
3097ac8f1e LAB: Change condition defines into an enum 2015-12-24 12:36:26 +02:00
Strangerke
f4bc3c0ab4 LAB: Rename main intro function 2015-12-24 01:47:53 +01:00
Strangerke
0bf89c1eec LAB: Cleanup the way shouldQuit is called 2015-12-24 01:21:40 +01: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
Filippos Karapetis
f9641a6d66 LAB: Show a more descriptive message when save/restore is aborted 2015-12-23 21:43:17 +01:00
Filippos Karapetis
d30ee82cdb LAB: Use camelCase for a variable name 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
Filippos Karapetis
ced5b677f6 LAB: Add enums for action types, rule types ad rule actions 2015-12-23 21:35:35 +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
be4c436dca LAB: Move event update functions out of updateMusic 2015-12-23 21:35:34 +01:00
Strangerke
f3db3ba305 LAB: Remove deletes from mainGameLoop
Those are already handled properly in the engine destructor, as pointed by eriktorbjorn
2015-12-23 21:35:34 +01:00
Strangerke
9b6851c1a7 LAB: Safeguard: Set some variables to null pointer after deleting them 2015-12-23 21:35:33 +01:00
Strangerke
fa222f0ca8 LAB: Make string check more readable, remove a useless c_str() 2015-12-23 21:35:32 +01:00
Strangerke
2edd0c5142 LAB: Remove a couple of useless calls to c_Str() 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
4dfc428bac LAB: Some cleanup and refactoring 2015-12-23 21:35:32 +01:00
Strangerke
28c74aed05 LAB: More work on the comments 2015-12-23 21:35:30 +01:00
Strangerke
3fcd3c1526 LAB: Avoid memory leaks with fonts 2015-12-23 21:35:30 +01:00
Strangerke
7f5826cfcb LAB: Fix check of ending animation, some renaming 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
eb70efc900 LAB: Simplify decIncInv() 2015-12-23 21:34:10 +01:00
Filippos Karapetis
f1bb844e90 LAB: Fix a memory leak in the Image class 2015-12-23 21:34:10 +01:00
Strangerke
5c360b4021 LAB: Remove dead code 2015-12-23 21:34:09 +01:00
Strangerke
b3b3c0cfd5 LAB: Remove parameters from processMainButton and performAction 2015-12-23 21:34:09 +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
0004488441 LAB: Simplify decIncInv() and move action handling out of fromCrumbs() 2015-12-23 21:34:09 +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
054a7a1e19 LAB: Use Common::Rect in functions related to flowText (WIP) 2015-12-23 21:34:07 +01:00
Filippos Karapetis
5aef1367e2 LAB: Remove useless checks, and clean up the mouse processing code 2015-12-23 21:34:07 +01:00
Filippos Karapetis
005e077551 LAB: Some renames 2015-12-23 21:34:07 +01:00
Strangerke
5ed11d721c LAB: Verify the appropriate use of parenthesis in if statements 2015-12-23 21:34:06 +01:00
Strangerke
9c7e372a21 LAB: make takeItem use Common::Point, some refactoring 2015-12-23 21:34:06 +01:00