Commit Graph

10053 Commits

Author SHA1 Message Date
e67c688c11 Add test for Ori::angle_between 2021-10-15 12:02:53 -04:00
a8fada63bc Merge branch 'imbris/opt-character-behavior' into 'master'
Optimize parts of the character behavior system

See merge request veloren/veloren!2924
2021-10-15 15:55:04 +00:00
c412a96d6a Fix issue with angle between going over PI and remove faulty test (angle between Quaternions isn't equivalent to the angle between Dir vectors since Quaternions involve rolling as well) 2021-10-15 03:20:40 -04:00
aa1ffa9f61 Remove timings and commented code (separate from the previous commit so we can keep these notes in the git history), add potentially better version of the straight up/down case for to_horizontal as a comment for testing in the future, remove fine grained spans 2021-10-15 01:38:56 -04:00
b0bd8cdb45 Improve Ori impl of From<Dir> and Ori::to_horizontal by avoiding acos/asin calls by constructing the quaternions in a more direct fashion 2021-10-15 01:23:00 -04:00
252b5af96f Add alias for running the server with tracy with the releasedebuginfo profile, this is potentially useful for some of Tracy's source view features 2021-10-15 01:23:00 -04:00
457ed6ac64 Remove per entity VecDeque's of events from character StateUpdate and instead pass in external Vecs that can be pushed to (saves significant time not allocating for VecDeque::new) 2021-10-15 01:23:00 -04:00
43e743c2bc Rewrite Ori::to_horizontal to reduce redundant normalization and directly calculate the needed yaw instead of using the more general Ori::from(dir), fix bugs in Ori::from(dir) and optimize the up/down case, add tests for Ori::to_horizontal and Ori::angle_between 2021-10-15 01:23:00 -04:00
d515b42eac Improve efficiency of states::utils::handle_orientation by reducing the conversions between Ori/Dir less frequent and optimizing the conversion of Dir -> Ori, also added a method to compute the angle between two Ori so that they don't need to be converted to Dir 2021-10-15 01:23:00 -04:00
d0cc636402 Add more profiling outputs to the .gitignore 2021-10-15 01:23:00 -04:00
df64cc9494 Merge branch 'kaedr/pretty_printing_error_messages' into 'master'
Kaedr/pretty printing error messages

See merge request veloren/veloren!2923
2021-10-14 18:37:52 +00:00
e01ce2dcf4 Kaedr/pretty printing error messages 2021-10-14 18:37:51 +00:00
67616d2db0 Merge branch 'sam/cultist-shift' into 'master'
Squashed tiers a little

See merge request veloren/veloren!2922
2021-10-13 17:47:24 +00:00
Sam
42bb4bee15 Minotaur and cultist dungeons now offer roughly equiovalent loot.
Minotaur now drops tier 5 weapons and armor instead of tier 4
Mindflayer now drops cultist weapons and armor instead of tier 5
Melee legendaries moved to minotaur
Mindflayer now lonly drops ranged legendaries
2021-10-13 12:24:10 -04:00
4b3b2f2079 Merge branch 'sam/small-fix' into 'master'
Small block fix

See merge request veloren/veloren!2921
2021-10-13 14:30:12 +00:00
Sam
1e3b0dcd16 Fix block energy cost being multiplied by 10 and also slightly reduce it. 2021-10-13 10:02:28 -04:00
430ee87620 Merge branch 'Limofeus/russian_translation_updates' into 'master'
Limofeus/russian translation updates

See merge request veloren/veloren!2920
2021-10-12 17:15:49 +00:00
df1aab877b Upd #2 - removed mixed up tabs and spaces 2021-10-12 19:18:11 +03:00
afc14bb220 Merge branch 'devrique/catalan-language-corrections' into 'master'
i18n: Revised catalan (Catalonia) translation

See merge request veloren/veloren!2918
2021-10-12 14:23:17 +00:00
e1ea1193c2 i18n: Revised catalan (Catalonia) translation 2021-10-12 15:16:25 +02:00
a2d0911355 Upd #1 - Skills, Settings labels, Tools and Credits translations added 2021-10-12 16:09:55 +03:00
4bae3a4b62 Merge branch 'make-merchants-send-trade-on-iteraction' into 'master'
Make merchants send the player a trade request when interacted with

Closes #1368

See merge request veloren/veloren!2914
2021-10-11 16:45:18 +00:00
4b2842da2f Merge branch 'imbris/opt-phys-2.0' into 'master'
Make terrain physics faster with internal iteration

See merge request veloren/veloren!2915
2021-10-11 14:52:46 +00:00
6d7f15b5da Merge branch 'juliancoffee/fix_rtsim_names' into 'master'
Fix Traveller names

See merge request veloren/veloren!2916
2021-10-11 12:33:33 +00:00
b5d9e4e4a9 Fix Traveller names
- Previously RtSim were created with automatic name for body generated
  from EntityConfig, not from RtSim body. Now RtSim body is set for
  EntityConfig.
2021-10-11 15:06:43 +03:00
05b85a00e2 Merge branch 'sam/wiki-all-entities' into 'master'
Csv export entity drops tool now has ability to export all entities at once.

See merge request veloren/veloren!2910
2021-10-10 16:56:46 +00:00
Sam
fc787d150e Now stores a column for entity path to more easily allow searching for what drops a particular item in the future
Fixed excel perceiving certain csv entries as a date
2021-10-10 12:37:16 -04:00
a4cf875a54 Merge branch 'isse/crafted-from-item' into 'master'
use "input:____" for searching by recipe input

See merge request veloren/veloren!2893
2021-10-10 15:44:44 +00:00
f0864a7b0a use "input:____" for searching by recipe input 2021-10-10 15:44:43 +00:00
94439a4240 Merge branch 'jtriantafylos/background_fps' into 'master'
Fixes #1350 - Allow players to cap the game FPS when unfocused

Closes #1350

See merge request veloren/veloren!2890
2021-10-10 15:33:38 +00:00
99776a6ebd Fixes #1350 - Allow players to cap the game FPS when unfocused 2021-10-10 15:33:31 +00:00
4f6eb286e6 Remove dead commented code, updated changelog, commented profiling spans
(but left in for easy reuse later), fix clippy complaint
2021-10-10 03:09:03 -04:00
57922d9802 Rearrange iteration pattern so that x is in the inner loop in the default for_each_in (no or little perf change) 2021-10-10 02:42:07 -04:00
11c8cf19d1 Switch to for loops in default for_each_in (small perf increase), add inline to sprite methods (no perf change) 2021-10-10 02:42:07 -04:00
5777486f5c Remove custom for_each_in from Chonk 2021-10-10 02:42:07 -04:00
f65399eb00 Make LiquidKind::merge as inlineable, remove always from TerrainGrid::for_each_in inline annotation 2021-10-10 02:42:07 -04:00
2350c08e91 Try marking VolGrid2d::for_each_in and friends as inlineable 2021-10-10 02:42:07 -04:00
3a4c45f045 Try marking Chonk::for_each_in and related functions as inlineable 2021-10-10 02:42:07 -04:00
7f6ba90f59 simplify water/walls check code, interally iterate in chonks (but not
chunks)
2021-10-10 02:42:06 -04:00
e7b92789f9 Refactor some of the terrain collision code, failed pre-emptive liquid check experiment 2021-10-10 02:42:06 -04:00
8987f6128e Do iteration check for snapping after checking the other conditions 2021-10-10 02:42:06 -04:00
798e02b9e5 Convert water/walls check to the new iteration function 2021-10-10 02:42:06 -04:00
59bd5b4acd Initial iterator optimization by using internal iteration at the vol_grid level, water/walls not switched over yet 2021-10-10 02:42:06 -04:00
761ae8f69d Make merchants send the player a trade request when interacted with 2021-10-09 21:14:01 +02:00
4be50b8c56 Merge branch 'ubruntu/group-loot-notifications' into 'master'
Groups can see what each member picks up

See merge request veloren/veloren!2906
2021-10-09 10:50:02 +00:00
5fbc0d3a06 Groups can see what each member picks up 2021-10-09 10:50:01 +00:00
a7a9e00a3a Merge branch 'imbris/dedup-chunk-gen-attempt' into 'master'
More robustly avoid duplicate chunk generation

See merge request veloren/veloren!2912
2021-10-08 22:00:50 +00:00
d8a1f15358 Merge branch 'devrique/add-catalan-catalonia' into 'master'
Add catalan (Catalonia) language translation

See merge request veloren/veloren!2894
2021-10-08 20:42:46 +00:00
2561f8e79f Merge branch 'CapsizeGlimmer/centering-cursor-error-spam' into 'master'
Prevent "Error setting/centering cursor position" message spam

See merge request veloren/veloren!2902
2021-10-08 20:29:25 +00:00
8987389e8a Submit chunk requests to the generator within the terrain system right before receiving new chunks, so that duplicate work is not done for chunks that just finished but were not yet added to the terrain. 2021-10-08 16:17:31 -04:00