Commit Graph

24 Commits

Author SHA1 Message Date
Max Bradbury cf1ca6f1b5 reimplement avatar as a plain sprite; handle sprite items as these are mostly needed for avatar 2020-04-26 13:31:20 +01:00
Max Bradbury 1c6e3eb515 turn room format and room type into enums; transform line endings 2020-04-24 18:06:17 +01:00
Max Bradbury f4b82c3a67 missing field 2020-04-23 16:42:01 +01:00
Max Bradbury 096eb39bf6 optional version handling 2020-04-23 12:03:39 +01:00
Max Bradbury d1254988bc allow game to have font data (not really parsed for now) 2020-04-23 07:43:52 +01:00
github-actions[bot] cba6c16414
Format Rust code using rustfmt 2020-04-18 15:58:30 +00:00
Max Bradbury 78b2319d4f implement optional palette id for room 2020-04-18 15:50:01 +01:00
Max Bradbury c441fce485 implement optional name for avatar 2020-04-18 15:49:33 +01:00
Max Bradbury e71c87ad4c handle room wall array 2020-04-18 14:39:17 +01:00
Max Bradbury 935075e7a1 redo version as a struct 2020-04-18 11:03:24 +01:00
Max Bradbury cc0780b9cd implement font and text direction; call std and mock directly instead of importing 2020-04-18 10:45:01 +01:00
Max Bradbury f77c8b2d4e handle bitsy version as major and minor versions (uint); helper functions for game version/format 2020-04-17 09:37:03 +01:00
Max Bradbury 833e44a019 update mocks 2020-04-14 00:40:29 +01:00
Max Bradbury e84fa4cc7c tile ID functions and tile mock 2020-04-13 16:19:59 +01:00
Max Bradbury 45ee94aae9 item id to u64; item.dialogue -> item.dialogue_id 2020-04-13 14:47:15 +01:00
Max Bradbury c7f1d7220c implement ToBase36 for u64; room id to u64; sprite id to u64; tile id to u64; sprite.dialogue -> sprite.dialogue_id 2020-04-13 14:43:23 +01:00
Max Bradbury f424c49301 convert exit room id to u64 2020-04-13 13:51:29 +01:00
Max Bradbury 53d5a28923 convert room id and palette id to u64 2020-04-13 13:46:33 +01:00
Max Bradbury 1928334b27 convert palette id to int 2020-04-13 13:30:08 +01:00
Max Bradbury bef39f9b8b allow public uses of structs; add sample program 2020-04-12 17:13:08 +01:00
Max Bradbury 8e5d55c2a5 implement scene transitions 2020-04-12 15:40:40 +01:00
Max Bradbury 9dfaaa0173 game module 2020-04-12 14:38:07 +01:00
Max Bradbury b1eb0160c7 room module 2020-04-12 14:28:11 +01:00
Max Bradbury 1426102e67 rename mocks to mock 2020-04-12 13:50:07 +01:00