mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 10:46:10 +00:00
More refactoring, decouple tweaks from hecl
This commit is contained in:
10
Runtime/MP1/Tweaks/CTweakPlayerControl.cpp
Normal file
10
Runtime/MP1/Tweaks/CTweakPlayerControl.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "Runtime/MP1/Tweaks/CTweakPlayerControl.hpp"
|
||||
#include "Runtime/Streams/IOStreams.hpp"
|
||||
|
||||
namespace metaforce::MP1 {
|
||||
CTweakPlayerControl::CTweakPlayerControl(CInputStream& in) {
|
||||
for (u32 i = 0; i < m_mappings.size(); ++i) {
|
||||
m_mappings[i] = ControlMapper::EFunctionList(in.ReadLong());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user