Commit graph

926 commits

Author SHA1 Message Date
Corwin Kuiper 3bb3dcf1b6 allow the remaining warnings from clippy 2022-01-06 19:50:35 +00:00
Corwin Kuiper e5efdcd29c move use to inside function 2022-01-06 19:48:44 +00:00
Corwin Kuiper 222efe9122 move tests to conditionally compiled modules
also only enable custom test framework feature in test mode
2022-01-06 19:47:30 +00:00
Renovate Bot 7aba5cba67
Update Rust crate syn to 1.0.85 2022-01-06 09:19:51 +00:00
Corwin 039bc0acb1
Merge pull request #153 from corwinkuiper/remove-step
remove the step feature
2022-01-04 00:42:33 +00:00
Corwin Kuiper 0e55916865 add test 2022-01-04 00:31:27 +00:00
Gwilym Kuiper a5e17ffa6d
Merge pull request #154 from gwilymk/remove-extern-crate-agb-since-it-isnt-needed
You don't need `extern crate agb;` any more
2022-01-04 00:23:46 +00:00
GBA bot 60e78768a4 You don't need extern crate agb; any more 2022-01-04 00:16:25 +00:00
Corwin Kuiper 6d829bd741 remove the step by feature
should have test to make sure it does what I want it to do
2022-01-04 00:10:51 +00:00
Gwilym Kuiper e601cc53ca
Merge pull request #151 from gwilymk/remove-feature-asm-now-that-it-is-stable
Remove feature(asm) now that it is stable
2022-01-03 23:53:10 +00:00
Corwin e8ca7754e0
Merge pull request #152 from gwilymk/set-waitstate-control-to-standard
Set waitstate to 0x4317 as is standard in most games
2022-01-03 23:53:06 +00:00
GBA bot 234db0da96 Set waitstate to 0x4317 as is standard in most games 2022-01-03 23:27:31 +00:00
GBA bot 8afc57c158 Remove feature(asm) now that it is stable 2022-01-03 23:02:26 +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
Gwilym Kuiper 253897443d
Merge pull request #150 from gwilymk/split-vblank-and-work-mixer
Allow the sound mixer to do work during vdraw
2022-01-02 22:19:56 +00:00
GBA bot 96aefcbdf5 Update all the usages of mixer.vblank() 2022-01-02 21:59:17 +00:00
GBA bot f62501a748 Update the examples to correctly use the new API 2022-01-02 21:48:05 +00:00
GBA bot 6277eaeaee Split vblank() into frame() and after_vblank() 2022-01-02 21:47:08 +00:00
GBA bot 4b86c22bee Revise sentence that didn't make much sense 2022-01-02 21:30:19 +00:00
GBA bot 026f057b8d Finish off section about bouncing a ball around the screen 2022-01-02 18:46:00 +00:00
GBA bot 8d13ee3a39 Add some blank lines to make code folding work better 2022-01-02 18:28:31 +00:00
GBA bot 99146ac048 Add doc comments for top level modules 2022-01-02 18:27:23 +00:00
GBA bot 0b986df563 Doc hide test runner stuff 2022-01-02 18:25:44 +00:00
GBA bot d4daf8bf0a Add docs for entry macro 2022-01-02 18:22:13 +00:00
GBA bot 02939041b4 Use the entry macro for the test main 2022-01-02 18:14:37 +00:00
GBA bot af40d48360 Add section on loading graphics and document the include_gfx! macro 2022-01-02 18:11:36 +00:00
GBA bot eb38e2b631 Make the generated module not public 2022-01-02 17:54:44 +00:00
GBA bot a39d5cfd69 Add some more documentation 2022-01-02 11:27:26 +00:00
GBA bot b5ff4991fa Use builder style for ObjectStandard 2022-01-02 11:14:18 +00:00
GBA bot cd1c71fc5e Put a ball on screen 2022-01-02 00:40:34 +00:00
GBA bot 26400c97e8 Extract a function for loading the sprite data 2022-01-02 00:28:14 +00:00
GBA bot acee6a3c51 Import the sprites in the pong code 2022-01-02 00:21:59 +00:00
GBA bot e02fda5fc9 Start the sprites chapter 2022-01-02 00:11:07 +00:00
GBA bot d483a84702 Also update the book examples 2022-01-01 23:39:31 +00:00
GBA bot b6b3cf2491 Update the pong example to have the same comments as there are now in the template 2022-01-01 23:38:13 +00:00
GBA bot f178bfc1af Add some comments to the template's main.rs 2022-01-01 23:36:53 +00:00
GBA bot a1c4af3660 Fill in a bit about the Gba struct 2022-01-01 23:29:34 +00:00
GBA bot 618929939f Document the Gba struct 2022-01-01 23:15:14 +00:00
GBA bot 5bcb86c222 Start writing about the gba struct 2022-01-01 23:15:07 +00:00
GBA bot f307db79e2 Rename to 01_introduction 2022-01-01 22:49:07 +00:00
GBA bot 70e91e496c Update all the example lock files 2022-01-01 22:47:25 +00:00
GBA bot df1d016235 Use the local copy of agb rather than the version from crates.io 2022-01-01 22:47:01 +00:00
GBA bot 8a197dbd2b Build the pong example from the book as a real example 2022-01-01 22:46:37 +00:00
GBA bot 129138e388 Update the name of the pong game crate 2022-01-01 22:38:56 +00:00
GBA bot a363dfc757 Start the pong example for the book 2022-01-01 22:37:39 +00:00
GBA bot dcba19ed73 Write the introduction for the pong game 2022-01-01 22:35:08 +00:00
GBA bot 3a8ec51ce1 Make Cargo.lock consistent with Cargo.toml 2022-01-01 22:21:58 +00:00
Gwilym Kuiper df9283f092
Merge pull request #148 from gwilymk/check-gba-ld-consistency
Check if all gba.ld and gba_mb.ld files are the same
2022-01-01 22:21:20 +00:00
GBA bot 0c8ca166f5 Update gba.ld in the-hat-chooses-the-wizard 2022-01-01 22:16:53 +00:00
GBA bot 5704531ecb Check consistency on pull request and push 2022-01-01 22:15:52 +00:00