Commit graph

2115 commits

Author SHA1 Message Date
Gwilym Kuiper 14b4656842 Add the combo rom to the distributed roms 2022-12-09 21:41:47 +00:00
Gwilym Kuiper e6963fe377 Stop building dependency docs while testing docs 2022-12-09 21:18:15 +00:00
Gwilym Kuiper cc8824fc21
Make it so that the release tag includes the entire release notes (#359)
Add `--cleanup=whitespace` to keep lines starting with # in the `git
tag` command for releases.

- [x] Changelog updated / no changelog update needed
2022-12-09 21:13:04 +00:00
Gwilym Kuiper 776cb5b5a3 Make it so that the release tag includes the entire release notes 2022-12-09 21:00:53 +00:00
Gwilym Kuiper c7738b43e3
Added setup instructions for mac to the book (#357) 2022-12-09 20:57:28 +00:00
Gwilym Kuiper cdbbcd12b9
Remove dependency on bindgen by just running the cli (#354)
Should make the build a little quicker and stop the renovate PRs
constantly :P

- [x] Changelog updated / no changelog update needed
2022-12-09 20:51:18 +00:00
Corwin d65ca26bd8
Combo game rom (#355)
Adds a rom that is all the examples compiled together!

- [ ] Changelog updated / no changelog update needed
2022-12-09 20:51:07 +00:00
Gwilym Kuiper 5a7c30428b
Fix clippy lint for inline format args (#358)
Also updates the rust edition to 2021 for agb since I couldn't do both

- [x] Changelog updated / no changelog update needed
2022-12-09 20:49:20 +00:00
Gwilym Kuiper 3e8090e153 Fix clippy lint for inline format args 2022-12-09 20:36:09 +00:00
Joe Bain 95b7fd736d Fix links in mac setup doc 2022-12-09 15:29:21 +00:00
Joe Bain bc7c409296 Added setup instructions for mac 2022-12-09 15:20:30 +00:00
Corwin 7ca692ad58 update the linker scripts 2022-12-01 17:35:44 +00:00
Corwin 0b6b38705c fix that hyperspace roll is currently completely broken 2022-12-01 17:17:11 +00:00
Corwin d2daf695a6 add combo rom 2022-12-01 17:16:53 +00:00
Gwilym Kuiper 927a2b61bb Remove dependency on bindgen by just running the cli 2022-11-30 21:17:26 +00:00
Gwilym Kuiper 99ce2f73d5
Textrender rework (#352)
This reworks the text rendering system so the tiles in some rendered
text can be persisted across frames. This is important for performance
in situations where you want to incrementally write to a text box for
example in a Pokemon/Phoenix Wright style dialogue system. Previously
the only way to do this was to render all the chars in the text every
frame, which is currently prohibitively slow (though this could be
potentially sped up).

In addition with this implementation it is easy to individually colour
each character, so I added the ability to do that to.

I expanded the tests to test keeping the renderer instance (which
contains the tiles) over multiple frames, and also added in some
coloured text.

If you are happy with this implementation then I will change the
examples which use text, and also add some more documentation. Thanks
for taking a look.
2022-11-21 23:14:40 +00:00
Gwilym Kuiper e8282fd2b5 Add changelog entry for text render rework 2022-11-21 23:06:04 +00:00
jem 77275e2718 add in asserts for palette indicies 2022-11-21 21:50:43 +00:00
Jem Bishop 3b19088b5b
Merge pull request #1 from gwilymk/textrender-rework-gwilym
Textrender rework gwilym
2022-11-21 21:37:55 +00:00
Gwilym Kuiper 212fd32108 Remember to clear the renderer 2022-11-21 07:37:03 +00:00
Gwilym Kuiper 08ceef09cd Rename 'c to 'b 2022-11-21 07:30:33 +00:00
Gwilym Kuiper 9660b6df12 Fix the text_render example 2022-11-21 07:28:40 +00:00
Gwilym Kuiper 707c2bf7e7 Remove the 'b lifetime 2022-11-21 07:26:48 +00:00
jem fbcf001986 unneeded newlines 2022-11-20 23:17:49 +00:00
jem 8b23b7d54a wrong title 2022-11-20 23:16:23 +00:00
jem 31c4d47872 whitespace 2022-11-20 23:15:09 +00:00
jem 0f3182d5b8 fix examples 2022-11-20 19:35:03 +00:00
jem 75fe0532f1 add docs 2022-11-20 19:33:39 +00:00
jem e7d87b8eee fix clippy warnings 2022-11-19 15:57:38 +00:00
jem e576f0685e readd new line 2022-11-19 15:49:55 +00:00
jem 07dc80e8fa rework the text renderer 2022-11-19 15:44:29 +00:00
Gwilym Kuiper bdf994cab7
Fix spellings (#351)
Fixes a bunch of spellings found by the cspell vscode extension.

- [x] Changelog updated / no changelog update needed
2022-11-17 21:48:01 +00:00
Gwilym Kuiper 4ece844ecf must be tilecount because that's the name of the property in tiled 2022-11-17 21:34:41 +00:00
Gwilym Kuiper 1aef441f1f Fix spelling error in release.sh 2022-11-17 21:25:34 +00:00
Gwilym Kuiper 9a68ff24a5 Fix spelling errors in mgba-test-runner 2022-11-17 21:25:06 +00:00
Gwilym Kuiper 495042239c Fix spelling errors in the-purple-night 2022-11-17 21:24:34 +00:00
Gwilym Kuiper 51a315cb54 Fix spelling errors in the hat chooses the wizard 2022-11-17 21:23:05 +00:00
Gwilym Kuiper f6b5bb69b0 Fix spelling errors in hyperspace-roll 2022-11-17 21:22:14 +00:00
Gwilym Kuiper 6eeb1d3203 Fix spelling errors in the book 2022-11-17 21:20:56 +00:00
Gwilym Kuiper 6b149c1e31 Fix spelling errors in agb-image-converter 2022-11-17 21:18:54 +00:00
Gwilym Kuiper 648a544ea8 fix spelling errors in agb-fixnum 2022-11-17 21:17:52 +00:00
Gwilym Kuiper deb907b9eb Fix remaining spelling errors in agb 2022-11-17 21:16:40 +00:00
Gwilym Kuiper 45431615dc Fix spelling errors in hash_map 2022-11-17 21:15:48 +00:00
Gwilym Kuiper 7621f47644 fix spelling errors in sync 2022-11-17 21:15:23 +00:00
Gwilym Kuiper dce5f40c26 Fix spellings in sound 2022-11-17 21:14:38 +00:00
Gwilym Kuiper da0ea524d9 Fix spelling errors in save 2022-11-17 21:13:22 +00:00
Gwilym Kuiper 51a8ec4d95 xfer -> transfer 2022-11-17 21:12:18 +00:00
Gwilym Kuiper c8ff3b4359 blnd -> blend 2022-11-17 21:10:56 +00:00
Gwilym Kuiper aa29b52b6b PingPong is 2 words 2022-11-17 21:10:26 +00:00
Gwilym Kuiper 0d6e6c709c Fix spellings in object.rs 2022-11-17 21:10:11 +00:00