implement font and text direction; call std and mock directly instead of importing

This commit is contained in:
2020-04-18 10:45:01 +01:00
parent c5604f2964
commit cc0780b9cd
4 changed files with 77 additions and 14 deletions

View File

@@ -191,6 +191,9 @@ pub fn game_default() -> Game {
major_version: 6,
minor_version: 5,
room_format: 1,
font: Font::AsciiSmall,
custom_font: None,
text_direction: TextDirection::LeftToRight,
palettes: vec![
Palette {
id: 0,