Commit Graph

14037 Commits

Author SHA1 Message Date
Marcel
05adddb3f9 Merge branch 'xMAC94x/swap_cidb' into 'master'
xmac94x/swap cidb

See merge request veloren/veloren!3990
2023-06-16 16:25:36 +00:00
Marcel Märtens
6d4338943d swap out cidb server and give it an own dns entry 2023-06-16 15:22:07 +02:00
Monty Marz
138e7bf0a2 Merge branch 'mkatsenelson/focused_chat_border' into 'master'
add focus chat borders with avarage opacity of chat and input text color

See merge request veloren/veloren!3984
2023-06-16 08:29:39 +00:00
mkatsenelson
7d39d3e30e changing margin from 3px to 2px size 2023-06-15 09:31:36 +03:00
unknown
6684685679 Attempt to fix BarrelCactus 2023-06-14 13:49:40 -04:00
unknown
8978bc9dc4 Test 2023-06-14 13:14:33 -04:00
Marcel
fdad31b16b Merge branch 'update-nix-lockfile' into 'master'
Update nix flake dependencies

See merge request veloren/veloren!3982
2023-06-14 16:07:24 +00:00
mkatsenelson
db5fe2210c add focus chat borders with avarage opacity of chat and input text color 2023-06-13 11:58:48 +03:00
Archit Gupta
8bb5f33558 flake.lock: Update
Flake lock file updates:

• Updated input 'nci':
    'github:yusdacra/nix-cargo-integration/30787e470b77f6d76a9d4e5878ab3dbfc28c6984' (2023-02-25)
  → 'github:yusdacra/nix-cargo-integration/acb9cf3a5e31b791d675515eac4d73df13555061' (2023-06-12)
• Updated input 'nci/dream2nix':
    'github:nix-community/dream2nix/28b973a8d4c30cc1cbb3377ea2023a76bc3fb889' (2023-02-25)
  → 'github:nix-community/dream2nix/0c064fa9dd025069cc215b0a8b4eb5ea734aceb0' (2023-06-06)
• Removed input 'nci/dream2nix/alejandra'
• Updated input 'nci/dream2nix/crane':
    'github:ipetkov/crane/59b31b41a589c0a65e4a1f86b0e5eac68081468b' (2022-12-13)
  → 'github:ipetkov/crane/445a3d222947632b5593112bb817850e8a9cf737' (2023-04-11)
• Added input 'nci/dream2nix/drv-parts':
    'github:davhau/drv-parts/e8c2ec1157dc1edb002989669a0dbd935f430201' (2023-04-05)
• Added input 'nci/dream2nix/drv-parts/flake-compat':
    follows 'nci/dream2nix/flake-compat'
• Added input 'nci/dream2nix/drv-parts/flake-parts':
    follows 'nci/dream2nix/flake-parts'
• Added input 'nci/dream2nix/drv-parts/nixpkgs':
    follows 'nci/dream2nix/nixpkgs'
• Added input 'nci/dream2nix/flake-compat':
    'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
• Added input 'nci/dream2nix/nixpkgsV1':
    'github:NixOS/nixpkgs/5eb98948b66de29f899c7fe27ae112a47964baf8' (2023-03-11)
• Updated input 'nci/mk-naked-shell':
    'github:yusdacra/mk-naked-shell/aeca9f8aa592f5e8f71f407d081cb26fd30c5a57' (2023-02-16)
  → 'github:yusdacra/mk-naked-shell/7612f828dd6f22b7fb332cc69440e839d7ffe6bd' (2023-04-12)
• Updated input 'nci/parts':
    'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
  → 'github:hercules-ci/flake-parts/71fb97f0d875fd4de4994dfb849f2c75e17eb6c3' (2023-06-01)
• Updated input 'nci/rust-overlay':
    'github:oxalica/rust-overlay/b91706f9d5a68fecf97b63753da8e9670dff782b' (2023-02-24)
  → 'github:oxalica/rust-overlay/e75da5cfc7da874401decaa88f4ccb3b4d64d20d' (2023-06-12)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/988cc958c57ce4350ec248d2d53087777f9e1949' (2023-02-22)
  → 'github:nixos/nixpkgs/21951114383770f96ae528d0ae68824557768e81' (2023-06-10)
• Updated input 'parts':
    'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
  → 'github:hercules-ci/flake-parts/71fb97f0d875fd4de4994dfb849f2c75e17eb6c3' (2023-06-01)
• Updated input 'parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e?dir=lib' (2023-01-31)
  → 'github:NixOS/nixpkgs/4f53efe34b3a8877ac923b9350c874e3dcd5dc0a?dir=lib' (2023-05-31)
2023-06-12 00:05:33 -07:00
Samuel Keiffer
fa4939a31f Merge branch 'tormod/optimal-capital-placement' into 'master'
Optimally place towns.

See merge request veloren/veloren!3973
2023-06-11 01:36:25 +00:00
Tormod G. Hellen
cf002478b8
Optimally place towns.
This gets rid of the arbitrary threshold values for what is and
isn't an acceptable town.
2023-06-09 13:44:01 +02:00
Imbris
69dcc12dcd Merge branch 'gradientsobel' into 'master'
Add `GradientSobel` experimental filter that adds object outlines based on the normal map.

See merge request veloren/veloren!3975
2023-06-08 16:59:20 +00:00
Avi Weinstock
d023f9db54 Only bind the materials texture in the postprocess bindgroup if it's needed. 2023-06-07 16:21:28 -04:00
Avi Weinstock
025831d9a2 Add GradientSobel experimental filter that adds object outlines based on the normal map. 2023-06-07 15:39:57 -04:00
unknown
526386e51c Initial cacti work 2023-06-07 14:46:54 -04:00
Isse
28ee38ad1b Merge branch 'clifftown_rework' into 'master'
clifftown rework

See merge request veloren/veloren!3968
2023-06-07 18:45:17 +00:00
flo
02bba1e343 clifftown rework 2023-06-07 18:45:12 +00:00
Marcel
caf33b69d9 Merge branch 'walpo/update-translation-files' into 'master'
Make i18n language identifiers comply with IETF BCP 47

See merge request veloren/veloren!3964
2023-06-07 13:12:35 +00:00
walpo
b919312d1b Make i18n language identifiers comply with IETF BCP 47 2023-06-07 13:12:34 +00:00
Imbris
f8ae6cdbbe Merge branch 'imbris/id-maps' into 'master'
IdMaps: Uid refactor and adding mappings from rtsim entities and character IDs to ecs entity IDs.

See merge request veloren/veloren!3971
2023-06-05 20:21:23 +00:00
Imbris
0b213b6149 Move common code into a separate function to avoid the complexity of calling delete_entity_recorded from handle_exit_ingame 2023-06-04 22:29:19 -04:00
Imbris
599e25c9c6 Address review on !3971 2023-06-04 21:12:39 -04:00
Imbris
9a12de5fcf rebase fix 2023-06-04 14:24:01 -04:00
Imbris
b72bf74563 Update TODO after re-reading code and seeing that it was slightly inaccurate 2023-06-04 12:59:09 -04:00
Imbris
b96e7e1b26 Adjust tests to match changes 2023-06-04 12:59:09 -04:00
Imbris
ea77a443a2 Fix conditions on some error logging spots 2023-06-04 12:59:09 -04:00
Imbris
77e1b1919a Use new id mappings to improve lookup_actor function 2023-06-04 12:59:09 -04:00
Imbris
ab946a0d60 Update changelog 2023-06-04 12:59:07 -04:00
Imbris
42ba445ea2 Add RtsimEntity mapping if it is included as a component on a newly
created npc.

Also, improve wording of a comment.
2023-06-04 12:58:16 -04:00
Imbris
01df87bdb4 Address/cleanup a couple TODOs, mainly comment improvements 2023-06-04 12:58:16 -04:00
Imbris
a976aa3f40 fmt after rebase 2023-06-04 12:58:16 -04:00
Imbris
b8af76deff Remove potential for client to delete its own entity.
Also:
* Fix some clippy warnings
* Remove unused clippy allow
* Document semantics of `DeletedEntities`
2023-06-04 12:58:16 -04:00
Imbris
65efa779b5 Steps towards properly synchronizing when a client exits in-game to
return to the character screeen. And other related improvements.

* Uid now optional when removing an entity from IdMaps since that Uid
  may have been transferred to the new entity created when the client
  exits "in-game".
* Added notes about making sure to update the CharacterId mapping when
  changing the `kind` field of `Presence`.
* Add a parameter to `delete_entity_recorded` that indicates whether it
  is being called from `handle_exit_ingame` and that provides the `Uid`
  that was removed from the entity so that we can more explicitly and
  correctly handle that case.
* We now add the Uid of the client to the deleted entities list when it
  exits "ingame". (still need to rework code so that the client doesn't
  delete its own entity).
* Improved integration of possession code with ForceUpdate logic.
* Don't remove `Presence` component from old entity in possession so
  that deleting that entity will properly handle updating the
  CharacterId unmapping (if the old entity isn't going to be deleted we
  still remove the `Presence` component so that it doesn't keep terrain
  loaded).
* Added a couple TODOs on existing tangential things I noticed.
2023-06-04 12:58:16 -04:00
Imbris
996f58ebd2 Avoid using return for skipping respawn events 2023-06-04 12:58:16 -04:00
Imbris
62abed1eec Replace u64 with Uid in some places and add/modify some comments 2023-06-04 12:58:16 -04:00
Imbris
a8fbfc026a Fix compilation errors from recent changes 2023-06-04 12:58:16 -04:00
Imbris
c60f994c7f Some random changes and a fmt 2023-06-04 12:58:16 -04:00
Imbris
f11baed9fa Adapting various things to the new interface, fixing compilation errors,
and progressing on half done things. Also, added a few TODO comments.
2023-06-04 12:58:16 -04:00
Imbris
4094887997 Rename UidAllocator to IdMaps everywhere, also rename lookup_entity to
uid_entity.

Also made more progress on changes in common/src/uid.rs

(does not compile so don't know if all rebase quirks resolved)
2023-06-04 12:58:16 -04:00
Imbris
35922866a8 Start refactoring UidAllocator to contain mappings for different Id
types.

* Add new `IdMaps` type that contains mappings to Entity from Uid, CharacterId, and
  RtsimEntity.
* Add PresenceKind::LoadingCharacter variant for when the CharacterId
  has not actually been confirmed to exist and belong to the logged in
  client. Switches to the regular PresenceKind::Character once the
  character is loaded from the database and that is used to update the
  entity.
* Start refactoring `delete_entity_recorded` to check for CharacterId
  and RtsimEntity values that may need to be removed from the map (just
  very start, not near complete).
* Other misc tweaks.
2023-06-04 12:58:16 -04:00
Imbris
3277d18265 Rename retrieve_entity_internal to lookup_entity 2023-06-04 12:58:16 -04:00
Imbris
ea725fffde Cleanup UidAllocator and Uid a bit:
* Remove unnecessary Marker/MarkAllocator trait implementations.
* Delete excess functions
* Change some methods to take Uid instead of u64
2023-06-04 12:58:15 -04:00
Justin Shipsey
d90926e4a3 Merge branch 'master' into 'master'
updating fr_FR translations

See merge request veloren/veloren!3966
2023-06-04 09:32:10 +00:00
Isse
c4d24d2059 Merge branch 'isse/rtsim-work' into 'master'
Various rtsim related stuff

See merge request veloren/veloren!3950
2023-06-03 22:14:18 +00:00
Isse
a884e0e058 Various rtsim related stuff 2023-06-03 22:14:18 +00:00
Samuel Keiffer
272d57b4fa Merge branch 'cyclops_and_dullahan_tweaks' into 'master'
npc_attack_tweaks

See merge request veloren/veloren!3969
2023-06-03 14:04:11 +00:00
flo
53288d0b22 npc_attack_tweaks 2023-06-03 14:04:10 +00:00
Samuel Keiffer
6071fe0adb Merge branch 'quadruped_low_anim_fix' into 'master'
quadruped_low anim fix

See merge request veloren/veloren!3957
2023-06-03 14:03:49 +00:00
flo
0657df80a1 quadruped_low anim fix 2023-06-03 14:03:48 +00:00
Samuel Keiffer
e6fe8c6520 Merge branch 'plant_creatures' into 'master'
plant creatures

See merge request veloren/veloren!3937
2023-06-03 13:59:52 +00:00