160 Commits

Author SHA1 Message Date
c9bab425a2 handle optional version/format lines 2020-04-24 18:09:54 +01:00
2955a81296 tidyup 2020-04-24 18:09:08 +01:00
a0d109c0b8 handle optional game version and room format; transform line endings 2020-04-24 18:08:21 +01:00
ebb172df7e handle room formats 2020-04-24 18:07:32 +01:00
1c6e3eb515 turn room format and room type into enums; transform line endings 2020-04-24 18:06:17 +01:00
f4b82c3a67 missing field 2020-04-23 16:42:01 +01:00
f2ec5d44bd add line endings property so we can convert later 2020-04-23 12:07:45 +01:00
096eb39bf6 optional version handling 2020-04-23 12:03:39 +01:00
6e7240e2d7 streamline this 2020-04-23 08:57:46 +01:00
d1254988bc allow game to have font data (not really parsed for now) 2020-04-23 07:43:52 +01:00
f740496727 don't strip newlines from endings 2020-04-23 06:57:07 +01:00
d955f4ee71 fix ending from string (allow "END " in dialogue, and multi-line dialogues) 2020-04-23 06:50:38 +01:00
7a8ec4e5d2 fix executable name 2020-04-19 08:14:52 +01:00
858a45f69d remove unused import 2020-04-19 08:14:26 +01:00
76e6c2477c test configurations 2020-04-19 08:13:55 +01:00
dacccdc100 better example program 2020-04-19 07:34:11 +01:00
github-actions[bot]
1e0c129dca
Format Rust code using rustfmt 2020-04-18 17:08:16 +00:00
f550c3696f handle errors for game 2020-04-18 18:07:25 +01:00
4f8c4e5195 Merge remote-tracking branch 'origin/master' 2020-04-18 17:48:42 +01:00
434e98cc60 implement error handling for game 2020-04-18 17:48:29 +01:00
github-actions[bot]
8983aa60d1
Format Rust code using rustfmt 2020-04-18 16:43:25 +00:00
c47c4205aa implement error handling for avatar 2020-04-18 17:42:32 +01:00
github-actions[bot]
cba6c16414
Format Rust code using rustfmt 2020-04-18 15:58:30 +00:00
074b51d5d9 fix failing error 2020-04-18 16:46:41 +01:00
8b05645c6b allow trailing spaces in dialogues 2020-04-18 16:32:50 +01:00
2e5d063371 more testing 2020-04-18 16:20:29 +01:00
0414fe757a optional room palette is now handled 2020-04-18 16:14:01 +01:00
c954e56ea9 error handling for position 2020-04-18 16:12:06 +01:00
78b2319d4f implement optional palette id for room 2020-04-18 15:50:01 +01:00
c441fce485 implement optional name for avatar 2020-04-18 15:49:33 +01:00
596be936d9 try to handle old "SET" rooms 2020-04-18 15:33:04 +01:00
fe3fac5e2b handle old room format 2020-04-18 15:28:51 +01:00
7c76a9d3d2 go through more test data 2020-04-18 15:02:27 +01:00
9234ed1c63 test data 2020-04-18 14:48:25 +01:00
e71c87ad4c handle room wall array 2020-04-18 14:39:17 +01:00
7c566ab9d3 update test results 2020-04-18 14:03:01 +01:00
2b8039d77d go through more test data 2020-04-18 13:40:37 +01:00
e6845d7a39 fix avatar ordering 2020-04-18 13:38:41 +01:00
e328661fbf avatar ordering fixed 2020-04-18 13:38:20 +01:00
96b956e0f2 fix font output 2020-04-18 13:37:26 +01:00
cf8389ddd8 game version handling done 2020-04-18 12:49:51 +01:00
16e399b312 export font and text direction to string 2020-04-18 12:46:46 +01:00
e1bf7cbae4 test RTL and font options 2020-04-18 12:45:43 +01:00
935075e7a1 redo version as a struct 2020-04-18 11:03:24 +01:00
c8a4b4a8bc use room_format_line() 2020-04-18 10:48:14 +01:00
c200957679 these are public functions, not for internal use 2020-04-18 10:46:33 +01:00
c467489dd5 remove some unnecessary imports and call them inline 2020-04-18 10:46:07 +01:00
cc0780b9cd implement font and text direction; call std and mock directly instead of importing 2020-04-18 10:45:01 +01:00
c5604f2964 don't import mock, just reference directly 2020-04-18 10:26:42 +01:00
f77c8b2d4e handle bitsy version as major and minor versions (uint); helper functions for game version/format 2020-04-17 09:37:03 +01:00