@@ -66,9 +66,9 @@ public class World {
66
66
// $FF: renamed from: C a.a.f[]
67
67
GameModel [] terrainModels ;
68
68
// $FF: renamed from: D a.a.f[][]
69
- GameModel [][] gameModelArrayArray1 ;
69
+ GameModel [][] wallModels ;
70
70
// $FF: renamed from: E a.a.f[][]
71
- GameModel [][] gameModelArrayArray2 ;
71
+ GameModel [][] roofModels ;
72
72
// $FF: renamed from: F a.a.f
73
73
GameModel parentModel ;
74
74
@@ -100,8 +100,8 @@ public World(Scene var1, Surface var2) {
100
100
this .terrainHeightLocal = new int [this .field_840 ][this .field_841 ];
101
101
this .playerAlive = false ;
102
102
this .terrainModels = new GameModel [64 ];
103
- this .gameModelArrayArray1 = new GameModel [4 ][64 ];
104
- this .gameModelArrayArray2 = new GameModel [4 ][64 ];
103
+ this .wallModels = new GameModel [4 ][64 ];
104
+ this .roofModels = new GameModel [4 ][64 ];
105
105
this .field_823 = var1 ;
106
106
this .surface = var2 ;
107
107
int var3 = 0 ;
@@ -1267,7 +1267,7 @@ public void loadSection(int regionX, int regionY, int mapPlane, int plane) {
1267
1267
public void reset () {
1268
1268
int var4 = GameData .field_563 ;
1269
1269
if (this .field_821 ) {
1270
- this .field_823 .method_172 ();
1270
+ this .field_823 .dispose ();
1271
1271
}
1272
1272
1273
1273
int var1 = 0 ;
@@ -1278,19 +1278,19 @@ public void reset() {
1278
1278
this .terrainModels [var1 ] = null ;
1279
1279
int var2 = 0 ;
1280
1280
if (var4 != 0 ) {
1281
- this .gameModelArrayArray1 [var2 ][var1 ] = null ;
1281
+ this .wallModels [var2 ][var1 ] = null ;
1282
1282
++var2 ;
1283
1283
}
1284
1284
1285
1285
while (var2 < 4 ) {
1286
- this .gameModelArrayArray1 [var2 ][var1 ] = null ;
1286
+ this .wallModels [var2 ][var1 ] = null ;
1287
1287
++var2 ;
1288
1288
}
1289
1289
1290
1290
int var3 = 0 ;
1291
1291
if (var4 != 0 || var3 < 4 ) {
1292
1292
do {
1293
- this .gameModelArrayArray2 [var3 ][var1 ] = null ;
1293
+ this .roofModels [var3 ][var1 ] = null ;
1294
1294
++var3 ;
1295
1295
} while (var3 < 4 );
1296
1296
@@ -1418,7 +1418,7 @@ public void loadSection(int localRegionX, int localRegionY, int plane, boolean i
1418
1418
int var43 ;
1419
1419
int var44 ;
1420
1420
if (isLocalPlane ) {
1421
- this .surface .method_223 ();
1421
+ this .surface .blackScreen ();
1422
1422
var7 = 0 ;
1423
1423
if (var40 != 0 || var7 < 96 ) {
1424
1424
do {
@@ -1939,15 +1939,15 @@ public void loadSection(int localRegionX, int localRegionY, int plane, boolean i
1939
1939
}
1940
1940
1941
1941
this .parentModel .setLight (false , 60 , 24 , -50 , -10 , -50 );
1942
- this .gameModelArrayArray1 [plane ] = this .parentModel .split (0 , 0 , 1536 , 1536 , 8 , 64 , 338 , true );
1942
+ this .wallModels [plane ] = this .parentModel .split (0 , 0 , 1536 , 1536 , 8 , 64 , 338 , true );
1943
1943
var9 = 0 ;
1944
1944
if (var40 != 0 ) {
1945
- this .field_823 .addModel (this .gameModelArrayArray1 [plane ][var9 ]);
1945
+ this .field_823 .addModel (this .wallModels [plane ][var9 ]);
1946
1946
++var9 ;
1947
1947
}
1948
1948
1949
1949
while (var9 < 64 ) {
1950
- this .field_823 .addModel (this .gameModelArrayArray1 [plane ][var9 ]);
1950
+ this .field_823 .addModel (this .wallModels [plane ][var9 ]);
1951
1951
++var9 ;
1952
1952
}
1953
1953
@@ -2441,19 +2441,19 @@ public void loadSection(int localRegionX, int localRegionY, int plane, boolean i
2441
2441
}
2442
2442
2443
2443
this .parentModel .setLight (true , 50 , 50 , -50 , -10 , -50 );
2444
- this .gameModelArrayArray2 [plane ] = this .parentModel .split (0 , 0 , 1536 , 1536 , 8 , 64 , 169 , true );
2444
+ this .roofModels [plane ] = this .parentModel .split (0 , 0 , 1536 , 1536 , 8 , 64 , 169 , true );
2445
2445
var13 = 0 ;
2446
2446
if (var40 != 0 ) {
2447
- this .field_823 .addModel (this .gameModelArrayArray2 [plane ][var13 ]);
2447
+ this .field_823 .addModel (this .roofModels [plane ][var13 ]);
2448
2448
++var13 ;
2449
2449
}
2450
2450
2451
2451
while (var13 < 64 ) {
2452
- this .field_823 .addModel (this .gameModelArrayArray2 [plane ][var13 ]);
2452
+ this .field_823 .addModel (this .roofModels [plane ][var13 ]);
2453
2453
++var13 ;
2454
2454
}
2455
2455
2456
- if (this .gameModelArrayArray2 [plane ][0 ] == null ) {
2456
+ if (this .roofModels [plane ][0 ] == null ) {
2457
2457
throw new RuntimeException ("null roof!" );
2458
2458
} else {
2459
2459
roof_nvs = 0 ;
@@ -2480,7 +2480,7 @@ public void loadSection(int localRegionX, int localRegionY, int plane, boolean i
2480
2480
}
2481
2481
2482
2482
// $FF: renamed from: a (a.a.f[]) void
2483
- public void method_352 (GameModel [] var1 ) {
2483
+ public void addModels (GameModel [] var1 ) {
2484
2484
int var14 = GameData .field_563 ;
2485
2485
int var2 = 0 ;
2486
2486
if (var14 != 0 || var2 < this .field_840 - 2 ) {
0 commit comments