Home
last modified time | relevance | path

Searched refs:total_given_freq (Results 1 – 2 of 2) sorted by relevance

/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dmon-util.cc5361 unsigned int total_given_freq = 0; in normalize_spell_freq() local
5363 total_given_freq += slot.freq; in normalize_spell_freq()
5365 if (total_given_freq > 0) in normalize_spell_freq()
5368 slot.freq = total_freq * slot.freq / total_given_freq; in normalize_spell_freq()
H A Dtags.cc7369 int total_given_freq = 0; in unmarshallSpells() local
7371 total_given_freq += slot.freq; in unmarshallSpells()
7383 total_given_freq = spell_freq_for_hd(hd); // would be zero otherwise in unmarshallSpells()
7387 normalize_spell_freq(spells, total_given_freq); in unmarshallSpells()