Christoph Oelckers
65b01bd16d
- fixed incomplete commit.
...
I have no idea where the rest of this stuff went...
2018-12-30 08:22:34 +01:00
Christoph Oelckers
cad43e431c
- cleanuo.
2018-12-28 23:19:01 +01:00
Christoph Oelckers
5f303859e9
- made some changes to how the compatibility code works to allow removing the last remaining global variables of the map loading code.
...
Everything temporary is now part of the MapLoader class.
2018-12-28 23:14:11 +01:00
Christoph Oelckers
0e904286e8
- moved renderinfo.cpp entriely into the map loader.
2018-12-28 15:51:32 +01:00
Christoph Oelckers
e66e594dd0
- moved the sidetemp array into the map loader.
2018-12-28 15:30:23 +01:00
Christoph Oelckers
64595abe60
- moved main polyobject array into FLevelLocals and simplified the setup process to not depend on P_SpawnMapThing.
...
Since the SpawnedThings array is still available when polyobjects are spawned it makes no sense to create an expensive linked list in P_SpawnMapThing.
This can be done far better by scanning through the array again and collect all matching items in a second array.
2018-12-28 10:08:39 +01:00
Christoph Oelckers
84a28454dc
- split maploader.cpp so that the parts that are not setting up the actual map data go back to p_setup.cpp.
2018-12-28 09:17:10 +01:00
Christoph Oelckers
467c73b2d7
- split P_SetupLevel so that the main part of it can be made part of the MapLoader class.
...
- allocate BlockNodes from the same memory arena as SecNodes.
2018-12-27 23:34:07 +01:00
Christoph Oelckers
a47287f1e4
- use TArrays for all local allocations in the map loader.
2018-12-27 20:22:51 +01:00
Christoph Oelckers
2edf02d731
- moved map loader files to a subdirectory.
2018-12-27 17:11:10 +01:00