¤É¤¦¤â¼«Ê¬¤Î¥×¥í¥°¥é¥à¤Î¥Ð¥°¤Î¸¶°ø¤¬Ê¬¤«¤ê¤Þ¤»¤ó¡£
°Ê²¼¤Ë°ìÉô¥¹¥¯¥ê¥×¥È¤ò¥³¥Ô¡¼¤¹¤ë¤Î¤Ç¡¢´Ö°ã¤Ã¤Æ¤¤¤ë²Õ½ê¤ÈÀâÌÀ¤ò¤ª´ê¤¤¤·¤Þ¤¹¡£
¤É¤³¤¬ÉÔɬÍפ«¤É¤¦¤«Ê¬¤«¤é¤Ê¤¤¤Î¤ÇŤ¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¤¬¡¢
;¥¤¥ó¥¯¥ë¡¼¥É #include "llmod3/llmod3.hsp" #include "llmod3/input.hsp" #include "a2d.hsp" ;getkey²þ¤ ;²¡½Ö´Ö¤¬2¡¢Ä¹²¡¤·¤¬1¡¢Êü½Ö´Ö¤¬-1¡¢Êü¤·¤¿¤Þ¤Þ¤¬0 #module #undef getkey #deffunc getkey var p1,int p2 getkey@hsp key(122),p2 p1=key(122)*2-key(p2) key(p2)=key(122) return #global ;²èÁüÆɤ߹þ¤ß buffer 1 alResetCopyMode alCreateImageByFile 1,"button.png" alCopyImageToScreen 1,1 redraw gsel ;¥Ç¡¼¥¿¥Õ¥¡¥¤¥ëÆɤ߹þ¤ß notesel SetingFile noteload "seting.dat" noteget Desigh,1 noteget SetOne,3 noteget SetTwo,5 ;ÊÑ¿ô½é´ü²½ a=0 gx=0:gy=18;¸µ¤Î°ÌÃÖ ;_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ *mloop redraw 1 wait 1/10 redraw 0 ;²èÌ̽é´ü²½ color:boxf ;³ÆÊÑ¿ô¤Î¹¹¿· mx=mousex : my=mousey getkey mc,1 getkey esc,27 ;¥µ¥¤¥É¥Ü¥¿¥ó¤Îɽ¼¨ pos 400,1 gmode 2 gcopy 1,208,3,20,19 if 399<mx & 421>mx and 2<=my & 22>my { gcopy 1,208,26,20,19 if mc=-1 : end } ;ÀßÄê¡¡ÉÁ¼Ì sysfont color 136,255,4:pos 0,82:mes "£Ó£Å£Ô£É£Î£Ç" font "£Í£Ó ¥´¥·¥Ã¥¯",14 pos gx,gy+82:gmode 2 if setone="off":gcopy 1,164,3,20,19 if setone="on" :gcopy 1,186,3,20,19 color 20,105,46:pos gx+22,gy+86 mes "MCM¤òºÇÁ°ÌÌɽ¼¨" if gx<=mx & gx+20>=mx and gy+82<=my & gy+101>=my { pos gx,gy+82:gmode 2 if setone="off":gcopy 1,164,26,20,19 if setone="on" :gcopy 1,186,26,20,19 color 136,255,4:pos gx+22,gy+86 mes "MCM¤òºÇÁ°ÌÌɽ¼¨" if mc=2 { switch setone case 'on' notesel setingfile //noteload "seting.dat" noteadd "off",3,1 notesave "seting.dat" noteget SetOne,3 swbreak case 'off' notesel setingfile //noteload "seting.dat" noteadd "on",3,1 notesave "seting.dat" noteget SetOne,3 swbreak swend }} ;³Æ¥¡¼Áàºî if a=0:goto*mloop stop
¤¿¤Ö¤ó¤³¤Î¤¢¤¿¤ê¤Ç¥Ð¥°¤¬¤¢¤ë¤À¤í¤¦¤È»×¤Ã¤Æ¤¤¤Þ¤¹¡£
¤è¤í¤·¤¯¤ª¤Í¤¬¤¤¤·¤Þ¤¹¡£