David Fisher
b93d4bf85c
Add simple tests to utils description functions
...
I initially ended up in this file looking to take on issue #707
which I realized had been already done. Having touched the file though
I thought it good to add some basic tests to get used to the workflow
on the project and how things are setup here.
This commit adds some basic requests and cleans up some comments
which appear to have been left as placeholders for work which appears
to have been completed already.
I attempted to test the tool_desc and armor_desc functions, but realized
I wasn't sure how to best create an instance of Armor or Tool without
modifying other files to make more things public.
This is my first commit on the project, and was intentionally kept
simple accordingly.
2020-11-15 18:53:20 -05:00
Imbris
4872d285c3
Merge branch 'imbris/fix-font-selection' into 'master'
...
Properly use localization specified fonts, fix swedish translation by adding...
Closes #834
See merge request veloren/veloren!1521
2020-11-15 03:18:29 +00:00
Imbris
03c96a7c7b
Properly use localization specified fonts, fix swedish translation by adding other fonts to the font mapping list
2020-11-14 21:31:31 -05:00
Imbris
4f2512f126
Save the selected character, deselect character when deleting, auto select newly created character
2020-11-14 19:17:42 -05:00
Imbris
5dbb1aeae7
Merge branch 'imbris/fix-7' into 'master'
...
Fix panic on minimizing window before the game starts up
See merge request veloren/veloren!1514
2020-11-14 03:30:13 +00:00
Imbris
ff5b152525
Merge branch 'imbris/fix-6' into 'master'
...
Fix issue where ui scale in the login menu was not updated when changed in-game
Closes #578
See merge request veloren/veloren!1513
2020-11-14 02:49:41 +00:00
Imbris
a044981fd7
Fix panic on minimizing window before the game starts up
2020-11-13 21:09:19 -05:00
Imbris
1373b752ff
Merge branch 'imbris/fix-5' into 'master'
...
Remove randomization of species and body_type with the randomize button in char creation
See merge request veloren/veloren!1512
2020-11-14 01:56:28 +00:00
Imbris
51dd5110d0
Merge branch 'imbris/fix-3' into 'master'
...
Tweak clock related things and fix voxygen tracy feature
See merge request veloren/veloren!1506
2020-11-14 01:39:33 +00:00
Imbris
cff5439796
Fix issue where ui scale in the login menu was not updated when changed in-game
2020-11-13 20:17:59 -05:00
Imbris
1952785af2
Remove randomization of species and body_type with the randomize button in char creation
2020-11-13 19:43:32 -05:00
Samuel Keiffer
1ed90bd0bf
Merge branch 'sam/ron-abilities' into 'master'
...
Move abilities to .ron files
Closes #821
See merge request veloren/veloren!1508
2020-11-13 17:55:57 +00:00
Sam
b5f59f9cf3
Fixed tests. Addressed comments.
2020-11-13 10:41:34 -06:00
Monty Marz
7da8c71d89
radio buttons for buff position in settings
2020-11-13 14:32:15 +01:00
Monty Marz
691d1f5243
bigger buff icons above skillbar
2020-11-13 14:20:33 +01:00
Imbris
5fa2ac6e38
Handle window resizing properly to fix some bugs on startup
2020-11-12 23:56:36 -05:00
Imbris
f1ca3ccc69
Fix language and ui resolution in menus not updating when they are changed ingame
2020-11-12 23:03:44 -05:00
Imbris
37e4ea4669
Remove ability map from top level functions
2020-11-12 21:24:35 -06:00
Sam
9b4fa4e961
Started moving loading of ability manifest to an ecs variable.
2020-11-12 21:24:34 -06:00
Imbris
27d4310498
Add more catagories to common deps, store average busy dt as a duration, store frame delta times as seconds instead of milliseconds
2020-11-12 19:18:54 -05:00
Imbris
fffd5d0ef0
Fix offset issue in ui on startup
2020-11-11 23:47:07 -05:00
Imbris
c0e8298ac3
Display averaged busy dt
2020-11-11 23:26:13 -05:00
Imbris
d5dd126724
Add tracy feature that randomly disappeared back into voxygen
2020-11-11 22:33:02 -05:00
Imbris
a97b188bea
Make fps display and specification more precise
2020-11-11 21:47:22 -05:00
Snowram
af346806de
Addressed comments
2020-11-11 22:03:54 +01:00
Snowram
fe977f0a6c
Adds a speed stat to weapons
2020-11-11 22:03:53 +01:00
Joshua Barretto
7bce8b9615
More resiliant settings, better key defaults
2020-11-11 17:37:26 +00:00
Imbris
865482d768
ui: Improve login info banner gradient, smallify things, put login menu quit button at the bottom
2020-11-11 03:02:51 -05:00
Imbris
61c0780872
Remove uneeded commented code, add notes to remaining commented code, use source rect calculations from conrod backend code
2020-11-11 03:02:51 -05:00
Imbris
64d885a192
Clippy fixes
2020-11-11 03:02:51 -05:00
Imbris
584824d405
Tweak scrollbar in char select screen to look nicer, fix warnings, remove old ui code, add character loading/deleting/creating/error info popups
2020-11-11 03:02:23 -05:00
Imbris
9df8368c88
Add some tracing spans
2020-11-11 03:02:23 -05:00
Imbris
d2166fed3d
Make iced ui use scale from the settings
2020-11-11 03:02:22 -05:00
Imbris
eda7b380dd
Change glyph cache position tolerance to match changes in master
2020-11-11 03:02:22 -05:00
Imbris
469b048de9
Update iced
2020-11-11 03:02:22 -05:00
Imbris
90bfafc469
Fix tooltip positioning for tooltipped elements inside Scrollable widgets
2020-11-11 03:02:22 -05:00
Imbris
cd1a134c26
Fix bug in body.validate(), add sliders to iced char creation screen, make char selection screen more closely resemble the master version in style
2020-11-11 03:02:22 -05:00
Imbris
7aa8412556
Add tooltips in iced char creation to species, tools, randomize button, and create button
2020-11-11 03:02:22 -05:00
Imbris
fe7d65843b
Highlight button of selected character, enter the world if character is selected when enter key is pressed
2020-11-11 03:02:22 -05:00
Imbris
3b664d2efb
Fix tooltip border images, fade tooltips properly, improve tooltip positioning
2020-11-11 03:02:22 -05:00
Imbris
d8854e9300
Add a tooltip to the char select screen to test
2020-11-11 03:02:22 -05:00
Imbris
5c85a29111
Create Tooltip widget in iced
2020-11-11 03:02:22 -05:00
Imbris
0361272746
Update to reflect changes in master ui: switched daggers with sceptre, added background at the bottom of the loading screen, added randomize button in the char creation screen
2020-11-11 03:02:22 -05:00
Imbris
0ab1a1ebb0
Loading screen: show animated gears instead of status message, show tips
2020-11-11 03:02:22 -05:00
Imbris
489a8a8f9e
Remove background banner from login screen input boxes and move logo to right corner
2020-11-11 03:02:22 -05:00
Yusuf Bera Ertan
bae7f56393
add padding to language select and server select menu buttons so that the scrollbar doesn't overlap them
2020-11-11 03:02:22 -05:00
Yusuf Bera Ertan
52479fec2f
add title to server select menu, don't use unneeded Container in language select menu
2020-11-11 03:02:22 -05:00
Yusuf Bera Ertan
12abd64a01
change the text arrows in language select and server select with proper ui elements
2020-11-11 03:02:22 -05:00
Yusuf Bera Ertan
5af6757de0
add language selection menu to main menu screen
2020-11-11 03:02:22 -05:00
Imbris
c247263258
Update to the latest git iced
2020-11-11 03:02:22 -05:00