void DrawScreen () { ColorScreen (LIGHTBLUE); DrawText (1, 1, " Optimize F1 = help ", BLACK, WHITE); SetStatusBar (RED, WHITE, " FreeDOS defrag "); DelimitStatusBar (BLACK, WHITE, 62); DrawSingleBox(5, 19, 35, 5, WHITE, BLUE, " Status "); DrawSingleBox(41, 19, 35, 5, WHITE, BLUE, " Legend "); ClearStatusBar (); DrawText(6, 22, " Elapsed time: 00:00:00", WHITE, BLUE); // DrawText(6, 23, " Full Optimization", WHITE, BLUE); DrawMethod("Full Optimization"); DrawText(43, 20, "\t", BLINK+BLUE, WHITE); DrawText(44, 20, " - used", WHITE, BLUE); DrawText(43, 21, "r - reading", WHITE, BLUE); DrawText(43, 22, "b - bad", WHITE, BLUE); DrawText(43, 23, "Drive ?: 1 block = 0 clusters", WHITE, BLUE); DrawText(61, 20, "± - unused", WHITE, BLUE); DrawText(61, 21, "W - writing", WHITE, BLUE); DrawText(61, 22, "X - unmovable", WHITE, BLUE); }
//================================================ //チュートリアル画面描画 //================================================ void DrawTutorial(void) { menu.Move(ITEM4_MAX); g_Second++; if(Luna3D::BeginScene() ) { /*描画*/ DrawMethod(); Luna3D::EndScene(); } }
//================================================ //エラー画面描画 //================================================ void DrawError(void) { if(LunaPad::GetState(0, PAD_STATE_PUSH, PAD_BUTTON_01) ) { g_GameMode = SCENE_TITLE; } /*シーン開始*/ if(Luna3D::BeginScene() ) { /*描画*/ DrawMethod(); /*シーン終了*/ Luna3D::EndScene(); } }
//================================================ //オプション画面描画 //================================================ void DrawOption(void) { /*カーソル移動*/ menu.Move(ITEM2_MAX); /*シーン開始*/ if(Luna3D::BeginScene() ) { g_Second++; /*描画*/ DrawMethod(); /*キーコンフィグ*/ menu.KeyConfig(&g_GameMode); /*シーン終了*/ Luna3D::EndScene(); } }