handle bitsy version as major and minor versions (uint); helper functions for game version/format

This commit is contained in:
2020-04-17 09:37:03 +01:00
parent c13fd1dcdc
commit f77c8b2d4e
2 changed files with 29 additions and 8 deletions

View File

@@ -188,7 +188,8 @@ pub fn room() -> Room {
pub fn game_default() -> Game {
Game {
name: "Write your game's title here".to_string(),
version: 6.5,
major_version: 6,
minor_version: 5,
room_format: 1,
palettes: vec![
Palette {