Skip to content

Commit

Permalink
maj deconnexion
Browse files Browse the repository at this point in the history
  • Loading branch information
Dahevos committed May 19, 2012
1 parent e89d594 commit 10d0758
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 36 deletions.
2 changes: 1 addition & 1 deletion Client/Client.vbp
Expand Up @@ -41,7 +41,7 @@ Module=modXp; Modules Sources\modXp.bas
Object={BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0; TABCTL3N.OCX
Form=Forms Sources\frmSplashScreen.frm
IconForm="frmMirage"
Startup="Sub Main"
Startup="frmSplashScreen"
HelpFile=""
Title="FRoG"
ExeName32="Client.exe"
Expand Down
26 changes: 18 additions & 8 deletions Client/Forms Sources/frmMainMenu.frm
Expand Up @@ -126,10 +126,10 @@ Begin VB.Form frmMainMenu
AutoSize = -1 'True
BackStyle = 0 'Transparent
Height = 315
Left = 3000
Left = 3120
TabIndex = 21
Top = 0
Width = 420
Width = 300
End
Begin VB.Image imgPers
Height = 3600
Expand Down Expand Up @@ -213,6 +213,14 @@ Begin VB.Form frmMainMenu
Top = 1560
Width = 195
End
Begin VB.Label Label6
BackStyle = 0 'Transparent
Height = 255
Left = 3120
TabIndex = 30
Top = 0
Width = 255
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "Musique"
Expand Down Expand Up @@ -687,6 +695,10 @@ Private Sub Label2_Click()
fraNewAccount.Visible = False
End Sub

Private Sub Label6_Click()
Call GameDestroy
End Sub

Private Sub lbl_creer_Click()
fraNewAccount.Visible = True
fraLogin.Visible = False
Expand Down Expand Up @@ -740,13 +752,10 @@ If KeyAscii = vbKeyReturn Then Call picUseChar_Click: KeyAscii = 0
End Sub

Private Sub picCancel_Click()
Dim i As Integer
For i = 1 To MAX_INV - 1
Unload frmMirage.picInv(i)
Next


Call TcpDestroy(1)
frmsplash.Show
frmsplash.Visible = True
Sleep (2000)
fraLogin.Visible = True
fraPers.Visible = False
End Sub
Expand Down Expand Up @@ -890,3 +899,4 @@ Private Sub txtpassword22_GotFocus()
txtpassword22.SelStart = 0
txtpassword22.SelLength = Len(txtpassword22)
End Sub

4 changes: 2 additions & 2 deletions Client/Forms Sources/frmServerChooser.frm
Expand Up @@ -50,10 +50,10 @@ Begin VB.Form frmServerChooser
Begin VB.Label Label1
BackStyle = 0 'Transparent
Height = 375
Left = 4560
Left = 4800
TabIndex = 3
Top = 0
Width = 615
Width = 375
End
End
Attribute VB_Name = "frmServerChooser"
Expand Down
20 changes: 0 additions & 20 deletions Client/Forms Sources/frmsplash.frm
Expand Up @@ -14,26 +14,6 @@ Begin VB.Form frmsplash
ScaleWidth = 4200
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Moteur : FRoG Creator frogcreator.fr"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 195
Left = 240
TabIndex = 1
Top = 120
Width = 3690
End
Begin VB.Label lblStatus
Alignment = 2 'Center
BackStyle = 0 'Transparent
Expand Down
6 changes: 1 addition & 5 deletions Client/Modules Sources/modClientTCP.bas
Expand Up @@ -27,11 +27,7 @@ Sub TcpDestroy(Optional ByVal Bypass As Byte = 0)
frmMirage.sync.Enabled = False

If Bypass Then
frmsplash.Visible = True
frmsplash.lblStatus = "Déconnexion en cours"
frmsplash.SetFocus
Sleep 2000
frmsplash.Visible = False
MsgBox ("Vous vous êtes déconnecté. Valider et patienter quelques secondes.")
End If

If frmMainMenu.fraPers.Visible Then frmMainMenu.fraPers.Visible = False
Expand Down
Binary file modified Client/Themes/FRoG Creator 0.6/Login/choix_serveur.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Client/Themes/FRoG Creator 0.6/Login/connexion.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Client/Themes/FRoG Creator 0.6/Login/effacer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Client/Themes/FRoG Creator 0.6/Login/nouveau.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Client/Themes/FRoG Creator 0.6/Login/nouveau_personnage.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Client/Themes/FRoG Creator 0.6/Login/personnage.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 10d0758

Please sign in to comment.