5151DECLARE_PATCH (_CellClass_Draw_Shroud_Fog_Patch)
5252{
5353 static bool _shroud_one_time = false ;
54- static const ShapeFileStruct *_shroud_shape;
55- static const ShapeFileStruct *_fog_shape;
54+ static const ShapeSet *_shroud_shape;
55+ static const ShapeSet *_fog_shape;
5656
5757 /* *
5858 * Stolen bytes/code.
@@ -63,17 +63,17 @@ DECLARE_PATCH(_CellClass_Draw_Shroud_Fog_Patch)
6363 * Perform a one-time load of the shroud and fog shape data.
6464 */
6565 if (!_shroud_one_time) {
66- _shroud_shape = (const ShapeFileStruct *)MFCC::Retrieve (" SHROUD.SHP" );
67- _fog_shape = (const ShapeFileStruct *)MFCC::Retrieve (" FOG.SHP" );
66+ _shroud_shape = (const ShapeSet *)MFCC::Retrieve (" SHROUD.SHP" );
67+ _fog_shape = (const ShapeSet *)MFCC::Retrieve (" FOG.SHP" );
6868 _shroud_one_time = true ;
6969 }
7070
7171 /* *
7272 * If we are playing a multiplayer game, use the hardcoded shape data.
7373 */
7474 if (!Session.Singleplayer_Game ()) {
75- Cell_ShroudShape = (const ShapeFileStruct *)&ShroudShapeBinary;
76- Cell_FogShape = (const ShapeFileStruct *)&FogShapeBinary;
75+ Cell_ShroudShape = (const ShapeSet *)&ShroudShapeBinary;
76+ Cell_FogShape = (const ShapeSet *)&FogShapeBinary;
7777
7878 } else {
7979 Cell_ShroudShape = _shroud_shape;
@@ -98,7 +98,7 @@ DECLARE_PATCH(_CellClass_Draw_Shroud_Fog_Patch)
9898DECLARE_PATCH (_CellClass_Draw_Fog_Patch)
9999{
100100 static bool _fog_one_time = false ;
101- static const ShapeFileStruct *_fog_shape;
101+ static const ShapeSet *_fog_shape;
102102
103103 /* *
104104 * Stolen bytes/code.
@@ -109,15 +109,15 @@ DECLARE_PATCH(_CellClass_Draw_Fog_Patch)
109109 * Perform a one-time load of the fog shape data.
110110 */
111111 if (!_fog_one_time) {
112- _fog_shape = (const ShapeFileStruct *)MFCC::Retrieve (" FOG.SHP" );
112+ _fog_shape = (const ShapeSet *)MFCC::Retrieve (" FOG.SHP" );
113113 _fog_one_time = true ;
114114 }
115115
116116 /* *
117117 * If we are playing a multiplayer game, use the hardcoded shape data.
118118 */
119119 if (!Session.Singleplayer_Game ()) {
120- Cell_FixupFogShape = (const ShapeFileStruct *)&FogShapeBinary;
120+ Cell_FixupFogShape = (const ShapeSet *)&FogShapeBinary;
121121
122122 } else {
123123 Cell_FixupFogShape = _fog_shape;
0 commit comments