Commit graph

9 commits

Author SHA1 Message Date
Wayward Heart
35d46e627d Guard against deleted bitmaps
Ruby is not guaranteed to delete bitmaps after any windows, sprites, etc that they are attached to. In the event that the attached object is not deleted before the next call to Graphics.update, this will most likely result in a segfault, as isDisposed() is not guaranteed to return true for a deleted bitmap.

Bitmap::invalid was added in an attempt to guard against this for sprites, but since the bitmap in question is deleted it's not guaranteed that the pointer actually points to null, which made the fix unreliable.
2024-01-10 09:41:00 -06:00
Splendide Imaginarius
11a1fef1c3 Implement hi-res Bitmap replacement 2023-10-25 15:39:28 +00:00
Amaryllis Kulla
fae7fa9c4e
Update ancurio's copyright notice (#29) 2023-10-04 15:07:34 -04:00
Struma
baaa162e2c Remove libsigc++, use sigslot instead 2021-06-14 10:03:56 -04:00
Struma
f98b91ff9a Support animated GIFs 2021-05-01 21:50:39 -04:00
Struma
2fd585393d the not-so-great warning purge 2021-02-22 01:22:26 -05:00
Aeodyn
455bf8007d Fixed minor graphical glitch with missing autotiles. 2021-02-02 07:13:07 -05:00
Aeodyn
5656127fa2 Fix for potential Tilemap bugs. 2021-02-02 07:10:50 -05:00
Struma
f98b1e031f Reorganize src dir 2020-11-21 01:36:24 -05:00
Renamed from src/tilemap.cpp (Browse further)