From 4dd6b7703bc7d1ff6f3082dfa78d3e2da6cd8be6 Mon Sep 17 00:00:00 2001 From: mcmlxxix <> Date: Wed, 28 Mar 2012 18:39:04 +0000 Subject: [PATCH] add opening splash screen by echicken --- xtrn/bublbogl/boggle.bin | 1 + xtrn/bublbogl/game.js | 33 +++++---- xtrn/uberblox/game.js | 11 ++- xtrn/uberblox/uberblox.bin | 135 +++++++++++++++++++++++++++++++++++++ 4 files changed, 165 insertions(+), 15 deletions(-) create mode 100644 xtrn/bublbogl/boggle.bin create mode 100644 xtrn/uberblox/uberblox.bin diff --git a/xtrn/bublbogl/boggle.bin b/xtrn/bublbogl/boggle.bin new file mode 100644 index 0000000000..7709b0eac6 --- /dev/null +++ b/xtrn/bublbogl/boggle.bin @@ -0,0 +1 @@ + ����� ����� ����� ����� ����� ����� ����� ����� ����� ����� ����� ����� ������������������������������������ ������������������������������������ � � ��� � ��� � ��� � ��� ����� ���� � � ��� � ��� ����� ����� ����� ���� � � ��� � ��� � ��� � ��� ����� ���� � � ��� � ��� � ��� � ��� ����� ���� ����� ����� ����� ����� ����� ����� ����� ����� ����� ����� ����� ����� b u b b l e b o g g l e ��� b y m c m l x x i x curedcurescuriocurlscurlycurrycu ���� t���� cultscumincuntscurvecurvycushycuterdaddydaffydandydareddaresda ���� t�����G w���O��� sdatumdealsdealtdeansdearsdeathdebugdebutdebitdecalde ����������G w���O�O�O�� t���� rdecoydecrydeedsdeemsdeferdefogdailydairydeismdel ����������G����O�O�O�� t�����G w���O��� tadawnsdazeddenimdemondeitydialsdiarydongsd ��G�����G����O�O�O�� t�����G w���O�O�O�� t���� erdildodillsdinerdinesdingodisksdingydinkyd ���G w���O�O�O�� t�����G w���O�O�O�� t�����G w���O��� mesdodgedodgydollsdollyejectelateexcele ����G��G�����G w���O�O�O�� t�����G w���O�O�O�� t���� derelectexactepicsepochethereventerodeeos ����G�G���O�O�O��������G w���O�O�O�� t�����G w���O��� nactevadeevensevicteveryevilsevokeexalt ����G��G�����G����O�O�O�� t�����G w���O�O�O�� t���� bedemberexistessayexertexileexpelexitset ����G�G���O�O�O��������G w���O�O�O�� t�����G w���O� weeexudeextraextolfablefacedfacesfacetfact ����G��G�����G����O�O�O�� t�����G w���O���G��� dedfadesfaggyfailsfaintfairyfaithfakedfakerf ����G�G���O�O�O�� t�����G w���O���G������ akesfallsfalsefancyfearsfeatsfeastfecalfecesfee ����G��G�����G����O���G������ ndsfeelsfetchfetedfetesfishyfistsfiverfivesfixedfixer ����G�G���O���G������ derfiberfibrefeudsfindsfinerfinesflankfinalflareflashfleshfl ���������� sedfeverfewerfinchfinedflossfloragangsganjagasesgavelgauzegearsgeck ��� sgabbygablegagergailygainsgaechicken \ No newline at end of file diff --git a/xtrn/bublbogl/game.js b/xtrn/bublbogl/game.js index 9a8f8247e5..ce3a2ab1ce 100644 --- a/xtrn/bublbogl/game.js +++ b/xtrn/bublbogl/game.js @@ -509,8 +509,16 @@ function splashStart() { console.ctrlkey_passthru="+ACGKLOPQRTUVWXYZ"; bbs.sys_status|=SS_MOFF; bbs.sys_status |= SS_PAUSEOFF; + if(file_exists(root + "boggle.bin")) { + console.clear(); + var splash=new Graphic(80,22); + splash.load(root + "boggle.bin"); + splash.draw(); + console.gotoxy(1,23); + console.center("\1n\1c[\1hPress any key to continue\1n\1c]"); + while(console.inkey(K_NOECHO|K_NOSPIN)===""); + } console.clear(); - //TODO: DRAW AN ANSI SPLASH WELCOME SCREEN } function splashExit() { @@ -520,18 +528,15 @@ function splashExit() { console.attributes=ANSI_NORMAL; console.clear(); var splash_filename=root + "exit.bin"; - if(!file_exists(splash_filename)) exit(); - - var splash_size=file_size(splash_filename); - splash_size/=2; - splash_size/=80; - var splash=new Graphic(80,splash_size); - splash.load(splash_filename); - splash.draw(); - - console.gotoxy(1,23); - console.center("\1n\1c[\1hPress any key to continue\1n\1c]"); - while(console.inkey(K_NOECHO|K_NOSPIN)===""); + if(file_exists(splash_filename)) { + var splash=new Graphic(80,21); + splash.load(splash_filename); + splash.draw(); + + console.gotoxy(1,23); + console.center("\1n\1c[\1hPress any key to continue\1n\1c]"); + while(console.inkey(K_NOECHO|K_NOSPIN)===""); + } console.clear(); } @@ -677,7 +682,7 @@ function Player(name,points,days,laston) { this.name=name?name:user.alias; this.points=points?points:0; this.days=days?days:[]; - this.laston=laston?laston:false; + this.laston=laston?laston:time(); } function InfoBox(x,y) { diff --git a/xtrn/uberblox/game.js b/xtrn/uberblox/game.js index c1474365cc..3387f50473 100644 --- a/xtrn/uberblox/game.js +++ b/xtrn/uberblox/game.js @@ -56,7 +56,16 @@ function splashStart() { console.ctrlkey_passthru="+ACGKLOPQRTUVWXYZ"; bbs.sys_status|=SS_MOFF; - bbs.sys_status|=SS_PAUSEOFF; + bbs.sys_status|=SS_PAUSEOFF; + if(file_exists(root + "uberblox.bin")) { + console.clear(); + var splash=new Graphic(80,22); + splash.load(root + "uberblox.bin"); + splash.draw(); + console.gotoxy(1,23); + console.center("\1n\1c[\1hPress any key to continue\1n\1c]"); + while(console.inkey(K_NOECHO|K_NOSPIN)===""); + } console.clear(); } function splashExit() diff --git a/xtrn/uberblox/uberblox.bin b/xtrn/uberblox/uberblox.bin new file mode 100644 index 0000000000..25d7f3223a --- /dev/null +++ b/xtrn/uberblox/uberblox.bin @@ -0,0 +1,135 @@ + � � � � � � �� �� � � � � � � � +� + +� +� + +� +� + +�� �� �� � � � � � � � � �� �� �� �� �� �� �� � � � � � � � +� + +� +� + +� +� + +�� �� �� � � � � � � � � �� �� �� �� �� �� �� �� � � � � � +� + +� +� + + + + +�� � � � � � � �� �� �� �� �� �� �� �� �� � � � � � � � +� + +� +� + +� +� + +�� � � � � � � � � �� �� �� �� �� �� �� �� �� �� �� �� � � � � � � � +� + +� +� + +� +� + +�� � � � � � � � � �� �� �� �� �� �� �� u b e r b l o x b y m c m l x x i x �� � � �� � � �� �� � � � +� + +� +� + +�� �� �� � � �� �� � � � � � � �� �� � � �� � � � � � � �� �� � � �� � � �� �� �� � +� + +� +� + +�� �� �� � � �� �� � � � � �� �� �� � � �� �� � � � � �� �� � � �� � � �� �� �� � +� + +� +� + +�� �� �� � � �� �� � � � � �� �� �� � � �� �� � � � � �� �� � � � � � � � � �� � � � � �� �� � � �� � � �� �� � � � � � � �� � � � � �� �� �� � � �� � � � � � � �� � � �� �� �� �� � +� + +� � �� � � �� �� � � � +� + +� � �� �� � � �� �� �� � � �� � � � � � � �� � � �� �� �� �� � +� + +� � �� � � �� �� � � � +� + +� � �� �� � � �� �� �� � � �� � +� + +� � �� � � �� �� � +� + +� � �� � � �� �� �� � � �� �� �� �� �� � � � � � � �� �� � +� + +�� � +� + +�� �� � � �� �� � +� + +� � �� � � � � �� �� �� �� �� �� �� �� � � � � � � � +� + +�� � +� + +�� � +� + +�� �� � � �� �� � +� + +� � �� � � � � �� �� �� �� �� �� �� �� � � � � � � � +� + +�� � +� + +�� �� � � � � �� � � � +� + +� � �� �� �� �� � � �� �� � � �� � � � � �� � � � � � � � � �� �� �� � � � � � � �� � � � +� + +� � �� �� �� �� � +� + +�� �� �� �� � � � � � +� + +� � � � � � � � �� �� � +� + +� � � � � � �� � � � +� + +� � �� �� �� �� � +� + +�� �� �� �� � � � � � +� + +� � � � � � � � �� �� � +� + echicken \ No newline at end of file -- GitLab