Max Bradbury
|
91883079a3
|
remove obsolete "extern crate" syntax
|
2020-09-12 12:45:48 +01:00 |
Max Bradbury
|
689a89c18c
|
documentation comment
|
2020-08-21 14:48:12 +01:00 |
Max Bradbury
|
c4be0861cb
|
update default game data for bitsy 7.2 (no game data changes, only editor changes here)
|
2020-08-14 12:11:56 +01:00 |
Max Bradbury
|
b5050720d8
|
tests don't need `test_` prefix
|
2020-07-26 12:37:41 +01:00 |
Max Bradbury
|
f2ae43e85f
|
add bitsy-parse executable for independent testing of import/export
|
2020-07-26 12:36:29 +01:00 |
Max Bradbury
|
c05010432a
|
tidy up formatting
|
2020-07-26 12:08:10 +01:00 |
Max Bradbury
|
03fc231476
|
tests don't need to be prefixed with "test_"
|
2020-07-26 12:07:38 +01:00 |
Max Bradbury
|
bfc6fe29ea
|
include Image
|
2020-07-26 12:07:13 +01:00 |
Max Bradbury
|
50e4530984
|
new game::find_tile_with_animation function
|
2020-07-26 12:07:00 +01:00 |
Max Bradbury
|
01084d69df
|
invert tiles
|
2020-07-20 21:06:12 +01:00 |
Max Bradbury
|
3ce85fcb5e
|
Image.invert()
|
2020-07-20 21:05:25 +01:00 |
Max Bradbury
|
a3ae353830
|
undo rustfmt
|
2020-07-20 21:04:56 +01:00 |
Max Bradbury
|
9081c157d6
|
flip/mirror/rotate functions for tiles
|
2020-07-20 19:52:31 +01:00 |
Max Bradbury
|
226292dcac
|
note about counter-clockwise rotation
|
2020-07-20 15:10:03 +01:00 |
Max Bradbury
|
04c823c309
|
image rotation
|
2020-07-20 15:07:26 +01:00 |
Max Bradbury
|
24e11362a0
|
flipping/mirroring images
|
2020-07-20 14:42:33 +01:00 |
Max Bradbury
|
d7529387ea
|
don't allow duplicate tiles with different names
|
2020-07-19 09:45:46 +01:00 |
Max Bradbury
|
638a279b64
|
remove inlining
|
2020-07-19 08:53:54 +01:00 |
Max Bradbury
|
7eb465d5dc
|
fix test for new bitsy version
|
2020-07-19 08:52:02 +01:00 |
Max Bradbury
|
21fac294d4
|
fix test for new bitsy version
|
2020-07-19 08:51:48 +01:00 |
Max Bradbury
|
11c7e29aed
|
fix test for new bitsy version
|
2020-07-19 08:50:13 +01:00 |
Max Bradbury
|
ff09ecd745
|
fix test for new bitsy version
|
2020-07-19 08:48:56 +01:00 |
Max Bradbury
|
4ebfec02ef
|
fix test for new bitsy version
|
2020-07-19 08:45:57 +01:00 |
Max Bradbury
|
f08f0fdc16
|
remove inlining
|
2020-07-19 08:42:03 +01:00 |
Max Bradbury
|
3de82cbacc
|
update default game data
|
2020-07-19 08:36:20 +01:00 |
Max Bradbury
|
dca191ccae
|
don't allow tiles with an ID of 0
|
2020-07-18 22:26:13 +01:00 |
Max Bradbury
|
c42d7262da
|
create colour from borrowed str; handle missing end value; tests
|
2020-07-06 13:37:31 +01:00 |
Max Bradbury
|
e1398ba803
|
error handing for Colour
|
2020-07-06 13:06:10 +01:00 |
Max Bradbury
|
5d40222120
|
fix merge issues #1 & #2; minor version bump
|
2020-07-02 16:52:40 +01:00 |
Max Bradbury
|
4978d263f1
|
refactor (will this help?)
|
2020-07-02 15:04:21 +01:00 |
Max Bradbury
|
64f75f6f83
|
tidyup
|
2020-07-02 15:03:50 +01:00 |
Max Bradbury
|
12b6d1904e
|
remove redundant comment
|
2020-07-02 15:03:26 +01:00 |
Max Bradbury
|
07fc016020
|
remove unused fn
|
2020-07-01 17:18:55 +01:00 |
Max Bradbury
|
8582909762
|
remove accidental import
|
2020-07-01 17:04:23 +01:00 |
Max Bradbury
|
192e065e06
|
todo
|
2020-07-01 16:23:41 +01:00 |
Max Bradbury
|
cf29fd43dc
|
tidy up bitsy-validate
|
2020-07-01 16:23:28 +01:00 |
Max Bradbury
|
d53d1d73d0
|
tidy up bitsy-validate
|
2020-07-01 16:21:27 +01:00 |
Max Bradbury
|
b82b1fb145
|
tidyup
|
2020-07-01 15:11:55 +01:00 |
Max Bradbury
|
5b18892bb4
|
add `bitsy-dedupe` executable
|
2020-07-01 15:11:43 +01:00 |
Max Bradbury
|
32addca850
|
fix dedupe_tiles function and test
|
2020-07-01 14:42:36 +01:00 |
Max Bradbury
|
3802ccfe93
|
remove some unused bits
|
2020-07-01 14:23:39 +01:00 |
Max Bradbury
|
71ce6e7334
|
add dedupe_tiles() function and test
|
2020-07-01 14:22:59 +01:00 |
Max Bradbury
|
92ca2ea5c3
|
add change_tile_ids() function
|
2020-07-01 14:22:23 +01:00 |
Max Bradbury
|
eef37898f7
|
implement PartialEq so we can compare tiles without comparing IDs
|
2020-06-30 00:32:59 +01:00 |
Max Bradbury
|
9ece613a95
|
doc ExitInstance
|
2020-06-29 18:29:42 +01:00 |
Max Bradbury
|
c46d6837b9
|
don't overwrite keys
|
2020-06-29 18:29:24 +01:00 |
Max Bradbury
|
a969368a8f
|
handle dialogue ID changes in exits
|
2020-06-28 20:47:55 +01:00 |
Max Bradbury
|
0a7ed21ea6
|
refactor room exit, ending changes
|
2020-06-28 20:42:53 +01:00 |
Max Bradbury
|
6113bb12a6
|
fix misleading comments
|
2020-06-28 20:29:03 +01:00 |
Max Bradbury
|
9fcf3a996d
|
refactoring/optimisation
|
2020-06-28 20:28:43 +01:00 |
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
|
a1f866086b
|
tidy up pixels
|
2020-06-28 17:47:43 +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
|
fd91e333a5
|
optimise new_unique_id()
|
2020-06-28 09:19:55 +01:00 |
Max Bradbury
|
6689fe1e1f
|
refactor new_unique_id()
|
2020-06-27 20:22:15 +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
|
cbbbcb7196
|
try/check ID functions
|
2020-06-24 18:36:28 +01:00 |
Max Bradbury
|
401bfe4695
|
check sorting
|
2020-06-24 15:36:39 +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
|
5de02c5950
|
better test for duplicate IDs
|
2020-06-24 15:15:13 +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
|
d8925c9eb9
|
more public
|
2020-06-24 13:05:32 +01:00 |
Max Bradbury
|
2a19611f20
|
make ID public so we can process ending IDs
|
2020-06-24 13:04:53 +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
|
62f488c24e
|
sort and dedupe IDs
|
2020-06-23 16:36:33 +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
|
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
|
2ca4e7db18
|
todo error
|
2020-06-23 15:59:08 +01:00 |
Max Bradbury
|
6a4a46e868
|
remove redundant return
|
2020-06-23 15:34:28 +01:00 |
Max Bradbury
|
2e779a9b08
|
undo accidental commit
|
2020-06-23 13:11:20 +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 |