home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Options
- BorderStyle = 3 'Fixed Dialog
- Caption = "Briscola Options"
- ClientHeight = 3180
- ClientLeft = 2370
- ClientTop = 3990
- ClientWidth = 4455
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 3540
- Icon = "OPTIONS.frx":0000
- Left = 2310
- LinkTopic = "Form1"
- ScaleHeight = 3180
- ScaleWidth = 4455
- Top = 3690
- Width = 4575
- Begin VB.TextBox NameBox
- Appearance = 0 'Flat
- Height = 285
- Left = 1560
- TabIndex = 7
- Text = "NameBox"
- Top = 240
- Width = 2655
- End
- Begin VB.CommandButton Command2
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Cancel = -1 'True
- Caption = "Cancel"
- Height = 375
- Left = 3000
- TabIndex = 5
- Top = 2640
- Width = 1215
- End
- Begin VB.CommandButton Command1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Caption = "OK"
- Height = 375
- Left = 240
- TabIndex = 4
- Top = 2640
- Width = 1215
- End
- Begin VB.Frame Frame3D1
- Caption = "Game Mode"
- Height = 1575
- Left = 240
- TabIndex = 0
- Top = 840
- Width = 3975
- Begin VB.OptionButton OptDemo
- Caption = "Auto Play (Demo)"
- Height = 255
- Left = 240
- TabIndex = 3
- TabStop = 0 'False
- Top = 1080
- Width = 2295
- End
- Begin VB.OptionButton OptVsNetwork
- Caption = "Play Against Network Opponent"
- Height = 255
- Left = 240
- TabIndex = 2
- TabStop = 0 'False
- Top = 720
- Width = 3255
- End
- Begin VB.OptionButton OptVsComputer
- Caption = "Play Against Computer"
- Height = 255
- Left = 240
- TabIndex = 1
- Top = 360
- Value = -1 'True
- Width = 2895
- End
- End
- Begin VB.Label Label1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- BackStyle = 0 'Transparent
- Caption = "Player's Name"
- ForeColor = &H80000008&
- Height = 255
- Left = 240
- TabIndex = 6
- Top = 240
- Width = 1215
- End
- Attribute VB_Name = "Options"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- Options.Tag = "OK"
- Options.Hide
- End Sub
- Private Sub Command2_Click()
- Options.Tag = "Cancel"
- Options.Hide
- End Sub
- Private Sub Form_Load()
- Form_Center Me
- NameBox = Player1_Name
- Select Case Game_Mode
- Case MODE_NETWORK
- OptVsNetwork.Value = True
- Case MODE_DEMO
- OptDemo.Value = True
- Case Else
- OptVsComputer = True
- End Select
- End Sub
- Private Sub NameBox_KeyPress(KeyAscii As Integer)
- If KeyAscii = 13 Then KeyAscii = 0
- End Sub
-