Commit Graph

166 Commits

Author SHA1 Message Date
Max Bradbury 596be936d9 try to handle old "SET" rooms 2020-04-18 15:33:04 +01:00
Max Bradbury fe3fac5e2b handle old room format 2020-04-18 15:28:51 +01:00
Max Bradbury 7c76a9d3d2 go through more test data 2020-04-18 15:02:27 +01:00
Max Bradbury 9234ed1c63 test data 2020-04-18 14:48:25 +01:00
Max Bradbury 5735a7c911 minor bump - lots of fixes 2020-04-18 14:39:43 +01:00
Max Bradbury e71c87ad4c handle room wall array 2020-04-18 14:39:17 +01:00
Max Bradbury 7c566ab9d3 update test results 2020-04-18 14:03:01 +01:00
Max Bradbury 8fd091551e handle avatar ordering; todo 2020-04-18 13:59:48 +01:00
Max Bradbury 2b8039d77d go through more test data 2020-04-18 13:40:37 +01:00
Max Bradbury e6845d7a39 fix avatar ordering 2020-04-18 13:38:41 +01:00
Max Bradbury e328661fbf avatar ordering fixed 2020-04-18 13:38:20 +01:00
Max Bradbury 96b956e0f2 fix font output 2020-04-18 13:37:26 +01:00
Max Bradbury 27f5fd38bd todo 2020-04-18 13:37:08 +01:00
Max Bradbury cf8389ddd8 game version handling done 2020-04-18 12:49:51 +01:00
Max Bradbury 53bc9c6263 font and text direction handling done 2020-04-18 12:47:16 +01:00
Max Bradbury 16e399b312 export font and text direction to string 2020-04-18 12:46:46 +01:00
Max Bradbury e1bf7cbae4 test RTL and font options 2020-04-18 12:45:43 +01:00
Max Bradbury 935075e7a1 redo version as a struct 2020-04-18 11:03:24 +01:00
Max Bradbury c8a4b4a8bc use room_format_line() 2020-04-18 10:48:14 +01:00
Max Bradbury c200957679 these are public functions, not for internal use 2020-04-18 10:46:33 +01:00
Max Bradbury fc6d0dcc45 todo 2020-04-18 10:46:14 +01:00
Max Bradbury c467489dd5 remove some unnecessary imports and call them inline 2020-04-18 10:46:07 +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 c5604f2964 don't import mock, just reference directly 2020-04-18 10:26:42 +01:00
Max Bradbury 59068dadc9 Merge remote-tracking branch 'origin/master' 2020-04-17 09:37:15 +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 c13fd1dcdc todo 2020-04-15 20:55:42 +01:00
Max ea80e41815
Update README.md
bitsy 7.0
2020-04-15 09:08:34 +01:00
Max 369c8231d8
Create rust.yml
github actions
2020-04-15 09:04:39 +01:00
Max Bradbury e03ca42030 version bump 2020-04-14 00:41:44 +01:00
Max Bradbury 7b00bed46a update todo list 2020-04-14 00:41:28 +01:00
Max Bradbury 5413be82bc test framework for archive of bitsy game data 2020-04-14 00:41:05 +01:00
Max Bradbury 833e44a019 update mocks 2020-04-14 00:40:29 +01:00
Max Bradbury 88c4f36e31 make tile wall "optional" (specified or not); tile colour id 2020-04-14 00:40:14 +01:00
Max Bradbury b479275d7e room/position for sprite are actually optional! you can make a sprite and never place it anywhere;
colour id for sprite
2020-04-14 00:38:50 +01:00
Max Bradbury 389cfe5f10 error handling for position 2020-04-14 00:37:02 +01:00
Max Bradbury 5d1c515192 item colour id 2020-04-14 00:36:31 +01:00
Max Bradbury b4e05cdc1b trim whitespace around game data 2020-04-14 00:34:03 +01:00
Max Bradbury cc347dbf99 allow empty dialogues (needs fixing) 2020-04-14 00:32:24 +01:00
Max Bradbury a7c81f7f6c avatar.room -> room_id; add colour_id; game data line helper functions 2020-04-14 00:25:45 +01:00
Max Bradbury bfe679dfc8 move test resources 2020-04-14 00:17:40 +01:00
Max Bradbury 799a97c4dd update readme 2020-04-13 19:28:22 +01:00
Max Bradbury 2ee08dd264 fix failing test for room 2020-04-13 19:26:11 +01:00
Max Bradbury df2d0105e6 dedupe optional line for tile 2020-04-13 19:25:49 +01:00
Max Bradbury 5d76798ace dedupe optional line for room 2020-04-13 19:14:57 +01:00
Max Bradbury 6dc9bbcc2d dedupe optional lines for item 2020-04-13 19:12:21 +01:00
Max Bradbury ba6d4e8b40 redundant comment 2020-04-13 19:11:51 +01:00
Max Bradbury b9dac0932f function for optional lines of game data 2020-04-13 19:08:21 +01:00
Max Bradbury 85f6501b2c tidy up game implementation 2020-04-13 18:01:42 +01:00
Max Bradbury 280e7e9cd6 function to safely add a tile 2020-04-13 17:44:51 +01:00