home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ee.lbl.gov
/
2014.05.ftp.ee.lbl.gov.tar
/
ftp.ee.lbl.gov
/
mtrek.shar.Z
/
mtrek.shar
/
twenty.ftn
< prev
next >
Wrap
Text File
|
1990-04-02
|
2KB
|
86 lines
SUBROUTINE TWENTY(INTMSG)
C
C Display messages from zip
C
C The bottom of the uses screen is broken up into 5 lines
C of 4 fields, i.e. 20 fields total. The possible messages
C are broken up into classes and are displayed and then
C cleared up later by the blanks entry point.
C
C The absolute cursor positions are stored in two arrays
C which are subscripted with the field number, which goes
C from 1 to 20.
C
C Layout for messages on screen bottom
C
C 1 4 3 2
C 7 5 12 11
C 15 8 10 14
C 9 16 17 18
C 13 6 19
C
INTEGER*2 INTMSG
GOTO (11001,11002,10001,11004,11005,11006,11007,11008,11009,
$ 11010,11011,11012,11013,11014,10001,10001,11017,11018,11019,
$ 11020,11021,11022,11023,11024,11025,11026,11027,11028,11029,
$ 10001,11031,11032)INTMSG
11001 CALL WRTMSG(1,'We are docked. ')
GOTO 10001
11002 CALL WRTMSG(1,'* We hit a star! ')
GOTO 10001
11004 CALL WRTMSG(2,'* Hit by torpedo!')
GOTO 10001
11005 CALL WRTMSG(3,'Torpedo hit alien.')
GOTO 10001
11006 CALL WRTMSG(4,'Phaser hit alien.')
GOTO 10001
11007 CALL WRTMSG(5,'Phaser hit torpedo.')
GOTO 10001
11008 CALL WRTMSG(6,'Phaser missed.')
GOTO 10001
11009 CALL WRTMSG(1,'* We rammed a ship!')
GOTO 10001
11010 CALL WRTMSG(7,'* Alien rammed us!')
GOTO 10001
11011 CALL WRTMSG(8,'Phaser hit on star.')
GOTO 10001
11012 CALL WRTMSG(9,'* Hit on star base!')
GOTO 10001
11013 CALL WRTMSG(10,'Torpedo hit star.')
GOTO 10001
11014 CALL WRTMSG(11,'* Phaser hit shield')
GOTO 10001
11017 CALL WRTMSG(1,'Hyperspace entered.')
GOTO 10001
11018 CALL WRTMSG(1,'Hyperspace blocked.')
GOTO 10001
11019 CALL WRTMSG(1,'Hit a space warp! ')
GOTO 10001
11020 CALL WRTMSG(12,'Torpedo on torpedo.')
GOTO 10001
11021 CALL WRTMSG(13,'Hit on ghost ship.')
GOTO 10001
11022 CALL WRTMSG(14,'* Alien destroyed!')
GOTO 10001
11023 CALL WRTMSG(15,'Launch blocked. ')
GOTO 10001
11024 CALL WRTMSG(15,'Pod was destroyed.')
GOTO 10001
11025 CALL WRTMSG(16,'Phaser hit on pod.')
GOTO 10001
11026 CALL WRTMSG(17,'Torpedo hit pod.')
GOTO 10001
11027 CALL WRTMSG(1,'* We rammed a pod! ')
GOTO 10001
11028 CALL WRTMSG(15,'Pod launched. ')
GOTO 10001
11029 CALL WRTMSG(15,'Pod detonated. ')
GOTO 10001
11031 CALL WRTMSG(18,'IIEEEEEE!')
GOTO 10001
11032 CALL WRTMSG(19,'* Hit our torpedo!')
10001 RETURN
END