//================================================ //タイトル画面描画 //================================================ void DrawTitle(void) { bgm[BGM_BOSS].StopSound(); bgm[BGM_MAIN].StopSound(); bgm[BGM_TITLE].PlaySoundA(); frame.IsDisp = TRUE; /*モードセレクト*/ menu.ModeSelect(&g_GameMode); LunaPrimitive::UpdateBuffer(lPrim); tcamera.Update(); model.Translation(); /*カーソル移動*/ menu.Move(ITEM1_MAX); /*シーン開始*/ if(Luna3D::BeginScene() ) { menu.DrawCursor(); Luna3D::SetBlendingType(BLEND_NORMAL); LunaPrimitive::Rendering(lPrim); model.Rendering(); frame.DrawTexture(); menu.Rendering(); /*描画位置算出*/ menu.CalcFontSprPos(100, 200, TitleMenu, ITEM1_MAX); menu.DrawFontSpr(TitleMenu, ITEM1_MAX); /*シーン終了*/ Luna3D::EndScene(); } }