82 Commits

Author SHA1 Message Date
Strangerke
5e0fa2a71c HDB: Fix more uninitialized variables in Gfx and Window 2019-09-09 23:16:26 +02:00
Strangerke
d99ba0a126 HDB: Fix some array compared to nullptr, reduce some variable scopes 2019-09-07 19:47:36 +02:00
Strangerke
1c8a7800da HDB: More missing initializations 2019-09-06 08:16:04 +02:00
Eugene Sandulenko
a7e30d0e7f HDB: Fix compilation on Amiga 2019-09-03 21:08:13 +02:00
Eugene Sandulenko
100ea9ff0e HDB: Fix warnings 2019-09-03 17:17:35 +02:00
Strangerke
2178770898 HDB: Change init functions to handle errors 2019-09-03 17:17:34 +02:00
Nipun Garg
7e0af9a2cb HDB: Fix Try Again position 2019-09-03 17:17:34 +02:00
Eugene Sandulenko
0dbc63a31f HDB: Remove redundant global references 2019-09-03 17:17:34 +02:00
Nipun Garg
e1f0506642 HDB: Fix drawDeliveries() when carrying 2...
... or more delivery items
2019-09-03 17:17:34 +02:00
Nipun Garg
8b1d05eefa HDB: Fix PPC No Deliveries screen
Earlier the No Deliveries couldn't be exited
since _dlvsInfo.animate was true
2019-09-03 17:17:33 +02:00
Strangerke
d399dc6f9d HDB: Reduce the scope of some variables in window 2019-09-03 17:17:33 +02:00
Nipun Garg
fb95542a86 HDB: Fix drawDeliveries() 2019-09-03 17:17:33 +02:00
Eugene Sandulenko
25eaaf38fb HDB: Fix inconsistency in platform-specific code
This led to crash in destructors
2019-09-03 17:17:31 +02:00
Eugene Sandulenko
7916f2c86b HDB: Fix warnings 2019-09-03 17:17:31 +02:00
Nipun Garg
7ad5cf9d30 HDB: Add new PPC-specific code 2019-09-03 17:17:31 +02:00
Nipun Garg
89e4c9f5a9 HDB: Integrate PPC version of Window 2019-09-03 17:17:31 +02:00
Nipun Garg
8062f98b5a HDB: Add Window Platform-specific Constants 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
0fb3ad7ba0 HDB: Make Platform specific constants into variables 2019-09-03 17:17:30 +02:00
Nipun Garg
b8bbc32a89 HDB: Add support for the PPC version 2019-09-03 17:17:30 +02:00
Eugene Sandulenko
d1b906a442 HDB: Implement rest of the demo differences 2019-09-03 17:17:29 +02:00
Nipun Garg
85b922895a HDB: Fix Deliveries with no GFX 2019-09-03 17:17:29 +02:00
Eugene Sandulenko
951943ecec HDB: Reduce header dependency 2019-09-03 17:17:28 +02:00
Eugene Sandulenko
810ac81b0f HDB: Reduce header dependency 2019-09-03 17:17:28 +02:00
Eugene Sandulenko
91da8c7aab HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
a0817b0b5a HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
2844b48ac1 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
Eugene Sandulenko
b845e70102 HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Strangerke
452612d02a HDB: Fix CppCheck warnings in window 2019-09-03 17:17:26 +02:00
Strangerke
f1bf353cd3 HDB: Reduce some more variable scopes 2019-09-03 17:17:26 +02:00
Nipun Garg
72dbb6074d HDB: Fix uninitialized read 2019-09-03 17:17:24 +02:00
Nipun Garg
ae1f4efeb5 HDB: Fix memory leaks in Menu 2019-09-03 17:17:23 +02:00
Nipun Garg
8825980e1f HDB: Remove redundant custom free() function 2019-09-03 17:17:22 +02:00
Nipun Garg
56bbb34a3b HDB: Add save/load for TryAgain data 2019-09-03 17:17:20 +02:00
Nipun Garg
6aa054fcac HDB: Unstub the TRY AGAIN screen 2019-09-03 17:17:20 +02:00
Nipun Garg
a5da708868 HDB: Add Weapon Drawing and Equipping Code 2019-09-03 17:17:20 +02:00
Eugene Sandulenko
f8769966f1 HDB: Fix getRandomNumber usage 2019-09-03 17:17:19 +02:00
Nipun Garg
6c5193c71c HDB: Init _mstoneGfx and replace strings 2019-09-03 17:17:18 +02:00
Eugene Sandulenko
93155c6433 HDB: Fix Window::loadSaveFile() 2019-09-03 17:17:17 +02:00
Eugene Sandulenko
458646981f HDB: Fix Window::loadSaveFile() 2019-09-03 17:17:16 +02:00
Nipun Garg
82fe644f54 HDB: Remove unnecessary functions 2019-09-03 17:17:14 +02:00
Nipun Garg
0a6d4c042f HDB: Fix endian issues 2019-09-03 17:17:14 +02:00
Nipun Garg
c819a79c9b HDB: Add Window save() and loadSaveFile() 2019-09-03 17:17:14 +02:00
Eugene Sandulenko
9a0e685f0e HDB: Fix warnings 2019-09-03 17:17:12 +02:00
Nipun Garg
de017b0ce9 HDB: Add PanicZone data and functions 2019-09-03 17:17:12 +02:00
Nipun Garg
4622fb3b80 HDB: Unstub playSound calls 2019-09-03 17:17:09 +02:00
Eugene Sandulenko
6ffe021709 HDB: Reset _dialogInfo before each dialog.
This makes possible to close the choice dialog.
2019-09-03 17:17:08 +02:00
Eugene Sandulenko
6247f1ebec HDB: Implement Window::closeAll()
Now the player is not locked when pressing ESC with dialog on screen
2019-09-03 17:17:08 +02:00
Eugene Sandulenko
362cb060f3 HDB: Rename _drawMan -> _gfx 2019-09-03 17:17:07 +02:00