Isse
1d60d72c01
format line
2023-05-09 19:43:10 +02:00
Isse
87b2f0fd26
don't apply move state velocity if volume riding, don't mount sprites on interact
2023-05-09 19:43:10 +02:00
Isse
a0ed18c3db
add doc comments
2023-05-09 19:43:10 +02:00
Isse
61ecd2c178
various small fixes
2023-05-09 19:43:10 +02:00
Isse
f6f332af6a
send full matrix to shader
2023-05-09 19:43:10 +02:00
Isse
b4c3868dd4
different translation key for mounting Helm
2023-05-09 19:43:10 +02:00
Isse
a6665ed988
some comments
2023-05-09 19:43:10 +02:00
Isse
2e2e5680bc
use spacial grid for interactables
2023-05-09 19:43:10 +02:00
Isse
78dc394c48
use sitting animation by default when sprite mounted
2023-05-09 19:43:10 +02:00
Isse
192356f6c5
use interpolated pos and ori
2023-05-09 19:43:09 +02:00
Isse
facea64a58
remove todo!
2023-05-09 19:43:09 +02:00
Isse
57551c479c
force of mount in teleporting commands
2023-05-09 19:43:09 +02:00
Isse
e39790e9e4
make sprites work on multiple ships at once
2023-05-09 19:43:09 +02:00
Isse
134d0f0c04
varius fixes
2023-05-09 19:43:09 +02:00
Isse
b3a70627e5
fix volumes
2023-05-09 19:43:09 +02:00
Isse
a35a1a34c4
more sprites on airships
2023-05-09 19:43:09 +02:00
Isse
6674cce2cc
intercat with sprites on ships
2023-05-09 19:43:09 +02:00
Isse
7fbe2cd5ec
particles on volume
2023-05-09 19:43:09 +02:00
Isse
d292234c47
lod for sprites on volumes
2023-05-09 19:43:09 +02:00
Isse
fcb7011cde
sprites on volumes
2023-05-09 19:43:09 +02:00
Isse
6ddfd631d6
don't sit through walls
2023-05-09 19:43:09 +02:00
Isse
7eba16a2d7
use mount key
2023-05-09 19:43:08 +02:00
Isse
2928eb8d15
sit on sprites
2023-05-09 19:43:08 +02:00
Joshua Barretto
1cc221f653
Merge branch 'zesterer/rtsim-tweaks' into 'master'
...
Started adding wandering rtsim monsters
See merge request veloren/veloren!3908
2023-05-09 14:51:15 +00:00
Marcel Märtens
95bca5418a
update toolchain to nightly-2023-04-20
2023-05-08 18:58:54 +02:00
Sam
d5fc65ce83
Fix ci test
2023-05-07 21:50:59 -04:00
Sam
a38f336c9e
Added dual wielding sword contextual abilities.
2023-05-07 20:43:51 -04:00
Sam
0ecf4fbe87
Dual wielding weapons of the same kind added as a context
2023-05-07 20:43:51 -04:00
Sam
9cedf854de
Abilities can now be activated from multiple contexts
2023-05-07 20:43:50 -04:00
Imbris
95a38ff8f6
Merge branch 'imbris/revert-some' into 'master'
...
Revert some of the updates to make windows cross compile directx work
See merge request veloren/veloren!3918
2023-05-06 05:12:20 +00:00
Imbris
af0d0f3ea4
Second attempt (success)
2023-05-06 00:30:54 -04:00
Marcel Märtens
cd7d889c13
get rid of oldtime in chrono
2023-05-05 18:25:49 +02:00
Marcel
223ae7ee98
Merge branch 'xMAC94x/update_deps' into 'master'
...
update further dependencies
See merge request veloren/veloren!3913
2023-05-05 08:42:43 +00:00
Marcel Märtens
4be1e82ba9
update further dependencies
2023-05-04 23:42:05 +02:00
Joshua Barretto
ee971e4056
Added item merging
2023-05-04 22:12:25 +01:00
Joshua Barretto
a5b1e41d8b
Make NPC interaction go via rtsim
2023-05-04 11:23:46 +01:00
Marcel Märtens
054f4f9453
update veloren deps
2023-05-04 11:58:43 +02:00
Isse
44bf8f19f1
combine into one filter_map
2023-05-03 16:29:56 +02:00
Isse
922ba9ed5c
add note about using threshold for subtitle duration
2023-05-03 16:15:28 +02:00
Isse
77b7d1a49e
localize after distance filter
2023-05-03 16:10:14 +02:00
Isse
54a7367cb2
Maintain all subtitles, limit calls to state.update
2023-05-03 13:07:36 +02:00
Isse
f60c44d812
nicer ui
2023-05-03 13:07:36 +02:00
Isse
99463a37f8
subtitles
2023-05-03 13:07:35 +02:00
Isse
1c9b502f69
move flashing lights to accessability settings tab
2023-05-03 13:07:35 +02:00
Isse
ab4076518f
Add multiloot
2023-04-23 19:17:39 +00:00
ubruntu
b53bfd4246
Hide display name of mount while mounted (at full hp)
2023-04-22 18:13:13 +00:00
Sam
e819cd2309
Updated hashbrown, removed some to_owned calls in handling recently unequipped items
2023-04-19 18:43:40 -04:00
Sam
7fdfc0e71b
Addressed review
2023-04-19 18:34:17 -04:00
Sam
c1a64e1d69
Recently unequipped items are now tracked and durability loss on death is applied to them
2023-04-19 18:34:16 -04:00
Imbris
f525be9b3b
Update tracy-client
to 0.15.2
, also use tracy_client through the
...
re-export of `profiling` to make keeping the versions in-sync much less
tedious (and have `cargo update` not break this).
2023-04-18 21:28:15 -04:00
Christof Petig
4c1c84030f
introduce optional model indices for drop items as well (fixing orichalcum armor drops)
2023-04-16 22:56:04 +02:00
RunRobDog
a1af50dcdf
fixes
2023-04-16 02:47:50 +02:00
RunRobDog
17cd291613
make Spawn Entities tab in admin commands
2023-04-16 01:29:14 +02:00
Sam
9d503d1e1f
Debug items no longer have durability
2023-04-14 18:25:24 -04:00
Joshua Barretto
504ea158d2
Merge branch 'zesterer/towns' into 'master'
...
Improvements to towns and NPCs
See merge request veloren/veloren!3867
2023-04-13 21:03:02 +00:00
Joshua Barretto
a835ce7e26
Better starting site choices
2023-04-13 18:32:21 +01:00
Samuel Keiffer
7aa43e9e8a
Merge branch 'taoist/better-dullahan' into 'master'
...
taoist&floppy/cyclops&dullahan
See merge request veloren/veloren!3859
2023-04-12 22:53:38 +00:00
Tao In Way
e32460f9ee
taoist&floppy/cyclops&dullahan
2023-04-12 22:53:38 +00:00
Joshua Barretto
9e17042bf6
Merge branch 'rtsim2' into 'master'
...
Initial implementation of rtsim2
Closes #1476
See merge request veloren/veloren!3517
2023-04-12 16:17:52 +00:00
Joshua Barretto
16e3227f78
Correct localisation of numeric values, use coordinate conversions in rtsim
2023-04-12 10:36:11 +01:00
Joshua Barretto
3582d86c70
Simplified localisation logic
2023-04-11 23:51:07 +01:00
Joshua Barretto
3484e156d1
Allowed localisation content to be recursive
2023-04-11 23:18:34 +01:00
Joshua Barretto
edcc2f1870
Overhauled chat message representation to allow for more exhaustive localisation
2023-04-11 15:46:36 +01:00
Joshua Barretto
81b52298f0
Addressed review feedback
2023-04-11 10:34:06 +01:00
Imbris
4ea635cc8d
Merge branch 'imbris/random-tweaks-35902u8' into 'master'
...
Some misc tweaks
See merge request veloren/veloren!3861
2023-04-11 02:07:35 +00:00
Joshua Barretto
70538dae66
Choose random plaza tile
2023-04-09 19:25:58 +01:00
Joshua Barretto
3e0f5295c0
Added CharacterActivity, made NPCs look at the player when speaking to them
2023-04-09 19:25:57 +01:00
Joshua Barretto
5aaee96cb1
Removed special-casing of merchants
2023-04-09 19:25:56 +01:00
Joshua Barretto
364255c7fe
Allowed rtsim NPCs to greet nearby actors
2023-04-09 19:25:55 +01:00
Isse
57efd24573
fix bench
2023-04-09 19:25:55 +01:00
Isse
d53b344c23
make merchants use tell, and general cleanup
2023-04-09 19:25:55 +01:00
Joshua Barretto
b022076a5c
Fallback for non-trades
2023-04-09 19:25:55 +01:00
Joshua Barretto
ea007ff702
Cleaning up
2023-04-09 19:25:55 +01:00
Joshua Barretto
acecc62d40
sync
2023-04-09 19:25:53 +01:00
Joshua Barretto
0b4d3c9e20
Fixed scaling of airships
2023-04-09 19:25:53 +01:00
Joshua Barretto
e8b489a71a
sync
2023-04-09 19:25:53 +01:00
Joshua Barretto
8ff438bb5b
Smol animals
2023-04-09 19:25:51 +01:00
Joshua Barretto
c856f2625c
Added rtsim sites
2023-04-09 19:25:51 +01:00
Joshua Barretto
f349e99cfb
Better camera at smaller scales
2023-04-09 19:25:51 +01:00
Joshua Barretto
87a6143375
Began adding rtsim2 NPCs, scale command
2023-04-09 19:25:51 +01:00
Joshua Barretto
d5e324bded
Fixed bad comment
2023-04-09 19:25:51 +01:00
Imbris
54c39c03f7
Merge branch 'imbris/pixel-perfection-v2' into 'master'
...
Move image scaling into the UI shaders rather than precomputing it on the CPU
Closes #257
See merge request veloren/veloren!3573
2023-04-08 07:06:19 +00:00
Imbris
5881e44e61
Address review on 3573
2023-04-08 02:19:14 -04:00
Imbris
2a9a63a60e
Clippy fixes
2023-04-08 00:51:50 -04:00
Imbris
132ce72246
Fix some comments that were mis-formatted by rustfmt
...
and remove TODO that is now documented as a review comment
2023-04-08 00:51:50 -04:00
Imbris
9cdfb6a4aa
Resolve some remaining TODOs for ui image processing changes
...
* Explicitly assert that neither of the requested dimensions for an
image are 0. (I think this used to fail later on anyway)
* Don't show the UI alpha premultiply pass in GPU timings in the HUD
debug info display since it only very transiently appears (since this
doesn't run every frame).
2023-04-08 00:29:29 -04:00
Imbris
7205d4c275
Remove extra performance debugging code
2023-04-08 00:28:32 -04:00
Imbris
63096b2042
Complete GPU based alpha premultiplication impl and make the CPU version
...
even faster.
* GPU based version started in previous commit, but this fixes errors
and bugs and gets it actually compiling and running.
* Add a way to batch together images to use the same render pass for GPU
premultiplication if they all target the same texture.
* Pending premultiplication uploads are automatically done when calling
`Drawer::third_pass`.
* `fast-srgb8` dep removed, we no longer convert to `f32`s to do the
premultiplication. Two `[u16; 256]` tables are combined to compute the
alpa premultiplied color within the same error bounds used by the
`fast-srgb8` crate. We also no longer use explicit simd.
* Remove explicit lifetimes from `PlayState::render` since `&self` and
`Drawer<'_>` don't need to have the same lifetime.
* Fix existing bug where invalidated cache entries were never set to
valid when reusing them.
* `prepare_graphic` now runs some heuristics to determine whether
premultiplication should be executed CPU side or GPU side and then
returns a bool indicating if GPU premultiplication is needed.
2023-04-08 00:28:31 -04:00
Imbris
efd932c71e
Progress on GPU premultiplication.
...
* General progress in setting up code paths to support GPU
premultiplication.
* Created `PremultiplyUpload` type to represent an initiated image
upload where the premultiply pass needs to be ran to complete it.
* Converted from compute pass to render pass since current limitations
make it difficult to write directly to a srgb image from a compute
shader.
* Replace `CachedDetails::Immutable` with keeping track of the
parameters used to create the texture (i.e. the border color).
* Create `TextureRequirements`, `TextureParamters`, and `CacheKey` types
to encode parameters that go into texture creation and image caching
and to determine when the space in texture memory should be reused
when replacing a graphic.
* Add custom texture creation logic for the UI textures since those need
certain usage combinations.
2023-04-08 00:28:31 -04:00
Imbris
1d51aae3b2
Start attempt to premultiply alpha on the GPU.
2023-04-08 00:28:31 -04:00
Imbris
7538b04348
Operate on 4 pixels at a time when premultiplying alpha to speed things up a little.
2023-04-08 00:28:31 -04:00
Imbris
f62c2cde70
Use fast-srgb8 crate to efficiently convert between non-linear srgb u8 and
...
linear f32 values for performing alpha premultiplication on the CPU.
2023-04-08 00:28:31 -04:00
Imbris
eb6d16b02c
Rename draw_graphic -> prepare_graphic since it is no longer always
...
specifically rendering an image at the provided dimensions. Start
working on alpha premultipication which is necessary for being able to
properly sample colors on the GPU with bilinear filtering. Various
tweaks to comments and misc changes.
2023-04-08 00:28:31 -04:00
Imbris
69a1a661b6
fixes and tweaks (various minor changes related to UI image scaling on
...
GPU)
2023-04-08 00:28:31 -04:00
Imbris
d62bf8a790
init (scaling UI images during sampling on the GPU instead of on the CPU)
2023-04-08 00:28:28 -04:00
Imbris
e20cf5f14f
Reduce rand::thread_rng
calls, document MeleeConstructor scaled
field more, remove extra stances.get() in hud/mod.rs
2023-04-07 01:59:41 -04:00
Samuel Keiffer
162509e1c9
Merge branch 'sam/durability' into 'master'
...
Durability
See merge request veloren/veloren!3509
2023-04-06 22:42:52 +00:00
Hudson
e03406b103
fixed a bug where if a group member picks up an item, then the player picks up an item, it would display the incorrect number of items picked up. example: group member picks up an apple, then player picks up an apple, the ui would display that the player picked up two apples, instead of the group member picking up one and the player picking up one
2023-04-06 13:43:11 -05:00
Hudson
4881d2fd8b
fixed a bug where if a group member picks up an item, then the player picks up an item, it would display the incorrect number of items picked up. example: group member picks up an apple, then player picks up an apple, the ui would display that the player picked up two apples, instead of the group member picking up one and the player picking up one
2023-04-06 12:40:08 -05:00
Monty Marz
29a7520a48
adjusted death message, fixed repair bench text
2023-04-06 10:57:17 -04:00
Sam
132f26dbc0
Addressed review
2023-04-06 10:57:16 -04:00
Sam
00710a4eb0
Fixed csv tools
2023-04-06 10:57:13 -04:00
Sam
e4ebd17363
Addressed feedback
2023-04-06 10:57:12 -04:00
Sam
ca879173be
Added a repair equipped and a repair all button. Cleaned up some hacks that used to exist.
2023-04-06 10:56:55 -04:00
Sam
658de93c59
Repairing UI
2023-04-06 10:56:53 -04:00
Sam
536d88a2c7
Repair costs scale based on how damaged the item is.
2023-04-06 10:54:50 -04:00
Sam
0966753699
Added repair recipes
2023-04-06 10:54:48 -04:00
Sam
c3f5bc13f1
Equipment can now be repaired at sprites in town.
2023-04-06 10:54:48 -04:00
Sam
a555e08d0b
Added durability to item tooltips
2023-04-06 10:54:47 -04:00
Sam
df13741be9
Durability system in place
2023-04-06 10:54:46 -04:00
Christof Petig
e60aace448
realize zesterers proposal
2023-04-05 00:11:26 +02:00
Christof Petig
f4a87e9f0b
cargo fmt
2023-04-04 23:47:31 +02:00
Christof Petig
8d2b9b9a9c
single file orichalcum armor
2023-04-04 23:46:20 +02:00
Christof Petig
5cb974f770
cargo fmt
2023-04-04 23:46:20 +02:00
Christof Petig
76baf491ec
support model indices for humanoids
2023-04-04 23:46:20 +02:00
Christof Petig
0b8bc507ac
fix clippy
2023-04-04 23:46:20 +02:00
Christof Petig
9b3bf4c3c8
initial support for multiple models in one vox file
2023-04-04 23:46:20 +02:00
Avi Weinstock
908b2a62fa
Change item color in details mode.
2023-04-03 15:40:34 -04:00
Avi Weinstock
6899023fde
Sort merchant inventories lexicographically by (quality, name, quantity)
...
in details mode.
2023-04-03 14:43:14 -04:00
Avi Weinstock
8facf7b58d
Add a list mode to inventories to make it easier to see item names at merchants.
2023-04-03 14:43:14 -04:00
Joshua Barretto
17cdd3e38d
Merge branch 'zesterer/choose-starting-site' into 'master'
...
Allow new players to choose their starting site
See merge request veloren/veloren!3848
2023-04-02 00:45:25 +00:00
Joshua Barretto
ab5561df61
Removed redundant things
2023-04-02 01:09:12 +01:00
Monty Marz
33e643fbfd
fmt
2023-04-02 01:21:10 +02:00
Monty Marz
d1f6db9da6
different site name col
2023-04-02 00:55:21 +02:00
Sam
6849f9fc21
Fix function name typo
2023-04-01 18:11:16 -04:00
Joshua Barretto
33ebb0a4a3
Make clippy happy
2023-04-01 22:55:45 +01:00
Sam
352d34557e
Fix modular crafting window showing an item output when it is not possible to craft two components together.
2023-04-01 17:22:01 -04:00
Sam
2e6d55a78b
Use topographic map for town selection screen.
2023-04-01 17:10:44 -04:00
Monty Marz
ca18da8061
UI tweaks
2023-04-01 21:54:48 +02:00
Maxicarlos08
ac377e2bbf
Hide invites comming from muted players
2023-04-01 18:45:19 +02:00
Joshua Barretto
19db823092
Proper next/prev site buttons
2023-04-01 12:34:58 +01:00
Joshua Barretto
0d7ee4479b
Limit starter sites to towns
2023-03-31 21:31:01 +01:00
Joshua Barretto
6add1b851d
Simplified map drawing
2023-03-31 20:44:59 +01:00
Joshua Barretto
0f7648aadb
Better use of space on char create screen
2023-03-31 18:08:12 +01:00
Joshua Barretto
c28e61383d
Added target to starting site map
2023-03-31 16:25:24 +01:00
Joshua Barretto
45644da98a
Don't display the world map on character edit
2023-03-31 14:36:30 +01:00
Joshua Barretto
acec45b756
Initial implementation of starting site choice
2023-03-31 14:24:14 +01:00
Monty Marz
d1a7884ac8
Merge branch 'more_spot_things' into 'master'
...
grave models, spot fixes, sword overlay
See merge request veloren/veloren!3842
2023-03-31 02:57:39 +00:00
Isse
c34e5ad4ed
Small fixes
2023-03-29 23:11:59 +00:00
Monty Marz
e4c5e50fb2
grave models, spot fixes, sword overlay
2023-03-29 13:10:49 +02:00
Samuel Keiffer
a737a1862c
Merge branch 'sam/sword-balance-0' into 'master'
...
Sword Tweaks
See merge request veloren/veloren!3838
2023-03-29 01:26:33 +00:00
Sam
c9af470cc7
Final tweaks
2023-03-28 20:55:21 -04:00
flo
aec35a4792
bird_medium_wing_tweaks
2023-03-27 19:13:19 +00:00
Sam
cdaf9e5c0e
Ability changes
2023-03-26 21:41:22 -04:00
Sam
5c675fdbe2
Addressed review
2023-03-21 20:18:34 -04:00
Monty Marz
3e37586ba5
icons
2023-03-21 20:18:32 -04:00
Sam
e962690fb8
Tweaks to various stats and earth splitter animation.
2023-03-21 20:18:31 -04:00
Sam
610d47f787
Effect power now affects more than just poise
2023-03-21 20:16:55 -04:00
Sam
1a58b7a8d4
Balance tweaks
2023-03-21 20:13:48 -04:00
Sam
868a42ba39
Addressed UX feedback
2023-03-21 20:10:40 -04:00