Commit Graph
681 Commits
Author SHA1 Message Date
Filippos Karapetis 07da047fa1 LAB: Fix the find_action command 2015-12-23 21:43:16 +01:00
Filippos Karapetis c855cd46df LAB: Extend the scene_resources command and add the find_action command 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 333d553716 LAB: Add a console, with two new commands (scene and scene_resources) 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 966f82d82e LAB: Clarify a bit the use of header in Anim 2015-12-23 21:35:35 +01:00
Strangerke 50a6cf12ef LAB: Add a safeguard on numChunks 2015-12-23 21:35:35 +01:00
Strangerke 040fa45cf1 LAB: Fix header define for Anim 2015-12-23 21:35:34 +01:00
Strangerke 8a3ff50d5c LAB: Remove _drawBitMap, make diffNextFrame a bit more readable 2015-12-23 21:35:34 +01:00
Strangerke 8c9d65b8cb LAB: Rename a member of Anim 2015-12-23 21:35:34 +01:00
Strangerke be4c436dca LAB: Move event update functions out of updateMusic 2015-12-23 21:35:34 +01:00
Strangerke 7380ddf400 LAB: Change RuleList to a Common::List<Rule> as suggested by wjp 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 db99a31acc LAB: Fix stupid regression 2015-12-23 21:35:34 +01:00
Strangerke 0823ebb36f LAB: Reduce the use of redirections in Resource 2015-12-23 21:35:34 +01:00
Strangerke 503b633866 LAB: Remove useless casts and dead code 2015-12-23 21:35:34 +01:00
Strangerke 108cbce3b5 LAB: Remove useless assignments 2015-12-23 21:35:34 +01:00
Strangerke 02b606e375 LAB: Avoid to delete _screenImage->_imageData, which causes a crash 2015-12-23 21:35:34 +01:00
Strangerke 26c48305b5 LAB: Add a couple of safeguards 2015-12-23 21:35:34 +01:00
Strangerke e88d09d2ec LAB: Fix delete in previous commit 2015-12-23 21:35:33 +01:00
Strangerke df05be466e LAB: Fix readString when encrypted strings are stored with a wrong size and multiple \0 2015-12-23 21:35:33 +01:00
Strangerke 137e12bf95 LAB: Fix regression in intro 2015-12-23 21:35:33 +01:00
Strangerke 10baf6b9a2 LAB: Finish moving function comments to header 2015-12-23 21:35:33 +01:00
Strangerke 46f792d82d LAB: Delete some more variables in LabEngine destructor 2015-12-23 21:35:33 +01:00
Strangerke 6aad3aebd9 LAB: Move some more comments to header files 2015-12-23 21:35:33 +01:00
Strangerke be1fd471be LAB: better fix of loadMapData, taking into account the other loops on _maps 2015-12-23 21:35:33 +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 2eeb027604 LAB: Revert previous commit as suggested by wjp 2015-12-23 21:35:32 +01:00
Strangerke eba44d3094 LAB: Close _curBitmap before deleting it 2015-12-23 21:35:32 +01:00
Strangerke b53735ba06 LAB: Constify some parameters 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 cc039ef113 LAB: Fix crash in intro 2015-12-23 21:35:32 +01:00
Strangerke feeaf09486 LAB: Use rectScale in two other places 2015-12-23 21:35:32 +01:00
Strangerke 6981d750ea LAB: Fix a bug pointed out by wjp in getObject 2015-12-23 21:35:31 +01:00
Strangerke 7e047b45b7 LAB: Fix a delete[] pointed out by eriktorbjorn 2015-12-23 21:35:31 +01:00
Strangerke af8f87d55d LAB: Fix compilation for non-MSVC compilers 2015-12-23 21:35:31 +01:00
Strangerke baa638fe2e LAB: Remove useless call to c_str 2015-12-23 21:35:31 +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 a41f9076c5 LAB: Fix malloc pointed by eriktorbjorn 2015-12-23 21:35:31 +01:00
Strangerke a4266d2109 LAB: Better handling of the Trial check in the puzzle 2015-12-23 21:35:31 +01:00
Strangerke 08a035f0e5 LAB: Fix loop in flooVisited 2015-12-23 21:35:31 +01:00
Strangerke c6e5232fa3 LAB: Fix bug identified by eriktorbjorn 2015-12-23 21:35:31 +01:00
Strangerke eaa6f3bd01 LAB: Fix some GCC warnings 2015-12-23 21:35:30 +01:00
Strangerke 28c74aed05 LAB: More work on the comments 2015-12-23 21:35:30 +01:00
Strangerke ee4e67a731 LAB: Move and improve function comments to header in DispMan 2015-12-23 21:35:30 +01:00