Commit graph

1076 commits

Author SHA1 Message Date
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 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 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
Corwin Kuiper 9286378a36 add sprite sizes 2021-06-04 17:58:06 +01:00
Corwin Kuiper 363e032119 prevent unwanted creation 2021-06-04 11:45:04 +01:00
Corwin Kuiper 91bb5c0774 add helper function for asserting output 2021-06-04 10:42:45 +01:00
Corwin Kuiper 12406fc952 test the test logo 2021-06-04 10:30:25 +01:00
Corwin Kuiper ba80dbefd1 add documentation for object functions and structs 2021-06-03 19:22:26 +01:00
Corwin Kuiper b023807bc0 add documentation for submodules 2021-06-03 19:22:16 +01:00
Corwin Kuiper 6eb13473bb add documentation for submodules 2021-06-03 19:22:08 +01:00
Corwin Kuiper a98a0d0362 fix warnings 2021-05-31 07:34:09 +01:00
Corwin Kuiper 2b28199570 affine matrix calculation 2021-05-31 07:34:09 +01:00
Corwin Kuiper 100b69a4f3 fix chicken with name change 2021-05-31 07:34:09 +01:00
Corwin Kuiper eb596decfc affine object is gettable 2021-05-31 07:34:09 +01:00
Corwin Kuiper 4a74d88530 affine is gettable 2021-05-31 07:34:09 +01:00
Corwin Kuiper 4e10e231a7 expose attributes publically 2021-05-31 07:34:09 +01:00
Corwin Kuiper fbfdd360db remember to add affine id to self 2021-05-31 07:34:09 +01:00
Corwin Kuiper dc4bead590 write affine to oam 2021-05-31 07:34:09 +01:00
Corwin Kuiper 02de6af625 set affine to affine object 2021-05-31 07:34:09 +01:00
Corwin Kuiper 0202c51c77 add affine object 2021-05-31 07:34:09 +01:00
Corwin Kuiper bade37f363 redo object in terms of set_bits 2021-05-31 07:34:09 +01:00
Corwin Kuiper 5cdcfcc0b3 add set bits function 2021-05-31 07:34:09 +01:00
Corwin Kuiper 353fa23876 update chicken example to match 2021-05-31 07:34:09 +01:00
Corwin Kuiper 7aa213936e object attributes in terms of three separate parameters 2021-05-31 07:34:09 +01:00
Corwin Kuiper c3b81a4585 don't touch highest 16 bits 2021-05-31 07:34:09 +01:00
Corwin Kuiper 2c14a8454a remove unneeded non_exhaustive 2021-05-31 07:34:09 +01:00
Corwin Kuiper f3c89cea9c correct spelling 2021-05-31 07:34:09 +01:00
Corwin Kuiper 06210591e9 object attribute for all object modes 2021-05-31 07:34:09 +01:00
Corwin Kuiper 300aafd665 add show / hide implementations 2021-05-31 07:34:09 +01:00
Corwin Kuiper 118b6e9a85 load zeros to correspond to argc and argv 2021-05-29 12:18:34 +01:00
Corwin Kuiper e0e3cdb403 add explicit version 2021-05-23 06:15:32 +01:00
Corwin Kuiper 537bd69998 bump version to 0.2.0 2021-05-23 06:04:35 +01:00
Corwin Kuiper 5f5cdf5871 add target for docs.rs 2021-05-23 06:03:23 +01:00
Corwin Kuiper 9355ef3cc2 add clippy component 2021-05-23 02:20:32 +01:00
Corwin Kuiper 1a7d31d11a add rust-toolchain.toml 2021-05-23 02:16:15 +01:00
Corwin Kuiper c14dd2cd33 change entrypoint signature of all examples 2021-05-22 21:22:44 +01:00
Corwin 5d4565b81e
Merge pull request #26 from corwinkuiper/gdb-debug
gdb-debug
2021-05-20 07:35:59 +01:00
Corwin Kuiper 5bf6635153 move launch.json to parent 2021-05-20 07:25:51 +01:00
Corwin Kuiper 6508885193 fix object in opt-level 0
not sure why it didn't work before
2021-05-20 07:20:29 +01:00
Corwin Kuiper f00e9e58ca add chicken debugger launch.json 2021-05-20 07:20:00 +01:00
Corwin Kuiper 0ba57ea6d0 include debug information in elf 2021-05-20 07:19:38 +01:00
Corwin Kuiper 94a0f87209 build with debug information and zero optimisation 2021-05-20 07:18:54 +01:00
Corwin Kuiper 734a337d07 assemble with debug information 2021-05-20 07:18:33 +01:00
Corwin Kuiper 8b55a63ca9 further satisfy linter 2021-04-28 20:11:36 +01:00
Corwin Kuiper 298fbfb4be satisfy linter 2021-04-28 20:02:04 +01:00
Corwin Kuiper b7150722db remove unused import 2021-04-28 19:32:59 +01:00
Corwin Kuiper 20e588a898 remove unused enum 2021-04-28 19:32:52 +01:00
Corwin Kuiper d85590bff6 added documentation 2021-04-28 19:32:06 +01:00
Corwin Kuiper 0b2472484f update chicken example 2021-04-28 03:15:26 +01:00
Corwin Kuiper f240f60013 use new api for backgrounds 2021-04-28 03:10:10 +01:00
Corwin Kuiper 12e01d6e01 add good map support 2021-04-28 03:09:08 +01:00
Gwilym Kuiper ba2813f927 Add example for the logo and ensure that it gets included in the library 2021-04-20 22:58:53 +01:00
Gwilym Kuiper 62e0c346c5 End-to-end logo working 2021-04-20 22:52:23 +01:00
Gwilym Kuiper 74544374a5 Add a test logo with a chicken and a whale 2021-04-20 21:56:04 +01:00
Gwilym Kuiper 4daafdec20 Actually output some rust code 2021-04-20 20:41:41 +01:00
Gwilym Kuiper 8fd4186f0f Move everything to the agb directory 2021-04-19 22:47:43 +01:00