Nipun Garg
88661fb9b9
HDB: Toogle the control flow of HDBGame::init()
...
The previous flow only allowed one subsystem to
be initialized.
2019-09-03 17:16:42 +02:00
Nipun Garg
4800001cdc
HDB: Add Lua subsystem
...
Added the LuaScript *lua pointer. Also called the
destructors for fileMan and lua
2019-09-03 17:16:42 +02:00
Nipun Garg
7a00e0b6a1
HDB: Draw the t32_ground1 tile to the screen
2019-09-03 17:16:42 +02:00
Nipun Garg
6986e5495a
HDB: Refactor readStream() into findFirstData()
2019-09-03 17:16:42 +02:00
Nipun Garg
db61224440
HDB: Correct the PixelFormat to 565
2019-09-03 17:16:42 +02:00
Nipun Garg
57fc376b48
HDB: Load the logo screen and display it to screen
2019-09-03 17:16:42 +02:00
Nipun Garg
d5aa1a62b0
HDB: Fix Coding and Formatting Conventions issues
2019-09-03 17:16:42 +02:00
Nipun Garg
406145362e
HDB: Fix Endian bug with MPC Signature. LE->BE
2019-09-03 17:16:41 +02:00
Nipun Garg
1624c765a0
HDB: Setup system for drawing Title Screen
2019-09-03 17:16:41 +02:00
Nipun Garg
6ad64d992c
HDB: Fix Code Formatting Conventions
2019-09-03 17:16:41 +02:00
Nipun Garg
208c6430d6
HDB: Add the GameState and State Management
2019-09-03 17:16:41 +02:00
Nipun Garg
6082037f74
HDB: Move the readMPC function to the file-manager
2019-09-03 17:16:41 +02:00
Nipun Garg
e0d42fd044
HDB: Fix the PixelFormat to hardcoded value
...
The function getScreenFormat() doesn't work until initGraphics
has been called. Hence, calling it to initialize the
PixelFormat doesn't work.
2019-09-03 17:16:41 +02:00
Nipun Garg
33332afbb2
HDB: Setup first Drawing Surface
2019-09-03 17:16:41 +02:00
Nipun Garg
41e8724eda
HDB: Fix private class member in readMPC()
2019-09-03 17:16:41 +02:00
Nipun Garg
9899cbc900
HDB: Update HDB to the Code Formatting Conventions
2019-09-03 17:16:41 +02:00
Nipun Garg
374958f442
HDB: Update HDB to the Code Formatting Conventions
2019-09-03 17:16:41 +02:00
Nipun Garg
74ff415903
HDB: Add decompresser to readMPC()
...
The .MPC decompression methods are added to readMPC(). The position and
length of each data file in held in the struct DataFile, which are stored in the
Array gameData. To extract a file, you need to access its entry in
gameData and read the file from the given position.
2019-09-03 17:16:41 +02:00
Nipun Garg
31826a2771
HDB: Create skeletal HDB game engine
...
A primordial HDB game engine that succesfully hooks into ScummVM and can
be used by the AdvancedDetector to detect the HDB game files.
2019-09-03 17:16:41 +02:00