let CamX = 0;
let CamY = 0;
let CamZ = 0;
let CamDist = 200;
let CamRot = 90;
let CamLift = 0;

let FogColor = [0, 0, 0];
let FogMin = 500;
let FogMax = 1000;

let bgmovX=0;
let bgmovY=0;

let BackdropColor = [255, 255, 255];

sub SetView {
  SetViewTo(CamX, CamY, CamZ);
  SetViewFrom(CamDist, CamRot, CamLift);
  SetPerspectiveClip(0, 2000);
  WriteZBuffer(true);
  UseZBuffer(true);
  SetFog(FogMin, FogMax, FogColor[0], FogColor[1], FogColor[2]);
  
  SetTexture(whiteimg);
  SetGraphicRect(0, 0, 1024, 1024);
  SetGraphicAngle(0, 0, 0);
  SetColor(BackdropColor[0], BackdropColor[1], BackdropColor[2]);
  DrawGraphic3D(0, -10, 0);
  
  SetColor(255, 255, 255);
}

#include_function ".\A_0\Prologue.txt"
#include_function ".\A_1\Stage1.txt"
#include_function ".\A_1\Stage2.txt"