Added/fixed primitives, improved the way to limit the number of total primitives to load at startup using the file named LimitedCardList.txt (that has to be copied in User folder). This should help to run the game even on older devices with low RAM such as PSP-3000 (It needs also a lighter graphics sub-folder in Res folder).

This commit is contained in:
Vittorio Alfieri
2021-08-28 16:34:22 +02:00
parent 8d6e0122bb
commit ebc281da6e
6 changed files with 149 additions and 102 deletions

View File

@@ -562,6 +562,9 @@ void GameStateMenu::Update(float dt)
}
if (!nextSetFolder("sets/", "_cards.dat"))
{
//Reset LimitedCardsMap
MTGCollection()->limitedCardsMap.clear();
//Remove temporary translations
Translator::GetInstance()->tempValues.clear();