Commit graph

149 commits

Author SHA1 Message Date
griffi-gh 04a239d04f decrease it a bit 2023-01-30 00:27:47 +01:00
griffi-gh ae55ad7359 Increase "epsilon" value for max pitch 2023-01-30 00:22:16 +01:00
griffi-gh ed300fc0b6 player move events 2023-01-30 00:21:03 +01:00
griffi-gh 74a7a9710d normalize 2023-01-29 23:19:24 +01:00
griffi-gh fc7792382c fix bug in neighbor code 2023-01-29 23:11:36 +01:00
griffi-gh 8e6c4e9a15 change opt levels 2023-01-29 22:36:49 +01:00
griffi-gh aa855b8089 Always unmark dirty 2023-01-29 02:16:26 +01:00
griffi-gh 63eb8682d2 exit on esc and cursor lock 2023-01-29 02:15:12 +01:00
griffi-gh 3b08f3e13d Minor refactor, add cursor lock module 2023-01-29 01:58:52 +01:00
griffi-gh 7e828c4f39 Remove empty crosshair module 2023-01-29 01:45:38 +01:00
griffi-gh 17497ce95a optimize deps 2023-01-29 01:37:13 +01:00
griffi-gh 021d79d568 fix a memory leak and most warnings 2023-01-29 01:28:00 +01:00
griffi-gh 17dbdc2757 minor refactor 2023-01-29 01:21:28 +01:00
griffi-gh 155e3b1e36 Merge pull request #1 from griffi-gh/ecs-rewrite
Merge Ecs rewrite
2023-01-28 23:45:18 +01:00
griffi-gh 6664aa60c6 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
griffi-gh 4c2a29e0a3 enable frustum culling! 2023-01-27 22:22:49 +01:00
griffi-gh fe5bafdd35 fix 2023-01-27 22:17:30 +01:00
griffi-gh 5b4f54a19e wip culling 2023-01-27 22:01:51 +01:00
griffi-gh 1f1b337988 frustum culling impl 2023-01-27 21:50:33 +01:00
griffi-gh a29f6c65fd frustum 2023-01-27 21:15:23 +01:00
griffi-gh 19fa7e67bc Wip frustum code port 2023-01-27 04:02:27 +01:00
griffi-gh 783b6a1f84 wip 2023-01-27 03:24:21 +01:00
griffi-gh 6b8deab094 control 2023-01-27 02:14:10 +01:00
griffi-gh 90c5b2a1e2 fix 2023-01-27 01:04:56 +01:00
griffi-gh a7a1b44548 testing noise 2023-01-27 01:04:01 +01:00
griffi-gh 294648b1b2 u 2023-01-26 14:44:11 +01:00
griffi-gh a512fffcc4 Chunk state downgrades 2023-01-26 04:12:29 +01:00
griffi-gh 5c3ee1c4b6 testing 2023-01-26 03:58:05 +01:00
griffi-gh 9ed19bfc0e skip drawing empty chunks 2023-01-26 03:54:41 +01:00
griffi-gh 941f563059 block textures 2023-01-26 03:50:38 +01:00