Marcel Märtens
3a19669d53
use workspace dependencies to make our life easier maintaining them :)
2023-05-10 18:16:25 +02:00
Marcel Märtens
4be1e82ba9
update further dependencies
2023-05-04 23:42:05 +02:00
tygyh
120ee6b6c0
Fix typos
2022-07-15 18:59:37 +02:00
tygyh
5e5698249b
Remove unnecessarily qualified paths
2022-07-15 14:49:46 +02:00
juliancoffee
fba89517de
Move Veloren to 2021 edition
2022-01-26 16:46:40 +02:00
Ben Wallis
022c1417b6
EXP on kill is now shared between damage contributors. A "damage contributor" is either an individual entity, or a group - depending if the attacker is in a group. This means that not only does the "killing blow" no longer get 100% of EXP, but multiple groups and individuals all receive their fair share of EXP on death (assuming they are still within range of the entity when it dies).
...
Damage from a given individual or group only counts towards a kill for 10 minutes since that individual or group's last damage to the entity - after this period their damage contribution is removed. This avoids the list of damage contributors growing excessively large for an entity that does a lot of combat but never dies.
EXP sharing within groups is unchanged - the difference is simply that the input to this calculation may be less than 100% of the base EXP reward for the kill if other individuals or groups contributed damage.
2021-11-13 20:46:45 +00:00
Dr. Dystopia
70d0840e96
Resolve unused '#[allow(clippy::unnecessary_wraps)]' error supressions
2021-07-24 20:14:26 +02:00
Imbris
23eca4c3f6
Re-disable incremental just for common-systems, small fix in plugin
...
crate, more new clippy fixes
2021-05-31 20:44:57 -04:00
ccgauche
bece2cfc76
Reduced unsafe
2021-03-02 17:41:28 +01:00
ccgauche
6dffd1a9e2
Added a Global State API in plugins
2021-03-02 17:15:19 +01:00
ccgauche
7f4411ba1f
Merge branch 'master' into 'ccgauche/plugin-player-join-event'
...
# Conflicts:
# CHANGELOG.md
2021-03-02 09:45:15 +00:00
ccgauche
db9991ce6d
Adressed all comments
2021-03-01 22:24:02 +01:00
ccgauche
9628dfaf99
Fixed comments
2021-03-01 21:29:18 +01:00
ccgauche
dbd4d70b79
Lots of improvement in pointer management (switched from i32 to u64) + New event implemented
2021-03-01 19:00:44 +01:00
ccgauche
099a180a33
Update lib.rs
2021-02-28 22:39:53 +01:00
ccgauche
387daf8aea
Change invalid message in examples and cleanup
...
Updated changelog + Removed hello plugin from plugins folder
2021-02-23 00:02:58 +01:00
ccgauche
267e7d8b4c
Finalized Retrieve API
2021-02-22 23:59:41 +01:00
ccgauche
06aa7ab70c
Retrieves added + New ECS memory layout for plugins
2021-02-22 23:59:32 +01:00
ccgauche
1597fcc79e
Fixed the plugin compilation and added comments
...
TODO: Remove compilation errors on WASM side (while using common).
2021-02-22 23:59:25 +01:00
ccgauche
8a693d9fde
New cleaner safer version
2021-02-22 23:59:15 +01:00
ccgauche
a067a20b69
added basic retreive
2021-02-22 23:59:11 +01:00
Marcel Märtens
6390e758d4
fix clippy in all examples.
...
added a ignore for plugins, as we cannot remove the `Result<>` type, it is necessary
2021-01-13 15:06:04 +01:00
ccgauche
19eb7d1814
Fixed tests on WIndows due to target arch wasm32
2021-01-10 21:49:10 +01:00
ccgauche
7f20c78ce6
Updated to zesterer suggestion
2020-12-14 21:48:37 +01:00
ccgauche
248e8f7706
added safety section
2020-12-14 18:22:03 +01:00
ccgauche
438a0dce88
added unsafe on function
2020-12-14 17:43:32 +01:00
ccgauche
d7aa26371c
Fixed memory issue now using alloc
2020-12-14 17:07:05 +01:00
Joshua Barretto
fc96fd780b
Moved plugin API to Uid instead of usize for entity IDs, hello plugin to an example
2020-12-13 23:08:15 +00:00
Joshua Barretto
023888f560
Updated changelog, fmt and clippy fixes
2020-12-13 17:40:15 +00:00
Joshua Barretto
f8c8e342e6
Moved common networking code to common/net, clippy fixes
2020-12-13 17:23:45 +00:00
Joshua Barretto
027842f832
Resolved plugin dependency cycle, allowing more interesting plugin API
2020-12-13 17:15:33 +00:00
Joshua Barretto
8e937a50ca
Better plugin API
2020-12-13 17:15:33 +00:00
ccgauche
b18eda37b5
Added parallelism to event execution using rayon
2020-12-13 17:15:33 +00:00
ccgauche
cae81e625e
Added plugin command support
2020-12-13 17:15:33 +00:00
Joshua Barretto
2743825181
Force type-correct hooks, renamed proc macro
2020-12-13 17:15:33 +00:00
Joshua Barretto
780f54ac90
Reorganised plugin crates
2020-12-13 17:15:32 +00:00