109 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
590285a890 HDB: Reduce the scope of some more variables 2019-09-08 22:15:50 +02:00
Strangerke
b1db45b718 HDB: Remove useless returns 2019-09-07 22:49:07 +02:00
Strangerke
44de7e8d5e HDB: Fix uninitialized variables in gfx 2019-09-06 22:08:12 +02:00
Eugene Sandulenko
100ea9ff0e HDB: Fix warnings 2019-09-03 17:17:35 +02:00
Nipun Garg
1e25bf5fbe HDB: Re-add updateFade() debug output 2019-09-03 17:17:34 +02:00
Eugene Sandulenko
f934e0d094 HDB: Replace cursor in PPC version with the one from Win version 2019-09-03 17:17:34 +02:00
Strangerke
2178770898 HDB: Change init functions to handle errors 2019-09-03 17:17:34 +02:00
Eugene Sandulenko
5f2be7e993 HDB: Remove unnecessary global references 2019-09-03 17:17:34 +02:00
Eugene Sandulenko
f0eb59cdee HDB: Draw all stars/snow in PPC version.
Along the way, this caught a buffer overflow, so sanity checks
were also implemented
2019-09-03 17:17:34 +02:00
Nipun Garg
a5f66ed1fe HDB: Fix warnings 2019-09-03 17:17:34 +02:00
Nipun Garg
a411d35b20 HDB: Add PPC version of updateFade() 2019-09-03 17:17:34 +02:00
Strangerke
bbcab297f7 HDB: Reduce the scope of some more variables in gfx 2019-09-03 17:17:33 +02:00
Nipun Garg
ae17affac0 HDB: Fix centerPrint() Height 2019-09-03 17:17:33 +02:00
Eugene Sandulenko
bccb817812 HDB: Rotate pictures on load 2019-09-03 17:17:33 +02:00
Eugene Sandulenko
eecd232132 HDB: First attempt to fix PPC graphics 2019-09-03 17:17:33 +02:00
Nipun Garg
24da0a245c HDB: Add PPC cursor 2019-09-03 17:17:33 +02:00
Eugene Sandulenko
1157a88cca HDB: Fix mismatched delete 2019-09-03 17:17:32 +02:00
Eugene Sandulenko
5570f784b6 HDB: Initialise more variables 2019-09-03 17:17:32 +02:00
Eugene Sandulenko
1fd83bf7a2 HDB: Initialise skipped variables in PPC mode 2019-09-03 17:17:32 +02:00
Eugene Sandulenko
b89f14360b HDB: Fix crash in gfx loading 2019-09-03 17:17:32 +02:00
Eugene Sandulenko
1658fc8063 HDB: Do not use dereferencing for GZip stream 2019-09-03 17:17:32 +02:00
Nipun Garg
c95682dc50 HDB: Remove redundant TO_16_LE() calls 2019-09-03 17:17:32 +02:00
Nipun Garg
361f47ff54 HDB: Prevent Backwards Seeking in GZipReadStream 2019-09-03 17:17:32 +02:00
Strangerke
161553db9b HDB: Reduce some more variable scopes, simplify a couple of checks in input.cpp 2019-09-03 17:17:32 +02:00
Nipun Garg
9c2d639a35 HDB: Adapt loadFont, Picture::load, Tile::load for
PPC
2019-09-03 17:17:32 +02:00
Nipun Garg
1d1ace6ab5 HDB: Simplify setPixel() 2019-09-03 17:17:32 +02:00
Nipun Garg
16fd226902 HDB: Remove NULL deletes 2019-09-03 17:17:32 +02:00
Nipun Garg
43ad1af61e HDB: Draw Pointer only for Windows version
Temporarily until pointer is not adapted to PPC
2019-09-03 17:17:31 +02:00
Eugene Sandulenko
d4f1d41275 HDB: Fix fade rendering. No artifacts, yay! 2019-09-03 17:17:31 +02:00
Nipun Garg
878eefceb5 HDB: Integrate PPC version of Menu and Gfx 2019-09-03 17:17:31 +02:00
Nipun Garg
b2fded7dca HDB: Fix _screenDrawWidth and _screenDrawHeight 2019-09-03 17:17:31 +02:00
Eugene Sandulenko
02d855b066 HDB: Replaced font name with a constant 2019-09-03 17:17:30 +02:00
Eugene Sandulenko
7b7420144f HDB: De not create fade screen on every frame 2019-09-03 17:17:30 +02:00
Eugene Sandulenko
a7828397af HDB: Made rendering pipeline to match original 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
Nipun Garg
6e357d9d97 HDB: Minor PPC fixes 2019-09-03 17:17:30 +02:00
Nipun Garg
c1d2468f07 HDB: Section off PPC-specific code 2019-09-03 17:17:30 +02:00
Nipun Garg
3acb70c759 HDB: Wrap ReadStreams pointing to compressed...
...files
2019-09-03 17:17:30 +02:00
Nipun Garg
52f2af77f3 HDB: Fix Null-deleting code 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
12f46b3f9d HDB: Remove redundant stubs 2019-09-03 17:17:29 +02:00
Nipun Garg
1edab20e02 HDB: Add additional debug output 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
2844b48ac1 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
9ea453bc4c 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