Switch to the Dinowyde font with DINOBYTE for missing glyphs
Unicode glyph lookup instead of CP437 codes, rope and double-strand frames with clean title ends, progress bars in eighth blocks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d99166a746
commit
d76e74b4b0
11 files changed
+225
-65
No files matched your search
+3
-3
@@ -1536,7 +1536,7 @@ impl R3d {
|
||||
ascii_bar(gfx, x, head.y - GH * small, cols, f, c, small);
|
||||
}
|
||||
if e.guard {
|
||||
gfx.glyph(0x0F, head.x - (GW * small * 0.5).floor(), head.y - 2.0 * GH * small, small, Color::from_rgba(255, 220, 90, 255));
|
||||
gfx.glyph('☼', head.x - (GW * small * 0.5).floor(), head.y - 2.0 * GH * small, small, Color::from_rgba(255, 220, 90, 255));
|
||||
}
|
||||
// rank badge left of the health bar
|
||||
if e.level > 1 && px_per_tile >= 20.0 * F() as f32 {
|
||||
@@ -1547,11 +1547,11 @@ impl R3d {
|
||||
if matches!(e.job, Job::Sleep(_)) && !e.moving {
|
||||
let k = (t * 1.5 + e.anim) % 1.0;
|
||||
let rise = (k * 14.0 * F() as f32).floor();
|
||||
gfx.glyph(b'z', head.x + cw * 2.0, head.y - GH * S() - rise, S(), Color::new(0.8, 0.85, 1.0, 1.0 - k));
|
||||
gfx.glyph('z', head.x + cw * 2.0, head.y - GH * S() - rise, S(), Color::new(0.8, 0.85, 1.0, 1.0 - k));
|
||||
}
|
||||
if e.carry > 0 {
|
||||
let p = proj(vec3(e.disp_x, 0.35, e.disp_y));
|
||||
gfx.glyph(0x0F, p.x + cw * 2.0, p.y - GH * small, small, Color::from_rgba(250, 210, 60, 255));
|
||||
gfx.glyph('☼', p.x + cw * 2.0, p.y - GH * small, small, Color::from_rgba(250, 210, 60, 255));
|
||||
}
|
||||
}
|
||||
for tw in &g.towers {
|
||||
|
||||
Reference in new issue
Block a user