Commit graph

275 commits

Author SHA1 Message Date
griffi-gh 8c0004e990 fix android event loop init 2023-11-21 18:06:34 +01:00
griffi-gh 50aeb64c11 fix visibility 2023-11-21 17:51:10 +01:00
griffi-gh fc23e8b827 wip fix android 2023-11-21 17:49:40 +01:00
griffi-gh 5dbc52bba2 fix mouse input 2023-11-21 17:30:04 +01:00
griffi-gh 8183f4b0d0 reuse window creation code 2023-11-21 17:27:44 +01:00
griffi-gh 11ec9d3ea9 fix the rest of stuff
now i need to fix mouse buttons and add init code back
2023-11-21 17:24:37 +01:00
griffi-gh 8287a48f83 fix some stuff 2023-11-21 17:19:52 +01:00
griffi-gh bdcdd4ebd2 upgrade more stuff 2023-11-21 17:11:53 +01:00
griffi-gh 02009e6b59 get it to compile 2023-11-21 17:03:50 +01:00
griffi-gh 003f2fd460 undo 2023-11-21 16:46:18 +01:00
griffi-gh 13816a6bd3 start fixing stuff 2023-11-21 16:45:51 +01:00
griffi-gh 6864e65814 upgrade shipyard/glium 2023-11-21 16:45:41 +01:00
griffi-gh ad61b7db94 wip ui 2023-11-21 14:08:22 +01:00
griffi-gh 6eb7a3f690 wip new gui 2023-11-21 01:03:04 +01:00
griffi-gh 3e9e914df3 change stuff :3 (will break android builds) 2023-11-20 23:21:50 +01:00
griffi-gh 264c72aeb0 wip data 2023-11-20 20:59:34 +01:00
griffi-gh 298c959d73 upgrade some deps 2023-11-19 19:36:17 +01:00
griffi-gh 5494dc61ed oops my screen is hdr only 2023-09-25 11:37:59 +02:00
griffi-gh 503e005fcf upgrade dependencies 2023-07-09 03:03:45 +02:00
griffi-gh b760a0f5b8 Revert "mess around with srgb (wip)"
This reverts commit 4f37e7bfc6.
2023-07-09 01:40:40 +02:00
griffi-gh 4f37e7bfc6 mess around with srgb (wip) 2023-06-04 19:38:46 +02:00
griffi-gh bbea1659e1 Add touch controls, switch to tinymap for keyboard input 2023-06-04 18:39:55 +02:00
griffi-gh 48497c6e17 update android metadata 2023-06-04 15:44:27 +02:00
griffi-gh ea7fc85c6d This is deprecated but required to make cargo-apk work! 2023-06-04 15:30:47 +02:00
griffi-gh 3c9da07bc0 change orientation 2023-06-04 15:29:53 +02:00
griffi-gh 601e55fb9f add raw-evt feature, fix clippy warnings
`raw-evt` is enable by default
forcing it off is required for kb input on android
mouse input is not supported without it yet though
2023-06-04 15:16:25 +02:00
griffi-gh 864ae29b3b remove not used yet comment 2023-05-21 12:33:09 +02:00
griffi-gh fe29489f7a use ProgramCreationInput 2023-05-21 12:32:06 +02:00
griffi-gh e42475570b remove geom shader macro 2023-05-21 12:29:01 +02:00
griffi-gh 3f77dfc099 fix warnings; remove unused imports 2023-05-21 12:24:45 +02:00
griffi-gh c48afa107f use libcubi as lib name 2023-05-21 12:08:29 +02:00
griffi-gh 986c80111f add ndk to deps, disable srgb by default 2023-05-21 12:03:41 +02:00
griffi-gh 3159273495 check at runtime 2023-05-21 04:54:02 +02:00
griffi-gh f33d1589b3 skip cursor lock on android 2023-05-21 04:24:54 +02:00
griffi-gh ec7cddec8d allow gilrs to fail (required for android support) 2023-05-21 04:23:10 +02:00
griffi-gh 0c0619a54b cross-platform assets 2023-05-21 04:17:28 +02:00
griffi-gh 09920a2e55 initial android support (fails on textures) 2023-05-21 03:14:04 +02:00
griffi-gh edd43d3684 use specific log version 2023-05-21 02:16:12 +02:00
griffi-gh 2745a8c823 add some android metadata 2023-05-20 16:43:00 +02:00
griffi-gh aeaa3d175f Fixed timestamps! (use them to fix networking) 2023-05-20 15:59:52 +02:00
griffi-gh 76ec9fba32 oops 2023-05-20 15:17:33 +02:00
griffi-gh 7fbee66880 minor changes to netwrok code 2023-05-20 15:17:16 +02:00
griffi-gh 8e2bc5d35d add centered cube 2023-05-20 02:48:17 +02:00
griffi-gh 78689bbe1c player position sync, refactor some stuff 2023-05-20 02:32:32 +02:00
griffi-gh af356565a3 disable texture filtering experiment 2023-05-19 13:44:33 +02:00
griffi-gh b18756bb7e wip 2023-05-19 13:22:32 +02:00
griffi-gh 163298fe38 Big refactor + Early wip position sync /connect events in multiplayer 2023-05-19 07:02:20 +02:00
griffi-gh c0ce1c71d9 Move ClientIdMap to shared, switch to with_capacity_and_hasher where possible 2023-05-19 04:35:16 +02:00
griffi-gh cb18be7e2a test commit 2023-05-19 04:00:37 +02:00
griffi-gh 13c6fce6e5 move handshake into separate module 2023-05-18 04:34:33 +02:00
griffi-gh 22f38298a0 always request latest gl, set min physical size to 640x480 2023-05-18 04:26:05 +02:00
griffi-gh f6e2f961c6 player movement, player connect events 2023-05-18 03:58:40 +02:00
griffi-gh 95ed5f67b4 fix generate_visualizer_data 2023-05-17 13:11:26 +02:00
griffi-gh 11554c6b4b update workflow 2023-05-17 12:30:14 +02:00
griffi-gh 97260cb327 fix builds with nightly, update readme 2023-05-16 13:42:55 +02:00
griffi-gh 7ec922e480 enable more nightly stuff if nightly flag is active 2023-05-16 12:47:07 +02:00
griffi-gh 3e828855e6 Use git glium 2023-05-16 12:27:57 +02:00
griffi-gh 33a5b8c6ef add vsync option 2023-05-16 12:20:09 +02:00
griffi-gh c142b2fd47 add fullscreen mode, release shader compiler after loading shader prefabs 2023-05-16 12:08:56 +02:00
griffi-gh 41a97cbcef add pre_startup stage, use msaa settings in window init 2023-05-16 11:30:24 +02:00
griffi-gh 46a5da3b26 update deps, add options for some graphics-related settings, fix some warnings 2023-05-16 11:21:01 +02:00
griffi-gh 7251dacedc handle disconnect 2023-03-14 01:36:34 +01:00
griffi-gh 5d8f253c3c enable keepalive 2023-03-13 02:34:09 +01:00
griffi-gh db1a48f876 update 2023-03-13 02:24:37 +01:00
griffi-gh 4361eff76f separate networking, fix warnings 2023-03-13 01:56:33 +01:00
griffi-gh 6375b397e9 send block updates across network 2023-03-12 17:58:24 +01:00
griffi-gh 30b636c88e remove irrelevant comment 2023-03-12 16:38:01 +01:00
griffi-gh aee4e5a2bf "fast decompress" turned out to be slower lol (stashed) 2023-03-11 17:19:03 +01:00
griffi-gh 4d0f8038be fix client 2023-03-09 18:00:32 +01:00
griffi-gh 940a43330a fix client decompression 2023-03-09 17:56:30 +01:00
griffi-gh 9cf4e81818 asss 2023-03-09 04:29:21 +01:00
griffi-gh 321e69f976 fix 2?? 2023-03-09 04:21:59 +01:00
griffi-gh 2a2e22cf72 fix 2023-03-09 04:17:04 +01:00
griffi-gh acbf1cbe77 Client decompression? hopefully 2023-03-09 04:15:59 +01:00
griffi-gh 87ca9a0f50 Move inj to networking 2023-03-09 04:09:17 +01:00
griffi-gh e151ee7a17 world compression (server only for now) 2023-03-09 04:06:46 +01:00
griffi-gh 3f39f11860 Finish upgrading server to uflow 2023-03-09 03:30:37 +01:00
griffi-gh 647a458ff5 remove comments 2023-03-09 01:18:29 +01:00
griffi-gh f53f019659 temporary fix: make all workloads sequential :/ 2023-03-09 01:14:53 +01:00
griffi-gh e2c4d315d3 add generate_visualizer_data feature 2023-03-09 00:56:46 +01:00
griffi-gh 083f89c52a update 2023-03-09 00:46:23 +01:00
griffi-gh 93457ecdcf Disable parallel feature by default, recalc camera matrix 2023-03-09 00:31:19 +01:00
griffi-gh f5d1de39c6 wtf 2023-03-08 23:00:24 +01:00
griffi-gh 0c75c71f51 doesn't work? 2023-03-08 22:53:30 +01:00
griffi-gh 9b112e9b70 some big changes 2023-03-08 22:34:41 +01:00
griffi-gh 06521c27cc actually check the event type (facepalm) 2023-03-08 22:21:19 +01:00
griffi-gh 1725c5a7c9 upgrade some server stuff to uflow 2023-03-08 20:26:51 +01:00
griffi-gh a07aad39ca Client-side migrated 2023-03-08 01:31:38 +01:00
griffi-gh 9d122961b5 Remove kubi-udp 2023-03-07 23:36:04 +01:00
griffi-gh 4c31eab0f4 wip server chunks 2023-03-07 17:05:55 +01:00
griffi-gh 5754dc7485 server 2023-03-07 04:50:06 +01:00
griffi-gh ac5f39a49e basic netw 2023-03-07 03:05:02 +01:00
griffi-gh 1bb785df1d change comment 2023-03-07 02:28:16 +01:00
griffi-gh 8aa4de1e4c Make the outer system seq 2023-03-07 01:59:54 +01:00
griffi-gh 0e4c6a94ef wtf 2023-03-07 01:51:19 +01:00
griffi-gh ce4cc08d2f update glam to 0.23 2023-03-07 00:52:00 +01:00
griffi-gh 552e039f3b Upgrade packages 2023-03-07 00:34:26 +01:00
griffi-gh 5f855bdaf1 changes to binary transparency meshing 2023-02-18 01:04:54 +01:00
griffi-gh 80635cd596 river generation 2023-02-18 00:58:31 +01:00
griffi-gh 32a293922a Better tree gen 2023-02-17 22:25:53 +01:00
griffi-gh 7d46e46e88 soft updates 2023-02-17 22:03:45 +01:00
griffi-gh 58344cf838 Placement queue, binary transparency, WIP trees 2023-02-16 03:54:57 +01:00
griffi-gh 9a7cbd4e2c Add planks 2023-02-16 02:44:21 +01:00
griffi-gh d4fbbc490f add tall grass 2023-02-16 02:00:09 +01:00
griffi-gh 4451461993 minor refactor 2023-02-15 23:32:06 +01:00
griffi-gh dd382c899f remove BlockDescriptorSource trait 2023-02-15 22:11:15 +01:00
griffi-gh bcffaa4562 move block to shared 2023-02-15 22:07:47 +01:00
griffi-gh 496de05f27 reduce placement dst 2023-02-14 23:48:47 +01:00
griffi-gh 16a570803f disable selbox effect 2023-02-14 23:43:05 +01:00
griffi-gh 5924c2aa51 wip better world generation 2023-02-14 23:00:08 +01:00
griffi-gh 5ad21e9f08 update shipyard to the lastest commit 2023-02-14 19:54:52 +01:00
griffi-gh cfd50d03af remove track(...) 2023-02-14 19:35:47 +01:00
griffi-gh 0dbb7e21ee Migrate to shipyard master 2023-02-14 19:31:20 +01:00
griffi-gh 71f89e8f28 wip connect 2023-02-13 04:12:02 +01:00
griffi-gh 72d8e17b43 set publish to false 2023-02-13 03:01:56 +01:00
griffi-gh 1b476819d8 remove pub from functions 2023-02-13 02:01:25 +01:00
griffi-gh 2818e157b1 use AllStoragesView instead of AllStoragesViewMut 2023-02-13 01:57:30 +01:00
griffi-gh 8505ee2a0f protocol id 2023-02-13 01:53:55 +01:00
griffi-gh 944279f09f rename to connect_client_if_needed 2023-02-12 22:42:39 +01:00
griffi-gh 657661749a Disconnect only in multiplayer 2023-02-12 22:41:27 +01:00
griffi-gh 742bd11773 disconnect on exit 2023-02-12 22:38:51 +01:00
griffi-gh 04d94383d0 better error handling on client 2023-02-12 22:28:44 +01:00
griffi-gh c9fcf889c3 what the fuck 2023-02-12 22:15:09 +01:00
griffi-gh f3cdb841ea fix camera updates 2023-02-12 21:50:24 +01:00
griffi-gh 053c199f51 replace .into_workload().run_if() with .run_if() 2023-02-12 21:40:42 +01:00
griffi-gh f9bd7c1992 ignore io errors on server 2023-02-12 21:31:21 +01:00
griffi-gh 80e9a344ff client networking calls 2023-02-12 20:37:06 +01:00
griffi-gh 7aafd95f5e todo 2023-02-12 18:52:17 +01:00
griffi-gh c2a9609da5 basic networking 2023-02-12 04:04:48 +01:00
griffi-gh 55876fb796 some changes to server and shared crates 2023-02-12 01:32:59 +01:00
griffi-gh f0f17bdf74 server 2023-02-12 00:37:24 +01:00
griffi-gh d5abf53ee0 separate logging into a library 2023-02-10 20:44:34 +01:00
griffi-gh 2544386417 is_changing_state 2023-02-10 03:03:00 +01:00
griffi-gh 3ab78fa7bf typo 2023-02-10 03:00:08 +01:00
griffi-gh f4c93ed29a log after load finish 2023-02-10 02:46:34 +01:00
griffi-gh 1c2557d83f slow down chunk ops while loading 2023-02-10 02:44:17 +01:00
griffi-gh 41d7803a64 loading screen 2023-02-10 02:36:11 +01:00
griffi-gh 1ce3b94cd5 uwu 2023-02-10 01:47:37 +01:00
griffi-gh 1d82cf69ba use windows subsystem attach console on release builds 2023-02-10 01:20:54 +01:00
griffi-gh 63b0fad27b reorder 2023-02-10 00:57:57 +01:00
griffi-gh 205f67a2e8 assert renderer in init stage 2023-02-10 00:56:03 +01:00
griffi-gh 7edf3529db move assert_renderer to 2023-02-10 00:49:05 +01:00
griffi-gh 39b97eb990 gui changes, use glsl 3.0 es 2023-02-10 00:46:20 +01:00
griffi-gh c9cfa478d3 progressbar shader fix 2023-02-10 00:08:32 +01:00
griffi-gh fdb7cf80e7 ui transform works 2023-02-09 04:16:02 +01:00
griffi-gh 2f3eab4d1e why doesnt it work 2023-02-09 04:11:15 +01:00
griffi-gh 55d70cc02d fix default colors and color_hex function 2023-02-09 03:34:49 +01:00
griffi-gh 144cff3268 fix color-related code 2023-02-09 03:33:41 +01:00
griffi-gh ba2d2dea2c gui and progressbars 2023-02-09 03:31:36 +01:00
griffi-gh d974f8326e shaders for progressbar 2023-02-08 03:37:58 +01:00