1222 Commits

Author SHA1 Message Date
Nipun Garg
1624c765a0 HDB: Setup system for drawing Title Screen 2019-09-03 17:16:41 +02:00
Nipun Garg
e4e9f4ff34 HDB: Create the Draw Manager to draw/animate tiles 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
432ae5ad57 HDB: Add the find functions to the file-manager 2019-09-03 17:16:41 +02:00
Nipun Garg
6a764f4252 HDB: Fix Code Conventions and Formatting errors 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
99af2f6a30 HDB: Create FileMan as the filesystem for HDB
The exisitng code to read MPC files was moved into FileMan
2019-09-03 17:16:41 +02:00
Nipun Garg
2fa78a91bb HDB: Add Subsystems and Memory Limits to hdb.h 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
50e2b5b5bf HDB: Add the Console class to HDB for the interactive Debugger 2019-09-03 17:16:41 +02:00
Nipun Garg
d560efbef7 HDB: Attach the HDBGame class into the HDBMetaEngine
Modified HBDMetaEngine's createInstance() method to instantiate the
engine to an HDBGame object
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
Nipun Garg
44cf6077b7 HDB: Add array of ADGameDescription objects
The ADGameDescription object corresponding to hyperdemo.mpc is added to
gameDescriptions[]. Also, updated the getName() and
getOriginalCopyright() functions.
2019-09-03 17:16:41 +02:00
Nipun Garg
da37a00ff1 HDB: Add MODULES_DIRS 2019-09-03 17:16:41 +02:00
Nipun Garg
3e9f64efb0 HDB: Add skeleton detection.cpp file
Subclassed the AdvancedMetaEngine and defined the following virtual
methods: hasFeature() and createInstance()
2019-09-03 17:16:41 +02:00
Nipun Garg
8dbc02f71d HDB: Add module.mk and configure.engine 2019-09-03 17:16:41 +02:00