Commit graph

714 commits

Author SHA1 Message Date
griffi-gh 1f8c6ea223 maybe this will work? 2023-01-30 04:23:28 +01:00
griffi-gh 56d85252b0 use xinput, invert y 2023-01-30 04:20:13 +01:00
griffi-gh 3af40c28b8 fix stick input 2023-01-30 04:18:29 +01:00
griffi-gh acbb159606 WIP controller support 2023-01-30 04:14:53 +01:00
griffi-gh f294e0e159 use rkyv 2023-01-30 03:42:58 +01:00
griffi-gh 5b93fa7639 move more things 2023-01-30 03:23:39 +01:00
griffi-gh db6c50ad8d separate blocks into common 2023-01-30 02:45:35 +01:00
griffi-gh 59b91bc23d add kubi-shared as dep 2023-01-30 02:37:11 +01:00
griffi-gh c2b446ac7b move assets folder 2023-01-30 01:50:14 +01:00
griffi-gh 478930e37c restructure 2023-01-30 01:46:22 +01:00
griffi-gh af2a01fad7 empty commit to create pull request 2023-01-30 01:28:09 +01:00
griffi-gh 1d55a80404 add chunk borders 2023-01-30 01:24:53 +01:00
griffi-gh 852fee3607 minor refactor, start working on chunk border rendering 2023-01-30 01:04:13 +01:00
griffi-gh 0b4363ef88 move box to primitives 2023-01-30 00:39:31 +01:00
griffi-gh e00af1cefb add rkyv 2023-01-30 00:29:57 +01:00
griffi-gh ec42143154 decrease it a bit 2023-01-30 00:27:47 +01:00
griffi-gh 8d72185a4e Increase "epsilon" value for max pitch 2023-01-30 00:22:16 +01:00
griffi-gh f5a4bd9603 player move events 2023-01-30 00:21:03 +01:00
griffi-gh 71154b07bc normalize 2023-01-29 23:19:24 +01:00
griffi-gh 889c193a05 fix bug in neighbor code 2023-01-29 23:11:36 +01:00
griffi-gh 54449d5457 change opt levels 2023-01-29 22:36:49 +01:00
griffi-gh bace24b13c Always unmark dirty 2023-01-29 02:16:26 +01:00
griffi-gh 419e08aa64 exit on esc and cursor lock 2023-01-29 02:15:12 +01:00
griffi-gh a74296956e Minor refactor, add cursor lock module 2023-01-29 01:58:52 +01:00
griffi-gh 9d2c00b204 Remove empty crosshair module 2023-01-29 01:45:38 +01:00
griffi-gh d50d61100b optimize deps 2023-01-29 01:37:13 +01:00
griffi-gh e11302c4c0 fix a memory leak and most warnings 2023-01-29 01:28:00 +01:00
griffi-gh 04e4b246fe minor refactor 2023-01-29 01:21:28 +01:00
griffi-gh be8a0a4816
Merge pull request #1 from griffi-gh/ecs-rewrite
Merge Ecs rewrite
2023-01-28 23:45:18 +01:00
griffi-gh 42a822494c
Merge branch 'master' into ecs-rewrite 2023-01-28 23:44:45 +01:00
griffi-gh 1a948b43be fix world gen 2023-01-28 23:43:19 +01:00
griffi-gh 427feecb55 wtf 2023-01-28 23:41:34 +01:00
griffi-gh 5a0e73e2b5 block selector effect 2023-01-28 22:55:29 +01:00
griffi-gh 827ed16aa1 fix typo 2023-01-28 22:43:25 +01:00
griffi-gh 665b3b841e prev inputs 2023-01-28 22:37:01 +01:00
griffi-gh 1fef7e00cd skip placement if both buttons are down 2023-01-28 22:28:10 +01:00
griffi-gh 5f9f0ad72f update 2023-01-28 22:27:40 +01:00
griffi-gh c1cd48101b block breaking! 2023-01-28 22:06:08 +01:00
griffi-gh f3e8459968 generalize lookingat 2023-01-28 21:37:00 +01:00
griffi-gh b8bbda4be8 better check 2023-01-28 21:34:11 +01:00
griffi-gh 407f87aaab increase player range 2023-01-28 21:30:51 +01:00
griffi-gh 0c25bfa5ae selection kinda works 2023-01-28 21:28:25 +01:00
griffi-gh a4f4a765ae having issues with blending... 2023-01-28 20:56:17 +01:00
griffi-gh 2bb22ddaec wip selection box 2023-01-28 04:35:55 +01:00
griffi-gh b4462a0176 wip 2023-01-28 04:26:47 +01:00
griffi-gh 3b36990d32 raycasts, refactor 2023-01-28 04:20:51 +01:00
griffi-gh a9666062ec refactor part of the cube frustum culling code 2023-01-27 22:41:33 +01:00
griffi-gh 158639d3b7 update frustum only if the camera moves 2023-01-27 22:34:57 +01:00
griffi-gh 16bc214628 reenable worldgen 2023-01-27 22:32:23 +01:00
griffi-gh d9ab57ba12 Mouse sensitivity is now affected by delta time 2023-01-27 22:27:48 +01:00