Commit Graph

221 Commits

Author SHA1 Message Date
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
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 e249727c3e allow Tile::from to be inlined 2020-04-13 13:30:55 +01:00
Max Bradbury 53204ba0f8 document room format 2020-04-13 13:30:26 +01:00
Max Bradbury 1928334b27 convert palette id to int 2020-04-13 13:30:08 +01:00
Max Bradbury 48e479c189 better warnings 2020-04-12 17:18:00 +01:00
Max Bradbury 37becc2975 better warnings 2020-04-12 17:17:39 +01:00
Max Bradbury f8aa13a72e program name 2020-04-12 17:16:58 +01:00
Max Bradbury bef39f9b8b allow public uses of structs; add sample program 2020-04-12 17:13:08 +01:00
Max Bradbury fd4a682ade make Game struct public 2020-04-12 16:08:49 +01:00
Max Bradbury 8e5d55c2a5 implement scene transitions 2020-04-12 15:40:40 +01:00
Max Bradbury eb06d59858 minor bump 2020-04-12 15:00:10 +01:00
Max Bradbury 69857b400e ta-da!! 2020-04-12 14:59:33 +01:00
Max Bradbury cac77f0d90 ignore bitsy data repository 2020-04-12 14:58:38 +01:00
Max Bradbury 0ce7b134fc ignore IDE project folder 2020-04-12 14:55:31 +01:00
Max Bradbury 065657ded9 more package info 2020-04-12 14:53:33 +01:00
Max Bradbury 14c865e521 versioning 2020-04-12 14:48:43 +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 3d7bf1d24e variable module 2020-04-12 14:20:53 +01:00
Max Bradbury 02c3c3faae ending module 2020-04-12 13:52:36 +01:00
Max Bradbury 1426102e67 rename mocks to mock 2020-04-12 13:50:07 +01:00
Max Bradbury 6090d36559 exit module 2020-04-12 13:49:19 +01:00
Max Bradbury b887e178bb item module 2020-04-12 13:46:55 +01:00
Max Bradbury 82e2b77e2c tidy imports 2020-04-12 13:41:43 +01:00
Max Bradbury e0907d529f avatar module 2020-04-12 13:41:27 +01:00
Max Bradbury fa6300d798 sprite module 2020-04-12 13:35:17 +01:00
Max Bradbury 0faaf23a2d dialogue module 2020-04-12 13:26:33 +01:00
Max Bradbury ca1b86c2b3 rm leading whitespace 2020-04-12 13:22:56 +01:00
Max Bradbury 5d6e580918 position module 2020-04-12 13:21:27 +01:00
Max Bradbury a1782a6bed tile module 2020-04-12 12:53:11 +01:00
Max Bradbury a3bfdc68b1 image module; mocks module 2020-04-12 12:48:07 +01:00
Max Bradbury 92ab40e013 palette module; tidy up colour module 2020-04-12 12:35:39 +01:00
Max Bradbury e057b1f63a move colour to own module 2020-04-12 12:22:20 +01:00
Max Bradbury ffeb16363f this is a lib, not a standalone project 2020-04-12 12:01:42 +01:00
Max Bradbury 7c1d9dabcf this is done, I think 2020-04-12 11:52:48 +01:00
Max Bradbury cd82c075be implement From<String> 2020-04-12 11:51:30 +01:00
Max Bradbury b09b9dbece implement From for Colour 2020-04-12 11:31:18 +01:00
Max Bradbury 7b941b5d99 implement From for Tile 2020-04-12 11:29:13 +01:00
Max Bradbury 163fddda5a implement From for Image 2020-04-12 11:26:59 +01:00
Max Bradbury 2ec01ebfce re-implement _to_string functions as ToString 2020-04-12 11:22:14 +01:00
Max Bradbury 3d1beca268 implement ToString for Dialogue 2020-04-12 10:37:41 +01:00