home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 February
/
VPR9702A.ISO
/
FFILLY
/
TOKYOS
/
MUSIC.TFY
< prev
next >
Wrap
Text File
|
1996-12-01
|
6KB
|
171 lines
//===========================================================================
//カラオケ
main(){
int P00,P01,P02,P03,P04,P05,P06,P07,P08,menu;
int Width,Height;
int picW,picH,winW,winH,winX,winY;
int WinMain,Winsub,WinMainm;
Width=WinInfo(0); //画面の横幅を調べる。//
Height=WinInfo(1); //画面の高さを調べる。//
Debug(1);
P00=LoadPic("OTR.bmp");
str MIDIFile[];
int MIDINum;
MIDINum=0;
MIDIFile[1]="GONE.mid";
MIDINum=1; // [追加]
PlayMIDI(MIDIFile[1]); // [修正]PlayMIDI(MIDIFile[1]);
mes(MIDI_END){ MCI("stop song"); CloseWinAll();
Shell( GetIniStr("Directory", "system", "0", "inst.ini") + "\filly.exe",
"tokyoms.fil"); // 2つ目のfillyの起動
del_all; ExitTitle();
del_me;
}
P01=LoadPic("DISPLAY.bmp");
//picture番号Picblackの画像を表示するwindowを開き、そのwindow番号を
picW= PicWidth(P00); // 画像の幅(picは任意のPicture番号)
picH= PicHeight(P00); // 画像の高さ(picは任意のPicture番号)
winW= WinInfo(0); // 画面の幅
winH= WinInfo(1); // 画面の高さ
winX= 0-(winW-picW)/2; // Window内の画像の位置:X座標
winY= 0-(winH-picH)/2; // Window内の画像の位置:Y座標
CapTitle("");
DrawRect(P00, 0, 0, picW, picH, 0, 0);
MovePic(P01,0,0,640,346,P00,0,0,0,0x000000);
WinMain=OpenWin( P00, 0, 0, winW, winH,winX, winY,0x000000);
SetFont(20,"MS 明朝",128,0,0,0,1);
BackMode(1);
BgColor(0,100,255);
TextColor(255,255,255);
mes(RBDOWN){
MCI("stop song"); CloseWinAll();
Shell( GetIniStr("Directory", "system", "0", "inst.ini") + "\filly.exe",
"tokyoms.fil"); // 2つ目のfillyの起動
del_all; ExitTitle();
del_me;
}
mes(MIDI_TIME){
step(5){
TextWrite( "♪Now you've gone away♪",P00,150,400);
TextWrite( "♪作詞:作曲:円増亮介♪",P00,150,420);,,,
,,,,,,,,,,,,
DrawRect(P00, 0, 346, picW, picH, 0, 0);
TextWrite( "We are waitin' for the time of your leavin' ",P00,100,350);,,,,
TextWrite( "Tho' we don't wanna wait for",P00,100,370);,,,,,,,
,,
TextWrite( "Cannot say,say,Goodbye,to you",P00,100,390);,,,,
TextWrite( "What a lonely! Time passes quickly",P00,100,410);,,,,,,,
DelPic(P01 );
DrawRect(P00, 0, 346, picW, picH, 0, 0);
TextWrite( "Please don't leave me alone at the station",P00,100,350);,,,,,,,,
TextWrite( "Don't leave me alone",P00,100,370);,,,,,,
TextWrite( "Please don't leave me alone at the station",P00,100,390);,,,,,,
TextWrite( "Now you've gone away",P00,100,410);,,,,,,
P02=LoadPic("NEO2.bmp");
MovePic(P02,0,0,640,346,P00,0,0,3,50);,,,,,,,,,,,,,
SetFont(20,"MS 明朝",128);
BackMode(0);
BgColor(0,0,0);
TextColor(255,255,255);
DrawRect(P00, 0, 346, picW, picH, 0, 0);
TextWrite( "From your eyes,Tear's fallin' down",P00,100,350);,,,,,
TextWrite( "Still we're waitin' for,Being silent",P00,100,370);,,,,,,,
,,,
TextWrite( "Cannot put,put into words",P00,100,390);,,,,,,
TextWrite( "Make it stop if I could",P00,100,410);,,,,,,
P03=LoadPic("PORT14.bmp");
MovePic(P03,0,0,640,432,P00,0,0,3,20);
DrawRect(P00, 0, 346, picW, picH, 0, 0);
TextWrite( "Please don't leave me alone at the station",P00,100,350);,,,,,,,,
TextWrite( "Don't leave me alone",P00,100,370);,,,,,,
TextWrite( "Please don't leave me alone at the station",P00,100,390);,,,,,,
TextWrite( "Now you've gone away",P00,100,410);,,,,,,
,,
DrawRect(P00, 0, 346, picW, picH, 0, 0);
P07=LoadPic("PORT1_4.bmp");
MovePic(P07,0,0,640,432,P00);,,
MovePic(P03,0,0,640,432,P00,0,0,3,20);,,,,,
MovePic(P07,0,0,640,432,P00);,,
,,
MovePic(P03,0,0,640,432,P00,0,0,3,20);,,,
MovePic(P07,0,0,640,432,P00,0,0,3,20);,,,
P04=LoadPic("PORT13.bmp");,
P05=LoadPic("PORT12.bmp");,
MovePic(P04,0,0,640,346,P00);,
DelPic(P02 ); ,,,,DelPic(P03 );,,,,
,,,,,DelPic(P07 );
TextWrite( "Please don't leave me alone at the station",P00,100,350);,,,,,,,
TextWrite( "Don't leave me alone",P00,100,370);,,,,,,
TextWrite( "Please don't leave me alone at the station",P00,100,390);,,,,,,,,
TextWrite( "Now you've gone away",P00,100,410);,,,,,,,,
DrawRect(P00, 0, 346, picW, picH, 0, 0);
MovePic(P05,0,0,640,346,P00,0,0,11,50);
TextWrite( "Please don't leave me alone at the station",P00,100,350);,,,,,,,
TextWrite( "Don't leave me alone",P00,100,370);,,,,,,
DelPic(P04 );
TextWrite( "Please don't leave me alone at the station",P00,100,390);,,,,,
TextWrite( "Now you've gone away",P00,100,410);,,,,,,,,
DrawRect(P00, 0, 346, picW, picH, 0, 0);
TextWrite( "Please don't leave me alone at the station",P00,100,350);,,,,,,
TextWrite( "Don't leave me alone",P00,100,370);,,,,,,
TextWrite( "Please don't leave me alone at the station",P00,100,390);,,,,,,
TextWrite( "Now you've gone away",P00,100,410);,,
DelPic(P05 );
P06=LoadPic("PORT.bmp");,
MovePic(P06,0,0,640,480,P00,0,0,0,0x000000);
TextWrite( "Now you've gone away",P00,100,370);,,
P08=LoadPic("PORT11.bmp");,,
TextWrite( "作詞:作曲:円増亮介 ",P00,100,390);
MovePic(P08,0,0,640,370,P00,0,0,3,10);,,,
MovePic(P06,0,0,640,370,P00,0,0,3,10);,,,
MovePic(P08,0,0,640,370,P00,0,0,3,10);,,,
MovePic(P06,0,0,640,370,P00,0,0,3,10);,,,,
DelPic(P06 );DelPic(P08 );
DelPic(P00 );
MCI("stop song"); CloseWinAll();
Shell( GetIniStr("Directory", "system", "0", "inst.ini") + "\filly.exe",
"tokyoms.fil"); // 2つ目のfillyの起動
del_all;
end_step; ExitTitle();del_me;
}}
}