Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge #9

Merged
merged 539 commits into from
Jul 15, 2020
Merged

merge #9

merged 539 commits into from
Jul 15, 2020

Conversation

faefux
Copy link
Owner

@faefux faefux commented Jul 15, 2020

Summary

Purpose of change

Describe the solution

Describe alternatives you've considered

Testing

Additional context

kevingranade and others added 30 commits July 8, 2020 09:26
Fix item disappearing when wielding item that can merge with the wielded item
Allow sausage casings recipe to also use clean water
Adjust sourdough wait times and descriptions, require clean water for starter.
* debug menu vehicle-related improvements:
* prompt the damage type when spawning vehicles
* ability to charge and discharge vehicle batteries
npctalk: add set var variants for storing and comparing time
* Changed EMP Grenade to electric damage
This change causes the EMP grenade to release an electric cloud rather than shrapnel.
* remove static/random NPC options, adjust random NPC rates
* unify scan/spawn range, change value to 90 OMTs
* change NPC density config to NPC spawn time in days. update description
* implement smart engine controller
add hybrid electric vehicle

* smart controller prints messages only when player is controlling vehicle

* collapse vehicle parts for hybrid car
reuse calculated k_traction in smart controller
minor improvements

* smart controller (SC) perf optimization: don't consider speed factors for stationary vehicles
get rid of SC engine state cache (invalidate SC cache in vehicle::refresh() instead)

* vehicle performance optimizations:
* cache ids of vehicle fuel containers to speed up vehicle::fuel_left
* speed up vehicle::player_in_control

* smart controller: make "Smart controller optimizes engine state." message debug-mode only

* smart controller: add some spaces to json description to make tests happy

* smart controller: fix a bug when empty tanks are not cached
We rolled back to work around a bug with the printf formatting.  Now the
"Previous" version is showing the bug too, so no point using it; might
as well switch back to latest.  That way we'll get the bugfix sooner
when it arrives.

This reverts 60e7c28
Previously point serialization used free functions and tripoint
serialization used member functions.

For coord_point serialization to work the way we probably want, points
and tripoints need to be serialized the same way.  So, switch points to
member functions.

Because point and label are implicitly convertible to one another, they
also need to use the same serialization technique to avoid ambiguity.
So, also transition label to use member functions for serialization.
Fix clang complaint about weather
…appveyor_again

Use latest Visual Studio in Appveyor again
- fixed volume_carried_with_tweaks
- added volume_capacity_with_tweaks
jbytheway and others added 29 commits July 14, 2020 21:06
main is an overlarge function.  This is an easy chunk to pull out.
Define these functions before use so that we don't need to have separate
declarations.  Also, make exit_handler static.
* Factor out repeated loop.
* Modernize.
* Make argv be const char**.
Allow arg_handler to declare how many arguments it expects, so that the
check that there are sufficiently many can be placed in one place,
rather than repeated in every arg_handler lambda.
Add explanation and examples for defining recipe requirements, and using
them in recipe components.  Also embellish the recipe components section
with more inline comments, and some notes on different ways of listing
ingredients.  Give examples of all different syntaxes, including single
and alternative items, unrecoverable components, and items from a
requirement list.
Add longest side data to spearguns and fishing spears
Migrate ACT_UNLOAD_MAG and fix crash when detaching gunmods with full magazines
update getting inventory list
remove redundant code
Shake the tree of moving crafting functions to Character, and pick up
whatever falls out.
Add looks_like to containers.json
Reset vehicle cache when (un-)mounting vehicles
update volume, weight, and longest_side values where appropriate
dialogue: create an talker API for speakers in a dialogue
@faefux faefux merged commit c449416 into faefux:master Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.