Курсовая работа: Игровая программа
glCallList(StringMeny);
glPopMatrix;
if RemoveMeny<=-0.5 then
begin
//Меню
glPushMatrix;
glTranslatef(0.5,0.2,0.0);
glCallList(SubMenuInCar);
glPopMatrix;
DeleyButtonInCarMeny;
//Выбираетсямашина
case CarMenuItem of
1:begin
//ShotWarKiller
glPushMatrix;
glTranslatef(0.5,0.12,0.0);
glCallList(ShotWarKiller);
glPopMatrix;
ChooseCar:='ShotWarKiller';
CarXPogresh:=XPogreshWarKiller;
CarYPogresh:=YPogreshWarKiller;
end;
2:begin
//ShotFlash
glPushMatrix;
glTranslatef(0.5,0.12,0.0);
glCallList(ShotFlash);
glPopMatrix;
ChooseCar:='ShotFlash';