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

iuse_actor::can_use parameter change to Character and dependent functions #34855

Merged
merged 4 commits into from
Oct 20, 2019

Conversation

KorGgenT
Copy link
Member

Summary

SUMMARY: Infrastructure "iuse_actor::can_use parameter change to Character and dependent functions"

Purpose of change

part of #34721 on the way to completing #34807
the next step after this is to work on player::invoke_item.

Describe the solution

first, change all the iuse_actor::can_use() stuff from the player parameter to Character, then follow the dependecies down and change scope as I go.

Testing

Compiled successfully.
Spawned a lighter, set some trees on fire. this should exercise a large portion of the code, as can_use is on firestarter_actor and then it should propogate down.

@KorGgenT KorGgenT added [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style labels Oct 19, 2019
src/iuse.h Show resolved Hide resolved
src/iuse_actor.h Show resolved Hide resolved
src/iuse_actor.cpp Show resolved Hide resolved
@ZhilkinSerg ZhilkinSerg merged commit d5e387a into CleverRaven:master Oct 20, 2019
@KorGgenT KorGgenT deleted the scope branch October 20, 2019 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants