482 Commits

Author SHA1 Message Date
haslersn
9941d15074 common: Stop abusing wild animals for bit shifts 2019-08-29 18:06:52 +02:00
yashaslokesh
11678fb952 Changed exp type from f64 to u32 and altered exp calculations and function signatures to adhere to the new types
Signed-off-by: Yashas Lokesh <yashas.lokesh@gmail.com>
2019-08-27 22:33:14 +00:00
timokoesters
60bf484b2c
End rolling when player is in the air 2019-08-27 11:06:55 +02:00
timokoesters
a6a78f4d76
Add attack buildup duration (Delay before hit) 2019-08-27 11:06:54 +02:00
timokoesters
d7d719cf38
Make action durations constants 2019-08-27 11:06:54 +02:00
timokoesters
1f7e2645b8
Rename tool strength/damage to power 2019-08-26 20:05:13 +02:00
timokoesters
7742a3c262
Simplify code 2019-08-26 13:12:45 +02:00
timokoesters
34c959bef0
Update to github vek repo 2019-08-26 13:12:45 +02:00
timokoesters
b8bec45f9a
Remove unnecessary map 2019-08-26 13:12:44 +02:00
timokoesters
bc595b77f3
Prevent problems with no vel while rolling in the future 2019-08-26 13:12:44 +02:00
timokoesters
2522eee0ab
Add todo making glide an ability/item 2019-08-26 13:12:44 +02:00
timokoesters
185d2158a6
Put combat related values into constants 2019-08-26 13:12:43 +02:00
timokoesters
8ef1491fb5
Make falldamage local, don't use force update for local, cleanup 2019-08-26 13:12:43 +02:00
timokoesters
816633c3f3
fmt 2019-08-26 13:12:43 +02:00
timokoesters
4f1c92d4fd
Fix roll from cliff bug 2019-08-26 13:12:42 +02:00
timokoesters
a27dfda5fb
Implement unstoppable rolling 2019-08-26 13:12:42 +02:00
timokoesters
766dfcd10d
Use look_dir when blocking 2019-08-26 13:12:41 +02:00
timokoesters
e4dced418f
Add basis for projectiles
But we have no controller action to spawn them yet
2019-08-26 13:12:41 +02:00
Songtronix
0f32eee451
Split Events in ServerEvent and LocalEvent 2019-08-26 13:12:41 +02:00
timokoesters
8a3f1ffa71
Remove dbg 2019-08-26 13:12:40 +02:00
timokoesters
0732a20314
Only use look_dir for ori when wielded or attacking 2019-08-26 13:12:40 +02:00
timokoesters
b60e823ae2
Improve combat range 2019-08-26 13:12:40 +02:00
timokoesters
f709a75619
Make aiming 2D 2019-08-26 13:12:39 +02:00
timokoesters
694070363a
Make aiming more precise 2019-08-26 13:12:38 +02:00
timokoesters
660f31ef48
Look in the direction of the camera 2019-08-26 13:12:38 +02:00
jshipsey
f7c43b56de
idle block animation 2019-08-26 13:12:38 +02:00
timokoesters
2dfe94bf0b
Block when pressing right click while looking at the attacker 2019-08-26 13:12:37 +02:00
timokoesters
83526eec30
Remove unnecessary components 2019-08-26 13:12:37 +02:00
timokoesters
d0f3ecf6ca
Make gliding the error animation 2019-08-26 13:12:37 +02:00
timokoesters
2f043f8404
Fix water 2019-08-26 13:12:36 +02:00
timokoesters
0f5bd4f9de
Remove animation warnings 2019-08-26 13:12:36 +02:00
timokoesters
a7a8037a43
Fix characterstate in movement.rs, not phys.rs 2019-08-26 13:12:35 +02:00
timokoesters
4773950ca0
Reset controller after each tick 2019-08-26 13:12:35 +02:00
timokoesters
36c88e0b91
Allow non player entites to be removed again 2019-08-26 13:12:35 +02:00
timokoesters
139628257a
Reset controller after each tick 2019-08-26 13:12:34 +02:00
timokoesters
019ce11d5d
Move from state components to single CharaterState struct
This makes split animations easy and improves overall code quality
2019-08-26 13:12:34 +02:00
Christian Authmann
77b8744649 Build script: check if git-lfs works 2019-08-22 19:18:47 +02:00
Joshua Barretto
85b3b849bb Merge branch 'zesterer/instancing' into 'master'
Instancing (block sprites)

See merge request veloren/veloren!450
2019-08-22 11:10:57 +00:00
Vechro
83c4232279 Fix wielding jump issue 2019-08-21 20:34:21 +03:00
Monty Marz
01eb26206f Pfauenauge/plants grass 2019-08-21 17:22:05 +00:00
Vechro
3ec1c7e738 Fix velocity when stuck 2019-08-21 20:17:19 +03:00
Joshua Barretto
baf42f2203 Added multiple sprite block kind support 2019-08-20 00:31:11 +01:00
Joshua Barretto
9b647993f0 Added wheat and sprite rendering 2019-08-19 21:09:35 +01:00
Acrimon
724d6dffb4 Disabled unsafe using lint level. 2019-08-19 14:39:23 +02:00
Acrimon
c6020257f1 Eliminated unsafe. 2019-08-19 14:33:31 +02:00
Monty Marz
01143930db 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
Joshua Barretto
da91572a37 Renamed normal StructureBlock variant 2019-08-18 15:33:16 +01:00
Joshua Barretto
90630a4edc Added default block kind to structure loading 2019-08-18 10:33:18 +01:00
Joshua Barretto
e02a2142cf Fixed water in caves, made water reflection vary with lighting 2019-08-18 10:33:18 +01:00
Vechro
24ad51a6fb Add green sludge special index 2019-08-18 10:33:18 +01:00