mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
removed unused field
This commit is contained in:
@ -145,7 +145,6 @@ Graphics::Graphics()
|
|||||||
tasks += std::bind(&Graphics::initializeBattleGraphics,this);
|
tasks += std::bind(&Graphics::initializeBattleGraphics,this);
|
||||||
tasks += std::bind(&Graphics::loadErmuToPicture,this);
|
tasks += std::bind(&Graphics::loadErmuToPicture,this);
|
||||||
tasks += std::bind(&Graphics::initializeImageLists,this);
|
tasks += std::bind(&Graphics::initializeImageLists,this);
|
||||||
tasks += GET_DEF_ESS(resources32,"RESOURCE.DEF");
|
|
||||||
|
|
||||||
CThreadHelper th(&tasks,std::max((ui32)1,boost::thread::hardware_concurrency()));
|
CThreadHelper th(&tasks,std::max((ui32)1,boost::thread::hardware_concurrency()));
|
||||||
th.run();
|
th.run();
|
||||||
@ -156,7 +155,6 @@ Graphics::Graphics()
|
|||||||
initializeBattleGraphics();
|
initializeBattleGraphics();
|
||||||
loadErmuToPicture();
|
loadErmuToPicture();
|
||||||
initializeImageLists();
|
initializeImageLists();
|
||||||
resources32 = CDefHandler::giveDefEss("RESOURCE.DEF");
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//(!) do not load any CAnimation here
|
//(!) do not load any CAnimation here
|
||||||
|
@ -61,7 +61,6 @@ public:
|
|||||||
SDL_Color * neutralColorPalette;
|
SDL_Color * neutralColorPalette;
|
||||||
|
|
||||||
std::vector<CDefEssential *> flags1, flags2, flags3, flags4; //flags blitted on heroes when ,
|
std::vector<CDefEssential *> flags1, flags2, flags3, flags4; //flags blitted on heroes when ,
|
||||||
CDefEssential * resources32; //resources 32x32
|
|
||||||
std::shared_ptr<CAnimation> heroMoveArrows;
|
std::shared_ptr<CAnimation> heroMoveArrows;
|
||||||
std::map<std::string, CDefEssential *> heroAnims; // [hero class def name] //added group 10: up - left, 11 - left and 12 - left down // 13 - up-left standing; 14 - left standing; 15 - left down standing
|
std::map<std::string, CDefEssential *> heroAnims; // [hero class def name] //added group 10: up - left, 11 - left and 12 - left down // 13 - up-left standing; 14 - left standing; 15 - left down standing
|
||||||
std::vector<CDefEssential *> boatAnims; // [boat type: 0 - 3] //added group 10: up - left, 11 - left and 12 - left down // 13 - up-left standing; 14 - left standing; 15 - left down standing
|
std::vector<CDefEssential *> boatAnims; // [boat type: 0 - 3] //added group 10: up - left, 11 - left and 12 - left down // 13 - up-left standing; 14 - left standing; 15 - left down standing
|
||||||
|
Reference in New Issue
Block a user