1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
Ted John
964cf66f6b Zero g1 elements when freeing images
This is to help diagnose issues where we are drawing invalid sprites as well as general cleanliness
2016-07-16 18:08:58 +01:00
duncanspumpkin
83fa818190 Use the correct count to work out if regions will overlap. Fix #4114 2016-07-16 18:07:13 +01:00
Ted John
be4668ee3a Fix #4108: Assertion an crash at startup 2016-07-16 15:33:26 +01:00
Ted John
c123673d6f Merge pull request #4106 from IntelOrca/improve-assertions
Improve guard assertions so that they display the location of where the guard was and also allow a dump file to be created on abort.
2016-07-16 15:12:30 +01:00
Ted John
5f41e3a0eb add function and line info to guards 2016-07-16 14:17:36 +01:00
duncanspumpkin
5426b655fe Try combine _freelists when freeing to reduce chance of running out of images. 2016-07-16 14:12:15 +01:00
Ted John
4e259920b1 fix and detect freeing invalid image lists 2016-07-08 22:58:38 +01:00
Ted John
52928e1e08 protect objects against invalid allocation ids 2016-07-08 22:58:38 +01:00
Ted John
3bfa747ce4 implement a proper image list allocation 2016-07-08 22:58:38 +01:00