Nipun Garg
|
3007d8cad5
|
HDB: Add Tile flags enum
|
2019-09-03 17:16:45 +02:00 |
|
Nipun Garg
|
b2c4be43b3
|
HDB: Modify hdb.cpp to use Tile/Picture's draw()
|
2019-09-03 17:16:45 +02:00 |
|
Nipun Garg
|
8e6def287b
|
HDB: Add draw functions to Tile and Picture
|
2019-09-03 17:16:45 +02:00 |
|
Nipun Garg
|
f90d06bee9
|
HDB: Add _stars3D, _stars3DSlow + setup functions
|
2019-09-03 17:16:45 +02:00 |
|
Nipun Garg
|
703dbba648
|
HDB: Add Tile dimensions and Star count as enums
|
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
|
b0146ffd2d
|
HDB: Call DrawMan::setSky from Map::load
|
2019-09-03 17:16:45 +02:00 |
|
Nipun Garg
|
fd593a1ef1
|
HDB: Add a stubbed-out setSky() to DrawMan
|
2019-09-03 17:16:45 +02:00 |
|
Nipun Garg
|
29c670b199
|
HDB: Add getTileIndex and getPicture to DrawMan
|
2019-09-03 17:16:45 +02:00 |
|
Nipun Garg
|
76abfae403
|
HDB: Add sky tiles and non-graphics to DrawMan
|
2019-09-03 17:16:45 +02:00 |
|
Nipun Garg
|
9257a3d498
|
HDB: Complete loadTiles()
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
7cca1f0e1c
|
HDB: Add isSky()
It checks if the tile at a given index is a Sky
tile.
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
853489ff24
|
HDB: Change cacheTile() to getTile()
getTile() caches the tile automatically if it
hasn't been cached yet
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
32af03ab99
|
HDB: Fix parameter type in getCount
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
73d1797848
|
HDB: Fix C++11 enum warning
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
33850b80d2
|
HDB: Add cacheTile() to load a Tile into memory
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
a0b6b08ecd
|
HDB: Add TileLookup struct and _tLookupArray
_tLookupArray is a reference needed to cache
the tiles in the current level
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
f512307f70
|
HDB: Add findFiles to file-manager
It finds all MPC files of a common DataType that
consist of a substring.
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
c110733371
|
HDB: Add MAX_SKIES enum
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
9ab8716137
|
HDB: Add DrawMan::init to count number of tiles
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
f489a466f7
|
HDB: Add _drawMan to hdb.cpp
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
3c562f7f1b
|
HDB: Stub out Map::loadTiles()
It depends on DrawMan functionality which hasn't
been implemented yet
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
5d63b3abb5
|
HDB: Change _mapExplosions type from char to byte
Char is not portable for anything other than
ASCII strings, byte is preferred. Similar changes
were made to _mapExpBarrels and _mapLaserBeams
|
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
|
0e58f9c9d1
|
HDB: Add the loadTiles() function to map-loader
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
79136f44d2
|
HDB: Fix breaking changes in map-loader
|
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
|
500f747f07
|
HDB: Create and load a Map in hdb.cpp
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
f51736483d
|
HDB: Add Map Coordinate data members to Map
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
90bba2df04
|
HDB: Shift loadMap from MapLoader to Map
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
846d799b19
|
HDB: Add getCount to FileMan
It counts the number of MPC entries that have
a specific substring in their filename
|
2019-09-03 17:16:44 +02:00 |
|
Nipun Garg
|
8e62d001fc
|
HDB: Load the mapHeader in loadMap(...)
|
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 |
|
Eugene Sandulenko
|
3533362fc8
|
HDB: Make sure there is no OOB access for patched scripts
|
2019-09-03 17:16:43 +02:00 |
|
Nipun Garg
|
341759cf0d
|
HDB: Add ScriptPatches for upvalues and setglobal
Moved the upvalue-syntax modification from
sanitizeComments to the scriptPatches
|
2019-09-03 17:16:43 +02:00 |
|
Nipun Garg
|
95234eef3b
|
HDB: Add ScriptPatches for setglobal function
|
2019-09-03 17:16:43 +02:00 |
|
Nipun Garg
|
12a9036dd6
|
HDB: Add scriptPatch and add in sanitizeScript
|
2019-09-03 17:16:43 +02:00 |
|
Eugene Sandulenko
|
869b109eeb
|
HDB: Hid Lua execution trace to debug level 8
|
2019-09-03 17:16:43 +02:00 |
|
Eugene Sandulenko
|
418ad2c94e
|
HDB: Add error handling during level_init execution
|
2019-09-03 17:16:43 +02:00 |
|
Nipun Garg
|
58a645dadb
|
HDB: Test the test.lua file in the data file dir
|
2019-09-03 17:16:43 +02:00 |
|
Nipun Garg
|
ff6baf30b1
|
HDB: Add executeFile to LuaScript
It executes additional files in the current
Lua environment
|
2019-09-03 17:16:43 +02:00 |
|
Eugene Sandulenko
|
03a6cbc8f9
|
HDB: Refer to the Lua error handler
|
2019-09-03 17:16:43 +02:00 |
|
Eugene Sandulenko
|
a54d05ab95
|
HDB: Added more debugging facilities
|
2019-09-03 17:16:43 +02:00 |
|
Eugene Sandulenko
|
656e67db69
|
HDB: Move debugging facilities earlier in the code
|
2019-09-03 17:16:43 +02:00 |
|
Eugene Sandulenko
|
93faee87c3
|
HDB: Fix warnings
|
2019-09-03 17:16:43 +02:00 |
|
Eugene Sandulenko
|
fcdebdc015
|
JANITORIAL: Whitespace fixes
|
2019-09-03 17:16:43 +02:00 |
|
Eugene Sandulenko
|
efa460599d
|
HDB: Added quick & dirty Lua tracing
|
2019-09-03 17:16:43 +02:00 |
|