42 Commits

Author SHA1 Message Date
Nipun Garg
28ab1f9549 HDB: Add and init the _window subsystem 2019-09-03 17:16:56 +02:00
Nipun Garg
c3755f74ce HDB: Add addToActionList() and checkActionList() 2019-09-03 17:16:55 +02:00
Nipun Garg
c12d1a2cec HDB: Add stubbed animateEntity() 2019-09-03 17:16:54 +02:00
Nipun Garg
b913a3632d HDB: Add time-keeping functions 2019-09-03 17:16:54 +02:00
Nipun Garg
cb341ee6cc HDB: Add FPS and AnimDelay constants 2019-09-03 17:16:53 +02:00
Nipun Garg
be5b717c85 HDB: Add Anim Flags 2019-09-03 17:16:53 +02:00
Nipun Garg
15d964afec HDB: Add _actionMode and its getter-setters 2019-09-03 17:16:51 +02:00
Nipun Garg
15d19b8b3b HDB: Add kFlagStairTop flag 2019-09-03 17:16:50 +02:00
Nipun Garg
5066349297 HDB: Add stubbed useEntity() 2019-09-03 17:16:49 +02:00
Nipun Garg
9fbdad25b3 HDB: Improve isDemo() function definition 2019-09-03 17:16:49 +02:00
Nipun Garg
bbf32c1870 HDB: Add init code for all AI Entities 2019-09-03 17:16:49 +02:00
Nipun Garg
159e50c82f HDB: Add isDemo() 2019-09-03 17:16:49 +02:00
Nipun Garg
1457383df2 HDB: Add paint() to draw static images 2019-09-03 17:16:48 +02:00
Nipun Garg
0d3e719b8d HDB: Add the AI class to hdb.cpp 2019-09-03 17:16:47 +02:00
Nipun Garg
6acdc9670a HDB: Add the AI class
The Cinematic variables are defined. cineSetCamera,
cineMoveCamera and cineResetCamera are defined.
cineStart is stubbed out
2019-09-03 17:16:47 +02:00
Nipun Garg
d782876522 HDB: Fix C++11 usage in _format 2019-09-03 17:16:46 +02:00
Nipun Garg
1acf595a94 HDB: Abstract the common PixelFormat to hdb.h 2019-09-03 17:16:45 +02:00
Nipun Garg
3007d8cad5 HDB: Add Tile flags enum 2019-09-03 17:16:45 +02:00
Nipun Garg
a4972ee381 HDB: Add kScreenWidth and kScreenHeight enums 2019-09-03 17:16:45 +02:00
Nipun Garg
714d7ed4a0 HDB: Add the Common::RandomSource _rnd 2019-09-03 17:16:45 +02:00
Nipun Garg
f489a466f7 HDB: Add _drawMan to hdb.cpp 2019-09-03 17:16:44 +02:00
Nipun Garg
d1705bc442 HDB: Replace the map in hdb.cpp with _map 2019-09-03 17:16:44 +02:00
Nipun Garg
19eefe2cea HDB: Fix variables according to Naming Conventions 2019-09-03 17:16:44 +02:00
Nipun Garg
712caa6620 HDB: Fix breaking changes in MapLoader 2019-09-03 17:16:44 +02:00
Nipun Garg
c846026ef2 HDB: Setup loadMap call in hdb.cpp 2019-09-03 17:16:44 +02:00
Nipun Garg
067275cfeb HDB: Add skeletal map-loader subsystem 2019-09-03 17:16:44 +02:00
Nipun Garg
538ead52bb HDB: Fix allocation problem with g_hdb 2019-09-03 17:16:43 +02:00
Nipun Garg
79ebe8927e HDB: Add *g_hdb to access the subsystems 2019-09-03 17:16:42 +02:00
Nipun Garg
094bf4c06b HDB: Modify setGameFlags() to getGameFlags() 2019-09-03 17:16:42 +02:00
Nipun Garg
fd666efd6a HDB: Check if demo version is running 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
e38ac4a795 HDB: Fix the wrong class member naming 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
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
2fa78a91bb HDB: Add Subsystems and Memory Limits to hdb.h 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