mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
[c12627] Implement loading TransportAnimation.dbc
This commit is contained in:
parent
dad1b10c5b
commit
988bad89e8
5 changed files with 26 additions and 1 deletions
|
|
@ -228,6 +228,8 @@ DBCStorage <TaxiPathEntry> sTaxiPathStore(TaxiPathEntryfmt);
|
|||
TaxiPathNodesByPath sTaxiPathNodesByPath;
|
||||
static DBCStorage <TaxiPathNodeEntry> sTaxiPathNodeStore(TaxiPathNodeEntryfmt);
|
||||
|
||||
TransportAnimationsByEntry sTransportAnimationsByEntry;
|
||||
DBCStorage <TransportAnimationEntry> sTransportAnimationStore(TransportAnimationEntryfmt);
|
||||
DBCStorage <TotemCategoryEntry> sTotemCategoryStore(TotemCategoryEntryfmt);
|
||||
DBCStorage <VehicleEntry> sVehicleStore(VehicleEntryfmt);
|
||||
DBCStorage <VehicleSeatEntry> sVehicleSeatStore(VehicleSeatEntryfmt);
|
||||
|
|
@ -793,6 +795,12 @@ void LoadDBCStores(const std::string& dataPath)
|
|||
}
|
||||
|
||||
LoadDBC(availableDbcLocales,bar,bad_dbc_files,sTotemCategoryStore, dbcPath,"TotemCategory.dbc");
|
||||
|
||||
LoadDBC(availableDbcLocales,bar,bad_dbc_files,sTransportAnimationStore, dbcPath,"TransportAnimation.dbc");
|
||||
for (uint32 i = 0; i < sTransportAnimationStore.GetNumRows(); ++i)
|
||||
if (TransportAnimationEntry const* entry = sTransportAnimationStore.LookupEntry(i))
|
||||
sTransportAnimationsByEntry[entry->transportEntry][entry->timeFrame] = entry;
|
||||
|
||||
LoadDBC(availableDbcLocales,bar,bad_dbc_files,sVehicleStore, dbcPath,"Vehicle.dbc");
|
||||
LoadDBC(availableDbcLocales,bar,bad_dbc_files,sVehicleSeatStore, dbcPath,"VehicleSeat.dbc");
|
||||
LoadDBC(availableDbcLocales,bar,bad_dbc_files,sWorldMapAreaStore, dbcPath,"WorldMapArea.dbc");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue