Commit graph

2510 commits

Author SHA1 Message Date
Corwin
44c7a93fa3 use new api 2022-03-12 17:36:38 +00:00
Corwin
e2bb5cc5c9 add panicing and try variants of api 2022-03-12 17:36:30 +00:00
Gwilym Kuiper
87c5d6ca6a Use the new allocator 2022-03-11 21:49:23 +00:00
Corwin
c642116862
Merge pull request #181 from agbrs/renovate/rustc-hash-1.x
Update Rust crate rustc-hash to 1.1
2022-03-08 11:09:02 +00:00
GBA bot
3482697a25 Update lockfiles 2022-03-08 00:28:19 +00:00
Renovate Bot
ba0ce97e5a
Update Rust crate rustc-hash to 1.1 2022-03-08 00:27:15 +00:00
Gwilym Kuiper
f01d3bff36 Use saturating_sub rather than regular subtraction 2022-03-07 22:56:05 +00:00
Gwilym Kuiper
cdd77afe22 Merge remote-tracking branch 'origin/master' into better-backgrounds-gwilym 2022-03-07 22:41:11 +00:00
Corwin
3c2483bc95
Merge pull request #171 from corwinkuiper/objects
Better objects, again!
2022-03-07 22:15:35 +00:00
Corwin
8d20e02a4a fix pong example to use new system
TODO: fix transparency
2022-03-07 22:04:02 +00:00
Corwin
eb6b2ac5a8 initialise to correct values 2022-03-07 22:03:49 +00:00
Corwin
586f35265b update example projects 2022-03-07 20:41:04 +00:00
Corwin
8c2931aca5 remove unused import 2022-03-07 20:40:53 +00:00
Corwin
40c4a26cb1 update example 2022-03-07 20:38:13 +00:00
Corwin
8f7e7748e2 Graphics 2022-03-07 20:38:06 +00:00
Corwin
6f064b0d99 update lock files 2022-03-06 13:45:16 +00:00
Corwin
9dca54c9bb update to use new sprite system 2022-03-06 13:38:33 +00:00
Corwin
4c57f85acd Inline the modulos 2022-03-06 13:37:09 +00:00
Corwin
900cd007df pull out constants 2022-03-06 13:37:07 +00:00
Corwin
c55ff3f714 const fnify 2022-03-06 13:36:50 +00:00
Corwin
8a6f341421 update hat chooses wizard 2022-03-06 13:36:26 +00:00
Corwin
4780b8525d remove unused import 2022-03-06 13:31:56 +00:00
Corwin
592a0814f8 non optional feature alloc 2022-03-06 13:31:56 +00:00
Corwin
6cc29ebec0 animation direction test 2022-03-06 13:31:56 +00:00
Corwin
84e6af5d2f load aseprite files directly with asefile 2022-03-06 13:31:56 +00:00
Corwin
e67f1ff45f output to the correct location 2022-03-06 13:31:56 +00:00
Corwin
02e6194073 make fields private 2022-03-06 13:31:56 +00:00
Corwin
6bafa3ebab use public api 2022-03-06 13:31:56 +00:00
Corwin
ecf31fa833 load multiple 2022-03-06 13:31:56 +00:00
Corwin
6e5cee1e3f support loading multiple 2022-03-06 13:31:56 +00:00
Corwin
b3db55330a sprites example 2022-03-06 13:31:56 +00:00
Corwin
25da2a2711 expose the inner proc macro in a macro rules 2022-03-06 13:31:56 +00:00
Corwin
efe67423c1 use the types 2022-03-06 13:31:56 +00:00
Corwin
73a8d86f6b sprite import proc macro mess 2022-03-06 13:31:56 +00:00
Corwin
16ff9b8ec1 types for nice sprite import and usage 2022-03-06 13:31:54 +00:00
Corwin
80e53d4716 volatile writes 2022-03-06 13:31:36 +00:00
Corwin
c1901819af unblank screen on object init 2022-03-06 13:31:36 +00:00
Corwin
45823273ac satisfy linter 2022-03-06 13:31:36 +00:00
Corwin
da9a15402e use more efficient hash function 2022-03-06 13:31:36 +00:00
Corwin
9095daebd8 satisfy linter 2022-03-06 13:31:36 +00:00
Corwin
3cc30a2bcd satisfy linter 2022-03-06 13:31:36 +00:00
Corwin
e462d35feb lock file update 2022-03-06 13:31:36 +00:00
Corwin
9714b8a3ca types required for aseprite import 2022-03-06 13:31:36 +00:00
Corwin
8792146ddb use correct copys 2022-03-06 13:31:36 +00:00
Corwin
ae681019bb set palette location on sprite change 2022-03-06 13:31:36 +00:00
Corwin
2a7b350f57 objects now exist and work 2022-03-06 13:31:36 +00:00
Corwin
a1b67e107f object controller implementations 2022-03-06 13:31:36 +00:00
Corwin
836143e1f4 copy the sprite and palette data 2022-03-06 13:31:36 +00:00
Corwin
d764ff9900 allocate palettes too 2022-03-06 13:31:36 +00:00
Corwin
6a2c9d8826 add some sprite allocation 2022-03-06 13:31:36 +00:00