mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 15:21:54 +00:00
minimap fix for 1066
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@203 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
7e307af9d5
commit
478306c2bc
3 changed files with 413 additions and 407 deletions
File diff suppressed because it is too large
Load diff
|
@ -78,6 +78,8 @@ void AvHOverviewMap::Init()
|
||||||
|
|
||||||
this->mMiniMapSprite = 0;
|
this->mMiniMapSprite = 0;
|
||||||
this->mReticleSprite = 0;
|
this->mReticleSprite = 0;
|
||||||
|
// puzl: 1066 reset overview
|
||||||
|
this->mLastMinimapName = "";
|
||||||
|
|
||||||
mLastUpdateTime = 0;
|
mLastUpdateTime = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,7 @@ public:
|
||||||
float mViewWorldMaxY;
|
float mViewWorldMaxY;
|
||||||
|
|
||||||
bool mFullScreen;
|
bool mFullScreen;
|
||||||
|
|
||||||
};
|
};
|
||||||
AvHOverviewMap();
|
AvHOverviewMap();
|
||||||
|
|
||||||
|
@ -75,7 +75,8 @@ protected:
|
||||||
|
|
||||||
AvHUser3 mUser3;
|
AvHUser3 mUser3;
|
||||||
AvHTeamNumber mTeam;
|
AvHTeamNumber mTeam;
|
||||||
|
// puzl: 1066 the name of the last minimap we loaded
|
||||||
|
string mLastMinimapName;
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void WorldToMiniMapCoords(const DrawInfo& inDrawInfo, float& x, float& y);
|
void WorldToMiniMapCoords(const DrawInfo& inDrawInfo, float& x, float& y);
|
||||||
|
@ -126,4 +127,4 @@ private:
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue