aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-assets/src/lib.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-12-01 21:32:55 +0300
committerValentin Popov <valentin@popov.link>2026-12-01 21:32:55 +0300
commitb48fb2caccc7a72b85f07e6ab652081af57c7855 (patch)
tree851858e8881e9c0ba1892b1173212092b53ff86c /crates/fparkan-assets/src/lib.rs
parent6954eb74b535341bed234091e67f62ed13266c25 (diff)
downloadfparkan-b48fb2caccc7a72b85f07e6ab652081af57c7855.tar.xz
fparkan-b48fb2caccc7a72b85f07e6ab652081af57c7855.zip
feat(ui): render mission hints with the original game font
Resolve the witnessed 800x600 GAME_FONT through the installed resource configuration. Draw CP1251 bytes from the Tfnt atlas using the original variable-width metrics. Checked the original measurement routine and the first Constructor hint in the game window.
Diffstat (limited to 'crates/fparkan-assets/src/lib.rs')
-rw-r--r--crates/fparkan-assets/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/fparkan-assets/src/lib.rs b/crates/fparkan-assets/src/lib.rs
index db7484cf..75851628 100644
--- a/crates/fparkan-assets/src/lib.rs
+++ b/crates/fparkan-assets/src/lib.rs
@@ -35,8 +35,10 @@ mod chassis_profile;
mod control_drive;
mod control_weapon_sound;
mod explosion_profile;
+pub mod game_font;
pub mod satellite_map;
mod turret_elevation;
+mod ui_configuration;
pub use behavior_profile_values::{
decode_behavior_go_speed_percent, decode_behavior_work_rates, BehaviorWorkRates,
};