MCPcopy Create free account
hub / github.com/EasyRPG/Player / AddArray

Method AddArray

src/game_variables.cpp:546–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544}
545
546void Game_Variables::AddArray(int first_id_a, int last_id_a, int first_id_b) {
547 PrepareArray(first_id_a, last_id_a, first_id_b, "Invalid write var[{},{}] += var[{},{}]!");
548 WriteArray(first_id_a, last_id_a, first_id_b, VarAdd);
549}
550
551void Game_Variables::SubArray(int first_id_a, int last_id_a, int first_id_b) {
552 PrepareArray(first_id_a, last_id_a, first_id_b, "Invalid write var[{},{}] -= var[{},{}]!");

Callers 2

variables.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected