mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Address review feedback
This commit is contained in:
committed by
Asdow
parent
8b1c4effa0
commit
d4abc82488
@@ -505,8 +505,6 @@ BOOLEAN EditModeShutdown( void )
|
||||
|
||||
RemoveLightPositionHandles( );
|
||||
|
||||
MapOptimize();
|
||||
|
||||
RemoveCursors();
|
||||
|
||||
fHelpScreen = FALSE;
|
||||
@@ -3341,24 +3339,6 @@ BOOLEAN CheckForSlantRoofs( void )
|
||||
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------------------------
|
||||
// MapOptimize
|
||||
//
|
||||
// Runs through all map locations, and if it's outside the visible world, then we remove
|
||||
// EVERYTHING from it since it will never be seen!
|
||||
//
|
||||
// If it can be seen, then we remove all extraneous land tiles. We find the tile that has the first
|
||||
// FULL TILE indicator, and delete anything that may come after it (it'll never be seen anyway)
|
||||
//
|
||||
// Doing the above has shown to free up about 1.1 Megs on the default map. Deletion of non-viewable
|
||||
// land pieces alone gained us about 600 K of memory.
|
||||
//
|
||||
void MapOptimize(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------------------------
|
||||
// CheckForFences
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user