Home
last modified time | relevance | path

Searched refs:bar_fill_size (Results 1 – 4 of 4) sorted by relevance

/dports/games/flare-engine/flare-engine-1.12/src/
H A DMenuStatBar.cpp60 , bar_fill_size(-1, -1) in MenuStatBar()
109 bar_fill_size = Parse::toPoint(infile.val); in MenuStatBar()
119 if (bar_fill_size.x == -1 || bar_fill_size.y == -1) { in MenuStatBar()
120 bar_fill_size.x = bar_pos.w; in MenuStatBar()
121 bar_fill_size.y = bar_pos.h; in MenuStatBar()
206 …rmalized_max == 0) ? 0 : (normalized_cur * static_cast<unsigned long>(bar_fill_size.x)) / normaliz… in render()
212 src.h = bar_fill_size.y; in render()
217 …rmalized_max == 0) ? 0 : (normalized_cur * static_cast<unsigned long>(bar_fill_size.y)) / normaliz… in render()
221 src.y = bar_fill_size.y-static_cast<int>(bar_length); in render()
222 src.w = bar_fill_size.x; in render()
H A DMenuEnemy.cpp45 , bar_fill_size(-1, -1) in MenuEnemy()
76 bar_fill_size = Parse::toPoint(infile.val); in MenuEnemy()
86 if (bar_fill_size.x == -1 || bar_fill_size.y == -1) { in MenuEnemy()
87 bar_fill_size.x = bar_pos.w; in MenuEnemy()
88 bar_fill_size.y = bar_pos.h; in MenuEnemy()
136 hp_bar_length = (enemy->stats.hp * bar_fill_size.x) / enemy->stats.get(Stats::HP_MAX); in render()
149 src.h = bar_fill_size.y; in render()
H A DMenuEnemy.h42 Point bar_fill_size; variable
H A DMenuStatBar.h60 Point bar_fill_size; variable