Skip to content

Commit

Permalink
Merge pull request #41777 from ZhilkinSerg/refactor-fields-2020-07-02
Browse files Browse the repository at this point in the history
Move fire field processing to a separate function
  • Loading branch information
kevingranade authored Jul 2, 2020
2 parents 61764cb + 43e8097 commit 12ea5d2
Show file tree
Hide file tree
Showing 2 changed files with 496 additions and 479 deletions.
2 changes: 2 additions & 0 deletions src/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,8 @@ class map
// See fields.cpp
bool process_fields();
bool process_fields_in_submap( submap *current_submap, const tripoint &submap_pos );
bool process_fire_field_in_submap( submap *current_submap, field_entry &cur, const tripoint &p,
bool &dirty_transparency_cache );
/**
* Apply field effects to the creature when it's on a square with fields.
*/
Expand Down
Loading

0 comments on commit 12ea5d2

Please sign in to comment.