Commit Graph

5251 Commits

Author SHA1 Message Date
72db9b61b3 client local time 2023-10-12 01:46:12 +02:00
472b996c8e Merge branch 'isse/shader-fp-fixes' into 'master'
Shader floating point fixes

See merge request veloren/veloren!4120
2023-10-11 23:04:33 +00:00
4967eebb0b change time of day repeat to 1000 days 2023-10-11 23:12:54 +02:00
8a5f237e9c Frost gigas tweaks 2023-10-08 11:35:01 +00:00
7d37646dac renames and comments 2023-10-07 19:53:55 +02:00
bc436e2c9f make particles only use 1 float for inst time again 2023-10-07 19:53:55 +02:00
a152e4dfb4 time-proof usages of tick 2023-10-07 19:53:55 +02:00
b11aac2b5b use look dir for spectator 2023-10-07 19:53:55 +02:00
6d4be9bd01 time proof time of day in shaders 2023-10-07 19:53:55 +02:00
8e95cb944d cargo fmt after updating new toolchain 2023-10-06 09:13:01 +02:00
cb25a409d5 more clippy fixes in all binaries 2023-10-06 09:12:31 +02:00
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
882a8d104c Revert "extended clippy from quality.sh"
This reverts commit 30ebb7f2edcf299e4886aa7de6573ef54353a8dd.
2023-10-05 22:00:49 +02:00
df03c92741 extended clippy from quality.sh 2023-10-05 22:00:49 +02:00
540f0d10f2 cargo clippy after toolchain-update 2023-10-05 22:00:49 +02:00
394c8892bb update toolchain to nightly-2023-09-28 2023-10-05 22:00:48 +02:00
a3be68930e review comments 2023-10-02 23:23:42 +02:00
7734b653e7 replace all uses of Arc<> with references 2023-10-02 16:52:41 +02:00
9ababec625 fix UI issues & cleanup 2023-09-29 23:30:44 +02:00
66f6b81575 singleplayer server initialization status 2023-09-29 23:30:14 +02:00
9a3f53c32c added status updates to loading screen 2023-09-29 23:30:14 +02:00
9c398cb06d djust for changes in specs safety refactor 2023-09-24 23:46:59 -04:00
cd98dd5245 Remove unused deps flagged by cargo-machete 2023-09-21 22:59:50 -04:00
3f6d23ad7f remove unwrap from controller modifier handler 2023-09-18 18:34:57 +02:00
f4ca60cbb6 Map selector and generation UI 2023-09-17 17:11:19 +00:00
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
ec42b9b5ce don't store group id in ChatMode 2023-09-06 17:47:16 +02:00
06111612a3 voxygen: better translation of buff-death messages
This removes interpolation of translated strings, which is bad practice
because it simply doesn't work in many languages.

Translation files were updated using the following fish script. Some
resulting translations are truly terrible, but they always have been -
now it's just a lot more obvious.

```
function getbuff --argument langfile buff
    grep hud-outcome-$buff $langfile | cut -d= -f2- | string trim
end

set buffs burning bleeding curse crippled frozen mysterious

function replacebuffs --argument langfile entity
	set slug 'hud-chat-died_of_'$entity'_buff_msg'
    for buff in $buffs[-1..1]
        set bstr (getbuff $langfile $buff)
        or continue
        sed -i -e '/'$slug'/{p; s/[^=]* = \(.*\)/ .'$buff' = \1/; s/{ \$died_of_buff }/'(string replace / '\\/' $bstr)'/}' $langfile
    end
    sed -i -E 's/('$slug' \=).*/\1/' $langfile
end

function dofile --argument langfile
    sed -i -e s/buff_nonexistent/nonexistent_buff/ $langfile
    for entity in pvp npc nonexistent
        replacebuffs $langfile $entity
    end
    sed -i -e s/nonexistent_buff/buff_nonexistent/ $langfile
    sed -i -e /hud-outcome-/d $langfile
    sed -i -e '/#.*outcomes/d' $langfile
end

for langfile in assets/voxygen/i18n/*/hud/chat.ftl
    echo doing $langfile
    dofile $langfile
end
```
2023-08-29 17:09:48 +00:00
9ef2875db7 voxygen: avoid unnecessary allocation
Cow::to_string() goes through &str even for an Owned variant,
Cow::into_owned() passes Owned variants through as-is. As it happens,
the values here are always Owned (see comment in try_msg_ctx()
implementation).
2023-08-29 17:09:31 +00:00
4d21fbaea5 add fr translations 2023-08-29 10:14:48 +00:00
f6b1d39cf4 Merge branch 'xMAC94x/update_dependencies' into 'master'
xmac94x/update dependencies

See merge request veloren/veloren!4090
2023-08-28 17:08:55 +00:00
f2958954b9 new model for portal & use cultist particles 2023-08-27 19:40:49 +02:00
b4216ec634 get rid of old criterion 2023-08-27 19:17:04 +02:00
de34726fa7 Merge branch 'imbris/winit-update-v2' into 'master'
Update winit to 0.28

See merge request veloren/veloren!4088
2023-08-27 15:10:00 +00:00
eec1b5853e Remove unused cpal version
Also it turns out directories-next is in use for something that we need
2023-08-23 00:47:31 -04:00
f5445774de Update winit to 0.28
Hopefully works better on wayland!
2023-08-23 00:45:36 -04:00
b20ff5144c determine location names when loading character list 2023-08-22 22:41:48 +02:00
6fbca74e88 Merge branch 'maxicarlos08/dungeon-avoid-cave' into 'master'
Cheesing fixes to old-style dungeons

See merge request veloren/veloren!4014
2023-08-19 11:12:01 +00:00
14f433b6cd used second sfx for teleport event 2023-08-19 11:44:58 +02:00
dc1756b2df added sfx (thanks to @flo666) 2023-08-17 22:47:35 +02:00
9f213019d1 Settings for Si prefixes in the interface menu 2023-08-17 15:24:05 +00:00
e5e26149ed review 2023-08-17 11:16:20 +02:00
0c9a942027 refactor teleporter system and include nearby pets 2023-08-15 12:24:49 +02:00
92ab8dab9a require interaction to start teleportation 2023-08-15 12:24:49 +02:00
6a4a6bab9f dance dance 2023-08-15 12:24:49 +02:00
ac68f0af7b addressed review comments and added hud interaction 2023-08-15 12:24:49 +02:00
bb2034ca92 portal particles 2023-08-15 12:24:48 +02:00
13dbf679c5 review 2023-08-15 11:10:54 +02:00
b7c56c9057 Hud fix 2023-08-15 11:10:54 +02:00
1ea0f249f5 display if pet is currently following or staying 2023-08-15 11:10:54 +02:00