Max Bradbury
|
e84fa4cc7c
|
tile ID functions and tile mock
|
2020-04-13 16:19:59 +01:00 |
Max Bradbury
|
45ee94aae9
|
item id to u64; item.dialogue -> item.dialogue_id
|
2020-04-13 14:47:15 +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
|
f424c49301
|
convert exit room id to u64
|
2020-04-13 13:51:29 +01:00 |
Max Bradbury
|
53d5a28923
|
convert room id and palette id to u64
|
2020-04-13 13:46:33 +01:00 |
Max Bradbury
|
e249727c3e
|
allow Tile::from to be inlined
|
2020-04-13 13:30:55 +01:00 |
Max Bradbury
|
53204ba0f8
|
document room format
|
2020-04-13 13:30:26 +01:00 |
Max Bradbury
|
1928334b27
|
convert palette id to int
|
2020-04-13 13:30:08 +01:00 |
Max Bradbury
|
48e479c189
|
better warnings
|
2020-04-12 17:18:00 +01:00 |
Max Bradbury
|
bef39f9b8b
|
allow public uses of structs; add sample program
|
2020-04-12 17:13:08 +01:00 |
Max Bradbury
|
fd4a682ade
|
make Game struct public
|
2020-04-12 16:08:49 +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
|
82e2b77e2c
|
tidy imports
|
2020-04-12 13:41:43 +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
|
ca1b86c2b3
|
rm leading whitespace
|
2020-04-12 13:22:56 +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 |
Max Bradbury
|
cd82c075be
|
implement From<String>
|
2020-04-12 11:51:30 +01:00 |
Max Bradbury
|
b09b9dbece
|
implement From for Colour
|
2020-04-12 11:31:18 +01:00 |
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
|
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
|
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
|
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
|
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
|
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 |
Max Bradbury
|
82779a3ed5
|
fix image_to_string
|
2020-04-06 08:36:52 +01:00 |
Max Bradbury
|
4bfb82dba0
|
fix test images and add test sprite
|
2020-04-06 08:27:08 +01:00 |
Max Bradbury
|
2d2abcdd56
|
dedupe test images
|
2020-04-06 07:55:10 +01:00 |
Max Bradbury
|
7f6fa9df82
|
animation frames to string; sprite to string
|
2020-04-06 07:23:20 +01:00 |
Max Bradbury
|
6d8f8fa9b4
|
sprite from string
|
2020-04-05 23:58:10 +01:00 |
Max Bradbury
|
894889afa7
|
update todo
|
2020-04-05 23:03:18 +01:00 |
Max Bradbury
|
9e7dffa516
|
use built-in debug macros
|
2020-04-05 23:02:03 +01:00 |
Max Bradbury
|
47a9259526
|
functions for positions
|
2020-04-05 23:00:15 +01:00 |
Max Bradbury
|
ebd35b3297
|
missing tiles
|
2020-04-05 22:33:06 +01:00 |
Max Bradbury
|
645d89d05d
|
consistent function ordering
|
2020-04-05 22:28:35 +01:00 |
Max Bradbury
|
f27f31fac8
|
switch pixels to uints
|
2020-04-05 22:28:23 +01:00 |
Max Bradbury
|
bdec7e5d4f
|
optional hd image mode
|
2020-04-05 22:26:47 +01:00 |
Max Bradbury
|
b7ff7c951c
|
more structs and hashmaps
|
2020-04-05 21:02:45 +01:00 |
Max Bradbury
|
2f9a4f7fe3
|
more structs
|
2020-04-05 20:46:55 +01:00 |
Max Bradbury
|
db341b7bf9
|
remove trailing ">" after animation frames
|
2020-04-05 20:09:03 +01:00 |
Max Bradbury
|
a99622cf92
|
initial
|
2020-04-05 18:58:04 +01:00 |