Commit Graph

29 Commits

Author SHA1 Message Date
Filippos Karapetis
c9b103b2db LAB: Use friendlier names for lists 2015-12-25 14:12:05 +02:00
Willem Jan Palenstijn
ad182f1f69 LAB: Make readAction consistent with the other read functions 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
0d97d1af82 LAB: Avoid manual memory management of CloseData 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
1a1525a155 LAB: Avoid manual memory management of ViewData 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
cd3ebf687c LAB: Avoid manual memory management of RuleList 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
b614ccc2e8 LAB: Avoid manual memory management in Action lists 2015-12-24 17:42:40 +01:00
Strangerke
0823ebb36f LAB: Reduce the use of redirections in Resource 2015-12-23 21:35:34 +01:00
Strangerke
b53735ba06 LAB: Constify some parameters 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
Filippos Karapetis
2a80c8066c LAB: Plug all the remaining resource-related memory leaks 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
4fb53ad170 LAB: Some renames, simplified saveGame() and loadGame() 2015-12-23 21:34:00 +01:00
Eugene Sandulenko
e5f753749f LAB: Reduced dependency on processroom.h. Yay! 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
Strangerke
2d0fab7f4c LAB: Use // for comments 2015-12-23 21:33:55 +01:00
Strangerke
8059277928 LAB: remove some useless forward references and includes 2015-12-23 21:33:54 +01:00
Strangerke
5636181b78 LAB: Move text functions to DisplayMan, some renaming 2015-12-23 21:33:52 +01:00
Filippos Karapetis
9ba30835a2 LAB: Refactor the remaining functions in labfile.cpp 2015-12-23 21:33:50 +01:00
Eugene Sandulenko
c320e6d0ae LAB: Move inventory to LabEngine class 2015-12-23 21:33:49 +01:00
Filippos Karapetis
359eda3b97 LAB: openDataFile can also be used without checking for a file header 2015-12-23 21:33:49 +01:00
Filippos Karapetis
24684fe321 LAB: Move getText to the Resource class
Also, make getFont() error out when it can't find a font, and get rid
of BigMsgFont
2015-12-23 21:33:45 +01:00
Strangerke
771e558d90 LAB: Move the global variable g_resource to the main engine class 2015-12-23 21:33:44 +01:00
Filippos Karapetis
12f4a71c73 LAB: Simplify getViewData, get rid of ViewDataPtr and ActionPtr 2015-12-23 21:33:40 +01:00
Filippos Karapetis
93b2e413fd LAB: Change the scene rule list to use a Common::List 2015-12-23 21:33:40 +01:00
Filippos Karapetis
b033b7e539 LAB: Simplify readInitialConditions() 2015-12-23 21:33:40 +01:00
Filippos Karapetis
01dffc75a1 LAB: Move static text loading to the Resource class 2015-12-15 00:05:02 +01:00
Filippos Karapetis
c67852d940 LAB: Initial implementation of the Resource class
This will eventually replace all the other resource loading routines
2015-12-15 00:05:02 +01:00