Marcel Märtens
b770665fb9
new toolchain lints helped us to find issues, backporting the bugfixes here.
...
NOTE: we havent had world enabled in server/agent, this MR now enables this, might have some (hopefully positive) effects on our agent code
2024-05-16 10:40:15 +02:00
Marcel Märtens
6ebbb89d4d
update toolchain to nightly-2024-01-17
2024-02-05 19:51:50 +01:00
Tim Vincent
87ff55e938
resets the cursor position instead of centering it when grabbed
2024-02-02 21:46:37 -08: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
Imbris
fc28629148
Convert to rgb earlier in screenshot process.
...
Also add path information to logs when screenshot folder or file
creation fails.
2024-01-01 16:45:44 -05:00
Darren Salt
4156dd56f3
Don't include an alpha channel when creating a screenshot file.
2023-12-21 17:14:07 +00:00
Marcel Märtens
631f3ab8ee
fix clippy issues, WITHOUT clippy::needless_pass_by_ref_mut as we are still unsure how to proceed with it. we want to keep the &mut ref where we are actually writing. maybe we need another method support
2023-10-05 23:23:27 +02:00
Marcel Märtens
882a8d104c
Revert "extended clippy from quality.sh"
...
This reverts commit 30ebb7f2edcf299e4886aa7de6573ef54353a8dd.
2023-10-05 22:00:49 +02:00
Marcel Märtens
df03c92741
extended clippy from quality.sh
2023-10-05 22:00:49 +02:00
Maxicarlos08
3f6d23ad7f
remove unwrap from controller modifier handler
2023-09-18 18:34:57 +02:00
Imbris
34ee35c524
Prefer locking the cursor when grabbing it (if that option is supported)
...
over just confining it to the window.
This prevents the cursor from moving around when controlling the camera.
2023-09-10 16:51:31 -04:00
Imbris
f5445774de
Update winit to 0.28
...
Hopefully works better on wayland!
2023-08-23 00:45:36 -04:00
JimmyDdotEXE
18d74e6a8e
replace conditional LayerEntry construction during input check
2023-07-30 13:19:46 -04:00
JimmyDdotEXE
77fb2150d9
addressed code quality issues noted by pipeline
2023-07-23 21:13:06 -04:00
JimmyDdotEXE
8fd30ea55b
left and right bumpers as layer buttons on controller
2023-07-23 21:13:05 -04:00
Joshua Barretto
391c9ecba5
Default to fullscreen
2023-05-14 22:11:37 +01:00
Marcel Märtens
95bca5418a
update toolchain to nightly-2023-04-20
2023-05-08 18:58:54 +02:00
Marcel Märtens
d271c40592
cargo fmt
2023-01-03 08:58:08 +01:00
Imbris
d254e14771
Remove custom keylayout init code since we are back on matching winit version with the keylayout crate.
2023-01-02 22:43:32 +00:00
Marcel Märtens
0c10b8ca08
fix Cargo.lock and fmt
2023-01-02 15:06:42 +01:00
Blinc
57b2f3c11c
Wayland permission fix - update keyboard-keynames
2022-12-31 17:08:32 +03:00
Marcel Märtens
dad73ba2a3
fix clamp clippy errors
2022-11-28 14:26:27 +01:00
Marcel Märtens
0ab7a2543e
fix clippy errors
2022-11-28 14:08:11 +01:00
Joshua Yanovski
986d104faa
Update Rust toolchain.
2022-09-08 15:43:53 -07:00
tygyh
abdd5e3906
Lift return out of if-statements
2022-07-15 16:36:11 +02:00
juliancoffee
3e73fba165
Better naming for shortened key functions
...
* Old display_shortened that returned Option is now called try_shortened
* What was called try_shortened is now just display_shortest, because if
shortened version isn't available, it means that regular version is
already shortened.
2022-06-26 21:59:36 +03:00
juliancoffee
9d928261cb
Try to display shortened version of key in diary
...
* Make try_shortened method that tries shortened version of key or
regular version if shortened one isn't available
* Use it in most places where display_shortened + display_string were
used
* Use it for diary skilbar
2022-06-25 18:17:37 +03:00
Imbris
c320604a36
Support multiple texture formats for screenshots
2022-01-25 00:36:08 -05:00
unvariant
71d2be5f76
support removing key bindings
2022-01-07 20:30:30 +00:00
Marcel
94439a4240
Merge branch 'jtriantafylos/background_fps' into 'master'
...
Fixes #1350 - Allow players to cap the game FPS when unfocused
Closes #1350
See merge request veloren/veloren!2890
2021-10-10 15:33:38 +00:00
James Triantafylos
99776a6ebd
Fixes #1350 - Allow players to cap the game FPS when unfocused
2021-10-10 15:33:31 +00:00
CapsizeGlimmer
a723406df7
Prevent "Error setting/centering cursor position" message spam
2021-10-06 21:25:14 +00:00
Imbris
70f9134c3c
Deduplicate window resize events to remove redudant resizing of the swap chain and other render targets and to fix issues where resizing quickly can cause self reinforcing delays in tick completion
2021-09-29 10:25:59 -04:00
Marcel Märtens
889a8d11f5
zest prefers this over await
2021-08-11 01:23:48 +02:00
Marcel Märtens
32e58c4b17
remove futures_executor from renderer and rather pass tokio runtime to it properly. therefore the runtime is now created with Voxygen rather than with the Connect attempt
2021-08-11 00:38:03 +02:00
Imbris
6cabd74871
Make bloom optional with a config option that is not exposed in the UI (to give artists time to refine bloom before exposing the option)
2021-08-01 18:50:38 -04:00
Marcel Märtens
4c0b74150d
remove some reexports
2021-07-29 22:18:34 +02:00
juliancoffee
930a156cab
display_shortened for keys
2021-07-28 10:33:51 +03:00
schnippl0r
9e3b2a20d0
Moved GameInput to own module and made use of strum's EnumIter and AsRefStr.
2021-07-21 13:23:45 +02:00
Imbris
518ec1f54f
Revamp voxygen settings so that the config directory is externally specified, remove persistence of the selected logs folder, remove unused old meta.rs file from voxygen
2021-07-19 10:26:47 -04:00
Dr. Dystopia
5cc2fc8182
Resolve all '#[allow(clippy::or_fun_call))]' error supressions
2021-07-15 13:49:59 +02:00
Marcel Märtens
9b3b21f368
fix clippy warnings
2021-07-12 12:09:09 +02:00
Joshua Barretto
a7f7ea6327
Improved key names and platform support
2021-06-30 13:14:17 +01:00
Joshua Barretto
b8749dc219
Added more cow noises, prepare for merge
2021-06-16 17:23:54 +01:00
Imbris
345add91db
Eliminate panics when .current_monitor() returns None
2021-06-16 01:36:59 -04:00
João Capucho
04eff56523
Fix resizing using the wrong value
2021-06-02 23:59:50 -04:00
Imbris
577caa3047
Implement screenshots
2021-06-02 23:59:50 -04:00
Imbris
8d63446300
Almost implement instance merging for sprites (validation error), rebase
...
fix
2021-06-02 23:59:50 -04:00
Imbris
7a67ce87e7
Implement toggleable gpu profiling that saves the timings from a recent frame with the screenshot key, rebase fixes
2021-06-02 23:59:49 -04:00
Imbris
843529c7bb
Update to latest wgpu git (around 0.7), temporarily disable shader validation due to naga bug, rebase fixes!!
2021-06-02 23:59:49 -04:00