mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +00:00
- made wall a TArray.
This commit is contained in:
parent
fded90c491
commit
8cca55c24a
11 changed files with 14 additions and 25 deletions
|
@ -66,8 +66,7 @@
|
|||
|
||||
|
||||
TArray<sectortype> sectorbackup;
|
||||
//TArray<walltype> wallbackup;
|
||||
walltype wallbackup[MAXWALLS];
|
||||
TArray<walltype> wallbackup;
|
||||
|
||||
void WriteSavePic(FileWriter* file, int width, int height);
|
||||
bool WriteZip(const char* filename, TArray<FString>& filenames, TArray<FCompressedBuffer>& content);
|
||||
|
@ -692,7 +691,7 @@ void SerializeMap(FSerializer& arc)
|
|||
("numsectors", numsectors)
|
||||
("sectors", sector, sectorbackup)
|
||||
("numwalls", numwalls)
|
||||
.Array("walls", wall, wallbackup, numwalls)
|
||||
("walls", wall, wallbackup)
|
||||
.Array("headspritestat", headspritestat, MAXSTATUS + 1)
|
||||
.Array("nextspritestat", nextspritestat, MAXSPRITES)
|
||||
.Array("prevspritestat", prevspritestat, MAXSPRITES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue