Robert Müller
32f2fe936a
Extract CMap::ExtractTiles
with more validation
...
To reduce duplicate code and to add validation for tile skip everywhere.
Add separate `CMapItemLayerTilemap::TILE_SKIP_MIN_VERSION` constant and change `CMapItemVersion::CURRENT_VERSION` back to the previous version, as maps with tile skip can be loaded but skip is not used when saving.
2023-07-16 12:46:33 +02:00
Robert Müller
cd9d0e5e16
Add default parameter values to CMap::GetItem
2023-05-15 20:48:01 +02:00
Robert Müller
7273574d68
Add missing CMap::NumData
delegate function
2023-05-15 20:47:59 +02:00
Robert Müller
5e215f6ee3
Mark map and datafile functions as const
when possible
2023-05-15 20:47:38 +02:00
Robert Müller
6b37c3dbf4
Reorder map and datafile functions
2023-05-15 20:46:50 +02:00
Chairn
583d6e6c01
Mark virtual function as override using a script:
...
while IFS= read -r line; do file=${line%%:*}; lineno=$(echo $line | cut
-d':' -f2); echo "Treating $file line $lineno"; sed -i -e
"${lineno}s/virtual //" -e "${lineno}s/);\$/) override;/" -e
"${lineno}s/)\$/) override/" -e "${lineno}s/const\$/const override/" -e
"${lineno}s/) {/) override {/" -e "${lineno}s/) const {/) const override
{/" -e "${lineno}s/const;$/const override;/" "$file"; done < a
2022-05-17 23:47:32 +02:00
Jupeyy
8235df7752
Add menu background map
2020-09-23 23:38:28 +02:00