Commit graph

260 commits

Author SHA1 Message Date
Corwin Kuiper 36903a0a65 fix index for affine matrix 2021-06-05 20:48:02 +01:00
Corwin 2fd318b71d
Merge pull request #49 from gwilymk/bump-image-converter-used-by-agb-to-0.2.0
Use image-converter 0.2.0
2021-06-05 18:54:19 +01:00
Gwilym Kuiper ceb1b97df8 Use image-converter 0.2.0 2021-06-05 18:13:03 +01:00
Corwin Kuiper 6edf82e04a increment version to 0.2.0 2021-06-05 18:07:10 +01:00
Corwin 2392d9fc83
Merge pull request #47 from gwilymk/fix-agb-image-converter-build
Fixup cli
2021-06-05 18:06:46 +01:00
Corwin 1af22f56a3
Merge pull request #44 from corwinkuiper/num-from-to-raw
add from and to raw
2021-06-05 18:02:15 +01:00
Gwilym Kuiper 7c02a8570f Fixup cli 2021-06-05 18:00:38 +01:00
Corwin 7a97591432
Merge pull request #45 from gwilymk/allow-agb-image-converter-to-be-used-in-any-crate
Allow agb image converter to be used in any crate
2021-06-05 17:53:39 +01:00
Corwin Kuiper 93b0b757bd make all const functions 2021-06-05 17:53:07 +01:00
Gwilym Kuiper 4516c8dfc0 Pass through a crate prefix 2021-06-05 17:47:13 +01:00
Gwilym Kuiper c6b1c4b824 Refactor to use a builder pattern 2021-06-05 17:45:21 +01:00
Corwin Kuiper e55ef4d152 add from and to raw 2021-06-05 17:40:41 +01:00
Corwin e2925eb917
Merge pull request #43 from gwilymk/add-rem-and-rem-euclid
Add rem and rem euclid implementations for fixnum
2021-06-05 17:30:34 +01:00
Gwilym Kuiper 363a16ce33 Add implementation of rem_euclid stolen from f32's implementation and add a test 2021-06-05 17:27:00 +01:00
Gwilym Kuiper cdaef51d76 Add tests for % 2021-06-05 17:23:43 +01:00
Gwilym Kuiper 56cf16def4 Fix int() method to return as-if this was a float 2021-06-05 17:23:28 +01:00
Gwilym Kuiper 8b1ad400a7 Include fix length in debug string 2021-06-05 17:23:06 +01:00
Gwilym Kuiper 8b2dfdffc1 Add proper implementation of debug for Num 2021-06-05 17:22:23 +01:00
Gwilym Kuiper e78c9abcec Add basic definition of rem and remassign 2021-06-05 16:53:07 +01:00
Corwin d3b4e7eacf
Merge pull request #42 from gwilymk/add-ability-to-change-fixnum-base
Add the ability to change the base of a fixnum
2021-06-05 16:38:44 +01:00
Gwilym Kuiper 34981ea3dd Make change_base function public 2021-06-05 16:35:58 +01:00
Gwilym Kuiper fe0e9f8196 Add the ability to change the base of a fixnum 2021-06-05 16:34:31 +01:00
Corwin Kuiper 18e017ae73 expose number module 2021-06-05 16:15:43 +01:00
Corwin Kuiper ec161d9161 fix chicken example 2021-06-05 16:14:48 +01:00
Corwin Kuiper a39363b6ae add similar treatment to sprite palettes as background palettes 2021-06-05 16:14:41 +01:00
Corwin a3874e7140
Merge pull request #41 from gwilymk/improve-fixnum
Improve fixnum
2021-06-05 16:08:46 +01:00
Gwilym Kuiper 0099dfa688 Get implementation of AddAssign correct 2021-06-05 15:58:56 +01:00
Gwilym Kuiper 0b8eda336d Use better trait bounds for numbers 2021-06-05 15:54:50 +01:00
Gwilym Kuiper 1b5a6421fd Add some more division tests 2021-06-05 15:46:33 +01:00
Gwilym Kuiper 8b2f3f14bb Use more precise implementations 2021-06-05 15:46:13 +01:00
Corwin Kuiper 2a9788d26f remove lifetime specifier 2021-06-05 14:41:39 +01:00
Corwin 7595c938c9
Merge pull request #40 from corwinkuiper/object-allocation
Object allocation
2021-06-05 13:06:10 +01:00
Corwin Kuiper eea0e6d3b3 fix chicken example 2021-06-05 00:27:13 +01:00
Corwin Kuiper 3b9231ef6e fix coordinates 2021-06-05 00:26:10 +01:00
Corwin Kuiper 225d0aca9f set 1d mapping 2021-06-05 00:16:44 +01:00
Corwin Kuiper 1d8ac652f1 fix sprite size ordering 2021-06-05 00:16:31 +01:00
Corwin Kuiper b1ff352623 use lifetimes to prevent affine matrix dropping 2021-06-04 22:39:10 +01:00
Corwin Kuiper 33738c0f93 add test for affine matrix getting 2021-06-04 22:29:27 +01:00
Corwin Kuiper 8867c5c9f1 satisfy linter 2021-06-04 19:43:09 +01:00
Corwin Kuiper 1c779e3c31 fix example 2021-06-04 19:37:45 +01:00
Corwin Kuiper 95407e11f6 add test and fix implementation 2021-06-04 19:37:41 +01:00
Corwin Kuiper 72662cff5a update documentation 2021-06-04 19:29:21 +01:00
Corwin Kuiper cd602d69a4 add allocation for objects and matricies 2021-06-04 19:28:43 +01:00
Corwin Kuiper 3cdb966dd9 fix implementation 2021-06-04 19:15:58 +01:00
Corwin Kuiper a17b37c2b7 add new test 2021-06-04 19:15:25 +01:00
Corwin Kuiper 1d9d6e4ac2 fix regex 2021-06-04 19:15:16 +01:00
Corwin Kuiper a7cb7ea7b4 keep track of which objects have been assigned 2021-06-04 18:36:23 +01:00
Corwin Kuiper 9fad597844 fix faulty implementation 2021-06-04 18:36:08 +01:00
Corwin Kuiper c208b6528a add tests 2021-06-04 18:35:49 +01:00
Corwin Kuiper 8bf59e0f20 add bitarray implementation 2021-06-04 18:31:28 +01:00