mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-19 21:10:19 -07:00
Renamed some static classes
This commit is contained in:
parent
37883b9f35
commit
ff0e890dcd
116 changed files with 1932 additions and 1973 deletions
|
|
@ -26,21 +26,21 @@ public final class Static23 {
|
|||
for (local3 = arg1; local3 < arg3 + arg1; local3++) {
|
||||
for (local10 = arg2; local10 < arg2 + arg4; local10++) {
|
||||
if (local10 >= 0 && local10 < 104 && local3 >= 0 && local3 < 104) {
|
||||
SceneGraph.activeTileHeightMap[arg0][local10][local3] = arg0 <= 0 ? 0 : SceneGraph.activeTileHeightMap[arg0 - 1][local10][local3];
|
||||
SceneGraph.tileHeights[arg0][local10][local3] = arg0 <= 0 ? 0 : SceneGraph.tileHeights[arg0 - 1][local10][local3];
|
||||
}
|
||||
}
|
||||
}
|
||||
if (arg2 > 0 && arg2 < 104) {
|
||||
for (local3 = arg1 + 1; local3 < arg1 + arg3; local3++) {
|
||||
if (local3 >= 0 && local3 < 104) {
|
||||
SceneGraph.activeTileHeightMap[arg0][arg2][local3] = SceneGraph.activeTileHeightMap[arg0][arg2 - 1][local3];
|
||||
SceneGraph.tileHeights[arg0][arg2][local3] = SceneGraph.tileHeights[arg0][arg2 - 1][local3];
|
||||
}
|
||||
}
|
||||
}
|
||||
if (arg1 > 0 && arg1 < 104) {
|
||||
for (local3 = arg2 + 1; local3 < arg2 + arg4; local3++) {
|
||||
if (local3 >= 0 && local3 < 104) {
|
||||
SceneGraph.activeTileHeightMap[arg0][local3][arg1] = SceneGraph.activeTileHeightMap[arg0][local3][arg1 - 1];
|
||||
SceneGraph.tileHeights[arg0][local3][arg1] = SceneGraph.tileHeights[arg0][local3][arg1 - 1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -48,19 +48,19 @@ public final class Static23 {
|
|||
return;
|
||||
}
|
||||
if (arg0 == 0) {
|
||||
if (arg2 > 0 && SceneGraph.activeTileHeightMap[arg0][arg2 - 1][arg1] != 0) {
|
||||
SceneGraph.activeTileHeightMap[arg0][arg2][arg1] = SceneGraph.activeTileHeightMap[arg0][arg2 - 1][arg1];
|
||||
} else if (arg1 > 0 && SceneGraph.activeTileHeightMap[arg0][arg2][arg1 - 1] != 0) {
|
||||
SceneGraph.activeTileHeightMap[arg0][arg2][arg1] = SceneGraph.activeTileHeightMap[arg0][arg2][arg1 - 1];
|
||||
} else if (arg2 > 0 && arg1 > 0 && SceneGraph.activeTileHeightMap[arg0][arg2 - 1][arg1 - 1] != 0) {
|
||||
SceneGraph.activeTileHeightMap[arg0][arg2][arg1] = SceneGraph.activeTileHeightMap[arg0][arg2 - 1][arg1 - 1];
|
||||
if (arg2 > 0 && SceneGraph.tileHeights[arg0][arg2 - 1][arg1] != 0) {
|
||||
SceneGraph.tileHeights[arg0][arg2][arg1] = SceneGraph.tileHeights[arg0][arg2 - 1][arg1];
|
||||
} else if (arg1 > 0 && SceneGraph.tileHeights[arg0][arg2][arg1 - 1] != 0) {
|
||||
SceneGraph.tileHeights[arg0][arg2][arg1] = SceneGraph.tileHeights[arg0][arg2][arg1 - 1];
|
||||
} else if (arg2 > 0 && arg1 > 0 && SceneGraph.tileHeights[arg0][arg2 - 1][arg1 - 1] != 0) {
|
||||
SceneGraph.tileHeights[arg0][arg2][arg1] = SceneGraph.tileHeights[arg0][arg2 - 1][arg1 - 1];
|
||||
}
|
||||
} else if (arg2 > 0 && SceneGraph.activeTileHeightMap[arg0 - 1][arg2 - 1][arg1] != SceneGraph.activeTileHeightMap[arg0][arg2 - 1][arg1]) {
|
||||
SceneGraph.activeTileHeightMap[arg0][arg2][arg1] = SceneGraph.activeTileHeightMap[arg0][arg2 - 1][arg1];
|
||||
} else if (arg1 > 0 && SceneGraph.activeTileHeightMap[arg0][arg2][arg1 - 1] != SceneGraph.activeTileHeightMap[arg0 - 1][arg2][arg1 - 1]) {
|
||||
SceneGraph.activeTileHeightMap[arg0][arg2][arg1] = SceneGraph.activeTileHeightMap[arg0][arg2][arg1 - 1];
|
||||
} else if (arg2 > 0 && arg1 > 0 && SceneGraph.activeTileHeightMap[arg0][arg2 - 1][arg1 - 1] != SceneGraph.activeTileHeightMap[arg0 - 1][arg2 - 1][arg1 - 1]) {
|
||||
SceneGraph.activeTileHeightMap[arg0][arg2][arg1] = SceneGraph.activeTileHeightMap[arg0][arg2 - 1][arg1 - 1];
|
||||
} else if (arg2 > 0 && SceneGraph.tileHeights[arg0 - 1][arg2 - 1][arg1] != SceneGraph.tileHeights[arg0][arg2 - 1][arg1]) {
|
||||
SceneGraph.tileHeights[arg0][arg2][arg1] = SceneGraph.tileHeights[arg0][arg2 - 1][arg1];
|
||||
} else if (arg1 > 0 && SceneGraph.tileHeights[arg0][arg2][arg1 - 1] != SceneGraph.tileHeights[arg0 - 1][arg2][arg1 - 1]) {
|
||||
SceneGraph.tileHeights[arg0][arg2][arg1] = SceneGraph.tileHeights[arg0][arg2][arg1 - 1];
|
||||
} else if (arg2 > 0 && arg1 > 0 && SceneGraph.tileHeights[arg0][arg2 - 1][arg1 - 1] != SceneGraph.tileHeights[arg0 - 1][arg2 - 1][arg1 - 1]) {
|
||||
SceneGraph.tileHeights[arg0][arg2][arg1] = SceneGraph.tileHeights[arg0][arg2 - 1][arg1 - 1];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue