turn room format and room type into enums; transform line endings
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
use crate::*;
|
||||
use crate::game::{RoomType, RoomFormat};
|
||||
|
||||
pub mod image {
|
||||
use crate::Image;
|
||||
@@ -404,7 +405,8 @@ pub fn game_default() -> Game {
|
||||
Game {
|
||||
name: "Write your game's title here".to_string(),
|
||||
version: Some(Version { major: 6, minor: 5 }),
|
||||
room_format: 1,
|
||||
room_format: Some(RoomFormat::CommaSeparated),
|
||||
room_type: RoomType::Room,
|
||||
font: Font::AsciiSmall,
|
||||
custom_font: None,
|
||||
text_direction: TextDirection::LeftToRight,
|
||||
|
||||
Reference in New Issue
Block a user