Ejemplo n.º 1
0
    public static void CopyBitmap()
    {
        VInt2    mainActorFakeSightPos = FogOfWar.MainActorFakeSightPos;
        FieldObj pFieldObj             = Singleton <GameFowManager> .get_instance().m_pFieldObj;

        FowLos.PreCopyBitmap(mainActorFakeSightPos.x, mainActorFakeSightPos.y, pFieldObj.NumX, pFieldObj.NumY, Singleton <GamePlayerCenter> .get_instance().GetHostPlayer().PlayerCamp);
        FogOfWar._bitmapData = Singleton <GameFowManager> .get_instance().GetCommitPixels();
    }
Ejemplo n.º 2
0
 public static void CopyBitmap()
 {
     FowLos.PreCopyBitmap();
     if (!Singleton <WatchController> .instance.IsWatching)
     {
         VInt2    mainActorFakeSightPos = FogOfWar.MainActorFakeSightPos;
         FieldObj pFieldObj             = Singleton <GameFowManager> .instance.m_pFieldObj;
         FowLos.PreCopyBitmapFakeSight(mainActorFakeSightPos.x, mainActorFakeSightPos.y, pFieldObj.NumX, pFieldObj.NumY);
     }
     FogOfWar._bitmapData = Singleton <GameFowManager> .instance.GetCommitPixels();
 }