Commit graph

  • eb212e7f91
    Merge pull request #64 from corwinkuiper/map-as-refcell Corwin 2021-06-06 16:50:37 +0100
  • 87bace3584 let user decide whether to use slice or refcell Corwin Kuiper 2021-06-06 16:35:38 +0100
  • 342aac005c
    Merge pull request #63 from corwinkuiper/split-object Corwin 2021-06-06 16:18:18 +0100
  • 2a0192de51
    Merge pull request #62 from gwilymk/allow-channels-to-loop Corwin 2021-06-06 15:56:25 +0100
  • 7e837fc3e8 move object out of tiled0 Corwin Kuiper 2021-06-06 15:56:01 +0100
  • 40f7975f46 Loop if requested Gwilym Kuiper 2021-06-06 15:48:52 +0100
  • 86ba309377 Add ability to set that a channel should loop Gwilym Kuiper 2021-06-06 15:47:57 +0100
  • 773e893421
    Merge pull request #61 from gwilymk/allow-not-exactly-correct-length-sounds Corwin 2021-06-06 14:52:25 +0100
  • 0875e640de Handle sounds of length not exactly a multiple of SOUND_BUFFER_SIZE Gwilym Kuiper 2021-06-06 14:48:01 +0100
  • fd3fe32292
    Merge pull request #60 from gwilymk/actual-sound-mixing Corwin 2021-06-06 14:24:26 +0100
  • 333797332e Fix the example after rebase Gwilym Kuiper 2021-06-06 14:21:03 +0100
  • 3f3b34c250 Fix clippy warning Gwilym Kuiper 2021-06-06 14:17:08 +0100
  • e181f7a751 Refactor to make it a bit more obvious what the write buffer is Gwilym Kuiper 2021-06-06 12:51:42 +0100
  • 106e53f917 Use the new mixer in the example Gwilym Kuiper 2021-06-06 12:44:32 +0100
  • f126c7f4f4 Make SoundChannel public Gwilym Kuiper 2021-06-06 11:53:31 +0100
  • d7a8928955 Add should_loop option Gwilym Kuiper 2021-06-06 11:51:44 +0100
  • 46683e42c8 Probably too much in 1 commit Gwilym Kuiper 2021-06-06 11:50:30 +0100
  • 72dbf2ef9c Add simple double buffer Gwilym Kuiper 2021-06-06 11:41:43 +0100
  • 334472f749 Add a comment explaining where the frequency and buffer size come from Gwilym Kuiper 2021-06-06 11:30:49 +0100
  • 9d1aeea077 Make it easier for the user to provide sound samples Gwilym Kuiper 2021-06-06 11:28:35 +0100
  • df7a72d618 Fix the sound frequency to 10512Hz Gwilym Kuiper 2021-06-06 11:19:45 +0100
  • 8d980697bb Add attribution for the music Gwilym Kuiper 2021-06-06 10:54:59 +0100
  • 6ab61b6eb0 Add really basic sound mixer that can play simple tunes Gwilym Kuiper 2021-06-06 10:53:16 +0100
  • c2ba8d835a Move old sound code to the dmg module Gwilym Kuiper 2021-06-06 10:06:19 +0100
  • b0c4a8fd80 satisfy linter Corwin Kuiper 2021-06-06 11:10:57 +0100
  • 20c06536e4 clear affine matrix on drop Corwin Kuiper 2021-06-06 11:01:42 +0100
  • 006b05ceda move commit to attributes, similar to object Corwin Kuiper 2021-06-06 11:00:51 +0100
  • a26732e1fa clear object when dropped Corwin Kuiper 2021-06-06 10:58:29 +0100
  • 13dc368d18 Add basic noise channel support Gwilym Kuiper 2021-06-06 00:28:59 +0100
  • 1bb05560cb Make it so that multiplication doesn't overflow so easily Gwilym Kuiper 2021-06-05 23:50:49 +0100
  • 026dad0773 Change base can change between convertable integer types too Gwilym Kuiper 2021-06-06 00:07:33 +0100
  • cc70e5ba8b
    Merge pull request #55 from gwilymk/fix-incorrect-sound-definition Corwin 2021-06-05 22:58:18 +0100
  • 0b41e9e917 Sweep works backwards Gwilym Kuiper 2021-06-05 22:53:51 +0100
  • aa10a893f4
    Merge pull request #54 from corwinkuiper/object-hidden-by-default Corwin 2021-06-05 22:42:20 +0100
  • be963611ce affine starts at position 9 Corwin Kuiper 2021-06-05 22:41:34 +0100
  • 4cc7650ddc objects are hidden by default no need to do it twice Corwin Kuiper 2021-06-05 22:14:47 +0100
  • eb352085f1 have objects be hidden by default Corwin Kuiper 2021-06-05 22:14:08 +0100
  • e8bc714d74
    Merge pull request #53 from gwilymk/allow-multiple-integer-sizes-for-fixnum Corwin 2021-06-05 22:06:33 +0100
  • 3357a4b69d Put brackets around nine / forty to ensure that we don't divide where we don't have to Gwilym Kuiper 2021-06-05 21:58:32 +0100
  • aa39b2b6ad Make to_raw take self by value rather than reference Gwilym Kuiper 2021-06-05 21:49:36 +0100
  • 54e28f5dd4 Add a Number type for i32 Gwilym Kuiper 2021-06-05 21:43:54 +0100
  • 174517fbb1 Fix tests Gwilym Kuiper 2021-06-05 21:18:42 +0100
  • 508f33facd Add support for all the integer widths Gwilym Kuiper 2021-06-05 21:17:24 +0100
  • de47dbc5dd Make number generic on i32 Gwilym Kuiper 2021-06-05 21:11:08 +0100
  • ec87adceb2
    Merge pull request #52 from corwinkuiper/number-trig Corwin 2021-06-05 21:10:38 +0100
  • 9176e668a1 implement trig functions Corwin Kuiper 2021-06-05 21:06:21 +0100
  • 1807b0adc6
    Merge pull request #51 from corwinkuiper/fix-affine Corwin 2021-06-05 20:55:12 +0100
  • ad16292cfa
    Merge pull request #50 from gwilymk/improve-affine-matrix-syscall-arguments Corwin 2021-06-05 20:48:26 +0100
  • 36903a0a65 fix index for affine matrix Corwin Kuiper 2021-06-05 20:48:02 +0100
  • 46562e275c Update test for new interface Gwilym Kuiper 2021-06-05 20:31:04 +0100
  • 6ab644cf71 Mark affine matrix input as C and packed Gwilym Kuiper 2021-06-05 20:29:16 +0100
  • e7edaa1a27 Accept more sensible arguments in affine_matrix Gwilym Kuiper 2021-06-05 20:25:47 +0100
  • 361e9c93e6
    Merge pull request #48 from gwilymk/reduce-dependencies-for-agb-image-converter Corwin 2021-06-05 19:29:35 +0100
  • 2fd318b71d
    Merge pull request #49 from gwilymk/bump-image-converter-used-by-agb-to-0.2.0 Corwin 2021-06-05 18:54:19 +0100
  • ceb1b97df8 Use image-converter 0.2.0 Gwilym Kuiper 2021-06-05 18:13:03 +0100
  • 989f53ccf6 Massively reduce the number of dependencies used by agb-image-converter Gwilym Kuiper 2021-06-05 18:11:00 +0100
  • 6edf82e04a increment version to 0.2.0 Corwin Kuiper 2021-06-05 18:07:10 +0100
  • 2392d9fc83
    Merge pull request #47 from gwilymk/fix-agb-image-converter-build Corwin 2021-06-05 18:06:46 +0100
  • 1af22f56a3
    Merge pull request #44 from corwinkuiper/num-from-to-raw Corwin 2021-06-05 18:02:15 +0100
  • 7c02a8570f Fixup cli Gwilym Kuiper 2021-06-05 17:59:55 +0100
  • 7a97591432
    Merge pull request #45 from gwilymk/allow-agb-image-converter-to-be-used-in-any-crate Corwin 2021-06-05 17:53:39 +0100
  • 93b0b757bd make all const functions Corwin Kuiper 2021-06-05 17:53:07 +0100
  • 4516c8dfc0 Pass through a crate prefix Gwilym Kuiper 2021-06-05 17:47:13 +0100
  • c6b1c4b824 Refactor to use a builder pattern Gwilym Kuiper 2021-06-05 17:45:21 +0100
  • e55ef4d152 add from and to raw Corwin Kuiper 2021-06-05 17:40:41 +0100
  • e2925eb917
    Merge pull request #43 from gwilymk/add-rem-and-rem-euclid Corwin 2021-06-05 17:30:34 +0100
  • 363a16ce33 Add implementation of rem_euclid stolen from f32's implementation and add a test Gwilym Kuiper 2021-06-05 17:27:00 +0100
  • cdaef51d76 Add tests for % Gwilym Kuiper 2021-06-05 17:23:43 +0100
  • 56cf16def4 Fix int() method to return as-if this was a float Gwilym Kuiper 2021-06-05 17:23:28 +0100
  • 8b1ad400a7 Include fix length in debug string Gwilym Kuiper 2021-06-05 17:23:06 +0100
  • 8b2dfdffc1 Add proper implementation of debug for Num Gwilym Kuiper 2021-06-05 17:22:23 +0100
  • e78c9abcec Add basic definition of rem and remassign Gwilym Kuiper 2021-06-05 16:53:07 +0100
  • d3b4e7eacf
    Merge pull request #42 from gwilymk/add-ability-to-change-fixnum-base Corwin 2021-06-05 16:38:44 +0100
  • 34981ea3dd Make change_base function public Gwilym Kuiper 2021-06-05 16:35:58 +0100
  • fe0e9f8196 Add the ability to change the base of a fixnum Gwilym Kuiper 2021-06-05 16:34:31 +0100
  • 18e017ae73 expose number module Corwin Kuiper 2021-06-05 16:15:43 +0100
  • ec161d9161 fix chicken example Corwin Kuiper 2021-06-05 16:14:48 +0100
  • a39363b6ae add similar treatment to sprite palettes as background palettes Corwin Kuiper 2021-06-05 16:14:41 +0100
  • a3874e7140
    Merge pull request #41 from gwilymk/improve-fixnum Corwin 2021-06-05 16:08:46 +0100
  • 0099dfa688 Get implementation of AddAssign correct Gwilym Kuiper 2021-06-05 15:58:56 +0100
  • 0b8eda336d Use better trait bounds for numbers Gwilym Kuiper 2021-06-05 15:54:50 +0100
  • 1b5a6421fd Add some more division tests Gwilym Kuiper 2021-06-05 15:46:33 +0100
  • 8b2f3f14bb Use more precise implementations Gwilym Kuiper 2021-06-05 15:46:13 +0100
  • 2a9788d26f remove lifetime specifier Corwin Kuiper 2021-06-05 14:41:39 +0100
  • 7595c938c9
    Merge pull request #40 from corwinkuiper/object-allocation Corwin 2021-06-05 13:06:10 +0100
  • eea0e6d3b3 fix chicken example Corwin Kuiper 2021-06-05 00:27:13 +0100
  • 3b9231ef6e fix coordinates Corwin Kuiper 2021-06-05 00:26:10 +0100
  • 225d0aca9f set 1d mapping Corwin Kuiper 2021-06-05 00:16:44 +0100
  • 1d8ac652f1 fix sprite size ordering Corwin Kuiper 2021-06-05 00:16:31 +0100
  • b1ff352623 use lifetimes to prevent affine matrix dropping Corwin Kuiper 2021-06-04 22:39:10 +0100
  • 33738c0f93 add test for affine matrix getting Corwin Kuiper 2021-06-04 22:29:27 +0100
  • 8867c5c9f1 satisfy linter Corwin Kuiper 2021-06-04 19:43:09 +0100
  • 1c779e3c31 fix example Corwin Kuiper 2021-06-04 19:37:45 +0100
  • 95407e11f6 add test and fix implementation Corwin Kuiper 2021-06-04 19:37:41 +0100
  • 72662cff5a update documentation Corwin Kuiper 2021-06-04 19:29:21 +0100
  • cd602d69a4 add allocation for objects and matricies Corwin Kuiper 2021-06-04 19:28:43 +0100
  • 3cdb966dd9 fix implementation Corwin Kuiper 2021-06-04 19:15:58 +0100
  • a17b37c2b7 add new test Corwin Kuiper 2021-06-04 19:15:25 +0100
  • 1d9d6e4ac2 fix regex Corwin Kuiper 2021-06-04 19:15:16 +0100
  • a7cb7ea7b4 keep track of which objects have been assigned Corwin Kuiper 2021-06-04 18:36:23 +0100