Commit Graph

44 Commits

Author SHA1 Message Date
Max Bradbury eb5a0f1344 test new_unique_id() 2020-06-23 16:23:24 +01:00
Max Bradbury 280dea62ae implement unique ID function 2020-06-23 16:14:22 +01:00
Max Bradbury 2e779a9b08 undo accidental commit 2020-06-23 13:11:20 +01:00
Max Bradbury edbf9575d7 "get sprite" and "get avatar" functions 2020-06-18 20:32:11 +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 4430ee74aa dummy return value 2020-06-18 14:44:39 +01:00
Max Bradbury e895f932a6 skeleton stuff 2020-06-18 13:56:50 +01:00
Max Bradbury 4ed5ed3d65 implement Clone 2020-05-31 16:12:23 +01:00
Max Bradbury 87101064f0 no need for assignment here 2020-04-30 20:18:37 +01:00
Max Bradbury c06dc237a6 handle empty dialogue line (poorly...) 2020-04-30 20:18:15 +01:00
Max Bradbury 32a369118c quote/unquote functions 2020-04-30 18:54:28 +01:00
Max Bradbury 76eca72699 allow non-16x16 rooms 2020-04-28 19:30:18 +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 dd00686de0 add transition and dialogue for exits (7.0) 2020-04-28 08:34:35 +01:00
Max Bradbury 3e72e242f3 failure warning for base36 parsing 2020-04-26 13:33:53 +01:00
Max Bradbury 1be81293e6 remove avatar 2020-04-26 13:33:26 +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 408e46ef7e new function for splitting game data into segments 2020-04-24 18:52:27 +01:00
Max Bradbury 1c6e3eb515 turn room format and room type into enums; transform line endings 2020-04-24 18:06:17 +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 935075e7a1 redo version as a struct 2020-04-18 11:03:24 +01:00
Max Bradbury cc0780b9cd implement font and text direction; call std and mock directly instead of importing 2020-04-18 10:45:01 +01:00
Max Bradbury b9dac0932f function for optional lines of game data 2020-04-13 19:08:21 +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 1928334b27 convert palette id to int 2020-04-13 13:30:08 +01:00
Max Bradbury 8e5d55c2a5 implement scene transitions 2020-04-12 15:40:40 +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 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 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