mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove old comments
This commit is contained in:
parent
f048600335
commit
b7a718cb99
@ -1411,7 +1411,6 @@ impl Hud {
|
|||||||
) {
|
) {
|
||||||
let player_font_col = |crit: bool| {
|
let player_font_col = |crit: bool| {
|
||||||
if crit {
|
if crit {
|
||||||
// TODO: Temporary color for crits
|
|
||||||
Rgb::new(1.0, 0.9, 0.0)
|
Rgb::new(1.0, 0.9, 0.0)
|
||||||
} else {
|
} else {
|
||||||
Rgb::new(1.0, 0.1, 0.0)
|
Rgb::new(1.0, 0.1, 0.0)
|
||||||
@ -2128,17 +2127,10 @@ impl Hud {
|
|||||||
DARK_ORANGE,
|
DARK_ORANGE,
|
||||||
RED_ORANGE,
|
RED_ORANGE,
|
||||||
];
|
];
|
||||||
|
|
||||||
// Crit sizes
|
|
||||||
// const CRIT_SIZES: [f32; 6] = [
|
|
||||||
|
|
||||||
// ];
|
|
||||||
|
|
||||||
// Largest value that select the first color is 40, then it shifts colors
|
// Largest value that select the first color is 40, then it shifts colors
|
||||||
// every 5
|
// every 5
|
||||||
let font_col = |font_size: u32, crit: bool| {
|
let font_col = |font_size: u32, crit: bool| {
|
||||||
if crit {
|
if crit {
|
||||||
// TODO: Temporary color for crits
|
|
||||||
Rgb::new(1.0, 0.9, 0.0)
|
Rgb::new(1.0, 0.9, 0.0)
|
||||||
} else {
|
} else {
|
||||||
DAMAGE_COLORS[(font_size.saturating_sub(36) / 5).min(5) as usize]
|
DAMAGE_COLORS[(font_size.saturating_sub(36) / 5).min(5) as usize]
|
||||||
|
Loading…
Reference in New Issue
Block a user