Commit Graph
681 Commits
Author SHA1 Message Date
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 d827faf156 LAB: Rename a parameter for consistency with other function definitions 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 1d9e3cd561 LAB: Remove useless variable 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
Strangerke 164b9d5a66 LAB: Use Common:KeyCode in keyPress() and getNextChar() 2015-12-23 21:35:30 +01:00
Strangerke df1376983d LAB: Simplify code related to _keyBuf handling 2015-12-23 21:35:29 +01:00
Filippos Karapetis 567ed6a57a LAB: Formatting 2015-12-23 21:35:29 +01:00
Filippos Karapetis 2a80c8066c LAB: Plug all the remaining resource-related memory leaks 2015-12-23 21:35:29 +01:00
Filippos Karapetis 406710bac6 LAB: Plug a memory leak in the sound effects code 2015-12-23 21:35:29 +01:00
Filippos Karapetis 11d16bb34f LAB: Remove some leftover MSVC memory leak tester code 2015-12-23 21:35:29 +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
Filippos Karapetis 5c480485d4 LAB: Simplify the Amiga music flags 2015-12-23 21:34:10 +01:00
Filippos Karapetis 4d5856a95e LAB: Handle the music encoding of the Amiga version 2015-12-23 21:34:10 +01:00
Filippos Karapetis 70396e6fba LAB: Handle some differences in the intro of the Amiga version 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
D G Turner a7afc80e18 LAB: Avoid variable shadowing compiler warning. 2015-12-23 21:34:09 +01:00
D G Turner 28bfce3de7 LAB: Correct variable shadows function compiler warning. 2015-12-23 21:34:09 +01:00
D G Turner 9048d08a05 LAB: Correct compiler warning in savegame code. 2015-12-23 21:34:09 +01:00
D G Turner e94b18aec7 LAB: Correct engine name spelling. No functional change. 2015-12-23 21:34:09 +01:00
Strangerke 691d9e7e2e LAB: Fix memory leaks in savegame code 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 1c02487a00 LAB: Fix the intro of the DOS version 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 12572a9c4b LAB: Merge enableButton() and disableButton() 2015-12-23 21:34:08 +01:00
Strangerke 15889e6fd2 LAB: Make processMap a bit more readable by using Rects 2015-12-23 21:34:08 +01:00
Filippos Karapetis b1fc785225 LAB: Use templates for the undiff functions 2015-12-23 21:34:08 +01:00
Strangerke f452834f70 LAB: Remove unused variables in DIFFHeader and BitMap 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 bc25b6be55 LAB: Change the graphics and audio code to use Common::File directly 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 318dc59382 LAB: Make setUpScreens() a bit easier to read 2015-12-23 21:34:08 +01:00
Filippos Karapetis b6bed0aed7 LAB: Simplify mouse button handling 2015-12-23 21:34:08 +01:00
Filippos Karapetis fdf09a6385 LAB: Some simplification of the mouse handling code 2015-12-23 21:34:08 +01:00
Filippos Karapetis 361aab82dc LAB: Fix regression in left click handling
A regression of 326d9b5872
2015-12-23 21:34:07 +01:00
Strangerke 540173de36 LAB: constify 2 variables in drawMap 2015-12-23 21:34:07 +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 8b16ccbea1 LAB: Get rid of mouseButton() 2015-12-23 21:34:07 +01:00
Filippos Karapetis 09539d76ac LAB: Remove superfluous function 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 f932f39214 LAB: reduce a variable scope, remove useless code 2015-12-23 21:34:07 +01:00
Strangerke eb6854e2c7 LAB: Add a short delay when changing screen so that the text is readable when changing screens 2015-12-23 21:34:07 +01:00