6 Commits

13 changed files with 369 additions and 328 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
;=====================================
;
; Graphics .EQU file for .KDR
; IGRAB-ed on Wed Jul 10 15:22:21 1991
; IGRAB-ed on Fri Sep 10 11:18:08 1993
;
;=====================================
+1 -1
View File
@@ -19,7 +19,7 @@
//////////////////////////////////////
//
// Graphics .H file for .KDR
// IGRAB-ed on Tue Aug 04 15:52:24 1992
// IGRAB-ed on Fri Sep 10 11:18:07 1993
//
//////////////////////////////////////
+10 -8
View File
@@ -557,16 +557,18 @@ IN_SetupJoy(word joy,word minx,word maxx,word miny,word maxy)
static boolean
INL_StartJoy(word joy)
{
boolean result;
word x,y,d;
JoystickDef *def;
word x,y;
IN_GetJoyAbs(joy,&x,&y);
IN_GetJoyAbs(joy, &x, &y);
result = (x < MaxJoyValue - 10);
if (result)
IN_SetupJoy(joy,0,x * 2,0,y * 2);
return(result);
if (((x == 0) || (x > MaxJoyValue - 10)) ||
((y == 0) || (y > MaxJoyValue - 10)))
return(false);
else
{
IN_SetupJoy(joy, 0, x*2, 0, y*2);
return(true);
}
}
///////////////////////////////////////////////////////////////////////////
+31 -14
View File
@@ -493,6 +493,7 @@ USL_ClearTextScreen(void)
_DH = 24; // Bottom row
_AH = 0x02;
geninterrupt(0x10);
}
///////////////////////////////////////////////////////////////////////////
@@ -2173,6 +2174,7 @@ USL_CtlCKbdButtonCustom(UserCall call,word i,word n)
static boolean
USL_CtlCJoyButtonCustom(UserCall call,word i,word n)
{
boolean Done = false;
word joy,
minx,maxx,
miny,maxy;
@@ -2189,27 +2191,42 @@ USL_CtlCJoyButtonCustom(UserCall call,word i,word n)
FlushHelp = true;
fontcolor = F_SECONDCOLOR;
USL_ShowHelp("Move Joystick to the Upper-Left");
VW_UpdateScreen();
while ((LastScan != sc_Escape) && !IN_GetJoyButtonsDB(joy))
;
if (LastScan != sc_Escape)
{
IN_GetJoyAbs(joy,&minx,&miny);
while (IN_GetJoyButtonsDB(joy))
;
USL_ShowHelp("Move Joystick to the Lower-Right");
while (!(Done))
{
USL_ShowHelp("Move Joystick to the Upper-Left");
VW_UpdateScreen();
while ((LastScan != sc_Escape) && !IN_GetJoyButtonsDB(joy))
;
while ((LastScan != sc_Escape) && !IN_GetJoyButtonsDB(joy));
if (LastScan != sc_Escape)
{
IN_GetJoyAbs(0,&maxx,&maxy);
IN_SetupJoy(joy,minx,maxx,miny,maxy);
IN_GetJoyAbs(joy,&minx,&miny);
while (IN_GetJoyButtonsDB(joy));
USL_ShowHelp("Move Joystick to the Lower-Right");
VW_UpdateScreen();
while ((LastScan != sc_Escape) && !IN_GetJoyButtonsDB(joy));
if (LastScan != sc_Escape)
{
IN_GetJoyAbs(0,&maxx,&maxy);
if ((maxx != minx) && (maxy != miny))
{
Done = true;
IN_SetupJoy(joy,minx,maxx,miny,maxy);
}
else
while (IN_GetJoyButtonsDB(joy));
}
else
Done = true;
}
else
Done = true;
}
if (LastScan != sc_Escape)
while (IN_GetJoyButtonsDB(joy))
;
+166 -243
View File
@@ -16,250 +16,173 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
scr_rowcol(1,1) scr_aputs("ÛÛÛßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßÛÛÛ",0x4);
scr_rowcol(2,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(2,4) scr_aputs("Þ",0xF);
scr_rowcol(2,5) scr_aputs("ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß",0x7F);
scr_rowcol(2,77) scr_aputs("Ý",0x8);
scr_rowcol(2,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(3,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(3,4) scr_aputs("Þ",0xF);
scr_rowcol(3,5) scr_aputs(" ",0x70);
scr_rowcol(3,6) scr_aputs(" Let the dreams begin! ",0x4E);
scr_rowcol(3,76) scr_aputs(" ",0x70);
scr_rowcol(3,77) scr_aputs("Ý",0x8);
scr_rowcol(3,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(4,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(4,4) scr_aputs("Þ",0xF);
scr_rowcol(4,5) scr_aputs(" ",0x70);
scr_rowcol(4,6) scr_aputs(" ",0x71);
scr_rowcol(4,16) scr_aputs(" ",0x7E);
scr_rowcol(4,18) scr_aputs("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»",0x70);
scr_rowcol(4,62) scr_aputs(" ",0x7E);
scr_rowcol(4,76) scr_aputs(" ",0x70);
scr_rowcol(4,77) scr_aputs("Ý",0x8);
scr_rowcol(4,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(5,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(5,4) scr_aputs("Þ",0xF);
scr_rowcol(5,5) scr_aputs(" ",0x70);
scr_rowcol(5,6) scr_aputs(" ",0x7E);
scr_rowcol(5,12) scr_aputs(" ",0x71);
scr_rowcol(5,18) scr_aputs("º",0x70);
scr_rowcol(5,19) scr_aputs(" Now running",0x71);
scr_rowcol(5,46) scr_aputs(" ",0x7E);
scr_rowcol(5,61) scr_aputs("º",0x70);
scr_rowcol(5,62) scr_aputs(" ",0x7E);
scr_rowcol(5,76) scr_aputs(" ",0x70);
scr_rowcol(5,77) scr_aputs("Ý",0x8);
scr_rowcol(5,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(6,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(6,4) scr_aputs("Þ",0xF);
scr_rowcol(6,5) scr_aputs(" ",0x70);
scr_rowcol(6,6) scr_aputs(" ",0x7E);
scr_rowcol(6,18) scr_aputs("º",0x70);
scr_rowcol(6,19) scr_aputs(" ",0x7E);
scr_rowcol(6,35) scr_aputs(" ",0x71);
scr_rowcol(6,44) scr_aputs(" ",0x7E);
scr_rowcol(6,61) scr_aputs("º",0x70);
scr_rowcol(6,62) scr_aputs(" ",0x7E);
scr_rowcol(6,76) scr_aputs(" ",0x70);
scr_rowcol(6,77) scr_aputs("Ý",0x8);
scr_rowcol(6,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(7,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(7,4) scr_aputs("Þ",0xF);
scr_rowcol(7,5) scr_aputs(" ",0x7E);
scr_rowcol(7,18) scr_aputs("º",0x70);
scr_rowcol(7,19) scr_aputs(" ",0x7E);
scr_rowcol(7,29) scr_aputs(" ",0x71);
scr_rowcol(7,35) scr_aputs("KEEN DREAMS",0x74);
scr_rowcol(7,46) scr_aputs(" ",0x7E);
scr_rowcol(7,61) scr_aputs("º",0x70);
scr_rowcol(7,62) scr_aputs(" ",0x7E);
scr_rowcol(7,77) scr_aputs("Ý",0x8);
scr_rowcol(7,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(8,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(8,4) scr_aputs("Þ",0xF);
scr_rowcol(8,5) scr_aputs(" ",0x70);
scr_rowcol(8,6) scr_aputs(" ",0x7E);
scr_rowcol(8,18) scr_aputs("º",0x70);
scr_rowcol(8,19) scr_aputs(" ",0x7E);
scr_rowcol(8,39) scr_aputs("by",0x78);
scr_rowcol(8,41) scr_aputs(" ",0x7E);
scr_rowcol(8,61) scr_aputs("º",0x70);
scr_rowcol(8,62) scr_aputs(" ",0x7E);
scr_rowcol(8,76) scr_aputs(" ",0x70);
scr_rowcol(8,77) scr_aputs("Ý",0x8);
scr_rowcol(8,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(9,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(9,4) scr_aputs("Þ",0xF);
scr_rowcol(9,5) scr_aputs(" ",0x70);
scr_rowcol(9,6) scr_aputs(" ",0x7E);
scr_rowcol(9,18) scr_aputs("º",0x70);
scr_rowcol(9,19) scr_aputs(" ",0x7E);
scr_rowcol(9,27) scr_aputs(" ",0x71);
scr_rowcol(9,35) scr_aputs("ID Software",0x78);
scr_rowcol(9,46) scr_aputs(" ",0x7E);
scr_rowcol(9,61) scr_aputs("º",0x70);
scr_rowcol(9,62) scr_aputs(" ",0x7E);
scr_rowcol(9,76) scr_aputs(" ",0x70);
scr_rowcol(9,77) scr_aputs("Ý",0x8);
scr_rowcol(9,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(10,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(10,4) scr_aputs("Þ",0xF);
scr_rowcol(10,5) scr_aputs(" ",0x70);
scr_rowcol(10,6) scr_aputs(" ",0x7E);
scr_rowcol(10,18) scr_aputs("º",0x70);
scr_rowcol(10,19) scr_aputs(" ",0x7E);
scr_rowcol(10,35) scr_aputs(" ",0x71);
scr_rowcol(10,46) scr_aputs(" ",0x7E);
scr_rowcol(10,61) scr_aputs("º",0x70);
scr_rowcol(10,62) scr_aputs(" ",0x7E);
scr_rowcol(10,76) scr_aputs(" ",0x70);
scr_rowcol(10,77) scr_aputs("Ý",0x8);
scr_rowcol(10,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(11,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(11,4) scr_aputs("Þ",0xF);
scr_rowcol(11,5) scr_aputs(" ",0x70);
scr_rowcol(11,6) scr_aputs(" ",0x7E);
scr_rowcol(11,18) scr_aputs("º",0x70);
scr_rowcol(11,19) scr_aputs(" ",0x7E);
scr_rowcol(11,33) scr_aputs("exclusively from",0x71);
scr_rowcol(11,49) scr_aputs(" ",0x7E);
scr_rowcol(11,61) scr_aputs("º",0x70);
scr_rowcol(11,62) scr_aputs(" ",0x7E);
scr_rowcol(11,76) scr_aputs(" ",0x70);
scr_rowcol(11,77) scr_aputs("Ý",0x8);
scr_rowcol(11,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(12,1) scr_aputs("ÜÜÜ",0xC);
scr_rowcol(12,4) scr_aputs("Þ",0xF);
scr_rowcol(12,5) scr_aputs(" ",0x70);
scr_rowcol(12,6) scr_aputs(" ",0x7E);
scr_rowcol(12,18) scr_aputs("º",0x70);
scr_rowcol(12,19) scr_aputs(" ",0x7E);
scr_rowcol(12,27) scr_aputs(" ",0x71);
scr_rowcol(12,35) scr_aputs("Gamer's Edge",0x74);
scr_rowcol(12,47) scr_aputs(" ",0x71);
scr_rowcol(12,49) scr_aputs(" ",0x7E);
scr_rowcol(12,61) scr_aputs("º",0x70);
scr_rowcol(12,62) scr_aputs(" ",0x7E);
scr_rowcol(12,76) scr_aputs(" ",0x70);
scr_rowcol(12,77) scr_aputs("Ý",0x8);
scr_rowcol(12,78) scr_aputs("ÜÜÜ",0xC);
scr_rowcol(13,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(13,4) scr_aputs("Þ",0xF);
scr_rowcol(13,5) scr_aputs(" ",0x70);
scr_rowcol(13,6) scr_aputs(" ",0x7A);
scr_rowcol(13,18) scr_aputs("ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ",0x70);
scr_rowcol(13,62) scr_aputs(" ",0x7A);
scr_rowcol(13,76) scr_aputs(" ",0x70);
scr_rowcol(13,77) scr_aputs("Ý",0x8);
scr_rowcol(13,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(14,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(14,4) scr_aputs("Þ",0xF);
scr_rowcol(14,5) scr_aputs(" ",0x70);
scr_rowcol(14,6) scr_aputs(" ",0x7A);
scr_rowcol(14,13) scr_aputs(" ",0x71);
scr_rowcol(14,70) scr_aputs(" ",0x7A);
scr_rowcol(14,76) scr_aputs(" ",0x70);
scr_rowcol(14,77) scr_aputs("Ý",0x8);
scr_rowcol(14,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(15,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(15,4) scr_aputs("Þ",0xF);
scr_rowcol(15,5) scr_aputs(" ",0x70);
scr_rowcol(15,6) scr_aputs(" ",0x71);
scr_rowcol(15,9) scr_aputs(" This software is NOT shareware or public domain. ",0x70);
scr_rowcol(15,67) scr_aputs(" ",0x7A);
scr_rowcol(15,76) scr_aputs(" ",0x70);
scr_rowcol(15,77) scr_aputs("Ý",0x8);
scr_rowcol(15,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(16,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(16,4) scr_aputs("Þ",0xF);
scr_rowcol(16,5) scr_aputs(" ",0x70);
scr_rowcol(16,6) scr_aputs(" ",0x7A);
scr_rowcol(16,8) scr_aputs(" It is licensed to the original purchaser only. ",0x70);
scr_rowcol(16,68) scr_aputs(" ",0x7A);
scr_rowcol(16,74) scr_aputs(" ",0x70);
scr_rowcol(16,75) scr_aputs(" ",0x7E);
scr_rowcol(16,76) scr_aputs(" ",0x70);
scr_rowcol(16,77) scr_aputs("Ý",0x8);
scr_rowcol(16,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(17,1) scr_aputs("ÜÜÜ",0xC);
scr_rowcol(17,4) scr_aputs("Þ",0xF);
scr_rowcol(17,5) scr_aputs(" ",0x70);
scr_rowcol(17,6) scr_aputs(" ",0x7A);
scr_rowcol(17,8) scr_aputs(" Please do not distribute. Thanks! ",0x70);
scr_rowcol(17,71) scr_aputs(" ",0x7A);
scr_rowcol(17,74) scr_aputs(" ",0x70);
scr_rowcol(17,75) scr_aputs(" ",0x7A);
scr_rowcol(17,76) scr_aputs(" ",0x70);
scr_rowcol(17,77) scr_aputs("Ý",0x8);
scr_rowcol(17,78) scr_aputs("ÜÜÜ",0xC);
scr_rowcol(18,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(18,4) scr_aputs("Þ",0xF);
scr_rowcol(18,5) scr_aputs(" ",0x70);
scr_rowcol(18,6) scr_aputs(" ",0x7A);
scr_rowcol(18,15) scr_aputs(" ",0x7E);
scr_rowcol(18,53) scr_aputs(" ",0x7B);
scr_rowcol(18,67) scr_aputs(" ",0x7A);
scr_rowcol(18,74) scr_aputs(" ",0x70);
scr_rowcol(18,75) scr_aputs(" ",0x7A);
scr_rowcol(18,76) scr_aputs(" ",0x70);
scr_rowcol(18,77) scr_aputs("Ý",0x8);
scr_rowcol(18,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(19,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(19,4) scr_aputs("Þ",0xF);
scr_rowcol(19,5) scr_aputs(" ",0x70);
scr_rowcol(19,6) scr_aputs(" ",0x7A);
scr_rowcol(19,7) scr_aputs(" ",0x4B);
scr_rowcol(1,1) scr_aputs(" ",0xC4);
scr_rowcol(2,1) scr_aputs(" ",0xC4);
scr_rowcol(3,1) scr_aputs(" ",0xC4);
scr_rowcol(3,12) scr_aputs(" ",0x4E);
scr_rowcol(3,70) scr_aputs(" ",0xC4);
scr_rowcol(4,1) scr_aputs(" ",0xC4);
scr_rowcol(4,12) scr_aputs("ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ",0x40);
scr_rowcol(4,70) scr_aputs(" ",0xC4);
scr_rowcol(5,1) scr_aputs(" ",0xC4);
scr_rowcol(5,12) scr_aputs("Þ",0xF);
scr_rowcol(5,13) scr_aputs("ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß",0x7F);
scr_rowcol(5,69) scr_aputs("Ý",0x8);
scr_rowcol(5,70) scr_aputs(" ",0xC4);
scr_rowcol(6,1) scr_aputs(" ",0xC4);
scr_rowcol(6,12) scr_aputs("Þ",0xF);
scr_rowcol(6,13) scr_aputs(" ",0x77);
scr_rowcol(6,69) scr_aputs("Ý",0x8);
scr_rowcol(6,70) scr_aputs(" ",0xC4);
scr_rowcol(7,1) scr_aputs(" ",0xC4);
scr_rowcol(7,12) scr_aputs("Þ",0xF);
scr_rowcol(7,13) scr_aputs(" ",0x77);
scr_rowcol(7,14) scr_aputs(" ",0x44);
scr_rowcol(7,15) scr_aputs(" ",0x40);
scr_rowcol(7,31) scr_aputs("Let the Dreams begin!",0x4E);
scr_rowcol(7,52) scr_aputs(" ",0x40);
scr_rowcol(7,67) scr_aputs(" ",0x44);
scr_rowcol(7,68) scr_aputs(" ",0x77);
scr_rowcol(7,69) scr_aputs("Ý",0x8);
scr_rowcol(7,70) scr_aputs(" ",0xC4);
scr_rowcol(8,1) scr_aputs(" ",0xC4);
scr_rowcol(8,12) scr_aputs("Þ",0xF);
scr_rowcol(8,13) scr_aputs(" ",0x77);
scr_rowcol(8,69) scr_aputs("Ý",0x8);
scr_rowcol(8,70) scr_aputs(" ",0xC4);
scr_rowcol(9,1) scr_aputs(" ",0xC4);
scr_rowcol(9,12) scr_aputs("Þ",0xF);
scr_rowcol(9,13) scr_aputs(" ",0x77);
scr_rowcol(9,19) scr_aputs("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»",0x70);
scr_rowcol(9,64) scr_aputs(" ",0x77);
scr_rowcol(9,69) scr_aputs("Ý",0x8);
scr_rowcol(9,70) scr_aputs(" ",0xC4);
scr_rowcol(10,1) scr_aputs(" ",0xC4);
scr_rowcol(10,12) scr_aputs("Þ",0xF);
scr_rowcol(10,13) scr_aputs(" ",0x77);
scr_rowcol(10,19) scr_aputs("º",0x70);
scr_rowcol(10,20) scr_aputs(" ",0x77);
scr_rowcol(10,23) scr_aputs(" ",0x70);
scr_rowcol(10,24) scr_aputs(" ",0x77);
scr_rowcol(10,26) scr_aputs(" ",0x78);
scr_rowcol(10,27) scr_aputs("Softdisk Publishing presents",0x71);
scr_rowcol(10,55) scr_aputs(" ",0x77);
scr_rowcol(10,63) scr_aputs("º",0x70);
scr_rowcol(10,64) scr_aputs(" ",0x77);
scr_rowcol(10,69) scr_aputs("Ý",0x8);
scr_rowcol(10,70) scr_aputs(" ",0xC4);
scr_rowcol(11,1) scr_aputs(" ",0xC4);
scr_rowcol(11,12) scr_aputs("Þ",0xF);
scr_rowcol(11,13) scr_aputs(" ",0x77);
scr_rowcol(11,19) scr_aputs("º",0x70);
scr_rowcol(11,20) scr_aputs(" ",0x77);
scr_rowcol(11,23) scr_aputs(" ",0x70);
scr_rowcol(11,24) scr_aputs(" ",0x77);
scr_rowcol(11,32) scr_aputs(" ",0x74);
scr_rowcol(11,45) scr_aputs(" ",0x77);
scr_rowcol(11,63) scr_aputs("º",0x70);
scr_rowcol(11,64) scr_aputs(" ",0x77);
scr_rowcol(11,69) scr_aputs("Ý",0x8);
scr_rowcol(11,70) scr_aputs(" ",0xC4);
scr_rowcol(12,1) scr_aputs("ÜÜÜÜÜÜÜÜÜÜÜ",0xC);
scr_rowcol(12,12) scr_aputs("Þ",0xF);
scr_rowcol(12,13) scr_aputs(" ",0x77);
scr_rowcol(12,19) scr_aputs("º",0x70);
scr_rowcol(12,20) scr_aputs(" ",0x77);
scr_rowcol(12,23) scr_aputs(" ",0x70);
scr_rowcol(12,24) scr_aputs(" ",0x77);
scr_rowcol(12,34) scr_aputs(" ",0x78);
scr_rowcol(12,35) scr_aputs("KEEN DREAMS",0x74);
scr_rowcol(12,46) scr_aputs(" ",0x77);
scr_rowcol(12,63) scr_aputs("º",0x70);
scr_rowcol(12,64) scr_aputs(" ",0x77);
scr_rowcol(12,69) scr_aputs("Ý",0x8);
scr_rowcol(12,70) scr_aputs("ÜÜÜÜÜÜÜÜÜÜÜ",0xC);
scr_rowcol(13,1) scr_aputs(" ",0xC4);
scr_rowcol(13,12) scr_aputs("Þ",0xF);
scr_rowcol(13,13) scr_aputs(" ",0x77);
scr_rowcol(13,19) scr_aputs("º",0x70);
scr_rowcol(13,20) scr_aputs(" ",0x77);
scr_rowcol(13,23) scr_aputs(" ",0x70);
scr_rowcol(13,24) scr_aputs(" ",0x77);
scr_rowcol(13,63) scr_aputs("º",0x70);
scr_rowcol(13,64) scr_aputs(" ",0x77);
scr_rowcol(13,69) scr_aputs("Ý",0x8);
scr_rowcol(13,70) scr_aputs(" ",0xC4);
scr_rowcol(14,1) scr_aputs(" ",0xC4);
scr_rowcol(14,12) scr_aputs("Þ",0xF);
scr_rowcol(14,13) scr_aputs(" ",0x77);
scr_rowcol(14,19) scr_aputs("º",0x70);
scr_rowcol(14,20) scr_aputs(" ",0x77);
scr_rowcol(14,23) scr_aputs(" ",0x70);
scr_rowcol(14,24) scr_aputs(" ",0x77);
scr_rowcol(14,30) scr_aputs(" COMMANDER KEEN",0x78);
scr_rowcol(14,48) scr_aputs(" ",0x77);
scr_rowcol(14,63) scr_aputs("º",0x70);
scr_rowcol(14,64) scr_aputs(" ",0x77);
scr_rowcol(14,69) scr_aputs("Ý",0x8);
scr_rowcol(14,70) scr_aputs(" ",0xC4);
scr_rowcol(15,1) scr_aputs(" ",0xC4);
scr_rowcol(15,12) scr_aputs("Þ",0xF);
scr_rowcol(15,13) scr_aputs(" ",0x77);
scr_rowcol(15,19) scr_aputs("º",0x70);
scr_rowcol(15,20) scr_aputs(" ",0x77);
scr_rowcol(15,23) scr_aputs(" ",0x70);
scr_rowcol(15,24) scr_aputs(" ",0x77);
scr_rowcol(15,31) scr_aputs(" is a trademark of",0x78);
scr_rowcol(15,49) scr_aputs(" ",0x77);
scr_rowcol(15,63) scr_aputs("º",0x70);
scr_rowcol(15,64) scr_aputs(" ",0x77);
scr_rowcol(15,69) scr_aputs("Ý",0x8);
scr_rowcol(15,70) scr_aputs(" ",0xC4);
scr_rowcol(16,1) scr_aputs(" ",0xC4);
scr_rowcol(16,12) scr_aputs("Þ",0xF);
scr_rowcol(16,13) scr_aputs(" ",0x77);
scr_rowcol(16,19) scr_aputs("º",0x70);
scr_rowcol(16,20) scr_aputs(" ",0x77);
scr_rowcol(16,23) scr_aputs(" ",0x70);
scr_rowcol(16,24) scr_aputs(" ",0x77);
scr_rowcol(16,32) scr_aputs(" Id Software",0x78);
scr_rowcol(16,46) scr_aputs(" ",0x77);
scr_rowcol(16,63) scr_aputs("º",0x70);
scr_rowcol(16,64) scr_aputs(" ",0x77);
scr_rowcol(16,69) scr_aputs("Ý",0x8);
scr_rowcol(16,70) scr_aputs(" ",0xC4);
scr_rowcol(17,1) scr_aputs("ÜÜÜÜÜÜÜÜÜÜÜ",0xC);
scr_rowcol(17,12) scr_aputs("Þ",0xF);
scr_rowcol(17,13) scr_aputs(" ",0x77);
scr_rowcol(17,19) scr_aputs("ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ",0x70);
scr_rowcol(17,64) scr_aputs(" ",0x77);
scr_rowcol(17,69) scr_aputs("Ý",0x8);
scr_rowcol(17,70) scr_aputs("ÜÜÜÜÜÜÜÜÜÜÜ",0xC);
scr_rowcol(18,1) scr_aputs(" ",0xC4);
scr_rowcol(18,12) scr_aputs("Þ",0xF);
scr_rowcol(18,13) scr_aputs(" ",0x77);
scr_rowcol(18,69) scr_aputs("Ý",0x8);
scr_rowcol(18,70) scr_aputs(" ",0xC4);
scr_rowcol(19,1) scr_aputs(" ",0xC4);
scr_rowcol(19,12) scr_aputs("Þ",0xF);
scr_rowcol(19,13) scr_aputs(" ",0x77);
scr_rowcol(19,14) scr_aputs(" ",0x44);
scr_rowcol(19,33) scr_aputs("Please standby...",0x4E);
scr_rowcol(19,50) scr_aputs(" ",0x41);
scr_rowcol(19,51) scr_aputs(" ",0x4B);
scr_rowcol(19,74) scr_aputs(" ",0x4E);
scr_rowcol(19,75) scr_aputs(" ",0x7A);
scr_rowcol(19,76) scr_aputs(" ",0x70);
scr_rowcol(19,77) scr_aputs("Ý",0x8);
scr_rowcol(19,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(20,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(20,4) scr_aputs("Þ",0xF);
scr_rowcol(20,5) scr_aputs(" ",0x70);
scr_rowcol(20,6) scr_aputs(" ",0x7A);
scr_rowcol(20,13) scr_aputs(" ",0x70);
scr_rowcol(20,15) scr_aputs("For technical assistance with running this software,",0x78);
scr_rowcol(20,67) scr_aputs(" ",0x7A);
scr_rowcol(20,68) scr_aputs(" ",0x78);
scr_rowcol(20,76) scr_aputs(" ",0x70);
scr_rowcol(20,77) scr_aputs("Ý",0x8);
scr_rowcol(20,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(21,1) scr_aputs("ÜÜÜ",0xC);
scr_rowcol(21,4) scr_aputs("Þ",0xF);
scr_rowcol(21,5) scr_aputs(" ",0x70);
scr_rowcol(21,6) scr_aputs(" ",0x7A);
scr_rowcol(21,14) scr_aputs(" ",0x70);
scr_rowcol(21,23) scr_aputs("* Type HELP at the DOS prompt, or",0x78);
scr_rowcol(21,56) scr_aputs(" ",0x7A);
scr_rowcol(21,67) scr_aputs(" ",0x78);
scr_rowcol(21,76) scr_aputs(" ",0x70);
scr_rowcol(21,77) scr_aputs("Ý",0x8);
scr_rowcol(21,78) scr_aputs("ÜÜÜ",0xC);
scr_rowcol(22,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(22,4) scr_aputs("Þ",0xF);
scr_rowcol(22,5) scr_aputs(" ",0x70);
scr_rowcol(22,6) scr_aputs(" ",0x7A);
scr_rowcol(22,7) scr_aputs(" ",0x71);
scr_rowcol(22,13) scr_aputs(" ",0x7A);
scr_rowcol(22,14) scr_aputs(" ",0x70);
scr_rowcol(22,23) scr_aputs("* Call 1-318-221-8311 for help",0x78);
scr_rowcol(22,53) scr_aputs(" ",0x70);
scr_rowcol(22,68) scr_aputs(" ",0x78);
scr_rowcol(22,70) scr_aputs(" ",0x71);
scr_rowcol(22,75) scr_aputs(" ",0x70);
scr_rowcol(22,77) scr_aputs("Ý",0x8);
scr_rowcol(22,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(23,1) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(23,4) scr_aputs("Þ",0xF);
scr_rowcol(23,5) scr_aputs("ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ",0x78);
scr_rowcol(23,77) scr_aputs("Ý",0x8);
scr_rowcol(23,78) scr_aputs("ÛÛÛ",0x4);
scr_rowcol(19,50) scr_aputs(" ",0x44);
scr_rowcol(19,68) scr_aputs(" ",0x77);
scr_rowcol(19,69) scr_aputs("Ý",0x8);
scr_rowcol(19,70) scr_aputs(" ",0xC4);
scr_rowcol(20,1) scr_aputs(" ",0xC4);
scr_rowcol(20,12) scr_aputs("Þ",0xF);
scr_rowcol(20,13) scr_aputs(" ",0x77);
scr_rowcol(20,69) scr_aputs("Ý",0x8);
scr_rowcol(20,70) scr_aputs(" ",0xC4);
scr_rowcol(21,1) scr_aputs("ÜÜÜÜÜÜÜÜÜÜÜ",0xC);
scr_rowcol(21,12) scr_aputs("Þ",0xF);
scr_rowcol(21,13) scr_aputs("ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ",0x78);
scr_rowcol(21,69) scr_aputs("Ý",0x8);
scr_rowcol(21,70) scr_aputs("ÜÜÜÜÜÜÜÜÜÜÜ",0xC);
scr_rowcol(22,1) scr_aputs(" ",0xC4);
scr_rowcol(22,12) scr_aputs("ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß",0x40);
scr_rowcol(22,70) scr_aputs(" ",0xC4);
scr_rowcol(23,1) scr_aputs(" ",0xC4);
scr_rowcol(24,1) scr_aputs("ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ",0xC);
scr_rowcol(25,1) scr_aputs(" ",0x7);

+2
View File
@@ -34,6 +34,8 @@
=============================================================================
*/
#define CREDITS 0
#define MAXACTORS MAXSPRITES
#define ACCGRAVITY 3
+22 -3
View File
@@ -432,9 +432,11 @@ DemoLoop (void)
word move;
longword lasttime;
char *FileName1;
char *FileName2;
struct Shape FileShape1;
#if CREDITS
char *FileName2;
struct Shape FileShape2;
#endif
struct ffblk ffblk;
WindowRec mywin;
int bufsave = bufferofs;
@@ -471,10 +473,11 @@ DemoLoop (void)
FileName1 = "TITLESCR.LBM";
if (LoadLIBShape("KDREAMS.CMP", FileName1, &FileShape1))
Quit("Can't load TITLE SCREEN");
#if CREDITS
FileName2 = "CREDITS.LBM";
if (LoadLIBShape("KDREAMS.CMP", FileName2, &FileShape2))
Quit("Can't load CREDITS SCREEN");
#endif
while (!restartgame && !loadedgame)
{
@@ -490,15 +493,29 @@ DemoLoop (void)
UnpackEGAShapeToScreen(&FileShape1, 0, 0);
VW_ScreenToScreen (64*200,0,40,200);
#if CREDITS
if (IN_UserInput(TickBase * 8, false))
break;
#else
if (IN_UserInput(TickBase * 4, false))
break;
#endif
#if CREDITS
MoveGfxDst(0, 200);
UnpackEGAShapeToScreen(&FileShape2, 0, 0);
VW_ScreenToScreen (64*200,0,40,200);
if (IN_UserInput(TickBase * 7, false))
break;
#else
MoveGfxDst(0, 200);
UnpackEGAShapeToScreen(&FileShape1, 0, 0);
VW_ScreenToScreen (64*200,0,40,200);
if (IN_UserInput(TickBase * 3, false))
break;
#endif
displayofs = 0;
VWB_Bar(0,0,320,200,FIRSTCOLOR);
@@ -506,6 +523,7 @@ DemoLoop (void)
if (IN_UserInput(TickBase * 6, false))
break;
}
bufferofs = bufsave;
@@ -519,8 +537,9 @@ DemoLoop (void)
NewGame();
FreeShape(&FileShape1);
#if CREDITS
FreeShape(&FileShape2);
#endif
GameLoop();
}
}
+29 -25
View File
@@ -377,17 +377,9 @@ void Quit (char *error)
clrscr();
puts(error);
puts("\n");
puts("For techinical assistance with running this software, type HELP at");
puts(" the DOS prompt or call Gamer's Edge at 1-318-221-8311");
exit(1);
}
_argc = 2;
_argv[1] = "LAST.SHL";
_argv[2] = "ENDSCN.SCN";
_argv[3] = NULL;
if (execv("LOADSCN.EXE", _argv) == -1)
Quit("Couldn't find executable LOADSCN.EXE.\n");
exit (0);
}
//===========================================================================
@@ -497,30 +489,42 @@ void InitGame (void)
==========================
*/
static char *EntryParmStrings[] = {"detour",nil};
void main (void)
{
boolean LaunchedFromShell = false;
short i;
for (i = 1;i < _argc;i++)
if (stricmp(_argv[1], "/VER") == 0)
{
switch (US_CheckParm(_argv[i],EntryParmStrings))
{
case 0:
LaunchedFromShell = true;
break;
}
}
if (!LaunchedFromShell)
{
clrscr();
puts("You must type START at the DOS prompt to run KEEN DREAMS.");
printf("\nKeen Dreams version 1.93 (Rev 1)\n");
printf("developed for use with 100%% IBM compatibles\n");
printf("that have 640K memory, DOS version 3.3 or later,\n");
printf("and an EGA or VGA display adapter.\n");
printf("Copyright 1991-1993 Softdisk Publishing.\n");
printf("Commander Keen is a trademark of Id Software.\n");
exit(0);
}
if (stricmp(_argv[1], "/?") == 0)
{
printf("\nKeen Dreams version 1.93\n");
printf("Copyright 1991-1993 Softdisk Publishing.\n\n");
printf("Commander Keen is a trademark of Id Software.\n");
printf("Type KDREAMS from the DOS prompt to run.\n\n");
printf("KDREAMS /COMP for SVGA compatibility mode\n");
printf("KDREAMS /NODR stops program hang with the drive still on\n");
printf("KDREAMS /NOAL disables AdLib and Sound Blaster detection\n");
printf("KDREAMS /NOSB disables Sound Blaster detection\n");
printf("KDREAMS /NOJOYS ignores joystick\n");
printf("KDREAMS /NOMOUSE ignores mouse\n");
printf("KDREAMS /HIDDENCARD overrides video card detection\n");
printf("KDREAMS /VER for version and compatibility information\n");
printf("KDREAMS /? for this help information\n");
exit(0);
}
textcolor(7);
textbackground(0);
InitGame();
DemoLoop(); // DemoLoop calls Quit when everything is done
BIN
View File
Binary file not shown.
+21 -27
View File
@@ -2,54 +2,48 @@
GAME CONTROLS
* * * * * * *
Here's a quick summary chart of the controls you can use. You can change some of the keyboard controls by pressing [F3] during play or while in the Control Panel.
Here's a quick summary chart of the controls you can use. You can change some of the keyboard controls by pressing [F3] during play or in the Control Panel.
MOVE KEEN AROUND:
Use the arrow keys (including those on the numeric keypad).
Use the arrow keys or joystick.
ENTER A NEW AREA:
Press the [CTRL] key when Keen is on top of a new area in the big map.
Press the [CTRL] key or joystick Button 1 when Keen is on top of a new area in the big map.
JUMP UP:
To make Keen jump, press the [CTRL] key.
To make Keen jump, press the [CTRL] key or joystick Button 1.
CLIMB A POLE:
To shinny up or slide down a pole, stand in front of the pole or jump up to it and use the up or down arrow keys to climb.
To shinny up or slide down a pole, stand in front of the pole or jump up to it and use the up or down arrow keys or the joystick to climb.
THROW:
To throw a Flower Power or Boobus Bomb, press the [ALT] key.
To throw a Flower Power or Boobus Bomb, press the [ALT] key or joystick Button 2.
JUMP DOWN:
If you are on a log, beam or other platform, you can jump down from it by pressing the down-arrow plus [CTRL] keys.
If you are on a log, beam or other platform, you can jump down from it by pressing the down-arrow plus [CTRL] keys or joystick Button 1 and the joystick down-position.
DUCK:
If you aren't on a pole, pressing down will make Keen duck. You can't duck in front of a pole---you'll climb down it!
DUCK:
If you aren't on a pole, pressing down will make Keen duck. You can't duck in front of a pole---you'll climb down it!
* * * * * * * * *
FUNCTION CONTROLS
* * * * * * * * *
* * * * * * *
FUNCTION KEYS
* * * * * * *
F1
Get Help
F1 - Get Help
F2
Turn Sound on/off
F2 - Turn Sound On/Off
F3
Configure keyboard controls
F3 - Configure keyboard and joystick controls
F4
Restart game
F4 - Restart Game
F5
New game
F5 - New Game
F6
Save or Load game
F6 - Save or Load game
ESC
Exit current mode
ESC- Exit current game
*** END OF THIS HELP SECTION ***
~
+86 -6
View File
@@ -1,11 +1,91 @@
You are in the Help Section of the Control Panel of KEEN DREAMS.
This Help section contains the following topics:
You can get full details of how to operate this game by reading or printing the INSTRUCTIONS section of the main options menu you found when you typed START to begin play.
ABOUT THE CONTROL PANEL
THE 6 CONTROL PANEL OPTIONS
CONTROL PANEL SHORTCUTS
FOR SUPER VGA USERS
COMMAND LINE PARAMETERS
A summary of the game controls can be found in the other 2 Help Sections here in the Control Panel.
* * * * * * * * * * *
Press ESC now to exit this section, then select the other Help Sections for more help.
* * * * * * * * * * *
ABOUT THE CONTROL PANEL
=======================
You are now in the Control Panel of KEEN DREAMS. The Control Panel is here to help you play the way you want to---but first, you need to know how to use the Help sections.
Use the arrow keys, the Page Up and Page Down keys, or your mouse to move through the text in these sections. Pressing the [ESC] key will exit out of the Help section.
Important note: There is no joystick option available in this game.
The 6 CONTROL PANEL OPTIONS
===========================
There are six options to choose from in the Control Panel. They are:
Game
Help
Disk
Controls
Sound Effects
Music
You can choose these sections by selecting the buttons on the left side of the screen. With the keyboard, use the arrows to move the ship cursor to the button you want, then press [ENTER]. The mouse can also move the ship cursor, and pushing the button will select the item the ship is on.
GAME OPTION
You can choose to start a new game in Easy, Normal, or Hard modes. These determine how long your Flower Powers last.
If you are in the middle of a game and haven't saved it, starting a new game will wipe out that old game forever.
You can also choose to resume a game if you went to the Control Panel in the middle of play.
HELP OPTION
This is where you are now.
DISK OPTION
You can save your current game or load a previously saved game here. You can name your saved game so you'll remember where you saved it. Loading a game will replace your current game (make sure you saved it). Saving over an old game will replace that game forever.
You can also "Exit to DOS," which will quit the game.
CONTROLS OPTION
You can control the game by keyboard. You can redefine which keys you wish to use to control Keen. In the Control Panel, you will always use the arrow keys and [ENTER].
SOUND EFFECTS OPTION
You can select to have sound effects played from your computer speaker or from speakers attached to a sound card installed in your computer.
MUSIC OPTION
Future games using this interface will include music. If you have an AdLib or SoundBlaster, you can choose to have background music playing. Otherwise, no music. We tried to make everything fit for Keen Dreams, but we had to opt for more levels and less frills, like music. (We tried, believe me!)
HOT KEYS: CONTROL PANEL SHORTCUTS
=================================
Some of the function keys provide quick shortcuts to parts of the control panel. Here's a quick list of them.
F1: Help
F2: Sounds
F3: Keyboard
F4: -unused-
F5: Restart Game
F6: Load/Save Game
F7: Music
ESC: Quit (or return to game, from Control Panel)
NOTE TO SUPER VGA OWNERS
========================
If you own a Speedstar VGA card or other non-100% compatible SVGA card, you'll need to type "KDREAMS /COMP" on the command line, instead of just "KDREAMS." This should fix all your problems.
COMMAND LINE PARAMETERS
=======================
When some documentation tells you to type more than just the name of the program you want to run (like we did above), those extra bits are called "command line parameters." This is a fancy term for extra information you can give the program when you run it. Normally, you will never have to type these. If the program is having trouble with your hardware, try the appropriate parameter. Here are some command line parameters that work with Commander Keen:
KDREAMS /NODR (Type this if the program hangs a lot with the drive still on.)
KDREAMS /NOAL (No AdLib or Sound Blaster detection.)
KDREAMS /NOSB (No Sound Blaster detection.)
KDREAMS /NOJOYS (Tell program to ignore joystick.)
KDREAMS /NOMOUSE (Tell program to ignore mouse.)
KDREAMS /HIDDENCARD (Overrides video card detection if the program seems to be detecting your video card incorrectly and not letting you play.)
Now go explore the Control Panel, and have fun playing Keen Dreams!
*** END OF THIS HELP SECTION ***
~
Binary file not shown.
Binary file not shown.