Commit Graph

49 Commits

Author SHA1 Message Date
Strangerke
d0c6c73036 LAB: Rename _music, delete it in engine destructor 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
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
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
12f4a71c73 LAB: Simplify getViewData, get rid of ViewDataPtr and ActionPtr 2015-12-23 21:33:40 +01:00
Filippos Karapetis
92bb4a522a LAB: Replace readRoomData() and readInventory() 2015-12-15 00:05:02 +01:00
Filippos Karapetis
01dffc75a1 LAB: Move static text loading to the Resource class 2015-12-15 00:05:02 +01:00
Filippos Karapetis
d565b10384 LAB: Move the font loading code into the Resource class 2015-12-15 00:05:02 +01:00
Filippos Karapetis
d0171440df LAB: Move checkRoomMusic to the Music class. Some cleanup 2015-12-15 00:05:02 +01:00
Filippos Karapetis
c8b2745f7a LAB: Replace some more calls to checkMusic(). Some cleanup 2015-12-15 00:05:02 +01:00
Filippos Karapetis
21e360b9b1 LAB: Remove dead/superfluous code, and remove the newCheckMusic() wrapper 2015-12-15 00:05:02 +01:00
Filippos Karapetis
047df0b0e8 LAB: Simplify usage of createButton() 2015-12-15 00:05:02 +01:00
Filippos Karapetis
79ed1e1f05 LAB: Get rid of numtostr(), and simplify most uses of sizeOfFile() 2015-12-15 00:05:02 +01:00
Filippos Karapetis
f017cb624e LAB: Use CamelCase, and simplify mouseHandler() 2015-12-15 00:05:02 +01:00
Filippos Karapetis
cc0baf48ed LAB: Check for engine quit events 2015-12-15 00:05:02 +01:00
Filippos Karapetis
16df4305f4 LAB: Allow skipping the credits in the intro sequence
Also, remove some unused variables and perform some minor renaming
2015-12-15 00:05:02 +01:00
Filippos Karapetis
6842ffbe90 LAB: Further clean up of the music and sound effect code 2015-12-15 00:05:02 +01:00
Filippos Karapetis
83e58fe452 LAB: Rename waiteffect -> waitForEffect 2015-12-15 00:05:02 +01:00
Filippos Karapetis
d949375e70 LAB: Remove unused variables 2015-12-15 00:05:02 +01:00
Filippos Karapetis
9264f4964e LAB: Remove the unused setMode()/getMode() functions 2015-12-15 00:05:02 +01:00
Filippos Karapetis
6ff7c480af LAB: Remove superfluous void function parameters 2015-12-15 00:05:02 +01:00
Filippos Karapetis
0a71969018 LAB: Rewrite the save/load system
The two different save/load dialogs from the original have been dropped
and replaced with the ScummVM save/load dialogs. The whole save/load
code has been rewritten to be endian safe and use our common code. The
original save format has not been preserved. The current implementation
crashes when loading, but it's a good start
2015-12-15 00:05:02 +01:00
Filippos Karapetis
ccb3390f09 LAB: Disable startup warning about hi/low res mode 2015-12-15 00:05:02 +01:00
Filippos Karapetis
7ddbc55251 LAB: Remove unused mouse reset call 2015-12-15 00:05:02 +01:00
Filippos Karapetis
d70819fa67 LAB: Silence false positives about uninitialized variables 2015-12-15 00:05:02 +01:00
Filippos Karapetis
28bbcf5641 LAB: Add missing const qualifiers 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
500bb493f6 LAB: Fix regression 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
c624799498 LAB: Cleanup 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
60d4f0a069 LAB: Initial support for lowres mode 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
58182bd77a LAB: Cleanup 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
cb8f843296 LAB: Objectify LabSets 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
471dbaa758 LAB: Started objectifying LargeSets 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
3a8cafa41e LAB: Kill storage.h 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
78b46fb026 LAB: fix input processing 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
0dbcb7160c LAB: Added input 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
bbddd32d38 LAB: Further rendering pipeline fixes 2015-12-15 00:05:02 +01:00
Eugene Sandulenko
8ca14d1d64 LAB: Initial code 2015-12-15 00:05:02 +01:00