Commit Graph

5465 Commits

Author SHA1 Message Date
Woeful_Wolf
7b843444be Renamed closest_points_ls3 to closest_points_3d, added comments, disable raycast aiming in FPV, get shortest between entity and terrain raycast 2024-02-02 18:11:37 +02:00
Woeful_Wolf
63394719a1 Make camera offsets and aiming system only apply when wielding ranged 2024-02-01 23:33:05 +02:00
Woeful_Wolf
1c69614b4e Cleanup and comments 2024-02-01 23:32:24 +02:00
Woeful_Wolf
c86f000881 Moved closest_line_seg_line_seg to common/systems/src/phys.rs and renamed to closest_points_ls3 2024-02-01 22:34:42 +02:00
Woeful_Wolf
c89e3f2b5e Settings labels use i18n 2024-02-01 20:36:34 +02:00
Woeful_Wolf
f4aa9ecbe3 code-quality edits 2024-02-01 20:36:33 +02:00
Woeful_Wolf
5b00d41cd4 Cleaned up some extra imports and debug code 2024-02-01 20:36:32 +02:00
Woeful_Wolf
1660d703ac Changed how look_dir is calculated when aiming, now ray casts entities and terrain to find target point 2024-02-01 20:36:32 +02:00
Woeful_Wolf
e270992bda Added x and y aiming offsets to settings 2024-02-01 20:36:31 +02:00
Woeful_Wolf
43566bca32 Added x and y camera offsets when aiming in third person 2024-02-01 20:36:30 +02:00
Woeful_Wolf
c78f6c0bc2 Added basic ray_entities and closest_line_seg_line_seg methods 2024-02-01 20:36:29 +02:00
Marcel
6d412089c7 Merge branch 'isse/wgpu-update' into 'master'
Update wgpu

See merge request veloren/veloren!4245
2024-02-01 12:14:32 +00:00
Marcel Märtens
94df06ca19 remove outdated comment and make use of more constants 2024-02-01 12:17:19 +01:00
Marcel Märtens
dfb8715aed make map_async function slim and handle the other stuff inside the download_and_handle_internal fn which is only called from a seperate thread 2024-02-01 12:05:11 +01:00
Marcel Märtens
db9eca031c use constants in dummy_scene 2024-02-01 12:05:11 +01:00
Isse
95c7e6bd82 list opengl for list-wgpu-backends 2024-02-01 12:05:11 +01:00
Isse
64eda770fb cache max texture size 2024-02-01 12:05:11 +01:00
Isse
2f544868ef various fixes
- Renames `Drawer::view` to `Drawer::surface_view`.
- Only set present mode if it's supported in `set_render_mode`.
- Don't create view in `Drawer::drop`.
- Format changes.
2024-02-01 12:05:11 +01:00
Isse
a9ea5d31bd remove resolved todo question 2024-02-01 12:05:11 +01:00
Isse
1e40fa55c2 expect on profiler creation error 2024-02-01 12:05:11 +01:00
Isse
3192ed037f remove unnecessary lifetime 2024-02-01 12:05:11 +01:00
Isse
89d70cc932 cache present modes, add check for present modes in set_render_mode and move present mode localization to hud 2024-02-01 12:05:11 +01:00
Isse
cfd0ffd7f6 don't create view in draw_egui 2024-02-01 12:05:11 +01:00
Isse
25c4d65b5d Remove ThirdPassDrawerPrepared, change from Discard to Store 2024-02-01 12:05:11 +01:00
Isse
1d48bfff31 Revert atlas texture name 2024-02-01 12:05:11 +01:00
Isse
ba2e7f6b1d add vk as key for vulkan 2024-02-01 12:05:10 +01:00
Marcel Märtens
856c64c9ee smaller code cleanups, copy paste errors, or wrong merge resolutions fixed according to MR reviews 2024-02-01 12:05:10 +01:00
Isse
b7a56e895a Only show available present modes in graphic settings 2024-02-01 12:05:06 +01:00
Isse
82989979a6 try to fix windows build 2024-02-01 12:01:51 +01:00
Isse
165c88bd74 patch wgpu to 18.2 2024-02-01 12:01:03 +01:00
Treeco
7496aa5357 Added LOD objects for new forest types 2024-01-31 23:01:44 +00:00
Isse
9903d2c545 more testing 2024-01-30 00:52:49 +01:00
João Capucho
d29d22dd0a update to wgpu 0.18 2024-01-30 00:52:49 +01:00
Isse
5e987efe99 Merge branch 'isse/list-backends' into 'master'
Voxygen list backends subcommand

See merge request veloren/veloren!4288
2024-01-29 17:48:55 +00:00
Imbris
e3b0044186 Add period to comment 2024-01-29 17:02:10 +00:00
Marcel Märtens
272837d4e5 add documentation for list-wgpu-backends 2024-01-29 17:23:45 +01:00
Christof Petig
eaba303670 Merge branch 'christof/hot-reload-fix' into 'master'
Fix hot reloading for plugin combined manifests

See merge request veloren/veloren!4280
2024-01-28 20:02:02 +00:00
Isse
b523423404 Voxygen list backends subcommand 2024-01-28 18:44:18 +01:00
maxicarlos08
d11c58b75b Merge branch 'synis/item-tabcomplete' into 'master'
Incremental item path autocomplete

See merge request veloren/veloren!4281
2024-01-27 18:03:21 +00:00
Isse
2023786f5e Merge branch 'isse/optimize-weather' into 'master'
Optimize weather

See merge request veloren/veloren!4270
2024-01-27 17:20:53 +00:00
Syniis
04acb82d75 Fix asset prefix not working with sudo 2024-01-27 17:34:25 +01:00
Syniis
488922ac94 Cleaner code 2024-01-27 16:16:30 +01:00
Syniis
b97e27df9a Allow specifiying prefix for AssetPath command argument 2024-01-27 15:44:03 +01:00
Syniis
d46dbb9708 Incremental item path autocomplete 2024-01-27 13:41:39 +01:00
Christof Petig
cc93474c2f fix hot reloading of combined manifests 2024-01-27 12:40:34 +01:00
Tim Vincent
2ac2f2d45e stops centering the cursor to prevent camera jumping when the cursor grab is released 2024-01-23 20:09:23 -08:00
Isse
497cb13e50 always use players weather, and fix weather fr this time 2024-01-23 23:18:14 +01:00
Joshua Barretto
4a89d88e9b Added default sprite attribute state 2024-01-21 21:30:08 +00:00
Joshua Barretto
4cbec5d93c Interaction distance check, better text 2024-01-21 21:30:08 +00:00
Joshua Barretto
e231b8f9c1 Apply watcher properties more sensibly 2024-01-21 21:30:08 +00:00