medals and clean up... smarter functions

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5101 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-05-29 19:37:44 +00:00
parent c40c7161a5
commit f86de67884
7 changed files with 89 additions and 78 deletions
+4 -4
View File
@@ -196,14 +196,14 @@ struct savedscore
struct medals
{
int points, lasthit, lastgun, combohits, combo, combotime, combodamage, ncombos, ncovers, nhs;
int ask, askmillis, linked, linkmillis, linkreason;
bool updatedpoints;
int ask, askmillis, linked, linkmillis, linkreason, upmillis;
bool updated;
void reset()
{
points = lasthit = lastgun = combohits = combo = combotime = combodamage = ncombos = ncovers = nhs = 0;
askmillis = linkmillis = 0;
askmillis = linkmillis = upmillis = 0;
linkreason = linked = ask = -1;
updatedpoints = false;
updated = false;
}
};