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

Method IsValid

src/game_map.cpp:702–704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

700}
701
702bool Game_Map::IsValid(int x, int y) {
703 return (x >= 0 && x < GetTilesX() && y >= 0 && y < GetTilesY());
704}
705
706static int GetPassableMask(int old_x, int old_y, int new_x, int new_y) {
707 int bit = 0;

Callers 11

vUpdateMethod · 0.45
CommandShowPictureMethod · 0.45
AddOptionMethod · 0.45
DataIsValidMethod · 0.45
PushUiInterpreterViewMethod · 0.45
vUpdateMethod · 0.45
DoSwitchMethod · 0.45
IsSlotValidMethod · 0.45
switches.cppFile · 0.45
variables.cppFile · 0.45
config_param.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected