| 189 | } |
| 190 | |
| 191 | void LuaScriptInterface::InitCustomCanMove() |
| 192 | { |
| 193 | auto &sd = SimulationData::Ref(); |
| 194 | sd.init_can_move(); |
| 195 | for (auto moving = 0; moving < PT_NUM; ++moving) |
| 196 | { |
| 197 | for (auto into = 0; into < PT_NUM; ++into) |
| 198 | { |
| 199 | if (customCanMove[moving][into] & 0x80) |
| 200 | { |
| 201 | sd.can_move[moving][into] = customCanMove[moving][into] & 0x7F; |
| 202 | } |
| 203 | } |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | void CommandInterface::Init() |
| 208 | { |
no test coverage detected