home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / Sub Hunter264779152001.psc / main.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  2001-09-15  |  42.0 KB  |  1,268 lines

  1. VERSION 5.00
  2. Begin VB.Form Form1 
  3.    Caption         =   "Submarine Hunter v 2.0"
  4.    ClientHeight    =   5655
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   7455
  8.    ClipControls    =   0   'False
  9.    ControlBox      =   0   'False
  10.    BeginProperty Font 
  11.       Name            =   "Tahoma"
  12.       Size            =   8.25
  13.       Charset         =   0
  14.       Weight          =   400
  15.       Underline       =   0   'False
  16.       Italic          =   0   'False
  17.       Strikethrough   =   0   'False
  18.    EndProperty
  19.    Icon            =   "main.frx":0000
  20.    KeyPreview      =   -1  'True
  21.    LinkTopic       =   "Form1"
  22.    ScaleHeight     =   5655
  23.    ScaleWidth      =   7455
  24.    StartUpPosition =   2  'CenterScreen
  25.    Begin VB.PictureBox PicBossM 
  26.       AutoRedraw      =   -1  'True
  27.       AutoSize        =   -1  'True
  28.       BorderStyle     =   0  'None
  29.       BeginProperty Font 
  30.          Name            =   "MS Sans Serif"
  31.          Size            =   8.25
  32.          Charset         =   0
  33.          Weight          =   400
  34.          Underline       =   0   'False
  35.          Italic          =   0   'False
  36.          Strikethrough   =   0   'False
  37.       EndProperty
  38.       Height          =   510
  39.       Left            =   8940
  40.       Picture         =   "main.frx":030A
  41.       ScaleHeight     =   34
  42.       ScaleMode       =   3  'Pixel
  43.       ScaleWidth      =   70
  44.       TabIndex        =   42
  45.       Top             =   4620
  46.       Visible         =   0   'False
  47.       Width           =   1050
  48.    End
  49.    Begin VB.PictureBox PicBoss 
  50.       AutoRedraw      =   -1  'True
  51.       AutoSize        =   -1  'True
  52.       BorderStyle     =   0  'None
  53.       BeginProperty Font 
  54.          Name            =   "MS Sans Serif"
  55.          Size            =   8.25
  56.          Charset         =   0
  57.          Weight          =   400
  58.          Underline       =   0   'False
  59.          Italic          =   0   'False
  60.          Strikethrough   =   0   'False
  61.       EndProperty
  62.       Height          =   510
  63.       Left            =   8940
  64.       Picture         =   "main.frx":1F74
  65.       ScaleHeight     =   34
  66.       ScaleMode       =   3  'Pixel
  67.       ScaleWidth      =   70
  68.       TabIndex        =   41
  69.       Top             =   4080
  70.       Visible         =   0   'False
  71.       Width           =   1050
  72.    End
  73.    Begin VB.PictureBox PicSignM 
  74.       AutoRedraw      =   -1  'True
  75.       BackColor       =   &H00FFFFFF&
  76.       BorderStyle     =   0  'None
  77.       BeginProperty Font 
  78.          Name            =   "Tahoma"
  79.          Size            =   8.25
  80.          Charset         =   0
  81.          Weight          =   700
  82.          Underline       =   0   'False
  83.          Italic          =   0   'False
  84.          Strikethrough   =   0   'False
  85.       EndProperty
  86.       ForeColor       =   &H00000000&
  87.       Height          =   315
  88.       Left            =   9360
  89.       ScaleHeight     =   21
  90.       ScaleMode       =   3  'Pixel
  91.       ScaleWidth      =   49
  92.       TabIndex        =   40
  93.       Top             =   660
  94.       Visible         =   0   'False
  95.       Width           =   735
  96.    End
  97.    Begin VB.PictureBox PicSign 
  98.       AutoRedraw      =   -1  'True
  99.       BackColor       =   &H00000000&
  100.       BorderStyle     =   0  'None
  101.       BeginProperty Font 
  102.          Name            =   "Tahoma"
  103.          Size            =   8.25
  104.          Charset         =   0
  105.          Weight          =   700
  106.          Underline       =   0   'False
  107.          Italic          =   0   'False
  108.          Strikethrough   =   0   'False
  109.       EndProperty
  110.       ForeColor       =   &H0000FFFF&
  111.       Height          =   315
  112.       Left            =   9360
  113.       ScaleHeight     =   21
  114.       ScaleMode       =   3  'Pixel
  115.       ScaleWidth      =   49
  116.       TabIndex        =   39
  117.       Top             =   300
  118.       Visible         =   0   'False
  119.       Width           =   735
  120.    End
  121.    Begin VB.PictureBox PicExpM 
  122.       AutoRedraw      =   -1  'True
  123.       AutoSize        =   -1  'True
  124.       BorderStyle     =   0  'None
  125.       BeginProperty Font 
  126.          Name            =   "MS Sans Serif"
  127.          Size            =   8.25
  128.          Charset         =   0
  129.          Weight          =   400
  130.          Underline       =   0   'False
  131.          Italic          =   0   'False
  132.          Strikethrough   =   0   'False
  133.       EndProperty
  134.       Height          =   900
  135.       Index           =   3
  136.       Left            =   9780
  137.       Picture         =   "main.frx":3BDE
  138.       ScaleHeight     =   60
  139.       ScaleMode       =   3  'Pixel
  140.       ScaleWidth      =   67
  141.       TabIndex        =   38
  142.       Top             =   2520
  143.       Visible         =   0   'False
  144.       Width           =   1005
  145.    End
  146.    Begin VB.PictureBox PicExpM 
  147.       AutoRedraw      =   -1  'True
  148.       AutoSize        =   -1  'True
  149.       BorderStyle     =   0  'None
  150.       BeginProperty Font 
  151.          Name            =   "MS Sans Serif"
  152.          Size            =   8.25
  153.          Charset         =   0
  154.          Weight          =   400
  155.          Underline       =   0   'False
  156.          Italic          =   0   'False
  157.          Strikethrough   =   0   'False
  158.       EndProperty
  159.       Height          =   900
  160.       Index           =   2
  161.       Left            =   9720
  162.       Picture         =   "main.frx":6BF0
  163.       ScaleHeight     =   60
  164.       ScaleMode       =   3  'Pixel
  165.       ScaleWidth      =   67
  166.       TabIndex        =   37
  167.       Top             =   2400
  168.       Visible         =   0   'False
  169.       Width           =   1005
  170.    End
  171.    Begin VB.PictureBox PicExpM 
  172.       AutoRedraw      =   -1  'True
  173.       AutoSize        =   -1  'True
  174.       BorderStyle     =   0  'None
  175.       BeginProperty Font 
  176.          Name            =   "MS Sans Serif"
  177.          Size            =   8.25
  178.          Charset         =   0
  179.          Weight          =   400
  180.          Underline       =   0   'False
  181.          Italic          =   0   'False
  182.          Strikethrough   =   0   'False
  183.       EndProperty
  184.       Height          =   900
  185.       Index           =   1
  186.       Left            =   9600
  187.       Picture         =   "main.frx":9C02
  188.       ScaleHeight     =   60
  189.       ScaleMode       =   3  'Pixel
  190.       ScaleWidth      =   67
  191.       TabIndex        =   36
  192.       Top             =   2280
  193.       Visible         =   0   'False
  194.       Width           =   1005
  195.    End
  196.    Begin VB.PictureBox PicExpM 
  197.       AutoRedraw      =   -1  'True
  198.       AutoSize        =   -1  'True
  199.       BorderStyle     =   0  'None
  200.       BeginProperty Font 
  201.          Name            =   "MS Sans Serif"
  202.          Size            =   8.25
  203.          Charset         =   0
  204.          Weight          =   400
  205.          Underline       =   0   'False
  206.          Italic          =   0   'False
  207.          Strikethrough   =   0   'False
  208.       EndProperty
  209.       Height          =   900
  210.       Index           =   0
  211.       Left            =   9480
  212.       Picture         =   "main.frx":CC14
  213.       ScaleHeight     =   60
  214.       ScaleMode       =   3  'Pixel
  215.       ScaleWidth      =   67
  216.       TabIndex        =   35
  217.       Top             =   2160
  218.       Visible         =   0   'False
  219.       Width           =   1005
  220.    End
  221.    Begin VB.PictureBox PicExp 
  222.       AutoRedraw      =   -1  'True
  223.       AutoSize        =   -1  'True
  224.       BorderStyle     =   0  'None
  225.       BeginProperty Font 
  226.          Name            =   "MS Sans Serif"
  227.          Size            =   8.25
  228.          Charset         =   0
  229.          Weight          =   400
  230.          Underline       =   0   'False
  231.          Italic          =   0   'False
  232.          Strikethrough   =   0   'False
  233.       EndProperty
  234.       Height          =   900
  235.       Index           =   3
  236.       Left            =   8580
  237.       Picture         =   "main.frx":FC26
  238.       ScaleHeight     =   60
  239.       ScaleMode       =   3  'Pixel
  240.       ScaleWidth      =   67
  241.       TabIndex        =   34
  242.       Top             =   2880
  243.       Visible         =   0   'False
  244.       Width           =   1005
  245.    End
  246.    Begin VB.PictureBox PicExp 
  247.       AutoRedraw      =   -1  'True
  248.       AutoSize        =   -1  'True
  249.       BorderStyle     =   0  'None
  250.       BeginProperty Font 
  251.          Name            =   "MS Sans Serif"
  252.          Size            =   8.25
  253.          Charset         =   0
  254.          Weight          =   400
  255.          Underline       =   0   'False
  256.          Italic          =   0   'False
  257.          Strikethrough   =   0   'False
  258.       EndProperty
  259.       Height          =   900
  260.       Index           =   2
  261.       Left            =   8520
  262.       Picture         =   "main.frx":12C38
  263.       ScaleHeight     =   60
  264.       ScaleMode       =   3  'Pixel
  265.       ScaleWidth      =   67
  266.       TabIndex        =   33
  267.       Top             =   2640
  268.       Visible         =   0   'False
  269.       Width           =   1005
  270.    End
  271.    Begin VB.PictureBox PicExp 
  272.       AutoRedraw      =   -1  'True
  273.       AutoSize        =   -1  'True
  274.       BorderStyle     =   0  'None
  275.       BeginProperty Font 
  276.          Name            =   "MS Sans Serif"
  277.          Size            =   8.25
  278.          Charset         =   0
  279.          Weight          =   400
  280.          Underline       =   0   'False
  281.          Italic          =   0   'False
  282.          Strikethrough   =   0   'False
  283.       EndProperty
  284.       Height          =   900
  285.       Index           =   1
  286.       Left            =   8460
  287.       Picture         =   "main.frx":15C4A
  288.       ScaleHeight     =   60
  289.       ScaleMode       =   3  'Pixel
  290.       ScaleWidth      =   67
  291.       TabIndex        =   32
  292.       Top             =   2400
  293.       Visible         =   0   'False
  294.       Width           =   1005
  295.    End
  296.    Begin VB.PictureBox PicExp 
  297.       AutoRedraw      =   -1  'True
  298.       AutoSize        =   -1  'True
  299.       BorderStyle     =   0  'None
  300.       BeginProperty Font 
  301.          Name            =   "MS Sans Serif"
  302.          Size            =   8.25
  303.          Charset         =   0
  304.          Weight          =   400
  305.          Underline       =   0   'False
  306.          Italic          =   0   'False
  307.          Strikethrough   =   0   'False
  308.       EndProperty
  309.       Height          =   900
  310.       Index           =   0
  311.       Left            =   8400
  312.       Picture         =   "main.frx":18C5C
  313.       ScaleHeight     =   60
  314.       ScaleMode       =   3  'Pixel
  315.       ScaleWidth      =   67
  316.       TabIndex        =   31
  317.       Top             =   2160
  318.       Visible         =   0   'False
  319.       Width           =   1005
  320.    End
  321.    Begin VB.PictureBox PicElvM 
  322.       AutoRedraw      =   -1  'True
  323.       AutoSize        =   -1  'True
  324.       BorderStyle     =   0  'None
  325.       BeginProperty Font 
  326.          Name            =   "MS Sans Serif"
  327.          Size            =   8.25
  328.          Charset         =   0
  329.          Weight          =   400
  330.          Underline       =   0   'False
  331.          Italic          =   0   'False
  332.          Strikethrough   =   0   'False
  333.       EndProperty
  334.       Height          =   180
  335.       Index           =   2
  336.       Left            =   8700
  337.       Picture         =   "main.frx":1BC6E
  338.       ScaleHeight     =   12
  339.       ScaleMode       =   3  'Pixel
  340.       ScaleWidth      =   23
  341.       TabIndex        =   30
  342.       Top             =   1920
  343.       Visible         =   0   'False
  344.       Width           =   345
  345.    End
  346.    Begin VB.PictureBox PicElvM 
  347.       AutoRedraw      =   -1  'True
  348.       AutoSize        =   -1  'True
  349.       BorderStyle     =   0  'None
  350.       BeginProperty Font 
  351.          Name            =   "MS Sans Serif"
  352.          Size            =   8.25
  353.          Charset         =   0
  354.          Weight          =   400
  355.          Underline       =   0   'False
  356.          Italic          =   0   'False
  357.          Strikethrough   =   0   'False
  358.       EndProperty
  359.       Height          =   180
  360.       Index           =   1
  361.       Left            =   8700
  362.       Picture         =   "main.frx":1C010
  363.       ScaleHeight     =   12
  364.       ScaleMode       =   3  'Pixel
  365.       ScaleWidth      =   23
  366.       TabIndex        =   29
  367.       Top             =   1740
  368.       Visible         =   0   'False
  369.       Width           =   345
  370.    End
  371.    Begin VB.PictureBox PicElvM 
  372.       AutoRedraw      =   -1  'True
  373.       AutoSize        =   -1  'True
  374.       BorderStyle     =   0  'None
  375.       BeginProperty Font 
  376.          Name            =   "MS Sans Serif"
  377.          Size            =   8.25
  378.          Charset         =   0
  379.          Weight          =   400
  380.          Underline       =   0   'False
  381.          Italic          =   0   'False
  382.          Strikethrough   =   0   'False
  383.       EndProperty
  384.       Height          =   180
  385.       Index           =   0
  386.       Left            =   8700
  387.       Picture         =   "main.frx":1C3B2
  388.       ScaleHeight     =   12
  389.       ScaleMode       =   3  'Pixel
  390.       ScaleWidth      =   23
  391.       TabIndex        =   28
  392.       Top             =   1560
  393.       Visible         =   0   'False
  394.       Width           =   345
  395.    End
  396.    Begin VB.PictureBox PicElv 
  397.       AutoRedraw      =   -1  'True
  398.       AutoSize        =   -1  'True
  399.       BorderStyle     =   0  'None
  400.       BeginProperty Font 
  401.          Name            =   "MS Sans Serif"
  402.          Size            =   8.25
  403.          Charset         =   0
  404.          Weight          =   400
  405.          Underline       =   0   'False
  406.          Italic          =   0   'False
  407.          Strikethrough   =   0   'False
  408.       EndProperty
  409.       Height          =   180
  410.       Index           =   2
  411.       Left            =   8340
  412.       Picture         =   "main.frx":1C754
  413.       ScaleHeight     =   12
  414.       ScaleMode       =   3  'Pixel
  415.       ScaleWidth      =   23
  416.       TabIndex        =   27
  417.       Top             =   1920
  418.       Visible         =   0   'False
  419.       Width           =   345
  420.    End
  421.    Begin VB.PictureBox PicElv 
  422.       AutoRedraw      =   -1  'True
  423.       AutoSize        =   -1  'True
  424.       BorderStyle     =   0  'None
  425.       BeginProperty Font 
  426.          Name            =   "MS Sans Serif"
  427.          Size            =   8.25
  428.          Charset         =   0
  429.          Weight          =   400
  430.          Underline       =   0   'False
  431.          Italic          =   0   'False
  432.          Strikethrough   =   0   'False
  433.       EndProperty
  434.       Height          =   180
  435.       Index           =   1
  436.       Left            =   8340
  437.       Picture         =   "main.frx":1CAF6
  438.       ScaleHeight     =   12
  439.       ScaleMode       =   3  'Pixel
  440.       ScaleWidth      =   23
  441.       TabIndex        =   26
  442.       Top             =   1740
  443.       Visible         =   0   'False
  444.       Width           =   345
  445.    End
  446.    Begin VB.PictureBox PicElv 
  447.       AutoRedraw      =   -1  'True
  448.       AutoSize        =   -1  'True
  449.       BorderStyle     =   0  'None
  450.       BeginProperty Font 
  451.          Name            =   "MS Sans Serif"
  452.          Size            =   8.25
  453.          Charset         =   0
  454.          Weight          =   400
  455.          Underline       =   0   'False
  456.          Italic          =   0   'False
  457.          Strikethrough   =   0   'False
  458.       EndProperty
  459.       Height          =   180
  460.       Index           =   0
  461.       Left            =   8340
  462.       Picture         =   "main.frx":1CE98
  463.       ScaleHeight     =   12
  464.       ScaleMode       =   3  'Pixel
  465.       ScaleWidth      =   23
  466.       TabIndex        =   25
  467.       Top             =   1560
  468.       Visible         =   0   'False
  469.       Width           =   345
  470.    End
  471.    Begin VB.PictureBox PicPlane2 
  472.       AutoRedraw      =   -1  'True
  473.       AutoSize        =   -1  'True
  474.       BorderStyle     =   0  'None
  475.       BeginProperty Font 
  476.          Name            =   "MS Sans Serif"
  477.          Size            =   8.25
  478.          Charset         =   0
  479.          Weight          =   400
  480.          Underline       =   0   'False
  481.          Italic          =   0   'False
  482.          Strikethrough   =   0   'False
  483.       EndProperty
  484.       Height          =   180
  485.       Left            =   6840
  486.       Picture         =   "main.frx":1D23A
  487.       ScaleHeight     =   12
  488.       ScaleMode       =   3  'Pixel
  489.       ScaleWidth      =   29
  490.       TabIndex        =   24
  491.       Top             =   3780
  492.       Visible         =   0   'False
  493.       Width           =   435
  494.    End
  495.    Begin VB.PictureBox PicPlane2M 
  496.       AutoRedraw      =   -1  'True
  497.       AutoSize        =   -1  'True
  498.       BorderStyle     =   0  'None
  499.       BeginProperty Font 
  500.          Name            =   "MS Sans Serif"
  501.          Size            =   8.25
  502.          Charset         =   0
  503.          Weight          =   400
  504.          Underline       =   0   'False
  505.          Italic          =   0   'False
  506.          Strikethrough   =   0   'False
  507.       EndProperty
  508.       Height          =   180
  509.       Left            =   6840
  510.       Picture         =   "main.frx":1D69C
  511.       ScaleHeight     =   12
  512.       ScaleMode       =   3  'Pixel
  513.       ScaleWidth      =   29
  514.       TabIndex        =   23
  515.       Top             =   4080
  516.       Visible         =   0   'False
  517.       Width           =   435
  518.    End
  519.    Begin VB.PictureBox PicPlane1 
  520.       AutoRedraw      =   -1  'True
  521.       AutoSize        =   -1  'True
  522.       BorderStyle     =   0  'None
  523.       BeginProperty Font 
  524.          Name            =   "MS Sans Serif"
  525.          Size            =   8.25
  526.          Charset         =   0
  527.          Weight          =   400
  528.          Underline       =   0   'False
  529.          Italic          =   0   'False
  530.          Strikethrough   =   0   'False
  531.       EndProperty
  532.       Height          =   180
  533.       Left            =   6360
  534.       Picture         =   "main.frx":1DAFE
  535.       ScaleHeight     =   12
  536.       ScaleMode       =   3  'Pixel
  537.       ScaleWidth      =   29
  538.       TabIndex        =   22
  539.       Top             =   3780
  540.       Visible         =   0   'False
  541.       Width           =   435
  542.    End
  543.    Begin VB.PictureBox PicPlane1M 
  544.       AutoRedraw      =   -1  'True
  545.       AutoSize        =   -1  'True
  546.       BorderStyle     =   0  'None
  547.       BeginProperty Font 
  548.          Name            =   "MS Sans Serif"
  549.          Size            =   8.25
  550.          Charset         =   0
  551.          Weight          =   400
  552.          Underline       =   0   'False
  553.          Italic          =   0   'False
  554.          Strikethrough   =   0   'False
  555.       EndProperty
  556.       Height          =   180
  557.       Left            =   6360
  558.       Picture         =   "main.frx":1DF60
  559.       ScaleHeight     =   12
  560.       ScaleMode       =   3  'Pixel
  561.       ScaleWidth      =   29
  562.       TabIndex        =   21
  563.       Top             =   4080
  564.       Visible         =   0   'False
  565.       Width           =   435
  566.    End
  567.    Begin VB.PictureBox PicExit 
  568.       Appearance      =   0  'Flat
  569.       AutoRedraw      =   -1  'True
  570.       AutoSize        =   -1  'True
  571.       BackColor       =   &H80000005&
  572.       FillColor       =   &H00FFFFFF&
  573.       BeginProperty Font 
  574.          Name            =   "MS Sans Serif"
  575.          Size            =   8.25
  576.          Charset         =   0
  577.          Weight          =   400
  578.          Underline       =   0   'False
  579.          Italic          =   0   'False
  580.          Strikethrough   =   0   'False
  581.       EndProperty
  582.       ForeColor       =   &H00000000&
  583.       Height          =   330
  584.       Left            =   6360
  585.       Picture         =   "main.frx":1E3C2
  586.       ScaleHeight     =   300
  587.       ScaleWidth      =   900
  588.       TabIndex        =   18
  589.       Top             =   5220
  590.       Width           =   930
  591.    End
  592.    Begin VB.PictureBox PicCrash2M 
  593.       AutoRedraw      =   -1  'True
  594.       AutoSize        =   -1  'True
  595.       BorderStyle     =   0  'None
  596.       BeginProperty Font 
  597.          Name            =   "MS Sans Serif"
  598.          Size            =   8.25
  599.          Charset         =   0
  600.          Weight          =   400
  601.          Underline       =   0   'False
  602.          Italic          =   0   'False
  603.          Strikethrough   =   0   'False
  604.       EndProperty
  605.       Height          =   285
  606.       Left            =   7560
  607.       Picture         =   "main.frx":1F214
  608.       ScaleHeight     =   19
  609.       ScaleMode       =   3  'Pixel
  610.       ScaleWidth      =   37
  611.       TabIndex        =   17
  612.       Top             =   5160
  613.       Visible         =   0   'False
  614.       Width           =   555
  615.    End
  616.    Begin VB.PictureBox PicCrash2 
  617.       AutoRedraw      =   -1  'True
  618.       AutoSize        =   -1  'True
  619.       BorderStyle     =   0  'None
  620.       BeginProperty Font 
  621.          Name            =   "MS Sans Serif"
  622.          Size            =   8.25
  623.          Charset         =   0
  624.          Weight          =   400
  625.          Underline       =   0   'False
  626.          Italic          =   0   'False
  627.          Strikethrough   =   0   'False
  628.       EndProperty
  629.       Height          =   285
  630.       Left            =   7560
  631.       Picture         =   "main.frx":1FAA6
  632.       ScaleHeight     =   19
  633.       ScaleMode       =   3  'Pixel
  634.       ScaleWidth      =   37
  635.       TabIndex        =   16
  636.       Top             =   4800
  637.       Visible         =   0   'False
  638.       Width           =   555
  639.    End
  640.    Begin VB.PictureBox PicCrash1M 
  641.       AutoRedraw      =   -1  'True
  642.       AutoSize        =   -1  'True
  643.       BorderStyle     =   0  'None
  644.       BeginProperty Font 
  645.          Name            =   "MS Sans Serif"
  646.          Size            =   8.25
  647.          Charset         =   0
  648.          Weight          =   400
  649.          Underline       =   0   'False
  650.          Italic          =   0   'False
  651.          Strikethrough   =   0   'False
  652.       EndProperty
  653.       Height          =   285
  654.       Left            =   7500
  655.       Picture         =   "main.frx":20338
  656.       ScaleHeight     =   19
  657.       ScaleMode       =   3  'Pixel
  658.       ScaleWidth      =   37
  659.       TabIndex        =   15
  660.       Top             =   4440
  661.       Visible         =   0   'False
  662.       Width           =   555
  663.    End
  664.    Begin VB.PictureBox PicCrash1 
  665.       AutoRedraw      =   -1  'True
  666.       AutoSize        =   -1  'True
  667.       BorderStyle     =   0  'None
  668.       BeginProperty Font 
  669.          Name            =   "MS Sans Serif"
  670.          Size            =   8.25
  671.          Charset         =   0
  672.          Weight          =   400
  673.          Underline       =   0   'False
  674.          Italic          =   0   'False
  675.          Strikethrough   =   0   'False
  676.       EndProperty
  677.       Height          =   285
  678.       Left            =   7560
  679.       Picture         =   "main.frx":20BCA
  680.       ScaleHeight     =   19
  681.       ScaleMode       =   3  'Pixel
  682.       ScaleWidth      =   37
  683.       TabIndex        =   14
  684.       Top             =   4020
  685.       Visible         =   0   'False
  686.       Width           =   555
  687.    End
  688.    Begin VB.PictureBox Pic3 
  689.       AutoRedraw      =   -1  'True
  690.       AutoSize        =   -1  'True
  691.       BackColor       =   &H00FFFFFF&
  692.       Height          =   5460
  693.       Left            =   4620
  694.       ScaleHeight     =   360
  695.       ScaleMode       =   3  'Pixel
  696.       ScaleWidth      =   400
  697.       TabIndex        =   13
  698.       Top             =   6180
  699.       Width           =   6060
  700.    End
  701.    Begin VB.PictureBox Pic2 
  702.       AutoRedraw      =   -1  'True
  703.       AutoSize        =   -1  'True
  704.       BackColor       =   &H00FFFFFF&
  705.       Height          =   5460
  706.       Left            =   120
  707.       ScaleHeight     =   360
  708.       ScaleMode       =   3  'Pixel
  709.       ScaleWidth      =   400
  710.       TabIndex        =   11
  711.       Top             =   6000
  712.       Width           =   6060
  713.    End
  714.    Begin VB.PictureBox Pic1 
  715.       AutoRedraw      =   -1  'True
  716.       AutoSize        =   -1  'True
  717.       BackColor       =   &H00000000&
  718.       Height          =   5460
  719.       Left            =   8220
  720.       ScaleHeight     =   360
  721.       ScaleMode       =   3  'Pixel
  722.       ScaleWidth      =   400
  723.       TabIndex        =   12
  724.       Top             =   6060
  725.       Width           =   6060
  726.    End
  727.    Begin VB.PictureBox PicSub2 
  728.       AutoRedraw      =   -1  'True
  729.       AutoSize        =   -1  'True
  730.       BorderStyle     =   0  'None
  731.       BeginProperty Font 
  732.          Name            =   "MS Sans Serif"
  733.          Size            =   8.25
  734.          Charset         =   0
  735.          Weight          =   400
  736.          Underline       =   0   'False
  737.          Italic          =   0   'False
  738.          Strikethrough   =   0   'False
  739.       EndProperty
  740.       Height          =   150
  741.       Left            =   7560
  742.       Picture         =   "main.frx":2145C
  743.       ScaleHeight     =   10
  744.       ScaleMode       =   3  'Pixel
  745.       ScaleWidth      =   36
  746.       TabIndex        =   10
  747.       Top             =   3300
  748.       Visible         =   0   'False
  749.       Width           =   540
  750.    End
  751.    Begin VB.PictureBox PicSub2M 
  752.       AutoRedraw      =   -1  'True
  753.       AutoSize        =   -1  'True
  754.       BorderStyle     =   0  'None
  755.       BeginProperty Font 
  756.          Name            =   "MS Sans Serif"
  757.          Size            =   8.25
  758.          Charset         =   0
  759.          Weight          =   400
  760.          Underline       =   0   'False
  761.          Italic          =   0   'False
  762.          Strikethrough   =   0   'False
  763.       EndProperty
  764.       Height          =   150
  765.       Left            =   7560
  766.       Picture         =   "main.frx":218D6
  767.       ScaleHeight     =   10
  768.       ScaleMode       =   3  'Pixel
  769.       ScaleWidth      =   36
  770.       TabIndex        =   9
  771.       Top             =   3540
  772.       Visible         =   0   'False
  773.       Width           =   540
  774.    End
  775.    Begin VB.PictureBox PicSub1M 
  776.       AutoRedraw      =   -1  'True
  777.       AutoSize        =   -1  'True
  778.       BorderStyle     =   0  'None
  779.       BeginProperty Font 
  780.          Name            =   "MS Sans Serif"
  781.          Size            =   8.25
  782.          Charset         =   0
  783.          Weight          =   400
  784.          Underline       =   0   'False
  785.          Italic          =   0   'False
  786.          Strikethrough   =   0   'False
  787.       EndProperty
  788.       Height          =   150
  789.       Left            =   7560
  790.       Picture         =   "main.frx":21D50
  791.       ScaleHeight     =   10
  792.       ScaleMode       =   3  'Pixel
  793.       ScaleWidth      =   36
  794.       TabIndex        =   8
  795.       Top             =   3000
  796.       Visible         =   0   'False
  797.       Width           =   540
  798.    End
  799.    Begin VB.PictureBox PicSub1 
  800.       AutoRedraw      =   -1  'True
  801.       AutoSize        =   -1  'True
  802.       BorderStyle     =   0  'None
  803.       BeginProperty Font 
  804.          Name            =   "MS Sans Serif"
  805.          Size            =   8.25
  806.          Charset         =   0
  807.          Weight          =   400
  808.          Underline       =   0   'False
  809.          Italic          =   0   'False
  810.          Strikethrough   =   0   'False
  811.       EndProperty
  812.       Height          =   150
  813.       Left            =   7560
  814.       Picture         =   "main.frx":221CA
  815.       ScaleHeight     =   10
  816.       ScaleMode       =   3  'Pixel
  817.       ScaleWidth      =   36
  818.       TabIndex        =   7
  819.       Top             =   2760
  820.       Visible         =   0   'False
  821.       Width           =   540
  822.    End
  823.    Begin VB.PictureBox PicShip2 
  824.       AutoRedraw      =   -1  'True
  825.       AutoSize        =   -1  'True
  826.       BorderStyle     =   0  'None
  827.       BeginProperty Font 
  828.          Name            =   "MS Sans Serif"
  829.          Size            =   8.25
  830.          Charset         =   0
  831.          Weight          =   400
  832.          Underline       =   0   'False
  833.          Italic          =   0   'False
  834.          Strikethrough   =   0   'False
  835.       EndProperty
  836.       Height          =   210
  837.       Left            =   7500
  838.       Picture         =   "main.frx":22644
  839.       ScaleHeight     =   14
  840.       ScaleMode       =   3  'Pixel
  841.       ScaleWidth      =   53
  842.       TabIndex        =   6
  843.       Top             =   1560
  844.       Visible         =   0   'False
  845.       Width           =   795
  846.    End
  847.    Begin VB.PictureBox PicShip2M 
  848.       AutoRedraw      =   -1  'True
  849.       AutoSize        =   -1  'True
  850.       BorderStyle     =   0  'None
  851.       BeginProperty Font 
  852.          Name            =   "MS Sans Serif"
  853.          Size            =   8.25
  854.          Charset         =   0
  855.          Weight          =   400
  856.          Underline       =   0   'False
  857.          Italic          =   0   'False
  858.          Strikethrough   =   0   'False
  859.       EndProperty
  860.       Height          =   210
  861.       Left            =   7500
  862.       Picture         =   "main.frx":22F46
  863.       ScaleHeight     =   14
  864.       ScaleMode       =   3  'Pixel
  865.       ScaleWidth      =   53
  866.       TabIndex        =   5
  867.       Top             =   1860
  868.       Visible         =   0   'False
  869.       Width           =   795
  870.    End
  871.    Begin VB.PictureBox PicMineM 
  872.       AutoRedraw      =   -1  'True
  873.       AutoSize        =   -1  'True
  874.       BorderStyle     =   0  'None
  875.       BeginProperty Font 
  876.          Name            =   "MS Sans Serif"
  877.          Size            =   8.25
  878.          Charset         =   0
  879.          Weight          =   400
  880.          Underline       =   0   'False
  881.          Italic          =   0   'False
  882.          Strikethrough   =   0   'False
  883.       EndProperty
  884.       Height          =   90
  885.       Left            =   7680
  886.       Picture         =   "main.frx":23848
  887.       ScaleHeight     =   6
  888.       ScaleMode       =   3  'Pixel
  889.       ScaleWidth      =   6
  890.       TabIndex        =   4
  891.       Top             =   2460
  892.       Visible         =   0   'False
  893.       Width           =   90
  894.    End
  895.    Begin VB.PictureBox PicMine 
  896.       AutoRedraw      =   -1  'True
  897.       AutoSize        =   -1  'True
  898.       BorderStyle     =   0  'None
  899.       BeginProperty Font 
  900.          Name            =   "MS Sans Serif"
  901.          Size            =   8.25
  902.          Charset         =   0
  903.          Weight          =   400
  904.          Underline       =   0   'False
  905.          Italic          =   0   'False
  906.          Strikethrough   =   0   'False
  907.       EndProperty
  908.       Height          =   90
  909.       Left            =   7680
  910.       Picture         =   "main.frx":23902
  911.       ScaleHeight     =   6
  912.       ScaleMode       =   3  'Pixel
  913.       ScaleWidth      =   6
  914.       TabIndex        =   3
  915.       Top             =   2340
  916.       Visible         =   0   'False
  917.       Width           =   90
  918.    End
  919.    Begin VB.PictureBox PicShipM 
  920.       AutoRedraw      =   -1  'True
  921.       AutoSize        =   -1  'True
  922.       BorderStyle     =   0  'None
  923.       BeginProperty Font 
  924.          Name            =   "MS Sans Serif"
  925.          Size            =   8.25
  926.          Charset         =   0
  927.          Weight          =   400
  928.          Underline       =   0   'False
  929.          Italic          =   0   'False
  930.          Strikethrough   =   0   'False
  931.       EndProperty
  932.       Height          =   210
  933.       Left            =   7380
  934.       Picture         =   "main.frx":239BC
  935.       ScaleHeight     =   14
  936.       ScaleMode       =   3  'Pixel
  937.       ScaleWidth      =   53
  938.       TabIndex        =   2
  939.       Top             =   4020
  940.       Visible         =   0   'False
  941.       Width           =   795
  942.    End
  943.    Begin VB.PictureBox PicShip 
  944.       AutoRedraw      =   -1  'True
  945.       AutoSize        =   -1  'True
  946.       BorderStyle     =   0  'None
  947.       BeginProperty Font 
  948.          Name            =   "MS Sans Serif"
  949.          Size            =   8.25
  950.          Charset         =   0
  951.          Weight          =   400
  952.          Underline       =   0   'False
  953.          Italic          =   0   'False
  954.          Strikethrough   =   0   'False
  955.       EndProperty
  956.       Height          =   210
  957.       Left            =   7380
  958.       Picture         =   "main.frx":242BE
  959.       ScaleHeight     =   14
  960.       ScaleMode       =   3  'Pixel
  961.       ScaleWidth      =   53
  962.       TabIndex        =   1
  963.       Top             =   3720
  964.       Visible         =   0   'False
  965.       Width           =   795
  966.    End
  967.    Begin VB.Timer Timer1 
  968.       Interval        =   50
  969.       Left            =   6540
  970.       Top             =   240
  971.    End
  972.    Begin VB.PictureBox MainBoard 
  973.       AutoRedraw      =   -1  'True
  974.       AutoSize        =   -1  'True
  975.       Height          =   5460
  976.       Left            =   120
  977.       Picture         =   "main.frx":24BC0
  978.       ScaleHeight     =   360
  979.       ScaleMode       =   3  'Pixel
  980.       ScaleWidth      =   400
  981.       TabIndex        =   0
  982.       Top             =   120
  983.       Width           =   6060
  984.    End
  985.    Begin VB.Label Label2 
  986.       Alignment       =   2  'Center
  987.       AutoSize        =   -1  'True
  988.       BackStyle       =   0  'Transparent
  989.       Caption         =   "HighScores"
  990.       BeginProperty Font 
  991.          Name            =   "Tahoma"
  992.          Size            =   9.75
  993.          Charset         =   0
  994.          Weight          =   700
  995.          Underline       =   -1  'True
  996.          Italic          =   0   'False
  997.          Strikethrough   =   0   'False
  998.       EndProperty
  999.       ForeColor       =   &H00FF0000&
  1000.       Height          =   240
  1001.       Left            =   6285
  1002.       TabIndex        =   20
  1003.       Top             =   1200
  1004.       Width           =   1095
  1005.    End
  1006.    Begin VB.Label lblCredits 
  1007.       Alignment       =   2  'Center
  1008.       Caption         =   "I made this"
  1009.       Height          =   1695
  1010.       Left            =   6300
  1011.       TabIndex        =   19
  1012.       Top             =   2040
  1013.       Width           =   1035
  1014.    End
  1015. Attribute VB_Name = "Form1"
  1016. Attribute VB_GlobalNameSpace = False
  1017. Attribute VB_Creatable = False
  1018. Attribute VB_PredeclaredId = True
  1019. Attribute VB_Exposed = False
  1020. Dim Firsttime As Integer
  1021. Dim MaxSpeed As Boolean
  1022. Sub PaintBoard()
  1023.     Pic1.Cls
  1024.     Pic2.Cls
  1025.     Pic3.Cls
  1026.     MainBoard.Cls
  1027.     'HUD
  1028.     MainBoard.Print " Ammo: "
  1029.     MainBoard.Print " Score: " & P1.Score
  1030.     MainBoard.Print " Strenght: " & P1.Health
  1031.     For A = 0 To P1.Ammo - 1
  1032.         BitBlt MainBoard.hdc, (A * 7) + 38, 5, 6, 6, PicMineM.hdc, 0, 0, SRCAND
  1033.         BitBlt MainBoard.hdc, (A * 7) + 38, 5, 6, 6, PicMine.hdc, 0, 0, SRCPAINT
  1034.     Next A
  1035.     If Boss.Act Then
  1036.         txt = " Boss: "
  1037.         For A = 0 To Boss.Life - 1
  1038.            txt = txt & "I"
  1039.         Next A
  1040.         MainBoard.Print txt
  1041.     End If
  1042.     'The Ship
  1043.     Select Case P1.Dire
  1044.     Case 1
  1045.         BitBlt Pic2.hdc, P1.X, P1.Y, ShipBredde, ShipHoyde, PicShipM.hdc, 0, 0, SRCAND
  1046.         BitBlt Pic1.hdc, P1.X, P1.Y, ShipBredde, ShipHoyde, PicShip.hdc, 0, 0, SRCPAINT
  1047.     Case 2
  1048.         BitBlt Pic2.hdc, P1.X, P1.Y, ShipBredde, ShipHoyde, PicShip2M.hdc, 0, 0, SRCAND
  1049.         BitBlt Pic1.hdc, P1.X, P1.Y, ShipBredde, ShipHoyde, PicShip2.hdc, 0, 0, SRCPAINT
  1050.     End Select
  1051.     'The King
  1052.     If TheKing.Act Then
  1053.         BitBlt Pic2.hdc, TheKing.X, TheKing.Y, 23, 12, PicElvM(TheKing.Tag).hdc, 0, 0, SRCAND
  1054.         BitBlt Pic1.hdc, TheKing.X, TheKing.Y, 23, 12, PicElv(TheKing.Tag).hdc, 0, 0, SRCPAINT
  1055.     End If
  1056.     'Bombs
  1057.     For A = 1 To 30
  1058.         With Bombs(A)
  1059.             If .Act Then
  1060.                 Pic3.Line (.X, .Y)-Step(1, 1)
  1061.             End If
  1062.         End With
  1063.     Next
  1064.     'Bossbombs
  1065.     For A = 1 To UBound(BossBombs)
  1066.         If BossBombs(A).Act Then
  1067.             Pic3.Line (BossBombs(A).X, BossBombs(A).Y)-Step(1, 2), vbRed, BF
  1068.         End If
  1069.     Next A
  1070.     'Mines
  1071.     For A = 1 To 30
  1072.         With Shot(A)
  1073.             If .Act Then
  1074.                 BitBlt Pic3.hdc, .X, .Y, 6, 6, PicMineM.hdc, 0, 0, SRCAND
  1075.                 BitBlt Pic3.hdc, .X, .Y, 6, 6, PicMineM.hdc, 0, 0, SRCAND
  1076.                 BitBlt Pic1.hdc, .X, .Y, 6, 6, PicMine.hdc, 0, 0, SRCPAINT
  1077.             End If
  1078.         End With
  1079.     Next
  1080.     'planes
  1081.     For A = 1 To 10
  1082.         With Planes(A)
  1083.             If .Act Then
  1084.                 If .Dire = 1 Then
  1085.                     BitBlt Pic3.hdc, .X, .Y, PlaneBredde, PlaneHoyde, PicPlane1M.hdc, 0, 0, SRCAND
  1086.                     BitBlt Pic3.hdc, .X, .Y, PlaneBredde, PlaneHoyde, PicPlane1M.hdc, 0, 0, SRCAND
  1087.                     BitBlt Pic1.hdc, .X, .Y, PlaneBredde, PlaneHoyde, PicPlane1.hdc, 0, 0, SRCPAINT
  1088.                 Else
  1089.                     BitBlt Pic3.hdc, .X, .Y, PlaneBredde, PlaneHoyde, PicPlane2M.hdc, 0, 0, SRCAND
  1090.                     BitBlt Pic3.hdc, .X, .Y, PlaneBredde, PlaneHoyde, PicPlane2M.hdc, 0, 0, SRCAND
  1091.                     BitBlt Pic1.hdc, .X, .Y, PlaneBredde, PlaneHoyde, PicPlane2.hdc, 0, 0, SRCPAINT
  1092.                 End If
  1093.             End If
  1094.         End With
  1095.     Next
  1096.     'Subs
  1097.     For A = 1 To 30
  1098.         With Subs(A)
  1099.             If .Act Then
  1100.                 If .Dire = 1 Then
  1101.                     Select Case .Damaged
  1102.                     Case 0
  1103.                         BitBlt Pic2.hdc, .X, .Y, PicSub1M.ScaleWidth, PicSub1M.ScaleHeight, PicSub1M.hdc, 0, 0, SRCAND
  1104.                         BitBlt Pic1.hdc, .X, .Y, PicSub1M.ScaleWidth, PicSub1M.ScaleHeight, PicSub1M.hdc, 0, 0, SRCAND
  1105.                         BitBlt Pic1.hdc, .X, .Y, PicSub1.ScaleWidth, PicSub1.ScaleHeight, PicSub1.hdc, 0, 0, SRCPAINT
  1106.                     Case Else
  1107.                         BitBlt Pic3.hdc, .X, .Y, PicCrash1M.ScaleWidth, PicCrash1M.ScaleHeight, PicCrash1M.hdc, 0, 0, SRCAND
  1108.                         BitBlt Pic1.hdc, .X, .Y, PicCrash1M.ScaleWidth, PicCrash1M.ScaleHeight, PicCrash1M.hdc, 0, 0, SRCAND
  1109.                         BitBlt Pic1.hdc, .X, .Y, PicCrash1.ScaleWidth, PicCrash1.ScaleHeight, PicCrash1.hdc, 0, 0, SRCPAINT
  1110.                     End Select
  1111.                 Else
  1112.                     Select Case .Damaged
  1113.                     Case 0
  1114.                         BitBlt Pic2.hdc, .X, .Y, PicSub1M.ScaleWidth, PicSub2M.ScaleHeight, PicSub2M.hdc, 0, 0, SRCAND
  1115.                         BitBlt Pic1.hdc, .X, .Y, PicSub1M.ScaleWidth, PicSub2M.ScaleHeight, PicSub2M.hdc, 0, 0, SRCAND
  1116.                         BitBlt Pic1.hdc, .X, .Y, PicSub2.ScaleWidth, PicSub2.ScaleHeight, PicSub2.hdc, 0, 0, SRCPAINT
  1117.                     Case Else
  1118.                         BitBlt Pic3.hdc, .X, .Y, PicCrash1M.ScaleWidth, PicCrash2M.ScaleHeight, PicCrash2M.hdc, 0, 0, SRCAND
  1119.                         BitBlt Pic1.hdc, .X, .Y, PicCrash1M.ScaleWidth, PicCrash2M.ScaleHeight, PicCrash2M.hdc, 0, 0, SRCAND
  1120.                         BitBlt Pic1.hdc, .X, .Y, PicCrash2.ScaleWidth, PicCrash2.ScaleHeight, PicCrash2.hdc, 0, 0, SRCPAINT
  1121.                     End Select
  1122.                 End If
  1123.             End If
  1124.         End With
  1125.     Next
  1126.     'The boss
  1127.     If Boss.Act Then
  1128.         BitBlt Pic2.hdc, Boss.X, Boss.Y, BossBredde, BossHoyde, PicBossM.hdc, 0, 0, SRCAND
  1129.         BitBlt Pic1.hdc, Boss.X, Boss.Y, BossBredde, BossHoyde, PicBossM.hdc, 0, 0, SRCAND
  1130.         BitBlt Pic1.hdc, Boss.X, Boss.Y, BossBredde, BossHoyde, PicBoss.hdc, 0, 0, SRCPAINT
  1131.     End If
  1132.     'Explosions
  1133.     For A = 1 To UBound(Explo)
  1134.         If Explo(A).Act Then
  1135.             BitBlt Pic3.hdc, Explo(A).X, Explo(A).Y, 67, 60, PicExpM(Int(Explo(A).Tag / 3)).hdc, 0, 0, SRCAND
  1136.             BitBlt Pic1.hdc, Explo(A).X, Explo(A).Y, 67, 60, PicExp(Int(Explo(A).Tag / 3)).hdc, 0, 0, SRCPAINT
  1137.         End If
  1138.     Next A
  1139.     'Score signs
  1140.     For A = 1 To UBound(Signs)
  1141.         If Signs(A).Tag > 0 Then
  1142.             PicSign.Cls: PicSignM.Cls
  1143.             PicSign.Print Signs(A).Score: PicSignM.Print Signs(A).Score
  1144.             BitBlt Pic3.hdc, Signs(A).X, Signs(A).Y, 49, 21, PicSignM.hdc, 0, 0, SRCAND
  1145.             BitBlt Pic1.hdc, Signs(A).X, Signs(A).Y, 49, 21, PicSignM.hdc, 0, 0, SRCAND
  1146.             BitBlt Pic1.hdc, Signs(A).X, Signs(A).Y, 49, 21, PicSign.hdc, 0, 0, SRCPAINT
  1147.         End If
  1148.     Next A
  1149.     'Now paint put it all together
  1150.     BitBlt MainBoard.hdc, 0, 0, MainBoard.ScaleWidth, MainBoard.ScaleHeight, Pic2.hdc, 0, 0, SRCAND
  1151.     BitBlt MainBoard.hdc, 0, 0, MainBoard.ScaleWidth, MainBoard.ScaleHeight, Pic3.hdc, 0, 0, SRCAND
  1152.     BitBlt MainBoard.hdc, 0, 0, MainBoard.ScaleWidth, MainBoard.ScaleHeight, Pic1.hdc, 0, 0, SRCPAINT
  1153. End Sub
  1154. Private Sub Form_Load()
  1155.     temp = "Game and graphics by Jonas Ask"
  1156.     lblCredits.Caption = temp
  1157.     NumShots = 0
  1158.     Firsttime = True
  1159.     Randomize
  1160.     d = Int((Rnd * 2) + 1)
  1161.     P1.Dire = d
  1162.     P1.Ammo = MaxAmmo
  1163.     P1.X = 200
  1164.     P1.Y = 104
  1165.     P1.Health = 20
  1166.     LoadScore
  1167. End Sub
  1168. Private Sub Label2_Click()
  1169.     frmHigh.Show , Me
  1170.     MainPause = True
  1171. End Sub
  1172. Public Sub PicExit_Click()
  1173.     MainPause = True
  1174.     If DontClose Then Exit Sub
  1175.     UpdateScore
  1176.     If Not DontClose Then SaveScore: End
  1177. End Sub
  1178. Private Sub PicExit_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  1179. PicExit.BorderStyle = 0
  1180. End Sub
  1181. Private Sub PicExit_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  1182. PicExit.BorderStyle = 1
  1183. End Sub
  1184. Private Sub Timer1_Timer()
  1185.     Timer1.Enabled = False
  1186.     MainLoop
  1187. End Sub
  1188. Sub MainLoop()
  1189. Dim countAmmo As Integer
  1190. Dim countMake As Integer
  1191. Dim LastTick As String
  1192.     LastTick = "0"
  1193.     Do Until WW3 'Not THAT long in other words ;)
  1194.         DoEvents
  1195.         'Pause function
  1196.         Do Until MainPause = False
  1197.             DoEvents
  1198.         Loop
  1199.         
  1200.         'Framelimiter
  1201.         Do Until GetTickCount > LastTick Or MaxSpeed = True
  1202.             DoEvents
  1203.             NowTick = GetTickCount
  1204.         Loop
  1205.         LastTick = GetTickCount + 28
  1206.         
  1207.         'Stuff that does not trigger each tick:
  1208.         If countAmmo = 40 Then
  1209.             Addammo
  1210.             countAmmo = 0
  1211.         Else
  1212.             countAmmo = countAmmo + 1
  1213.         End If
  1214.         If countMake = 15 Then
  1215.             MakeSub
  1216.             MakePlane
  1217.             countMake = 0
  1218.         Else
  1219.             countMake = countMake + 1
  1220.         End If
  1221.         
  1222.         
  1223.         'Other things, pretty self-explaining :)
  1224.         DoKeys
  1225.         CheckKing
  1226.         CheckBoss
  1227.         MoveShots
  1228.         Movesubs
  1229.         MoveBoss
  1230.         MovePlanes
  1231.         DoExplo
  1232.         DropBombs
  1233.         DoSigns
  1234.         PaintBoard
  1235.     Loop
  1236. End Sub
  1237. Sub Addammo()
  1238.     If Not P1.Ammo = MaxAmmo Then P1.Ammo = P1.Ammo + 1
  1239. End Sub
  1240. Sub DoKeys()
  1241.     With P1
  1242.         If Firsttime Then Firsttime = False: Exit Sub
  1243.         If GetAsyncKeyState(vbKeyLeft) <> 0 Then
  1244.             If .Speed >= -1 Then .Speed = -1.5
  1245.             .Speed = .Speed * 1.06
  1246.             .Dire = 1
  1247.         ElseIf GetAsyncKeyState(vbKeyRight) <> 0 Then
  1248.             If .Speed <= 1 Then .Speed = 1.5
  1249.             .Speed = .Speed * 1.06
  1250.             .Dire = 2
  1251.         Else
  1252.             .Speed = .Speed / 1.1
  1253.         End If
  1254.         
  1255.         If GetAsyncKeyState(vbKeySpace) <> 0 Then
  1256.             Fire
  1257.         End If
  1258.         
  1259.         If .Speed < -6 Then .Speed = -6
  1260.         If .Speed > 6 Then .Speed = 6
  1261.         .X = .X + .Speed
  1262.         
  1263.             
  1264.         If .X < 0 Then .X = 0
  1265.         If .X > Bredde - ShipBredde Then .X = Bredde - ShipBredde
  1266.     End With
  1267. End Sub
  1268.