src/game/Editor/Road_Smoothing.cc
void InitializeRoadMacros()
{
	INT16 i, end;
	INT16 sMacro = 0;
	end = sizeof( gRoadMacros ) / sizeof( MACROSTRUCT );
	for( i = 0; i < end; i++ )
	{
		if( gRoadMacros[ i ].sMacroID == sMacro )
		{
			gsRoadMacroStartIndex[ sMacro ] = i;
			sMacro++;
		}
	}
//	i = ROADPIECES001;
}
//A simple optimization function that calculates the first index in the large database for
//the particular macro ID.
A simple optimization function that calculates the first index in the large database for
the particular macro ID.
A simple optimization function that calculates the first index in the large database for the particular macro ID .
void InitializeRoadMacros()
{
	INT16 i, end;
	INT16 sMacro = 0;
	end = sizeof( gRoadMacros ) / sizeof( MACROSTRUCT );
	for( i = 0; i < end; i++ )
	{
		if( gRoadMacros[ i ].sMacroID == sMacro )
		{
			gsRoadMacroStartIndex[ sMacro ] = i;
			sMacro++;
		}
	}
}
void InitializeRoadMacros ( ) { INT16 i , end ; INT16 sMacro = 0 ; end = sizeof ( gRoadMacros ) / sizeof ( MACROSTRUCT ) ; for ( i = 0 ; i < end ; i ++ ) { if ( gRoadMacros [ i ] . sMacroID == sMacro ) { gsRoadMacroStartIndex [ sMacro ] = i ; sMacro ++ ; } } }
A simple optimization function that calculates the first index in the large database for
the particular macro ID.
A simple optimization function that calculates the first index in the large database for the particular macro ID .
//	i = ROADPIECES001;