135 Commits

Author SHA1 Message Date
de15ccbaa2 get_palette() function and test 2020-11-06 16:00:43 +00:00
b9415ade9e fix segments_from_str; version bump 2020-11-06 15:39:43 +00:00
e992e41635 get segments from borrowed str instead of String for flexibility 2020-11-06 15:37:00 +00:00
46f8831c7b tidyup 2020-10-18 18:05:14 +01:00
1bbfaceeb4 give warning on missing avatar 2020-10-18 17:03:09 +01:00
e9738b98b1 sprite: from_str and error handling 2020-10-18 17:00:35 +01:00
889328f9a9 error handling for Item 2020-10-18 15:47:39 +01:00
d8183e29fc error handling for dialogues 2020-10-18 13:46:22 +01:00
dba84e01fa error handling for endings 2020-10-18 12:27:54 +01:00
7896ef1232 make a start toward better error handling 2020-10-17 22:47:31 +01:00
a6bcc763e9 more clippy fixes 2020-10-16 11:55:15 +01:00
1d7e3f0704 following some clippy recommendations 2020-10-15 23:54:23 +01:00
c79d33ddf2 re-export modules for better ergonomics 2020-10-09 11:57:02 +01:00
b868ee4d04 implement formatting for game errors 2020-09-25 16:58:30 +01:00
fe690a6d9b check if game data is present 2020-09-25 16:45:06 +01:00
2d3bcc4f50 todo 2020-09-25 16:38:15 +01:00
0763d15b0e no need to take ownership of additional game for merge 2020-09-25 16:37:55 +01:00
03fc231476 tests don't need to be prefixed with "test_" 2020-07-26 12:07:38 +01:00
bfc6fe29ea include Image 2020-07-26 12:07:13 +01:00
50e4530984 new game::find_tile_with_animation function 2020-07-26 12:07:00 +01:00
ff09ecd745 fix test for new bitsy version 2020-07-19 08:48:56 +01:00
4ebfec02ef fix test for new bitsy version 2020-07-19 08:45:57 +01:00
f08f0fdc16 remove inlining 2020-07-19 08:42:03 +01:00
dca191ccae don't allow tiles with an ID of 0 2020-07-18 22:26:13 +01:00
5d40222120 fix merge issues #1 & #2; minor version bump 2020-07-02 16:52:40 +01:00
4978d263f1 refactor (will this help?) 2020-07-02 15:04:21 +01:00
64f75f6f83 tidyup 2020-07-02 15:03:50 +01:00
12b6d1904e remove redundant comment 2020-07-02 15:03:26 +01:00
07fc016020 remove unused fn 2020-07-01 17:18:55 +01:00
8582909762 remove accidental import 2020-07-01 17:04:23 +01:00
192e065e06 todo 2020-07-01 16:23:41 +01:00
32addca850 fix dedupe_tiles function and test 2020-07-01 14:42:36 +01:00
3802ccfe93 remove some unused bits 2020-07-01 14:23:39 +01:00
71ce6e7334 add dedupe_tiles() function and test 2020-07-01 14:22:59 +01:00
92ca2ea5c3 add change_tile_ids() function 2020-07-01 14:22:23 +01:00
c46d6837b9 don't overwrite keys 2020-06-29 18:29:24 +01:00
a969368a8f handle dialogue ID changes in exits 2020-06-28 20:47:55 +01:00
0a7ed21ea6 refactor room exit, ending changes 2020-06-28 20:42:53 +01:00
6113bb12a6 fix misleading comments 2020-06-28 20:29:03 +01:00
9fcf3a996d refactoring/optimisation 2020-06-28 20:28:43 +01:00
7c21680926 tidyup 2020-06-28 18:30:20 +01:00
beea5f8efc use existing IDs if there is no conflict 2020-06-28 17:49:32 +01:00
ba1dc3ff34 remove comment 2020-06-28 17:48:01 +01:00
0a82d2ae61 borrow game properties 2020-06-28 17:47:29 +01:00
ed21ca4a2b more merge testing 2020-06-28 17:46:46 +01:00
4c47de406e more merge tests 2020-06-28 13:10:13 +01:00
5f736cc653 skeleton of merge functionality 2020-06-27 19:28:17 +01:00
b08e514b12 add_dialogue() 2020-06-24 19:43:36 +01:00
e32027e0af only change item id on clash; test add_item 2020-06-24 18:45:06 +01:00
93a50e6b86 don't try to get tiles with ID of zero; test this 2020-06-24 15:30:16 +01:00