Commit Graph
58 Commits
Author SHA1 Message Date
D G Turner 2e71b64ad7 QDENGINE: Fix Signed vs. Unsigned GCC Compiler Warnings 2024-10-27 17:53:00 +00:00
Eugene Sandulenko bb463cf86f QDENGINE: Use safer array copy operations. CID 1559603, CID 1559612, CID 1559628 2024-10-21 18:49:47 +02:00
Eugene Sandulenko ad616bbc26 QDENGINE: Check file open success before attempt to write. CID 1560116 2024-10-21 18:49:47 +02:00
D G Turner 6ea3c50760 QDENGINE: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings 2024-10-06 03:41:49 +01:00
Eugene Sandulenko 214c7537a1 QDENGINE: Fix rounding errors in non-scaled tile sprite calculations 2024-09-14 01:06:41 +02:00
Eugene Sandulenko bd9ccee50f QDENGINE: Fix rounding errors in scaled sprite calculations 2024-09-14 00:30:38 +02:00
Eugene Sandulenko faeea40b2c QDENGINE: Normalized debug graphics output on debug levels 2 and 3 2024-09-13 01:19:47 +02:00
Eugene Sandulenko 8f8ed6faa9 QDENGINE: DT: Do not crash on frame index overflow 2024-09-08 17:23:37 +02:00
Eugene Sandulenko 68531b9c8c QDENGINE: Hid bigger debug output for QDA loading deeper 2024-09-08 16:16:28 +02:00
Eugene Sandulenko 419db876c2 QDENGINE: Fixes to qdAnimation::draw_mask_rot(scale) 2024-09-08 16:16:27 +02:00
Eugene Sandulenko cea335530d QDENGINE: Fix qdAnimation::draw_mask(scale) 2024-09-08 16:16:27 +02:00
Eugene Sandulenko a4ba0f1761 QDENGINE: Fixes in grTileAnimation::drawFrame() sprite positions 2024-09-08 16:16:27 +02:00
Eugene Sandulenko 30033b0674 QDENGINE: Implement qdAnimation::hit() and qdAnimation::hit(scale) 2024-09-08 16:16:27 +02:00
Eugene Sandulenko 539bbd3964 QDENGINE: Force file offsets to be 'int' in debug messages
This fixes annpying portability issue, generating tons of warnings,
since printing int64s is still platform-dependent.
2024-09-08 01:25:32 +02:00
Eugene Sandulenko 090e3470d4 QDENGINE: Implemented code differences in qdAnimation::draw_contour() and scale variant 2024-09-08 01:10:07 +02:00
Eugene Sandulenko ebda20a6fc QDENGINE: Implemented code differences for qdAnimation::draw_mask_rot() 2024-09-08 00:45:39 +02:00
Eugene Sandulenko e5c7162218 QDENGINE: Implemented code differences in qdAnimation::draw_mask() 2024-09-08 00:45:38 +02:00
Eugene Sandulenko 44d16f1593 QDENGINE: Added code differences to qdAnimation::redraw_rot(scale) 2024-09-08 00:45:38 +02:00
Eugene Sandulenko 97952b256a QDENGINE: Fix grTileAnimation::decode_frame_data(). This fixes animations in shveik 2024-09-08 00:45:38 +02:00
Eugene Sandulenko 42a83214e1 QDENGINE: Implement drawing of individual frame tiles 2024-09-08 00:45:38 +02:00
Eugene Sandulenko 7cbdb7dcbf QDENGINE: Avoid clipping in tilemap rendering 2024-09-06 13:26:18 +02:00
Eugene Sandulenko d13cfdb4d3 QDENGINE: DT: Display QDA tiles 2024-09-06 13:26:18 +02:00
Eugene Sandulenko 0079e20c61 QDENGINE: Renames in ScaleArray struct 2024-09-05 13:58:26 +02:00
Eugene Sandulenko 6221e52470 QDENGINE: Moved scale computation to a separate method 2024-09-05 13:58:26 +02:00
Eugene Sandulenko dfb7a7a32d QDENGINE: Improved logging for tile loading 2024-09-05 13:58:26 +02:00
Eugene Sandulenko 508ab7b2d7 QDEGNINE: Added sanity checks to tile decompressor 2024-09-05 13:58:23 +02:00
Torbjörn Andersson 46c3068a16 QDENGINE: Fix some trivial GCC warnings 2024-09-05 06:38:55 +02:00
Eugene Sandulenko b1d860d66b QDENGINE: Implemented tile dumping into .png files 2024-09-04 23:50:29 +02:00
Eugene Sandulenko e410466f23 QDENGINE: Further fixes to tile frame rendering. Still incorrect 2024-09-04 23:50:29 +02:00
Eugene Sandulenko b3dd95b2bd QDENGINE: Added more debug output on QDA load 2024-09-04 23:50:28 +02:00
Eugene Sandulenko 6d716ee78a QDENGINE: More debug output on animation loading 2024-09-04 23:50:28 +02:00
Eugene Sandulenko 6f62280387 QDENGINE: Initial code for grTileAnimation::decode_frame_data(() 2024-09-04 23:49:52 +02:00
Eugene Sandulenko 1e199c393f QDENGINE: Implemented grTileAnimation::drawFrame_scale() 2024-09-04 23:49:52 +02:00
Eugene Sandulenko 54c47b6e7f QDENGINE: Added QDA v106 code changes to grTileAnimation::drawFrame() 2024-09-04 23:49:52 +02:00
Eugene Sandulenko 236ae276b7 QDENGINE: Implement grTileAnimation::wasFrameSizeChanged() 2024-09-04 23:49:52 +02:00
Eugene Sandulenko 22cac63a68 QDENGINE: Implement grTileAnimation::find_closest_scale() 2024-09-04 23:49:52 +02:00
Eugene Sandulenko a733f6b107 QDENGINE: Proper computation of ScaleArray 2024-09-03 00:50:18 +02:00
Eugene Sandulenko 02bc85e09f QDENGINE: Improved debug output 2024-09-02 00:23:25 +02:00
Eugene Sandulenko b251fd5aff QDENGINE: Load (no processing yet) QDA versions 105 and 106 2024-09-01 23:33:17 +02:00
Eugene Sandulenko ecbec8b414 QDENGINE: Fix more signedness in comparisons 2024-08-23 17:17:14 +02:00
kunxl-gg 41e0ae73ac QDENGINE: Fix warnings
Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>
2024-08-22 22:09:48 +02:00
Eugene Sandulenko 08b9cc17bd QDENGINE: Remove some FORBIDDEN_SYMBOL defines 2024-08-22 22:09:48 +02:00
kunxl-gg a3928e21be QDENGINE: Rename remaining methods
Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>
2024-08-22 22:09:48 +02:00
Eugene Sandulenko c262795b7c QDENGINE: Replace std::vector with Std::vector 2024-08-22 22:09:48 +02:00
kunxl-gg 813bd8113c QDENGINE: Rename all PutSpr* methods
Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>
2024-08-22 22:09:48 +02:00
Eugene Sandulenko 4875aeaa83 QDENGINE: Remove qd_precomp.h file 2024-08-22 22:09:48 +02:00
Eugene Sandulenko 74e27dd2c3 QDENGINE: Remove unused define 2024-08-22 22:09:48 +02:00
Eugene Sandulenko 2a563340c5 QDENGINE: unsigned -> uint32 2024-08-22 22:09:48 +02:00
Eugene Sandulenko 70765e6eb9 QDENGINE: unsigned int -> uint32, also remaining unsigned char -> byte 2024-08-22 22:09:48 +02:00
Eugene Sandulenko 2947feb65c QDENGINE: unsigned char -> byte 2024-08-22 22:09:48 +02:00