Commit Graph

95 Commits

Author SHA1 Message Date
Max Bradbury 7c21680926 tidyup 2020-06-28 18:30:20 +01:00
Max Bradbury beea5f8efc use existing IDs if there is no conflict 2020-06-28 17:49:32 +01:00
Max Bradbury ba1dc3ff34 remove comment 2020-06-28 17:48:01 +01:00
Max Bradbury 0a82d2ae61 borrow game properties 2020-06-28 17:47:29 +01:00
Max Bradbury ed21ca4a2b more merge testing 2020-06-28 17:46:46 +01:00
Max Bradbury 4c47de406e more merge tests 2020-06-28 13:10:13 +01:00
Max Bradbury 5f736cc653 skeleton of merge functionality 2020-06-27 19:28:17 +01:00
Max Bradbury b08e514b12 add_dialogue() 2020-06-24 19:43:36 +01:00
Max Bradbury e32027e0af only change item id on clash; test add_item 2020-06-24 18:45:06 +01:00
Max Bradbury 93a50e6b86 don't try to get tiles with ID of zero; test this 2020-06-24 15:30:16 +01:00
Max Bradbury 4ed5e0bce8 check if avatar exists 2020-06-24 15:14:41 +01:00
Max Bradbury 04c0ebca69 add new tile/room functions; redo Not Found errors 2020-06-24 14:33:15 +01:00
Max Bradbury f517f5c8fd "new id" functions 2020-06-24 13:21:00 +01:00
Max Bradbury 9e14109f9f more ID functions 2020-06-24 13:06:47 +01:00
Max Bradbury 6ab2e81468 fix comment 2020-06-24 12:58:26 +01:00
Max Bradbury 6ee58224c1 "add palette" functions 2020-06-24 12:58:02 +01:00
Max Bradbury 67628e4879 "new id" and "add thing" functions 2020-06-24 12:40:15 +01:00
Max Bradbury 7405090009 document this odd if statement 2020-06-24 12:39:49 +01:00
Max Bradbury 632aaff4b9 todo 2020-06-24 12:39:26 +01:00
Max Bradbury 58ffb92e52 more inlining 2020-06-23 20:35:12 +01:00
Max Bradbury 0889710bdb more ID functions 2020-06-23 17:01:21 +01:00
Max Bradbury 62d4f12bc9 don't need to worry about SPR A, since to_base36 will never produce capital letters 2020-06-23 17:00:46 +01:00
Max Bradbury 9264be83ef import no longer used 2020-06-23 16:55:03 +01:00
Max Bradbury b88f69af17 fix some false assumptions about tile IDs (0 is reserved!) 2020-06-23 16:46:49 +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 6a4a46e868 remove redundant return 2020-06-23 15:34:28 +01:00
Max Bradbury 453eba2139 todo: other potential errors 2020-06-23 13:06:55 +01:00
Max Bradbury 716554e88b error for parsing game 2020-06-23 13:05:53 +01:00
Max Bradbury 4d33a0a284 handle errors on sprite parsing 2020-06-23 13:01:04 +01:00
Max Bradbury 7773949a8e use default room format on error 2020-06-23 13:00:34 +01:00
Max Bradbury d9764b6b42 error for room type 2020-06-23 12:48:42 +01:00
Max Bradbury 96e9432f06 error for room format 2020-06-23 12:44:44 +01:00
Max Bradbury edbf9575d7 "get sprite" and "get avatar" functions 2020-06-18 20:32:11 +01:00
Max Bradbury b468c680b3 let version fail gracefully 2020-06-18 19:56:33 +01:00
Max Bradbury f85078d0e7 remove unused avatar 2020-06-18 19:15:20 +01:00
Max Bradbury 9f25aef3a2 remove numeric check and just do sprites in the order that they were imported 2020-06-18 18:38:25 +01:00
Max Bradbury 168f3559e0 replace tile ID with string 2020-06-18 17:47:54 +01:00
Max Bradbury bf5b3a8d20 remove avatar (treat it as sprite) 2020-06-18 17:46:30 +01:00
Max Bradbury fe6f3f5c84 convert int IDs to strings 2020-06-18 14:44:20 +01:00
Max Bradbury e895f932a6 skeleton stuff 2020-06-18 13:56:50 +01:00
Max Bradbury 1ce479afaa clarification 2020-06-18 09:11:54 +01:00
Max Bradbury 4ed5ed3d65 implement Clone 2020-05-31 16:12:23 +01:00
Max Bradbury 3e985962c8 special treatment of multi-line game name 2020-04-30 21:48:51 +01:00
Max Bradbury c06dc237a6 handle empty dialogue line (poorly...) 2020-04-30 20:18:15 +01:00
Max Bradbury e9f1a1afcf redo ending transformations 2020-04-29 21:17:29 +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 daa46e26ee be a bit more fussy about checking for segment names - game title "PALACE" was being parsed as a palette... :( 2020-04-26 13:33:04 +01:00
Max Bradbury cf1ca6f1b5 reimplement avatar as a plain sprite; handle sprite items as these are mostly needed for avatar 2020-04-26 13:31:20 +01:00
Max Bradbury 5184060372 move this function to lib so we can use it elsewhere 2020-04-25 14:17:12 +01:00
Max Bradbury 9e8d032ced handle game segments better 2020-04-24 21:51:31 +01:00