90499 Commits

Author SHA1 Message Date
Nipun Garg
6a7d3a05d5 HDB: Complete stubs: cineWait + cineWaitUntilDone 2019-09-03 17:16:47 +02:00
Nipun Garg
35b2c26032 HDB: Complete the cineMoveCamera stub 2019-09-03 17:16:47 +02:00
Nipun Garg
c322f7e3d6 HDB: Complete the cineResetCamera stub 2019-09-03 17:16:47 +02:00
Nipun Garg
d67b047306 HDB: Complete the SetCamera stub in lua-script.cpp 2019-09-03 17:16:47 +02:00
Nipun Garg
21af74993a HDB: Fill out the cineStart stub in lua-script.cpp 2019-09-03 17:16:47 +02:00
Nipun Garg
dafe1b6a16 HDB: Add checkParameters() to LuaScript 2019-09-03 17:16:47 +02:00
Nipun Garg
5533de992f HDB: Fix units in delay in processCines - C_WAIT 2019-09-03 17:16:47 +02:00
Nipun Garg
4de75b554e HDB: Add default case to processCines() 2019-09-03 17:16:47 +02:00
Nipun Garg
1db9dab4a3 HDB: Sort module.mk MODULE_OBJS alphabetically 2019-09-03 17:16:47 +02:00
Nipun Garg
0d3e719b8d HDB: Add the AI class to hdb.cpp 2019-09-03 17:16:47 +02:00
Nipun Garg
ca4fb8dd04 HDB: Stub out AI::init() 2019-09-03 17:16:47 +02:00
Nipun Garg
19601855ce HDB: Fill out centerMapXY stubs 2019-09-03 17:16:47 +02:00
Nipun Garg
c661f8663a HDB: Add the centerMapXY to center the map 2019-09-03 17:16:47 +02:00
Nipun Garg
2eacf30d82 HDB: Add getMapBGTileIndex() + getMapFGTileIndex() 2019-09-03 17:16:47 +02:00
Nipun Garg
bb9aeb4248 HDB: Add getter-setter for _mapX and _mapY 2019-09-03 17:16:47 +02:00
Nipun Garg
f9b71cf660 HDB: Process cineWait and cineWaitUntilDone 2019-09-03 17:16:47 +02:00
Nipun Garg
7e728aff4e HDB: Add cineWait() and cineWaitUntilDone() 2019-09-03 17:16:47 +02:00
Nipun Garg
6910430770 HDB: Add processCines to execute the CineCommands 2019-09-03 17:16:47 +02:00
Nipun Garg
0ce230ba7f HDB: Complete the cineStart function 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
908b9414ec HDB: Call level_loaded Lua function from hdb.cpp 2019-09-03 17:16:47 +02:00
Nipun Garg
2c55d072d3 HDB: Add support to call Lua functions
This allows us to easily to call functions
defined in the Lua scripts.
2019-09-03 17:16:47 +02:00
Eugene Sandulenko
d8cf201ae7 HDB: Fixed order of msmHeader 2019-09-03 17:16:47 +02:00
Eugene Sandulenko
38f11eef39 HDB: Do not blit whole screen 2019-09-03 17:16:47 +02:00
Eugene Sandulenko
166239f78a HDB: Optimise blitting code 2019-09-03 17:16:46 +02:00
Nipun Garg
7df02e4116 HDB: Complete draw3DStarsLeft 2019-09-03 17:16:46 +02:00
Nipun Garg
6d7d109855 HDB: Call fTile->drawMasked from Map::draw 2019-09-03 17:16:46 +02:00
Nipun Garg
147a4e84e7 HDB: Add Tile::drawMasked for masked Blitting 2019-09-03 17:16:46 +02:00
Nipun Garg
c946e1be1a HDB: Implement workaround for edge blitting
copyRectToSurface expects that graphics won't
touch the edge of the screen. Hence, when they do
touch the edge, the draw call is ignored.
2019-09-03 17:16:46 +02:00
Nipun Garg
e267210ec8 HDB: Clip before passing to copyRectToSurface 2019-09-03 17:16:46 +02:00
Nipun Garg
8bc38a67ee HDB: Make _globalSurface Back Buffer
Modify drawMan to use _globalSurface as a copy of
the whole screen
2019-09-03 17:16:46 +02:00
Nipun Garg
5f04136452 HDB: Complete draw3DStars 2019-09-03 17:16:46 +02:00
Nipun Garg
9df5622d1f HDB: Add Picture::drawMasked for masked blitting 2019-09-03 17:16:46 +02:00
Nipun Garg
d1a3dd0847 HDB: Change _mapX and _mapY to hero position 2019-09-03 17:16:46 +02:00
Eugene Sandulenko
ba9d1c6f0a HDB: Lessen noise on the empty tiles 2019-09-03 17:16:46 +02:00
Eugene Sandulenko
1cb7c9b142 HDB: Fix crash with -d5 2019-09-03 17:16:46 +02:00
Nipun Garg
8f8d6782b8 HDB: Fix isSky to return correct skyIndex 2019-09-03 17:16:46 +02:00
Nipun Garg
00022ef0a7 HDB: Change getTileIndex using Common::matchString 2019-09-03 17:16:46 +02:00
Nipun Garg
6fa032a2e1 HDB: Fix the _tileSkyClouds filename 2019-09-03 17:16:46 +02:00
Nipun Garg
57550c1997 HDB: Add assert to check _numTiles 2019-09-03 17:16:46 +02:00
Nipun Garg
0410e48caf HDB: Call DrawMan::drawSky from hdb.cpp 2019-09-03 17:16:46 +02:00
Nipun Garg
55fd11ff6e HDB: Complete setSky() and drawSky() 2019-09-03 17:16:46 +02:00
Nipun Garg
852182be20 HDB: Fill out draw3DStars() and draw3DStarsLeft() 2019-09-03 17:16:46 +02:00
Nipun Garg
833a3ea8e0 HDB: Add fillScreen() for Fill operation 2019-09-03 17:16:46 +02:00
Nipun Garg
419a34f1d0 HDB: Change filenames to full-game versions 2019-09-03 17:16:46 +02:00
Nipun Garg
1ceeff0385 HDB: Add the Detector entry for hyperspace.mpc 2019-09-03 17:16:46 +02:00
Nipun Garg
d782876522 HDB: Fix C++11 usage in _format 2019-09-03 17:16:46 +02:00
Nipun Garg
5f00731ff6 HDB: Add drawSky, drawStars and drawStarsLeft 2019-09-03 17:16:45 +02:00
Eugene Sandulenko
42d0ba46c6 HDB: Added debug output to the map loading 2019-09-03 17:16:45 +02:00
Nipun Garg
2975f5222f HDB: Add _starField to hold PIC_STARX graphics 2019-09-03 17:16:45 +02:00