mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Address review feedback
This commit is contained in:
committed by
Asdow
parent
8b1c4effa0
commit
d4abc82488
@@ -1808,11 +1808,6 @@ void SummaryToggleProgressCallback( GUI_BUTTON *btn, INT32 reason )
|
||||
|
||||
#include "Tile Surface.h"
|
||||
|
||||
void PerformTest()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
BOOLEAN HandleSummaryInput( InputAtom *pEvent )
|
||||
{
|
||||
if( !gfSummaryWindowActive )
|
||||
@@ -1838,17 +1833,6 @@ BOOLEAN HandleSummaryInput( InputAtom *pEvent )
|
||||
else if( gfWorldLoaded )
|
||||
DestroySummaryWindow();
|
||||
break;
|
||||
case F6:
|
||||
PerformTest();
|
||||
break;
|
||||
case F7:
|
||||
for( x = 0; x < 10; x++ )
|
||||
PerformTest();
|
||||
break;
|
||||
case F8:
|
||||
for( x = 0; x < 100; x++ )
|
||||
PerformTest();
|
||||
break;
|
||||
case 'y':case 'Y':
|
||||
if( gusNumEntriesWithOutdatedOrNoSummaryInfo && !gfOutdatedDenied )
|
||||
{
|
||||
|
||||
@@ -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
|
||||
//
|
||||
|
||||
@@ -57,8 +57,6 @@ void HideEditorToolbar( INT32 iOldTaskMode );
|
||||
|
||||
void ProcessSelectionArea();
|
||||
|
||||
void MapOptimize(void);
|
||||
|
||||
extern UINT16 GenericButtonFillColors[40];
|
||||
|
||||
//These go together. The taskbar has a specific color scheme.
|
||||
|
||||
Reference in New Issue
Block a user