Message code enum part 4: finalized transition of Message to enum class.
This commit is contained in:
1 parent
e80010e3c6
commit
dfe1665ba1
55 files changed
+751
-792
No files matched your search
@@ -105,10 +105,10 @@ TPinballComponent::~TPinballComponent()
|
||||
}
|
||||
|
||||
|
||||
int TPinballComponent::Message(int code, float value)
|
||||
int TPinballComponent::Message(MessageCode code, float value)
|
||||
{
|
||||
MessageField = code;
|
||||
if (code == ~MessageCode::Reset)
|
||||
MessageField = ~code;
|
||||
if (code == MessageCode::Reset)
|
||||
MessageField = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user