Commit Graph

26 Commits

Author SHA1 Message Date
Max Bradbury 4182079a73 better documentation 2021-11-17 15:15:33 +00: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 c79d33ddf2 re-export modules for better ergonomics 2020-10-09 11:57:02 +01:00
Max Bradbury 689a89c18c documentation comment 2020-08-21 14:48:12 +01:00
Max Bradbury b5050720d8 tests don't need `test_` prefix 2020-07-26 12:37:41 +01:00
Max Bradbury 01084d69df invert tiles 2020-07-20 21:06:12 +01:00
Max Bradbury 9081c157d6 flip/mirror/rotate functions for tiles 2020-07-20 19:52:31 +01:00
Max Bradbury d7529387ea don't allow duplicate tiles with different names 2020-07-19 09:45:46 +01:00
Max Bradbury f08f0fdc16 remove inlining 2020-07-19 08:42:03 +01:00
Max Bradbury eef37898f7 implement PartialEq so we can compare tiles without comparing IDs 2020-06-30 00:32:59 +01:00
Max Bradbury 0626d8d069 use new_unique_id() and remove old imports/calls to base36 functions 2020-06-23 16:26:08 +01:00
Max Bradbury 168f3559e0 replace tile ID with string 2020-06-18 17:47:54 +01:00
Max Bradbury 4ed5ed3d65 implement Clone 2020-05-31 16:12:23 +01:00
Max Bradbury 6533de8b8c import 2020-04-29 16:59:00 +01:00
Max Bradbury 8bd323b8a0 dedupe animation frames handling 2020-04-29 08:27:35 +01:00
Max Bradbury f899f03dbe allow inlining (this did not provide a statistically significant performance boost - oh well) 2020-04-28 18:00:31 +01:00
Max Bradbury 76e6c2477c test configurations 2020-04-19 08:13:55 +01:00
github-actions[bot] cba6c16414
Format Rust code using rustfmt 2020-04-18 15:58:30 +00:00
Max Bradbury c467489dd5 remove some unnecessary imports and call them inline 2020-04-18 10:46:07 +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 bfe679dfc8 move test resources 2020-04-14 00:17:40 +01:00
Max Bradbury df2d0105e6 dedupe optional line for tile 2020-04-13 19:25:49 +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 e249727c3e allow Tile::from to be inlined 2020-04-13 13:30:55 +01:00
Max Bradbury 1426102e67 rename mocks to mock 2020-04-12 13:50:07 +01:00
Max Bradbury a1782a6bed tile module 2020-04-12 12:53:11 +01:00