mirror of
https://github.com/SWG-Source/swg-main.git
synced 2026-01-16 20:04:18 -05:00
Removed calls to Perforce to support ACM building
This commit is contained in:
@@ -8,7 +8,7 @@ package VehicleCustomizationVariableGenerator;
|
||||
use strict;
|
||||
|
||||
use CustomizationVariableCollector;
|
||||
use Perforce;
|
||||
#use Perforce;
|
||||
use TreeFile;
|
||||
|
||||
# ======================================================================
|
||||
@@ -271,18 +271,18 @@ sub collectData
|
||||
my $vehicleDataP4Root = "//depot/swg/$branch/dsrc/sku.0/sys.shared/compiled/game/customization/";
|
||||
|
||||
# Load up the vehicle customizations to associate with every ridable vehicle.
|
||||
my $customizationsFileName = Perforce::findOnDiskFileName($vehicleDataP4Root . "vehicle_customizations.tab");
|
||||
my $customizationsFileName = "vehicle_customizations.tab"; #Perforce::findOnDiskFileName($vehicleDataP4Root . "vehicle_customizations.tab");
|
||||
loadVehicleCustomizations($customizationsFileName);
|
||||
|
||||
# Load up mapping of vehicle .sat appearance (invisible) to vehicle saddle appearance (visible).
|
||||
# This is a one-to-many mapping.
|
||||
my $saddleDataP4Root = "//depot/swg/$branch/dsrc/sku.0/sys.shared/compiled/game/datatables/mount/";
|
||||
my $logicalSaddleNameMapFileName = Perforce::findOnDiskFileName($saddleDataP4Root . "logical_saddle_name_map.tab");
|
||||
my $saddleAppearanceMapFileName = Perforce::findOnDiskFileName($saddleDataP4Root . "saddle_appearance_map.tab");
|
||||
my $logicalSaddleNameMapFileName = "logical_saddle_name_map.tab"; #Perforce::findOnDiskFileName($saddleDataP4Root . "logical_saddle_name_map.tab");
|
||||
my $saddleAppearanceMapFileName = "saddle_appearance_map.tab"; #Perforce::findOnDiskFileName($saddleDataP4Root . "saddle_appearance_map.tab");
|
||||
buildSatLinkageMap($logicalSaddleNameMapFileName, $saddleAppearanceMapFileName);
|
||||
|
||||
# Add appropriate variable declarations for each vehicle appearance listed in the vehicle appearances table.
|
||||
my $appearanceTableFileName = Perforce::findOnDiskFileName($vehicleDataP4Root . "vehicle_appearances.tab");
|
||||
my $appearanceTableFileName = "vehicle_appearances.tab"; #Perforce::findOnDiskFileName($vehicleDataP4Root . "vehicle_appearances.tab");
|
||||
applyCustomizationsToVehicles($appearanceTableFileName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user