mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-24 20:40:47 +00:00
refactor: begin unglobbing std::vector
This commit is contained in:
@@ -52,7 +52,7 @@ void JoinMultiplayerScreen::buttonClicked(Button *button)
|
||||
minecraft->options->lastMpIp = replaceAll(ip,L":", L"_");
|
||||
minecraft->options->save();
|
||||
|
||||
vector<std::wstring> parts = stringSplit(ip,L'L');
|
||||
std::vector<std::wstring> parts = stringSplit(ip,L'L');
|
||||
if (ip[0]==L'[')
|
||||
{
|
||||
int pos = (int)ip.find(L"]");
|
||||
|
||||
@@ -29,7 +29,7 @@ protected:
|
||||
private:
|
||||
bool done;
|
||||
int selectedWorld;
|
||||
vector<LevelSummary *> *levelList;
|
||||
std::vector<LevelSummary *> *levelList;
|
||||
WorldSelectionList *worldSelectionList;
|
||||
std::wstring worldLang;
|
||||
std::wstring conversionLang;
|
||||
|
||||
@@ -418,7 +418,7 @@ void StatsScreen::StatisticsList::sortByColumn(int column)
|
||||
StatsScreen::ItemStatisticsList::ItemStatisticsList(StatsScreen *ss) : StatsScreen::StatisticsList(ss)
|
||||
{
|
||||
//4J Gordon: Removed, not used anyway
|
||||
/*for(vector<ItemStat *>::iterator it = Stats::itemStats->begin(); it != Stats::itemStats->end(); it++ )
|
||||
/*for(std::vector<ItemStat *>::iterator it = Stats::itemStats->begin(); it != Stats::itemStats->end(); it++ )
|
||||
{
|
||||
ItemStat *stat = *it;
|
||||
|
||||
@@ -545,7 +545,7 @@ std::wstring StatsScreen::ItemStatisticsList::getHeaderDescriptionId(int column)
|
||||
StatsScreen::BlockStatisticsList::BlockStatisticsList(StatsScreen *ss) : StatisticsList(ss)
|
||||
{
|
||||
//4J Gordon: Removed, not used anyway
|
||||
/*for(vector<ItemStat *>::iterator it = Stats::blockStats->begin(); it != Stats::blockStats->end(); it++ )
|
||||
/*for(std::vector<ItemStat *>::iterator it = Stats::blockStats->begin(); it != Stats::blockStats->end(); it++ )
|
||||
{
|
||||
ItemStat *stat = *it;
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ private:
|
||||
StatsScreen *parent;
|
||||
protected:
|
||||
int headerPressed;
|
||||
vector<ItemStat *> statItemList;
|
||||
std::vector<ItemStat *> statItemList;
|
||||
// Comparator<ItemStat> itemStatSorter;
|
||||
|
||||
int sortColumn;
|
||||
|
||||
@@ -22,7 +22,7 @@ TitleScreen::TitleScreen()
|
||||
|
||||
splash = L"missingno";
|
||||
// try { // 4J - removed try/catch
|
||||
vector<std::wstring> splashes;
|
||||
std::vector<std::wstring> splashes;
|
||||
|
||||
/*
|
||||
BufferedReader *br = new BufferedReader(new InputStreamReader(InputStream::getResourceAsStream(L"res\\title\\splashes.txt"))); //, Charset.forName("UTF-8")
|
||||
|
||||
Reference in New Issue
Block a user