Commit Graph
55 Commits
Author SHA1 Message Date
Eugene Sandulenko 1ef11b1725 HDB: Fix out of bounds access in Map 19 2022-12-05 20:21:02 +01:00
Orgad Shaneh b2322a8c4f JANITORIAL: Add some long casts to match %ld format
Needed on Win64 compilation.
2022-06-12 10:24:34 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
D G Turner 2a2606f8fa HDB: Fix for GCC Warnings from 64-bit Stream API Changes 2021-07-09 04:21:49 +01:00
Eugene Sandulenko a37e9a8f9a HDB: Replace NULL with nullptr 2020-04-28 09:42:27 +02:00
Eugene Sandulenko 8bf2747b32 HDB: Initialize class variables 2020-04-27 15:18:17 +02:00
Strangerke d1b9e1db7a HDB: Initialize some more uninitialized variables. 2019-09-06 08:16:04 +02:00
Strangerke 27e852e17a HDB: Simplify some code by using CLIP() 2019-09-06 00:44:01 +02:00
Strangerke 9bb66c7059 HDB: Fix some unintended sign extensions 2019-09-05 21:13:20 +02:00
Eugene Sandulenko 36c2b15ab9 HDB: Fix out-of-bound access when on the edge of map 2019-09-03 17:17:35 +02:00
Eugene Sandulenko e5883e999b HDB: Fix teleporter on MAP29 in PPC version.
It was fixed later in the Win version, as it was transferring
Guy to a wrong level.
2019-09-03 17:17:35 +02:00
Eugene Sandulenko 93f05fa32c HDB: Added debug info to entity loading 2019-09-03 17:17:35 +02:00
Eugene Sandulenko 23c7dc8ebd HDB: Implement differences in rendering pipeline for the PPC demo 2019-09-03 17:17:34 +02:00
Eugene Sandulenko 5a0305bb9a HDB: Fix warnings 2019-09-03 17:17:32 +02:00
Eugene Sandulenko 08d486981c HDB: Check map hitting code 2019-09-03 17:17:31 +02:00
Nipun Garg b2fded7dca HDB: Fix _screenDrawWidth and _screenDrawHeight 2019-09-03 17:17:31 +02:00
Nipun Garg a9e65176a1 HDB: Add more Platform-specific Constants 2019-09-03 17:17:30 +02:00
Nipun Garg 0fb3ad7ba0 HDB: Make Platform specific constants into variables 2019-09-03 17:17:30 +02:00
Eugene Sandulenko 810ac81b0f HDB: Reduce header dependency 2019-09-03 17:17:28 +02:00
Eugene Sandulenko a0817b0b5a HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko 99fc798b2e HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko c3d0f49538 HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Strangerke f1bf353cd3 HDB: Reduce some more variable scopes 2019-09-03 17:17:26 +02:00
Eugene Sandulenko f778e08a1a HDB: Fix copy/paste error in map centering code.
This prevents us from seeing NO TILES in MAP10
2019-09-03 17:17:25 +02:00
Eugene Sandulenko edc68ef7b1 HDB: Added more constants instead of magic numbers 2019-09-03 17:17:25 +02:00
Nipun Garg fd91bb7f59 HDB: Fix more memory leaks 2019-09-03 17:17:23 +02:00
Nipun Garg 8d9004e432 HDB: Fix memory leaks when stream is returned NULL 2019-09-03 17:17:23 +02:00
Nipun Garg fa71ee9034 HDB: Fix memory leaks due to findFirstData() 2019-09-03 17:17:23 +02:00
Nipun Garg d706fbf22e HDB: Fix memory leaks 2019-09-03 17:17:22 +02:00
Eugene Sandulenko ff2c6fe30a HDB: More var initialisation 2019-09-03 17:17:22 +02:00
Eugene Sandulenko 0c71ae2121 HDB: Fix uninitialised variables 2019-09-03 17:17:22 +02:00
Eugene Sandulenko d80023c737 HDB: Fix delete mismatch 2019-09-03 17:17:22 +02:00
Eugene Sandulenko 9ab298748e HDB: Fix flag checking across the engien 2019-09-03 17:17:22 +02:00
Nipun Garg 462d48a901 HDB: Unstub TODOs 2019-09-03 17:17:21 +02:00
Eugene Sandulenko 0a291d028c HDB: Complete AI::restartSystem() 2019-09-03 17:17:19 +02:00
Eugene Sandulenko 62a6a36463 HDB: Complete Map::restartSystem() 2019-09-03 17:17:19 +02:00
Eugene Sandulenko 5fa5f6fb39 HDB: Fix _mapLoaded flag handling 2019-09-03 17:17:19 +02:00
Eugene Sandulenko 614fc61254 HDB: Consistent memory management for map explosions 2019-09-03 17:17:18 +02:00
Eugene Sandulenko 9903b335e1 HDB: Proper memory handling for map features 2019-09-03 17:17:18 +02:00
Nipun Garg c5bc56b331 HDB: Add Loading Screen 2019-09-03 17:17:18 +02:00
Nipun Garg d8f454dfe1 HDB: Initialize Map member variables 2019-09-03 17:17:17 +02:00
Eugene Sandulenko 6c0684cbba HDB: Added missing calls to Map::Map::loadSaveFile() 2019-09-03 17:17:16 +02:00
Eugene Sandulenko f544c83def HDB: Allocate memory on loading 2019-09-03 17:17:16 +02:00
Eugene Sandulenko a8a43329bb HDB: Initialise variables 2019-09-03 17:17:14 +02:00
Eugene Sandulenko ce6b62d896 HDB: Turn _gratinds[] and _foregrounds[] into structs from pointers 2019-09-03 17:17:14 +02:00
Nipun Garg 6f472b60a6 HDB: Fix Endian reading issues 2019-09-03 17:17:14 +02:00
Eugene Sandulenko 6559b71819 HDB: Fix removeBGTileAnimation() and removeFGTileAnimation() implementations 2019-09-03 17:17:14 +02:00
Nipun Garg cdf8d2548f HDB: Remove unreferenced variable 2019-09-03 17:17:13 +02:00
Nipun Garg 8d57db2572 HDB: Add Map save() and loadSaveFile() 2019-09-03 17:17:13 +02:00
Nipun Garg 60eb04f833 HDB: Unstub addtoFairystones calls 2019-09-03 17:17:11 +02:00