Commit Graph

175 Commits

Author SHA1 Message Date
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
Max Bradbury 4fd71f4a2c implement ToString for Image 2020-04-12 10:24:21 +01:00
Max Bradbury 57c9199bca one liner 2020-04-12 10:21:38 +01:00
Max Bradbury d3701348ec implement ToString for Position 2020-04-12 10:20:51 +01:00
Max Bradbury a58b0ae877 implement ToString for Palette 2020-04-12 10:15:51 +01:00
Max Bradbury 1221df2634 implement ToString for colour; test for palette to string 2020-04-12 10:06:08 +01:00
Max Bradbury e2e2f65913 todo 2020-04-12 09:48:35 +01:00
Max Bradbury 29f9dc8d25 update package 2020-04-12 09:48:26 +01:00
Max Bradbury aa8ac251f6 column width 2020-04-11 23:24:36 +01:00
Max Bradbury fb0fac0665 game to string function; example game function 2020-04-11 23:24:23 +01:00
Max Bradbury 2e4d9fd36e palette to string function 2020-04-11 23:05:47 +01:00
Max Bradbury 46458e2506 rename non-test "test" functions to "examples" 2020-04-11 23:04:56 +01:00
Max Bradbury e547cd341f fix this copy-paste job 2020-04-11 22:40:38 +01:00
Max Bradbury bea7a6aa4e game from string and related test 2020-04-11 22:40:26 +01:00
Max Bradbury 2e4114d4de tidyup 2020-04-11 18:24:43 +01:00
Max Bradbury 2f3ee8f302 use square root instead of constants 2020-04-11 18:24:22 +01:00
Max Bradbury f9140d8eb8 main function doesn't need to return anything 2020-04-11 18:18:46 +01:00
Max Bradbury 15eb501999 use ready-made function for splitting lines 2020-04-11 18:18:20 +01:00
Max Bradbury ee0ef8bbdf avatar functions, tests and test resources 2020-04-11 18:17:29 +01:00
Max Bradbury 87a9ca5273 remove "done" list 2020-04-11 16:08:57 +01:00
Max Bradbury f73f55b581 move test resources into /test/resources 2020-04-11 16:07:53 +01:00
Max Bradbury 3e98f3acba fix sprite_to_string() 2020-04-10 16:52:53 +01:00
Max Bradbury eb7f33633f remove unused import 2020-04-10 16:42:38 +01:00
Max Bradbury a7d9354d9d room to string 2020-04-10 16:27:23 +01:00
Max Bradbury 0ebe3babe6 room to string; dedupe test resources 2020-04-09 08:28:08 +01:00
Max Bradbury 4621ea3742 todo 2020-04-08 07:55:50 +01:00
Max Bradbury c00f9aefcf Game can be Bitsy HD 2020-04-08 07:40:16 +01:00
Max Bradbury ed33ff3972 room from string (wow what a monstrosity) 2020-04-06 23:24:10 +01:00
Max Bradbury 9830d57d13 handle room tiles 2020-04-06 20:41:33 +01:00
Max Bradbury 6e9b91d845 handle room endings 2020-04-06 20:35:01 +01:00
Max Bradbury d25f7c1026 remove unused import 2020-04-06 20:34:47 +01:00
Max Bradbury 753e1142c0 a room's endings is actually a hashmap of ending IDs, not whole endings 2020-04-06 20:34:35 +01:00
Max Bradbury 730e253e03 todo 2020-04-06 19:15:29 +01:00
Max Bradbury 11a04fb18f variable functions 2020-04-06 19:11:41 +01:00
Max Bradbury 82a7bc0763 dialogue functions 2020-04-06 17:18:17 +01:00
Max Bradbury 8b383bc982 fix items map 2020-04-06 14:24:35 +01:00
Max Bradbury b0defa6f73 handle items 2020-04-06 14:23:37 +01:00
Max Bradbury ac692d05a3 variables 2020-04-06 14:22:35 +01:00
Max Bradbury 19f01e05d8 handle exits 2020-04-06 14:21:58 +01:00
Max Bradbury b9fecbe8fa ending functions 2020-04-06 14:11:56 +01:00
Max Bradbury e86625bbc8 exit functions; ending and room stub functions 2020-04-06 13:21:59 +01:00
Max Bradbury 6c79de15e7 reorganise order of todo list 2020-04-06 12:28:26 +01:00
Max Bradbury 95d7e26cf1 I think room_format is either 0 or 1 but could be 2+ in the future 2020-04-06 12:27:58 +01:00
Max Bradbury 95cb1d6039 take room out of position struct as they're really separate 2020-04-06 12:27:29 +01:00
Max Bradbury c38d369725 rearrange 2020-04-06 12:26:26 +01:00
Max Bradbury ad43f73027 item to string; dedupe 2020-04-06 09:02:52 +01:00
Max Bradbury 5f531d9d1d item from string 2020-04-06 08:54:43 +01:00