Erwan
-Load shop and backdrop in 5551. @Jeck feel free to implement the "default as 5551" for jpegs as well if you think it's worth it. I think this change is the safest for the time being, but that's mostly because I'm too lazy to touch JGE
This commit is contained in:
@@ -131,7 +131,7 @@ void GameApp::Create()
|
||||
resources.RetrieveTexture("wood.png",RETRIEVE_MANAGE);
|
||||
resources.RetrieveTexture("gold.png",RETRIEVE_MANAGE);
|
||||
resources.RetrieveTexture("goldglow.png",RETRIEVE_MANAGE);
|
||||
resources.RetrieveTexture("backdrop.jpg",RETRIEVE_MANAGE);
|
||||
resources.RetrieveTexture("backdrop.jpg",RETRIEVE_MANAGE,TEXTURE_SUB_5551);
|
||||
resources.RetrieveTexture("handback.png",RETRIEVE_MANAGE);
|
||||
resources.RetrieveTexture("BattleIcon.png",RETRIEVE_MANAGE);
|
||||
resources.RetrieveTexture("DefenderIcon.png",RETRIEVE_MANAGE);
|
||||
|
||||
@@ -42,7 +42,7 @@ void GameStateShop::Start()
|
||||
|
||||
mBack = resources.GetQuad("back");
|
||||
resources.Unmiss("shop.jpg"); //Last resort.
|
||||
mBgTex = resources.RetrieveTexture("shop.jpg",RETRIEVE_LOCK);
|
||||
mBgTex = resources.RetrieveTexture("shop.jpg", RETRIEVE_LOCK, TEXTURE_SUB_5551);
|
||||
if(mBgTex)
|
||||
mBg = resources.RetrieveQuad("shop.jpg");
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user