Revert "Added: New PvpClan "Marauder" based on fame "black_kami""

ryzomclassic-develop
kaetemi 5 years ago committed by Jan Boon
parent 679c7d7ac3
commit 8895eb88d6

@ -37,7 +37,6 @@ namespace PVP_CLAN
NL_STRING_CONVERSION_TABLE_ENTRY(Matis) NL_STRING_CONVERSION_TABLE_ENTRY(Matis)
NL_STRING_CONVERSION_TABLE_ENTRY(Tryker) NL_STRING_CONVERSION_TABLE_ENTRY(Tryker)
NL_STRING_CONVERSION_TABLE_ENTRY(Zorai) NL_STRING_CONVERSION_TABLE_ENTRY(Zorai)
NL_STRING_CONVERSION_TABLE_ENTRY(Marauder)
NL_END_STRING_CONVERSION_TABLE(TPVPClan, PVPClanConversion, Unknown) NL_END_STRING_CONVERSION_TABLE(TPVPClan, PVPClanConversion, Unknown)
TPVPClan fromString(const std::string & str) TPVPClan fromString(const std::string & str)
@ -70,7 +69,6 @@ namespace PVP_CLAN
factionIndexes[Matis] = CStaticFames::getInstance().getFactionIndex("matis"); factionIndexes[Matis] = CStaticFames::getInstance().getFactionIndex("matis");
factionIndexes[Tryker] = CStaticFames::getInstance().getFactionIndex("tryker"); factionIndexes[Tryker] = CStaticFames::getInstance().getFactionIndex("tryker");
factionIndexes[Zorai] = CStaticFames::getInstance().getFactionIndex("zorai"); factionIndexes[Zorai] = CStaticFames::getInstance().getFactionIndex("zorai");
factionIndexes[Marauder] = CStaticFames::getInstance().getFactionIndex("black_kami");
for (uint i = BeginClans; i <= EndClans; i++) for (uint i = BeginClans; i <= EndClans; i++)
nlassert( factionIndexes[i] != CStaticFames::INVALID_FACTION_INDEX ); nlassert( factionIndexes[i] != CStaticFames::INVALID_FACTION_INDEX );
@ -86,7 +84,7 @@ namespace PVP_CLAN
{ {
// These names are in order of the enum TPVPClan // These names are in order of the enum TPVPClan
// The first two clans, "None" and "Neutral", don't count. Subtract 2 from the lookup. // The first two clans, "None" and "Neutral", don't count. Subtract 2 from the lookup.
std::string FactionNames[] = { "kami","karavan","fyros","matis","tryker","zorai","marauder" }; std::string FactionNames[] = { "kami","karavan","fyros","matis","tryker","zorai" };
for (int looper = BeginClans; looper <= EndClans; looper += 1) for (int looper = BeginClans; looper <= EndClans; looper += 1)
{ {
@ -113,7 +111,6 @@ namespace PVP_CLAN
factionSheetIds[Matis] = "matis.faction"; factionSheetIds[Matis] = "matis.faction";
factionSheetIds[Tryker] = "tryker.faction"; factionSheetIds[Tryker] = "tryker.faction";
factionSheetIds[Zorai] = "zorai.faction"; factionSheetIds[Zorai] = "zorai.faction";
factionSheetIds[Marauder] = "marauder.faction";
for (uint i = BeginClans; i <= EndClans; i++) for (uint i = BeginClans; i <= EndClans; i++)
nlassert( factionSheetIds[i] != NLMISC::CSheetId::Unknown ); nlassert( factionSheetIds[i] != NLMISC::CSheetId::Unknown );

@ -44,9 +44,7 @@ namespace PVP_CLAN
Zorai, Zorai,
EndCivs = Zorai, // end of civs EndCivs = Zorai, // end of civs
EndClans = Zorai, // end of clans
Marauder,
EndClans = Marauder, // end of clans
Unknown, Unknown,
NbClans = Unknown, NbClans = Unknown,

Loading…
Cancel
Save