More stuff with tooltips.
Add commands to reset cvars. Show progress counters in achievement menu.
This commit is contained in:
parent
894f2ed46a
commit
10bab27e36
14 changed files with 231 additions and 57 deletions
|
|
@ -36,7 +36,6 @@ Class SWWMStats : Thinker
|
|||
Array<MonsterKill> mstats;
|
||||
Array<LevelStat> lstats;
|
||||
Array<Class<Weapon> > alreadygot;
|
||||
Array<Class<SWWMWeapon> > sawtooltip;
|
||||
int favweapon;
|
||||
// these two are used for mission updates
|
||||
Array<int> clustervisit;
|
||||
|
|
@ -61,19 +60,6 @@ Class SWWMStats : Thinker
|
|||
return false;
|
||||
}
|
||||
|
||||
void SendTooltip( Class<SWWMWeapon> which )
|
||||
{
|
||||
if ( !swwm_weapontooltips ) return;
|
||||
for ( int i=0; i<sawtooltip.Size(); i++ )
|
||||
{
|
||||
if ( sawtooltip[i] == which ) return;
|
||||
}
|
||||
sawtooltip.Push(which);
|
||||
// this is kinda hacky but hey, as long as it works
|
||||
if ( myplayer == players[consoleplayer] )
|
||||
Console.MidPrint(null,"swwmwpntooltip."..which.GetClassName());
|
||||
}
|
||||
|
||||
private Class<Weapon> WeaponFromInflictor( Actor inflictor, Name damagetype )
|
||||
{
|
||||
Class<Weapon> which = myplayer.ReadyWeapon?myplayer.ReadyWeapon.GetClass():null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue