Commit graph

319 commits

Author SHA1 Message Date
GBA bot 490e3492fa Update lockfiles 2022-08-16 19:07:17 +00:00
GBA bot 2cbbab3305 Update lockfiles 2022-08-12 14:49:01 +00:00
Gwilym Kuiper e97061a5af Optimise all palettes together 2022-08-11 23:49:51 +01:00
lifning ee576597c2 Add rudimentary affine background layer support. 2022-08-11 23:49:51 +01:00
Corwin 2e97fb2b24 Release v0.11.1 2022-08-02 23:52:43 +01:00
Corwin 43b256a9f3 Release v0.11.0 2022-08-02 23:45:44 +01:00
Corwin 8a9ce6fd8b modify all other configs to be able to compile with arm 2022-08-01 17:36:41 +01:00
Corwin a7e038aa18 Release v0.10.0 2022-07-31 17:08:48 +01:00
Corwin cd000ca767 use the end of all assigned iwram data 2022-07-30 17:21:46 +01:00
Gwilym Kuiper 0f9d83887f This should now always be included 2022-07-25 22:52:05 +01:00
Gwilym Kuiper 2e505f9684 Remove the need for a special test implementation 2022-07-25 22:49:17 +01:00
Gwilym Kuiper 553a625c91 Mkae it possible to run tests in target crates (and add a basic tests in hat-wizard) 2022-07-25 22:49:17 +01:00
Corwin 2539d1ef43 cleanup hyperspace roll directory 2022-07-25 20:25:56 +01:00
Corwin 8bb2094e34 jam version of hyperspace roll 2022-07-25 20:25:56 +01:00
Gwilym Kuiper 6a8aeeb3e8
Merge pull request #249 from gwilymk/release-all-subcrates-at-the-same-time
Release all subcrates at the same time
2022-07-14 22:15:18 +01:00
GBA bot ecdf1d4471 Update lockfiles 2022-07-13 06:00:40 +00:00
Gwilym Kuiper fe78d64aa5 Use 0.9.4 since 0.9.5 was yanked 2022-07-03 18:21:29 +01:00
GBA bot 9e42a53eaa Update lockfiles 2022-06-26 16:32:08 +00:00
Corwin ccec26706e cause vram gc to run before enabling mixer
this avoids the harsh sounds at the start of the game
2022-06-21 02:08:24 +01:00
Corwin dc722d5199 flip wizard sprite to match direction regardless of hat state 2022-06-21 02:07:38 +01:00
Gwilym Kuiper 64fbf13cc3 Update gba_mb with the new requried references 2022-06-17 00:48:32 +01:00
Gwilym Kuiper fb8bcbfc0d Update all the other linker scripts 2022-06-17 00:43:51 +01:00
Corwin c5af151d76
Merge pull request #237 from corwinkuiper/split-asm
Split asm
2022-06-17 00:24:44 +01:00
Corwin bd3f2f4d59 update all other gba_mb.ld 2022-06-16 23:38:47 +01:00
Gwilym Kuiper 28513335fb Update all the gba.ld files 2022-06-16 23:33:09 +01:00
Corwin 05adfabca8 get it working 2022-06-16 23:22:27 +01:00
Corwin 3a66aacc0c modify linker scripts 2022-06-16 22:59:17 +01:00
Gwilym Kuiper 8224827f90 Fix warning (and make it obvious we're not caring about the return value) 2022-06-11 21:02:24 +01:00
Gwilym Kuiper 0a9a3fdf1d Remove timer field to mixer 2022-06-11 12:57:59 +01:00
GBA bot 8df97c8ce8 Update lockfiles 2022-06-05 20:17:42 +00:00
GBA bot b8ef39220d Update lockfiles 2022-05-31 10:15:10 +00:00
Gwilym Kuiper 11cdfb0001 Make purple night sprites transparent 2022-05-22 19:30:22 +01:00
Gwilym Kuiper e81503e0bc Make hat-chooses-wizard sprites transparent 2022-05-22 19:29:49 +01:00
Gwilym Kuiper 1a73ecf870 Remove 'c 2022-05-12 20:38:34 +01:00
Gwilym Kuiper 2853d34b30 Correctly render different sized backgrounds and make HTTW have
pointlessly different sized backgrounds to test it properly
2022-05-03 23:42:11 +01:00
Gwilym Kuiper be650779e6 Correctly allocate screenblocks 2022-05-03 23:23:25 +01:00
Gwilym Kuiper 39b37e7506 Fix example games 2022-05-03 22:51:01 +01:00
Gwilym Kuiper b49eff2460
Merge pull request #221 from gwilymk/only-fail-ci-builds-on-warning
Only fail ci builds on warning
2022-04-24 17:36:46 +01:00
GBA bot e168638a3b Update lockfiles 2022-04-24 16:12:05 +00:00
Gwilym Kuiper 61ed2b905d Allow warnings when developing, but still fail CI 2022-04-24 17:07:43 +01:00
Gwilym Kuiper d51f61a6fb
Merge pull request #219 from gwilymk/stop-freeing-still-in-use-tiles
Stop freeing still in use tiles
2022-04-23 23:34:00 +01:00
GBA bot 71788e1f0a Update lockfiles 2022-04-23 22:14:08 +00:00
Gwilym Kuiper 178db91072 Add gc step for tiles 2022-04-23 23:03:02 +01:00
Gwilym Kuiper 6d0f95c21b
Merge pull request #214 from gwilymk/random-number-generator
Random number generator
2022-04-11 22:20:16 +01:00
Gwilym Kuiper dc62ba4467 Rename rng::next to rng::gen 2022-04-11 22:07:31 +01:00
GBA bot d394c43d4f Update lockfiles 2022-04-11 11:55:44 +00:00
Corwin f7ef25f3f0
Merge pull request #209 from corwinkuiper/z-ordered-sprites
Z ordered sprites
2022-04-07 22:46:26 +01:00
Gwilym Kuiper e3e29ab21b Update lockfiles with new font rendering stuff 2022-04-05 23:43:58 +01:00
Corwin a4979ac847 better handling of sprites 2022-04-04 20:29:00 +01:00
GBA bot 919ddf06ad Update lockfiles 2022-04-04 15:18:00 +00:00
Corwin 3e3039a7f6 update games 2022-04-03 21:20:20 +01:00
GBA bot da7844a6c5 Update lockfiles 2022-03-30 10:54:21 +00:00
Gwilym Kuiper f6ae4f731b Release agb v0.9.2 2022-03-28 22:50:36 +01:00
Gwilym Kuiper 394c02f704 Release agb v0.9.1 2022-03-28 22:44:33 +01:00
Gwilym Kuiper a97dcb2d2e Release agb v0.9.0 2022-03-28 22:33:22 +01:00
Gwilym Kuiper 8eb4b99045 Release agb-fixnum v0.2.1 2022-03-28 22:30:51 +01:00
Gwilym Kuiper 021fdda997 Release agb-fixnum v0.2.0 2022-03-28 22:27:19 +01:00
Gwilym Kuiper c1cfb9910a Release agb-sound-converter v0.2.0 2022-03-28 22:24:07 +01:00
Gwilym Kuiper 78dc3ac57f Release agb-image-converter v0.7.0 2022-03-28 22:21:45 +01:00
Gwilym Kuiper 942da6ebf7 Release agb-macros v0.2.0 2022-03-28 22:18:22 +01:00
Gwilym Kuiper 003c0d7e1a Update the games to use the new method 2022-03-28 21:21:06 +01:00
Gwilym Kuiper 7ad52a2974 Use agb's random rather than own implementation 2022-03-23 22:08:53 +00:00
Gwilym Kuiper 8af673501d cargo fix in hat chooses wizard 2022-03-23 20:56:05 +00:00
Gwilym Kuiper c136a3669e Fix warnings in purple night 2022-03-23 20:46:17 +00:00
Gwilym Kuiper 81853c6c99 Rename get_colour to colour 2022-03-23 20:41:24 +00:00
Gwilym Kuiper 3e34509049 Rename get_object to object 2022-03-23 20:34:55 +00:00
Gwilym Kuiper 5791d033ef Rename get_sprite and get_animation_sprite to remove get_ prefix 2022-03-23 20:32:29 +00:00
Gwilym Kuiper 48ddda9ae9 Rename get_channel to channel 2022-03-23 20:21:54 +00:00
GBA bot 129e4161a2 Update lockfiles 2022-03-21 11:39:07 +00:00
Gwilym Kuiper 9f6797f4ed Update lockfiles 2022-03-19 23:09:21 +00:00
GBA bot 4ee540aecf Update lockfiles 2022-03-15 06:06:15 +00:00
GBA bot b43baf43cf Update lockfiles 2022-03-14 09:59:03 +00:00
Gwilym Kuiper 3710d9ad1c
Merge pull request #182 from gwilymk/better-backgrounds-gwilym
Improve background management
2022-03-12 23:26:42 +00:00
Corwin 859e7dd4b4 update purple night 2022-03-12 19:05:20 +00:00
Corwin 44c7a93fa3 use new api 2022-03-12 17:36:38 +00:00
Gwilym Kuiper 87c5d6ca6a Use the new allocator 2022-03-11 21:49:23 +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 586f35265b update example projects 2022-03-07 20:41:04 +00:00
Corwin 9dca54c9bb update to use new sprite system 2022-03-06 13:38:33 +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
Gwilym Kuiper 39a8b5a64f Update lockfiles 2022-03-05 20:52:26 +00:00
Gwilym Kuiper ed3b075b92 Fix issue if you are damaged while doing a jump attack 2022-03-05 19:34:47 +00:00
Gwilym Kuiper 7b43debd3e WIP: Try removing the hashmap 2022-03-05 19:25:55 +00:00
Gwilym Kuiper ceb17a0186 Update hat chooses wizard and purple night 2022-03-05 19:25:09 +00:00
Gwilym Kuiper a35119fdbd Fix hat chooses the wizard 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 05e8acd93c Don't start at boss by default 2022-03-05 19:25:09 +00:00
Gwilym Kuiper f1bc09d6cd Avoid crackle on load 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 2c01ed1690 Update the purple night 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 983b56975c Try to fix splash screen crackle 2022-03-05 19:25:09 +00:00
Gwilym Kuiper b61f774061 Rename world_display as splash_screen 2022-03-05 19:25:09 +00:00
Gwilym Kuiper d896adfad5 Clear the backgrounds once they aren't used any more 2022-03-05 19:25:09 +00:00
Gwilym Kuiper bdcd5b5e6d Smear the loading of the splash screens 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 94662eb982 Remove the timers 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 3a913f142a Remove pop while loading a level 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 63dd837518 Tiny performance improvement with dma to copy the tile data 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 898b06110f Correctly commit 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 06b6075a6a Display the number of cycles needed to load the frame 2022-03-05 19:25:09 +00:00
Gwilym Kuiper d94d9dbcf3 Print number of cycles for background initialisation 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 08aeb56f1e Update background and foreground independentently 2022-03-05 19:25:06 +00:00
Gwilym Kuiper 610be70b92 Correctly set the initial offset value in init() 2022-03-05 19:23:53 +00:00
Gwilym Kuiper aad5399240 Get the priorities correct (and start at level 8) 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 66a61e33e6 More correctly special case tile 0 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 7d870163c3 Hide backgrounds after each level 2022-03-05 19:23:53 +00:00
Gwilym Kuiper f655e08665 At least it compiles... 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 5197f5b37d Move uses to the top and allow default features 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 10c97f48d8 Introduce the MapLoan to infinite scrolled map 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 2c8fce40d3 Store the used backgrounds in a bit array 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 2d99d017fc Stop printing the cloud positions 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 7f0d7757c5 Really trying hard to get this working 2022-03-05 19:23:53 +00:00
Gwilym Kuiper f785d65057 Something that seems like it is close to working 2022-03-05 19:23:50 +00:00
Gwilym Kuiper 106ad5fed5 Fix clippy lints for hat-chooses-wizard 2022-03-05 18:25:28 +00:00
Gwilym Kuiper 48f89edc8c
Merge pull request #174 from gwilymk/fix-clippy-warnings-in-purple-night
Fix clippy warnings in purple night
2022-03-05 18:12:47 +00:00
GBA bot 03dfaf9d5f Update lockfiles 2022-03-01 20:07:25 +00:00
Gwilym Kuiper e86bb71abd Fix clippy lints in the-purple-night 2022-02-26 21:21:54 +00:00
Gwilym Kuiper 548e88f7c4 Fix clippy lints in purple-night build.rs 2022-02-26 21:16:59 +00:00
Gwilym Kuiper 4b7e825403 Update lockfiles 2022-02-24 22:26:08 +00:00
Gwilym Kuiper 9feab2b689 Update the big examples too 2022-01-16 21:44:17 +00:00
Gwilym Kuiper 40b87e6c6f
Merge pull request #158 from gwilymk/consolidate-workflows
Consolidate workflows
2022-01-12 23:34:47 +00:00
Gwilym Kuiper 17867da596
Merge pull request #155 from agbrs/renovate/syn-1.x
Update Rust crate syn to 1.0.85
2022-01-12 23:18:16 +00:00
Gwilym Kuiper d44e0fc796 Update lockfiles 2022-01-12 23:05:02 +00:00
Gwilym Kuiper 0aa5d51c6f Build example gba files into examples/target 2022-01-12 22:57:47 +00:00
Gwilym Kuiper 19f071fd5a Use agb::fixnum rather than agb::number 2022-01-12 22:09:57 +00:00
GBA bot 60e78768a4 You don't need extern crate agb; any more 2022-01-04 00:16:25 +00:00
Corwin 311c26caad
Merge pull request #149 from gwilymk/pong-book
First 3 chapters on writing a pong game
2022-01-03 23:01:34 +00:00
GBA bot 96aefcbdf5 Update all the usages of mixer.vblank() 2022-01-02 21:59:17 +00:00
GBA bot b5ff4991fa Use builder style for ObjectStandard 2022-01-02 11:14:18 +00:00
GBA bot 70e91e496c Update all the example lock files 2022-01-01 22:47:25 +00:00
GBA bot 0c8ca166f5 Update gba.ld in the-hat-chooses-the-wizard 2022-01-01 22:16:53 +00:00
GBA bot 2cf4be6094 Don't build zstd any more for the-purple-night 2022-01-01 19:14:47 +00:00
GBA bot ec9a345563 Add build script to generate the .gba files 2022-01-01 12:26:11 +00:00
GBA bot 02940b447a Update names to reflect the final name 2022-01-01 12:15:56 +00:00
GBA bot 5a72c0c0fa cargo clippy --fix 2022-01-01 12:13:07 +00:00
GBA bot acb6f468e6 Fix more lints automatically 2022-01-01 12:12:11 +00:00
GBA bot 42be969c1f Autofix a bunch of lints 2022-01-01 12:11:21 +00:00
GBA bot 6bd4a52f01 Fix warnings 2022-01-01 12:10:14 +00:00
GBA bot 92d63999e8 Add the hat chooses the wizard example 2022-01-01 12:09:21 +00:00
GBA bot 2e181ad0ea Fix warnings 2022-01-01 12:07:16 +00:00
GBA bot a8ba0c4d7d Add the purple night example 2022-01-01 12:05:48 +00:00
Gwilym Kuiper 8fd4186f0f Move everything to the agb directory 2021-04-19 22:47:43 +01:00
Gwilym Kuiper 4bd856387c Use agb rather than gba 2021-04-16 19:07:23 +01:00
Gwilym Kuiper 781fc291f0 Add channel 2 support 2021-04-16 19:07:23 +01:00
Gwilym Kuiper 0e27b956de Allow full customisation 2021-04-16 19:07:23 +01:00
Gwilym Kuiper 82fd9ce120 Use SoundDirection rather than a boolean 2021-04-16 19:07:23 +01:00
Gwilym Kuiper dda79df12d Make sweep settings configurable 2021-04-16 19:07:23 +01:00
Gwilym Kuiper 71160c7116 Really simple beep 2021-04-16 19:07:23 +01:00
Corwin Kuiper d761714f62 fix rename of gba -> agb 2021-04-15 22:13:44 +01:00
Corwin Kuiper 1ec8cbaa20 game feel, allow jumping if just left ground 2021-04-11 16:48:21 +01:00
Corwin Kuiper 1afb3cc08b satisfy linter 2021-04-11 16:48:21 +01:00
Corwin Kuiper fbdb91e9e0 finish up chicken demo 2021-04-11 16:48:21 +01:00
Corwin Kuiper bea753d81a mark get object as unsafe 2021-04-11 16:48:21 +01:00
Corwin Kuiper 432c7f12f0 chicken object added 2021-04-11 16:48:21 +01:00
Corwin Kuiper 1ba130f3bf add comment marking incompleteness 2021-04-11 16:48:21 +01:00
Corwin Kuiper 841d6d5508 tiled0 for background implemented
enough to get my previous chicken example background showing
2021-04-11 16:48:21 +01:00
Corwin Kuiper 300a87df72 add underscore to show unused variable 2021-04-11 16:41:39 +01:00
Corwin Kuiper 9ea3ece74b remove unused import 2021-04-11 16:41:39 +01:00
Corwin Kuiper adfa3b9fde add example that is literally the tonc example 2021-04-10 20:04:21 +01:00
Corwin Kuiper ec4e11b44a add an example to just test building 2021-04-10 20:04:21 +01:00
Corwin Kuiper e6c737eac2 working with release mode 2021-03-09 00:11:19 +00:00
Corwin Kuiper 87c8ec9c38 panic example for integer overflow 2021-03-09 00:10:14 +00:00
Corwin Kuiper f1941729ca move video and vblank to own files 2021-03-08 03:48:28 +00:00
Corwin Kuiper b05c339cbf fix panic example 2021-03-08 03:48:13 +00:00
Corwin Kuiper 6b78a99211 fix syscall example 2021-03-08 01:59:54 +00:00
Corwin Kuiper 0dc5d620c7 disallow multiple video contexts at compile time 2021-03-08 01:59:05 +00:00
Corwin Kuiper 9527d32521 allow only one vblank handler 2021-03-07 00:47:39 +00:00
Corwin Kuiper 9b0bdb17e5 implement more ways of panicking 2021-03-06 20:09:23 +00:00
Corwin Kuiper 0790f78103 initial commit 2021-03-06 17:58:59 +00:00