15 Commits

Author SHA1 Message Date
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
73eb76c991 Only overflow block when align goes over block boundary instead of only hit it because load can be 0 2021-04-15 17:08:51 +02:00
Jan
88c48e8107 Add dynamic allocation alignment to be able to load T6 MemoryBlock asset which isnt used at all so why am i doing this again 2021-03-05 09:23:37 +01:00
Jan
1a45cf2107 Fix more gcc compilation issues 2021-03-03 09:12:27 -08:00
Jan
8778421ebb Quick code style fix 2020-09-09 16:11:21 +02:00
Jan
80bc10752a ZoneLoading: Fix not respecting the block type when trying to load data 2019-12-24 01:59:40 +01:00
Jan
21f395ab7d ZoneLoading: When using the temp block multiple times after another when for example loading nested assets, remember the last position of the temp block and return to there when popping it 2019-12-23 17:55:42 +01:00
Jan
db08cf5ebc ZoneLoading: Fix InsertPointer not increasing the buffer position by the size of the pointer 2019-12-23 17:02:22 +01:00
Jan
236108e5fb ZoneCodeGenerator: Add ability to split loading of a structure due to a dynamic member 2019-12-22 23:33:00 +01:00
Jan
cd93106c19 ZoneCodeGenerator: Fix fastfile offsets being wrong by 1 due to not respecting that all offsets are moved by 1 2019-11-15 14:52:53 +01:00
Jan
51862d8596 ZoneCodeGenerator: Fix throwing overflow exceptions too early due to wrong limit testing 2019-11-15 14:52:10 +01:00
Jan
765b0d9e32 ZoneCodeGenerator: Fix XAssetList of T6 being loaded into block memory and therefore causing overflows 2019-11-15 14:50:23 +01:00
Jan
b7ab2a1aa6 ZoneCodeGenerator: Change ContentLoader to use vars for fastfile pointer transfer and change ZoneInputStream API to be able to specify load location to better reflect the way the games do it. 2019-11-14 14:48:40 +01:00
Jan
9d1b7325a2 Code Quality: Use enum class instead of enum to make sure enum members can only be accessed when scoped to the enum 2019-10-02 12:48:58 +02:00
Jan
42af6df5d8 Rename ZoneLoader and ZoneWriter components to ZoneLoading and ZoneWriting to make a difference between the executive class and the component class 2019-09-24 22:35:11 +02:00