Пример #1
0
        private static void DrawTitleBack()
        {
            DDUtils.Approach(ref P_TitleBackW, P_TitleBackWDest, 0.85);

            // ---

            if (P_TitleBackW < 0.01)
            {
                return;
            }

            DDDraw.SetAlpha(TITLE_BACK_A);
            DDDraw.SetBright(0, 0, 0);
            DDDraw.DrawBegin(DDGround.GeneralResource.WhiteBox, DDConsts.Screen_W / 2, DDConsts.Screen_H / 2);
            DDDraw.DrawSetSize_W(P_TitleBackW);
            DDDraw.DrawSetSize_H(DDConsts.Screen_H);
            DDDraw.DrawEnd();
            DDDraw.Reset();
        }