Commit Graph

157 Commits

Author SHA1 Message Date
Strangerke
f817c1de2e LAB: Get rid of stddefines 2015-12-23 21:33:45 +01:00
Filippos Karapetis
0fbf62f7f0 LAB: Plug several font-related memory leaks. Some cleanup 2015-12-23 21:33:45 +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
Filippos Karapetis
51d04a8187 LAB: Remove leftover debug code 2015-12-23 21:33:45 +01:00
Eugene Sandulenko
06b8eb856e LAB: C++'ify vga.cpp 2015-12-23 21:33:45 +01:00
Eugene Sandulenko
29fc7a56c1 LAB: Fix warning 2015-12-23 21:33:45 +01:00
Eugene Sandulenko
fa8d319e31 LAB: More renames 2015-12-23 21:33:45 +01:00
Eugene Sandulenko
6d4b71e2ce LAB: Renames in vga.cpp 2015-12-23 21:33:45 +01:00
Strangerke
8dbdc70de4 LAB: Fix stopDiffEnd. This fixes the intro (between others) 2015-12-23 21:33:44 +01:00
Strangerke
4a90aba77a LAB: Get rid of a goto 2015-12-23 21:33:44 +01:00
Strangerke
d45d46c2cb LAB: Rename music source file 2015-12-23 21:33:44 +01:00
Strangerke
6395095b83 LAB: Move crumb variables to main class 2015-12-23 21:33:44 +01:00
Strangerke
17678103db LAB: Move Music declaration to a separate header file 2015-12-23 21:33:44 +01:00
Strangerke
11df8b5cf7 LAB: Make consistent the type of pen number 2015-12-23 21:33:44 +01:00
Strangerke
6cee2eb2be LAB: Move RoomNum to main engine class 2015-12-23 21:33:44 +01:00
Strangerke
d0c6c73036 LAB: Rename _music, delete it in engine destructor 2015-12-23 21:33:44 +01:00
Strangerke
05f54b7fe0 LAB: Make _music a member of LabEngine instead of a global 2015-12-23 21:33:44 +01:00
Strangerke
771e558d90 LAB: Move the global variable g_resource to the main engine class 2015-12-23 21:33:44 +01:00
Strangerke
0c84355f4a LAB: Move IsHiRes to main engine class 2015-12-23 21:33:43 +01:00
Strangerke
db773d92b7 LAB: Remove useless redirections 2015-12-23 21:33:43 +01:00
Strangerke
18fc6fd102 LAB: Add some feedback when a file isn't found 2015-12-23 21:33:43 +01:00
Strangerke
d96484d81c LAB: Move mouse code in separate class, move some functions to LabEngine. (WIP) 2015-12-23 21:33:43 +01:00
Strangerke
8d70f33efe LAB: Rename RoomData members 2015-12-23 21:33:43 +01:00
Strangerke
c485d9e8a6 LAB: Some rework related to the mouse code 2015-12-23 21:33:43 +01:00
Strangerke
ff2def7da1 LAB: Check all the 'for' loops, reduce the scope of variable accordingly 2015-12-23 21:33:43 +01:00
Strangerke
b76a624c9a LAB: Fix several cppcheck errors 2015-12-23 21:33:43 +01:00
Eugene Sandulenko
93e3ba9edd LAB: Put vga.cpp into LabEngine class 2015-12-23 21:33:43 +01:00
Eugene Sandulenko
4b65faaa63 LAB: More renames in vga.cpp 2015-12-23 21:33:43 +01:00
Eugene Sandulenko
06c2e60cf0 LAB: Further renaming of vga code 2015-12-23 21:33:43 +01:00
Eugene Sandulenko
f56f2effb4 LAB: Started vga code refactoring 2015-12-23 21:33:42 +01:00
Eugene Sandulenko
c187a3bda9 LAB: Add intro.h 2015-12-23 21:33:41 +01:00
Eugene Sandulenko
158f623db8 LAB: Rename IntuiMessage struct members 2015-12-23 21:33:41 +01:00
Eugene Sandulenko
fd8215454c LAB: Objectify intro code 2015-12-23 21:33:41 +01:00
Eugene Sandulenko
36684eb1ba LAB: get rid of timing.h 2015-12-23 21:33:41 +01:00
Eugene Sandulenko
d4e0c23ed3 LAB: Simplify code 2015-12-23 21:33:41 +01:00
Eugene Sandulenko
3160bb0bc3 LAB: Fix warning 2015-12-23 21:33:41 +01:00
Eugene Sandulenko
647b0355c9 LAB: Cleanup 2015-12-23 21:33:41 +01:00
Eugene Sandulenko
ad29493fa7 LAB: Fix compilation 2015-12-23 21:33:41 +01:00
Filippos Karapetis
ebff05e7e7 LAB: Simplify the file reading code for the movement control panel 2015-12-23 21:33:41 +01:00
Filippos Karapetis
1feb0e4c2c LAB: Rename monpage -> monitorPage 2015-12-23 21:33:41 +01:00
Filippos Karapetis
09a7232daa LAB: Use Common::File to load map data 2015-12-23 21:33:41 +01:00
Filippos Karapetis
95d91d81e5 LAB: Fix whitespace 2015-12-23 21:33:40 +01:00
Filippos Karapetis
12f4a71c73 LAB: Simplify getViewData, get rid of ViewDataPtr and ActionPtr 2015-12-23 21:33:40 +01:00
Filippos Karapetis
f014218aca LAB: Remove dead code 2015-12-23 21:33:40 +01:00
Filippos Karapetis
a6805e884d LAB: Rewrite readSound() to use Common::File 2015-12-23 21:33:40 +01:00
Filippos Karapetis
1bdf07c7ac LAB: Remove unused code 2015-12-23 21:33:40 +01:00
Filippos Karapetis
5cc3d3b682 LAB: Remove superfluous image buffers 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
9676165436 LAB: Remove unused code for the demo version
The two places where the game stops in the demo versions should already
be handled by the current code
2015-12-23 21:33:40 +01:00
Filippos Karapetis
b033b7e539 LAB: Simplify readInitialConditions() 2015-12-23 21:33:40 +01:00