722 Commits

Author SHA1 Message Date
Marcel Märtens
f89407448a apply new rustfmt - touching alot of files 2020-02-01 21:39:39 +01:00
Marcel Märtens
50b42b5ca9 Apply prefixes to veloren source, espacially comments, so that reformating wont make it unreadable,
especially enumerations and other source code in errosions file
2020-02-01 21:37:36 +01:00
Marcel Märtens
503be4aa6c Change the version number to 0.5 2020-01-31 17:26:45 +01:00
Joshua Barretto
3d8ad41f0a Collars 2020-01-29 12:01:28 +00:00
Joshua Yanovski
fa853e9e19 Per-speces NPC names!
Is also able to refactor some of the uglier code and introduces a
framework that (suitably extended) could be useful in removing
boilerplate elsewhere.
2020-01-29 04:41:32 +01:00
Joshua Barretto
0760273d72 Fixed logic derp 2020-01-28 01:12:17 +00:00
Joshua Barretto
4be037a43d Fixed watch compilation issue 2020-01-27 23:59:59 +00:00
Joshua Barretto
7cec3518a4 Added no-assets feature to common 2020-01-27 22:41:30 +00:00
Joshua Barretto
db21714a25 Added intermittent rolling to NPCs during a chase 2020-01-27 16:18:36 +00:00
Joshua Barretto
8213748473 Resolved pet alignment issues, added ranged aggro 2020-01-27 15:51:07 +00:00
Joshua Barretto
95647f10f5 Improved NPC spawning and names, made idle NPCs stop before hitting things 2020-01-27 10:58:33 +00:00
Monty Marz
a81bc8ab65 fix typo in en.ron, fixed unfinished weapons dropping from chests 2020-01-26 22:57:06 +00:00
Joshua Barretto
e4c745e88d Switched to _squared(), added comments, parallelised waypoint gen 2020-01-26 12:52:32 +00:00
Joshua Barretto
de99b07004 Added neutral NPC spawning 2020-01-26 12:52:32 +00:00
Joshua Barretto
5adbaf0969 Improved pet aggression system, made waypoints rarer 2020-01-26 12:52:32 +00:00
Joshua Barretto
6df3373614 Fixed pathfinding limit bug, improvements to idle AI 2020-01-26 12:52:32 +00:00
Joshua Barretto
c2228a184b Various bug fixes 2020-01-26 12:52:32 +00:00
Joshua Barretto
d61f84e8b1 Improved waypoint spawn locations, scaled down pathfinding cost 2020-01-26 12:52:32 +00:00
Joshua Barretto
cac425a62a Cleanup 2020-01-26 12:52:32 +00:00
Joshua Barretto
5486cc75e3 Improved patrol idling 2020-01-26 12:52:32 +00:00
Joshua Barretto
d4167c41f1 Made waypoints work, added waypoint spawning 2020-01-26 12:52:28 +00:00
Joshua Barretto
8a998ffd61 Better neutral AI, initial waypoint objects 2020-01-26 12:52:28 +00:00
Joshua Barretto
ca65700aea I don't know how much I put in this commit, but it's some stuff 2020-01-26 12:52:28 +00:00
Joshua Barretto
02ead906a3 Better pathfinding iteration cap 2020-01-26 12:52:28 +00:00
Joshua Barretto
01fc0925ab Fixed shadows, better pathfinding cap 2020-01-26 12:52:28 +00:00
Joshua Barretto
36e92e18eb Added pauseable pathfinding, improved Chaser heuristics, etc. 2020-01-26 12:52:07 +00:00
Joshua Barretto
f4984962ea Occasional path recalculate, stopped pathfinder thrashing 2020-01-26 12:52:07 +00:00
Joshua Barretto
900381b843 Added test world, friendly NPC pathfinding 2020-01-26 12:52:07 +00:00
Justin Shipsey
36bd9596d7 new mobs
alligators
2020-01-26 00:22:48 +00:00
Monty Marz
0475c35937 35 new ground sprites, UI fixes 2020-01-25 11:14:02 +00:00
Imbris
38f854c6bb fix: overflow in VolGrid3d 2020-01-24 00:11:22 -05:00
Joshua Yanovski
0b7f428310 Erosion cleanup, part 1.
Covers all files touched by MR that are not in world/src/sim.
2020-01-23 18:18:17 +01:00
Joshua Yanovski
d81218a114 Fixes to enable loading (relatively) large maps.
With these changes, we can successfully open, map, and play maps thare
are 16x the size of a standard (1024 x 1024 chunk) map, 4x larger in
each direction.
2020-01-23 18:18:16 +01:00
Joshua Yanovski
6a33254518 Changes to worldgen, adding more sedmient etc. 2020-01-23 18:18:14 +01:00
Joshua Yanovski
4f863470e1 Cargo fmt most things (except erosion.rs). 2020-01-23 18:18:12 +01:00
Joshua Yanovski
558a80f099 Fixes for nonstandard chunk and map sizes.
Also fixes a longstanding map rendering issue.
2020-01-23 18:18:11 +01:00
Joshua Yanovski
b988b27d31 Implement sending world map across the network. 2020-01-23 18:18:11 +01:00
timokoesters
d75a160b59 feat: fitness stat effects movement speed 2020-01-21 19:24:09 +01:00
Gilbert Röhrbein
e1dbdf6a20 feat: add endurance fitness willpower to stats 2020-01-21 18:49:17 +01:00
timokoesters
f46e900b57 improvement: enemy balance 2020-01-20 19:15:12 +01:00
Joshua Barretto
a6cf5a2a3c Enumerated Body type 2020-01-20 14:21:06 +00:00
Pfauenauge90
5f41841522 added TODO for energy numbers 2020-01-19 22:39:20 +01:00
Joseph Gerardot
01ac937db5 Fixup energy regen math to properly account for acceleration at any
framerate.
2020-01-19 22:39:20 +01:00
timokoesters
a708ab84d6 fix: make fall damage behave correctly again after changing gravity 2020-01-19 22:39:20 +01:00
timokoesters
1912ab0d8b refactor: use restrict_mut 2020-01-19 22:39:20 +01:00
timokoesters
db9a4ac6b9 improvement: reset character state and energy on death 2020-01-19 22:39:19 +01:00
timokoesters
263fffb79c improvement: better movement 2020-01-19 22:39:18 +01:00
Joseph Gerardot
715e01f989 Make charging take a discrete amount of energy and change energy
regeneration to use floats so it is smoother and tickrate-independent.
2020-01-19 22:39:17 +01:00
Joseph Gerardot
a970a61192 Add energy comsumption on rolling and charging, and accelerating
regeneration when idle.
2020-01-19 22:39:17 +01:00
Imbris
7bcbfa9003 add: capability to disable blending for particular BlockKinds 2020-01-19 16:03:27 -05:00