Benoît du Garreau
0cf164f33a
Use assets_manager to load assets
2020-12-17 12:06:07 +01:00
Marcel Märtens
ccb01e1898
adjust fmt and clippy after toolchain upgrade
2020-12-10 14:53:01 +01:00
Imbris
d7f506cf71
Don't drop wayland clipboard
2020-12-01 19:35:32 -05:00
jiminycrick
3ef00c4e76
Fix audio disabling
2020-11-19 10:46:31 -08:00
jiminycrick
c44a9092d3
Biome definition tweaks and more sfx
2020-11-18 13:31:12 -08:00
jiminycrick
e1fcb3744e
Comment out audio device picker
2020-11-18 13:31:12 -08:00
jiminycrick
8f5a22671d
Re-added device selector to settings with new rodio
2020-11-18 13:31:12 -08:00
jiminycrick
decb0e3e24
Hackily upgraded rodio and cpal to 0.13
2020-11-18 13:31:12 -08:00
Imbris
a97b188bea
Make fps display and specification more precise
2020-11-11 21:47:22 -05:00
Imbris
bc0792a57a
Rename localization/font types (e.g. VoxygenLocalization -> Localization)
2020-11-11 03:02:21 -05:00
Marcel Märtens
e4e5c6e55b
massivly switch clock algorithm.
...
- before we had a Clock that tried to average multiple ticks and predict the next sleep.
This system is massivly bugged.
a) We know exactly how long the busy time took, so we dont need to predict anything in the first place
b) Preduction was totally unrealistic after a single lag spike
c) When a very slow tick happens, we dont benefit from 10 fast ticks.
- Instead we just try to keep the tick time exact what we expect.
If we can't manage a constant tick time because we are to slow, the systems have to "catch" this via the `dt` anyway.
2020-11-10 18:31:42 +01:00
Imbris
47b06658b0
Log where the userdata folder is in binary crates, fix bug where the old
...
path was logged instead of the new path when renaming invalid settings
2020-10-29 18:30:49 -04:00
Marcel Märtens
ad63c65d2f
fix windows result check
2020-09-11 16:24:15 +02:00
Marcel Märtens
018d03d860
fix panic for macos
2020-09-09 12:11:56 +02:00
Marcel Märtens
68168b0ae4
replace heavy msgbox with light native-dialog
2020-09-08 23:49:49 +02:00
Joshua Yanovski
3a96b73b2c
Move figure meshing to a background thread.
2020-08-28 05:25:31 +02:00
Monty Marz
e353bd3cfc
Fix cut off chat
2020-07-18 21:56:45 +00:00
Imbris
28e00a0f6e
Fix singleplayer feature and rebase related stuff
2020-07-17 21:24:28 -04:00
Imbris
7dfb24d4a5
Clean comments, fix mistake, change dep source now that compatible version is available on crates.io
2020-07-17 21:24:28 -04:00
Imbris
70eba0c30a
Update changelog
2020-07-17 21:24:28 -04:00
Imbris
d1b635efa4
Rearrange PlayState system to work without loop control
2020-07-17 21:24:28 -04:00
Marcel Märtens
9485b45e70
switch to tracing
stlye and enhance logs with usefull information
...
- Updated CHANGELOG
- reduce dependencies
- found out that we have alot of duplicate coding... alot...
2020-06-22 09:53:15 +02:00
Kevin Glasson
af3af6c169
Convert voxygen to use tracing
...
There are several noteable changes in this commit that mean that logging
will behave differently to how it did previously.
- There are now no separate filter levels for terminal and file output.
This is a feature that is lacking in `tracing` but is set to be resolved
by https://github.com/tokio-rs/tracing/pull/508 . At which point we MAY
include it.
- The default log level was previously `WARN` - it is now `INFO`.
2020-06-21 23:17:25 +08:00
Imbris
d00e88b804
Hotreload animations using libloading
2020-06-19 00:48:19 -04:00
Kevin Glasson
19c2bf1181
Add hotbar state persistence.
...
Persist the hotbar state to disk by writing it out to a `profile.ron`
situated next to the existing `settings.ron`. There are individual
profiles for every character on every server. On creation of a new
character the default hotbar state will be `[None; 10]` i.e. the hotbar
will be empty.
Resolves: https://gitlab.com/veloren/veloren/-/issues/577
2020-06-19 08:00:21 +08:00
Ben Wallis
c1c968f479
Globally suppressed clippy lint option_map_unit_fn for #587
2020-06-14 16:48:07 +00:00
Ben Wallis
950c62efc6
Suppressed all existing clippy warnings in preparation for fixes as part of #587
2020-06-10 22:01:42 +01:00
S Handley
5a13b54cbf
- Load characters after login.
...
- Make the character screen load with an empty character list from the server, send event to the server for character creation with data, but not yet saving them to the DB.
- Working but messy character saving to DB
- Add the character_data to the client, rather than keep it in the GLobalState.
2020-05-09 15:41:25 +00:00
Imbris
97148cb6bb
Merge branch 'master' into 'combat'
...
# Conflicts:
# CHANGELOG.md
2020-04-01 20:42:27 +00:00
Marli Frost
3806f08eb0
feat: configure audio output using an enum
2020-03-31 22:29:30 +01:00
Marli Frost
a83f09bd60
fix: avoid rodio API when audio is disabled
2020-03-31 21:28:09 +01:00
Marli Frost
c82d1b9316
allow the game to start without an audio device
2020-03-31 21:27:55 +01:00
timokoesters
fb16106960
Merge remote-tracking branch 'origin/master' into combat
2020-03-23 11:30:47 +01:00
Capucho
0358caa173
Fix the wrong logs directory being displayed on panic
2020-03-22 22:06:05 +00:00
Songtronix
b940cde501
change(panic): mention the game version in panic
2020-03-20 09:47:00 +01:00
Pfauenauge90
466b80e8a8
added const tweaker
2020-03-19 18:11:45 +01:00
Imbris
4a0c474be1
Remove Client
dependency from Scene types and audio managers, add an
...
example for using voxygen as a library to renderer images of characters
2020-03-05 23:12:51 -05:00
Capucho
af21d19ff3
Moved paused from GlobalState to SinglePlayer to prevent errors and unpauses now works using the resume button
2020-03-05 18:38:39 +00:00
Capucho
a97b694dfe
Groundwork for fixing #36 and rewrite of client timeouts so that they don't use Instant and Duration
2020-03-05 18:38:39 +00:00
S Handley
b739623579
Split the audio channels into SFX and music channels. This makes the
...
Music Channel for exploration music a basic Sink without spatial audio
functionality, which is not required.
2020-02-15 21:30:44 +00:00
Marcel Märtens
dae31ae5b6
apply new rustfmt - touching alot of files
2020-02-01 21:39:39 +01:00
Rémy PHELIPOT
c501b2d0bf
Use English instead of saved language if loading fails
2020-01-27 19:59:17 +01:00
Gilbert Röhrbein
c2b99f3a62
Fix panic in case no default audio device found when audio off
2020-01-21 18:09:37 +01:00
Rémy PHELIPOT
a6f9f533a5
Localization system for Voxygen
...
- Added a localization system in voxygen
- Support English and French languages
- Added a configuration option in the interface settings to change
the language
2020-01-20 21:07:25 +01:00
Joshua Barretto
2c42aaf5f5
Added client-side character saving
2020-01-20 13:37:29 +00:00
Gilbert Röhrbein
b2503397c9
Fix panic in case no default audio device found when audio off
2020-01-18 19:16:23 +01:00
Songtronix
70eb2eed33
remove: discord rich presence
2020-01-10 17:01:50 +01:00
Monty Marz
851d7858e6
Scrolling Combat Text (SCT)
2020-01-10 00:33:38 +00:00
Pierce Brooks
43febb5bf3
fix #426 : Use new dispatch dependency to ensure proper thread routing of msgbox NSAlert calls ( correct MR workflow )
2020-01-07 05:45:43 +00:00
Songtronix
b03e4ac261
feat(log): configurable creation of log file
...
additionally allows to ignore any errors with the log file
furthermore prints out full log file path to the user incase of a panic
2019-12-20 15:45:30 +01:00
Songtronix
9141cc07d0
feat(env): configurable verbosity of log file via VOXYGEN_FILE_LOG environment variable
2019-12-20 15:45:30 +01:00
Songtronix
0d919a9dc6
improve(log): adjust verbosity of some logging
...
fix: settings do not log due to logging being initialized to late
2019-12-20 15:45:30 +01:00
S Handley
da2d36ed76
(fix) Set the music and sfx volumes immediately after initialising the
...
audio frontend.
Fixes #373
2019-12-10 14:02:51 +00:00
Songtronix
2f93dd2c38
adjust logging level
2019-11-22 19:12:58 +01:00
Songtronix
bdcea57201
feat(log): add date to log file
2019-11-22 19:12:58 +01:00
Songtronix
bb64c8ed76
change(log): remove all spam from logging
2019-11-22 19:12:58 +01:00
Songtronix
7abf2a0fb9
change(log): switch to fern
2019-11-22 19:12:58 +01:00
timokoesters
c733c95718
improvement: UI for connecting to singleplayer servers + threading fixes
2019-11-06 21:34:15 +01:00
timokoesters
21f126acd4
feat: show errors in main menu when client fails
...
Instead of `[ERROR] Failed to tick the scene: Network(Bincode(Io(Custom { kind: UnexpectedEof, error: "failed to fill whole buffer" })))`
2019-11-06 21:34:15 +01:00
Acrimon
5beea76624
Remove heaptrack as it is now deprecated.
2019-10-29 06:55:45 +00:00
Forest Anderson
b13f9f37f7
Revert "Merge branch 'angelonfira/change-memory-allocator-to-jemalloc' into 'master'"
...
This reverts merge request !547
2019-10-06 01:31:47 +00:00
Forest Anderson
0304b51159
Chanced to ignore msvc instead of windows
...
Change server to ignore msvc
2019-10-05 17:57:29 -04:00
Forest Anderson
e1bab6afe0
Added jemalloc for Linux systems
2019-10-05 17:57:29 -04:00
Forest Anderson
9ef98ce1a5
Remove heaptrack
2019-10-05 17:57:29 -04:00
Songtronix
43cae5ea64
Fix discord rich presence
2019-10-05 15:35:59 +00:00
Acrimon
03bf74f414
Updated toolchain version and a bunch of deps.
2019-10-03 17:19:22 -04:00
Imbris
cceb21240b
Fix feature names
2019-09-21 13:41:02 -04:00
Imbris
2ad816449c
Make some voxygen dependencies optional
2019-09-15 17:03:33 -04:00
Louis Pearson
3fe12ee85f
Fix settings move
2019-09-06 04:06:26 -06:00
Louis Pearson
2bca20cf69
Get sound effects working
2019-09-05 03:08:09 -06:00
Louis Pearson
447cfec19f
Add support for fading sounds
2019-09-05 03:08:09 -06:00
Louis Pearson
9dc1f8f549
Revamp AudioFrontend
...
audio::base had a lot of unnescessary abstractions and constructs.
The current code simplifies the API in a way that makes sense and
that will allow sound effects and fading to be added in an incremental
way.
2019-09-05 03:08:09 -06:00
Imbris
ab34377309
Add basic segment combination
2019-09-03 23:05:50 -04:00
Imbris
0668823493
Save settings, start log, & set panic hook first
2019-09-03 23:05:47 -04:00
Acrimon
a41cf1a83d
Disabled unsafe using lint level.
2019-08-19 14:39:23 +02:00
Monty Marz
29f6186139
hotbar changes
...
completely switched to. vox files
easier to see design
gradient and numbers on the health/mana bar
2019-08-18 18:07:21 +00:00
Acrimon
fda47fc322
[Voxygen] Switch mutexes to parking_lot and channels to crossbeam.
2019-08-16 00:07:09 +02:00
timokoesters
5aa864ee58
Update most dependencies
2019-07-28 22:47:23 +02:00
Acrimon
551433f03a
Hook the tracking allocator into binaries. Doesn't do any monitoring/logging. Just provides the data when you want it.
2019-07-24 02:18:50 +02:00
Songtronix
07754b0a79
fmt
2019-07-07 16:16:07 +02:00
Songtronix
b4fe69be22
Fix warnings
2019-07-07 16:16:07 +02:00
Songtronix
8220564fa6
Fix rebasing issues
2019-07-07 16:16:07 +02:00
Songtronix
6fa086b964
remove expects, warnings, code duplication
2019-07-07 16:16:06 +02:00
Songtronix
2338084af0
Add Linux support
2019-07-07 16:16:06 +02:00
Songtronix
5ea624674d
add comment and logging error
2019-07-07 16:16:06 +02:00
Songtronix
1e40bd09ba
working discord presence
2019-07-07 16:16:05 +02:00
Forest Anderson
5442bbfe62
Force CI to block on rustc warnings
2019-07-07 03:24:22 +00:00
Louis Pearson
67bfc6c4cf
Add field to turn off audio in settings
2019-07-03 13:13:38 -06:00
Sheldon Knuth
c3671590e9
Loading no-audio
mode from the game start without rodio
crate initialisation completely
2019-07-02 18:35:40 +00:00
Sheldon Knuth
c699801d78
Revamping the audio system for Voxygen from #163
2019-07-02 04:10:55 +00:00
Cody
14ac5babd4
Removes most unused imports; changes some unused variables to underscores or provides a leading underscore; removes some unnecessary variables and mutable declarations; and performs other miscellaneous warning fixes.
2019-06-06 14:48:41 +00:00
Cody
6c76667356
Addresses more naming schemes and typos.
2019-05-31 16:36:24 -04:00
Imbris
c41fc026a8
fmt
...
Former-commit-id: 288b2b5d5872aebd255e464c921521c0b8b864fa
2019-05-28 20:47:03 -04:00
timokoesters
59967c603c
Save settings when the game closes
...
Former-commit-id: 0190f45ddbd87ec6ae2e4d4d959672d22e560907
2019-05-28 19:16:07 -04:00
Imbris
38416ef37c
Show disclaimer once
...
Former-commit-id: f4937dba2caca207b02deb18ad209a8435e65b61
2019-05-28 19:16:07 -04:00
timokoesters
075c0d9e11
Use type MouseButton instead of glutin::MouseButton
...
Former-commit-id: 7fc8b2f3f42ed45455feaa4a36e225a981b768ac
2019-05-25 23:21:40 +02:00
Louis Pearson
e78ae4fefc
Remove hacks, clean up crufty code
...
Former-commit-id: 7c10103235e8d9e2967baa1f8e33d68995bdf4d5
2019-05-22 05:29:38 -06:00
Louis Pearson
9f1c70792f
Move to using only global_state for settings menu
...
Former-commit-id: bb86c851f51c02af1a25d57f2be95d1947b330ad
2019-05-21 16:44:51 -06:00
Louis Pearson
ee6ec2d299
Continue implementing audio device selection
...
Former-commit-id: 6b92cbdb2e93653f43c0ed4d04e1b8fc35cfe8cf
2019-05-21 16:44:51 -06:00
Louis Pearson
8dc35b8609
Add audio to settings
...
Former-commit-id: 6e18b95bb3460a3b6d971b89c767045dcdbe7344
2019-05-21 16:44:51 -06:00