Commit Graph

411 Commits

Author SHA1 Message Date
Max Bradbury 68ecc64c7b error handling for Image 2020-10-18 15:24:48 +01:00
Max Bradbury 0dcddb9d8e make some functions public; from_str functions; impl Display; error handling for Image 2020-10-18 15:14:12 +01:00
Max Bradbury 1c5315ddad todo 2020-10-18 14:08:47 +01:00
Max Bradbury a7a4a34ab8 error handling for exit, position, transition 2020-10-18 14:07:28 +01:00
Max Bradbury 67d4e28773 actually throw error on bad dialogue 2020-10-18 13:51:42 +01:00
Max Bradbury d8183e29fc error handling for dialogues 2020-10-18 13:46:22 +01:00
Max Bradbury dba84e01fa error handling for endings 2020-10-18 12:27:54 +01:00
Max Bradbury 7896ef1232 make a start toward better error handling 2020-10-17 22:47:31 +01:00
Max Bradbury f7f08d9aba more concise import 2020-10-17 13:55:33 +01:00
Max Bradbury 8068177736 remove unused thing 2020-10-17 13:52:07 +01:00
Max Bradbury 59fc76a2d4 implement Format instead of just ToString 2020-10-17 11:42:37 +01:00
Max Bradbury 676c71cd45 alignment 2020-10-17 11:38:47 +01:00
Max Bradbury 5aa0c94810 update this accepted failure 2020-10-16 16:31:49 +01:00
Max Bradbury ad3eb102be fix this breaking change 2020-10-16 16:31:35 +01:00
Max Bradbury fe22e78423 concise syntax 2020-10-16 16:20:19 +01:00
Max Bradbury fd08bff10e rewrite omnibus tests so I can ignore failing games with no title 2020-10-16 16:07:28 +01:00
Max Bradbury 1967be3635 return error instead of panicking on sprite missing position 2020-10-16 16:04:55 +01:00
Max Bradbury eede24b13c String can be compared to &str 2020-10-16 15:35:40 +01:00
Max Bradbury 22c41fb032 whitespace 2020-10-16 13:10:16 +01:00
Max Bradbury acfb0b6c8f tidy up Position::from_str and add test for bad data 2020-10-16 12:14:57 +01:00
Max Bradbury a6bcc763e9 more clippy fixes 2020-10-16 11:55:15 +01:00
Max Bradbury 1d7e3f0704 following some clippy recommendations 2020-10-15 23:54:23 +01:00
Max Bradbury 11c9430ccf concise syntax 2020-10-15 23:29:48 +01:00
Max Bradbury 45e113717e concise syntax 2020-10-15 23:27:47 +01:00
Max Bradbury fa6f5e1bcb remove outdated syntax 2020-10-15 23:27:22 +01:00
Max Bradbury ee0e6af143 avoid warnings 2020-10-09 13:08:47 +01:00
Max Bradbury c1cac86c1a test omnibus (officially / with permission) 2020-10-09 13:05:22 +01:00
Max Bradbury ff70efd115 use export 2020-10-09 12:00:08 +01:00
Max Bradbury c79d33ddf2 re-export modules for better ergonomics 2020-10-09 11:57:02 +01:00
Max Bradbury 575ad442d8 minor bump 2020-09-25 16:59:04 +01:00
Max Bradbury b868ee4d04 implement formatting for game errors 2020-09-25 16:58:30 +01:00
Max Bradbury fe690a6d9b check if game data is present 2020-09-25 16:45:06 +01:00
Max Bradbury 2d3bcc4f50 todo 2020-09-25 16:38:15 +01:00
Max Bradbury 0763d15b0e no need to take ownership of additional game for merge 2020-09-25 16:37:55 +01:00
Max Bradbury 91883079a3 remove obsolete "extern crate" syntax 2020-09-12 12:45:48 +01:00
Max Bradbury 689a89c18c documentation comment 2020-08-21 14:48:12 +01:00
Max Bradbury c4be0861cb update default game data for bitsy 7.2 (no game data changes, only editor changes here) 2020-08-14 12:11:56 +01:00
Max Bradbury 73665796df not using github anymore 2020-07-26 12:46:29 +01:00
Max Bradbury ed6937bbfd minor bump 2020-07-26 12:40:47 +01:00
Max Bradbury 8cb32ef9b9 correct repo 2020-07-26 12:40:23 +01:00
Max Bradbury b5050720d8 tests don't need `test_` prefix 2020-07-26 12:37:41 +01:00
Max Bradbury f2ae43e85f add bitsy-parse executable for independent testing of import/export 2020-07-26 12:36:29 +01:00
Max Bradbury c05010432a tidy up formatting 2020-07-26 12:08:10 +01:00
Max Bradbury b47a9f3911 minor bump 2020-07-26 12:07:55 +01:00
Max Bradbury 03fc231476 tests don't need to be prefixed with "test_" 2020-07-26 12:07:38 +01:00
Max Bradbury bfc6fe29ea include Image 2020-07-26 12:07:13 +01:00
Max Bradbury 50e4530984 new game::find_tile_with_animation function 2020-07-26 12:07:00 +01:00
Max Bradbury 8d5580f827 minor bump 2020-07-20 21:06:38 +01:00
Max Bradbury 01084d69df invert tiles 2020-07-20 21:06:12 +01:00
Max Bradbury 3ce85fcb5e Image.invert() 2020-07-20 21:05:25 +01:00