diff --git a/cockatrice/translations/cockatrice_es.ts b/cockatrice/translations/cockatrice_es.ts
index 44daecba..2b86c0ae 100644
--- a/cockatrice/translations/cockatrice_es.ts
+++ b/cockatrice/translations/cockatrice_es.ts
@@ -6,32 +6,32 @@
&Set counter...
- E&stablecer contadores...
+ E&stablecer contador...Ctrl+L
- Ctrl+L
+ Ctrl+LF11
- F11
+ F11F12
- F12
+ F12Set counter
- Establecer contador
+ Establecer contadorNew value for counter '%1':
- Nuevo valor para el contador '%1':
+ Nuevo valor para el contador '%1':
@@ -175,12 +175,12 @@
&Play
-
+ &Jugar&Hide
-
+ &Ocultar
@@ -1103,7 +1103,7 @@
Show &full games
-
+ Ver partidas &sin plazas libres&Show full games
@@ -1248,42 +1248,42 @@
Version %1
-
+ Versión %1Authors:
-
+ Autores:Translators:
-
+ Traductores:Spanish:
-
+ Español:Portugese (Portugal):
-
+ Portugués (Portugal):Portugese (Brazil):
-
+ Portugués (Brasil):French:
-
+ Francés:Japanese:
-
+ Japonés:
@@ -1499,7 +1499,7 @@
%1 gives %2 control over %3.
-
+ %1 entrega a %2 el control sobre %3.
@@ -2165,7 +2165,7 @@
Put top card on &bottom
-
+ Poner carta superior en la parte &inferior
@@ -2337,32 +2337,32 @@
Rooms
-
+ SalasJoi&n
- E&ntrar
+ E&ntrarRoom
-
+ SalaDescription
- Descripción
+ DescripciónPlayers
- Jugadores
+ JugadoresGames
- Partidas
+ Partidas
@@ -2390,37 +2390,37 @@
Update server &message
-
+ Actualizar &mensaje del servidorServer administration functions
-
+ Funciones de administración del servidor&Unlock functions
-
+ &Desbloquear funciones&Lock functions
-
+ &Bloquear funcionesUnlock administration functions
-
+ Desbloquear funciones de administraciónDo you really want to unlock the administration functions?
-
+ ¿Realmente quieres desbloquear las funciones de administración?Administration
-
+ Administración
@@ -2626,32 +2626,32 @@ Por favor, introduzca un nombre:
&Say:
- &Decir:
+ &Decir:Chat
-
+ Chat&Room
-
+ &Sala&Leave room
-
+ &Dejar sala%1 has joined the room.
-
+ %1 se ha unido a la sala.%1 has left the room.
-
+ %1 ha dejado la sala.
@@ -2667,12 +2667,12 @@ Por favor, introduzca un nombre:
User information
-
+ Información del usuarioReal name:
-
+ Nombre real:
@@ -2687,22 +2687,22 @@ Por favor, introduzca un nombre:
Administrator
-
+ AdministradorJudge
-
+ JuezRegistered user
-
+ Usuario registradoUnregistered user
-
+ Usuario no registrado
@@ -2738,17 +2738,17 @@ Por favor, introduzca un nombre:
Users in this room: %1
-
+ Usuarios en esta sala: %1User &details
-
+ &Detalles del usuarioDirect &chat
-
+ &Chat privado
@@ -2837,14 +2837,15 @@ Por favor, introduzca un nombre:
Error
- Error
+ ErrorThe deck could not be saved.
Please check that the directory is writable and try again.
-
+ El mazo no puede guardarse
+Por favor, compruebe que tiene permisos de escritura en el directorio e intentelo de nuevo.
@@ -2935,7 +2936,7 @@ Please check that the directory is writable and try again.
The decklist has been modified.
Do you want to save the changes?
- La lista del mazo ha sido modificada
+ La lista del mazo ha sido modificada
¿Deseas guardar los cambios?
diff --git a/doc/protocol.txt b/doc/protocol.txt
deleted file mode 100644
index 2e88f62f..00000000
--- a/doc/protocol.txt
+++ /dev/null
@@ -1,157 +0,0 @@
-1. Abstract
-
-The Cockatrice protocol is a client/server protocol intended for communication between
-a card game client and a suitable server. It is designed with the goal in mind to make
-playing card games, such as Magic the Gathering, over a network easy while eliminating
-the possibility of unfair play. Because of that, the server stores all hidden information
-and transmits pieces of it to clients only when necessary.
-
-2. Protocol structure
-
-All communication is done over a TCP/IP connection. The protocol is text based.
-Strings are encoded in UTF-8 and have UNIX-style line endings (\n).
-
-There are four distinct types of messages:
- - Command (section 3)
- - Response (section 4)
- - Event (section 5)
- - List (section 6)
-
-3. Commands
-
-A command can only be sent from client to server and has the following structure:
- {ID}|{command}|{parameter1}|{parameter2}...
-"ID" is an arbitrary number to be chosen uniquely for each command.
-"command" is a command identifier (see section 3).
-It depends on the command identifier what has to be passed as parameters.
-
-3.1 ping
-
-Flags:
- none
-Parameters:
- none
-Valid response codes:
- ok
-
-No effect.
-
-3.2 login
-
-Flags:
- none
-Parameters:
- User name (string)
- Password (string)
-Valid response codes:
- ok
- password
-
-If the supplied credentials are correct, "ok" is returned and the connection state
-is set to authenticated. (The server is not required to actually check the validity
-of the credentials.)
-Otherwise, "password" is returned.
-
-3.3 list_games
-
-Flags:
- login needed
-Parameters:
- none
-Valid response codes:
- ok
-
-If the connection state is unauthenticated, "login_needed" is returned.
-Otherwise, "ok" is returned and for each game currently, a list_games event XXX is
-sent to the client. The "accepts game list changes" flag of the connection is set.
-
-3.4 create_game
-
-Flags:
- login needed
-Parameters:
- Description (string)
- Password (string)
- Number of players (int)
-Valid response codes:
- ok
-
-A game with the given parameters is created. The client is set as creator of the
-game and joins it automatically. The "accepts game list changes" flag of the connection
-is unset.
-
-3.5 join_game
-
-Flags:
- login needed
-Parameters:
- Game ID (int)
- Password (string)
-Valid response codes:
- ok
- password
-
-If the password for the given game is correct, the client leaves the current game
-(if any) and joins the given game. The "accepts game list changes" flag of the connection
-is unset.
-
-3.6 leave_game
-
-Flags:
- login needed
- game needed
-Parameters:
- none
-Valid response codes:
- ok
-
-The client leaves the current game.
-
-3.7 list_players
-
-Flags:
- login needed
- game needed
-Parameters:
- none
-
-
-3.8 say
-3.9 submit_deck
-3.10 ready_start
-3.11 shuffle
-3.12 draw_cards
-3.13 reveal_card
-3.14 move_card
-3.15 create_token
-3.16 set_card_attr
-3.17 inc_counter
-3.18 add_counter
-3.19 set_counter
-3.20 del_counter
-3.21 list_counters
-3.22 list_zones
-3.23 dump_zone
-3.24 roll_dice
-3.25 set_active_player
-3.26 set_active_phase
-
-4. Responses
-
-After processing any command, the server sends a response to the client, indicating
-whether the command was understood and valid.
-A response can only be sent from server to client and has the following structure:
- resp|{ID}|{resp-code}
-
-{ID} is the identifier belonging to the command in question.
-{resp-code} contains information about the processing of the command. It can have the
-following values:
- ok (Success)
- login_needed (Error: Command requires login)
- syntax (Error: Invalid command or parameters)
- context (Error: Command cannot be applied here)
- password (Error: Wrong login data)
-
-The response code "syntax" is valid as a response to any command and is
-hence not explicitly listed in section 3. The response code "login_needed" applies
-to all commands with the "login needed" flag.
\ No newline at end of file
diff --git a/nsis/cockatrice.nsi b/nsis/cockatrice.nsi
deleted file mode 100644
index 6e182a60..00000000
--- a/nsis/cockatrice.nsi
+++ /dev/null
@@ -1,110 +0,0 @@
-!include "MUI2.nsh"
-!include "FileFunc.nsh"
-
-Name "Cockatrice"
-OutFile "cockatrice_win32.exe"
-SetCompressor lzma
-InstallDir "$PROGRAMFILES\Cockatrice"
-
-!define MUI_ABORTWARNING
-!define MUI_WELCOMEFINISHPAGE_BITMAP "leftimage.bmp"
-!define MUI_UNWELCOMEFINISHPAGE_BITMAP "leftimage.bmp"
-!define MUI_HEADERIMAGE
-!define MUI_HEADERIMAGE_BITMAP "headerimage.bmp"
-!define MUI_HEADERIMAGE_UNBITMAP "headerimage.bmp"
-!define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of Cockatrice.$\r$\n$\r$\nClick Next to continue."
-!define MUI_FINISHPAGE_RUN "$INSTDIR/oracle.exe"
-!define MUI_FINISHPAGE_RUN_TEXT "Run card database downloader now"
-!define MUI_FINISHPAGE_RUN_PARAMETERS "-dlsets"
-
-!insertmacro MUI_PAGE_WELCOME
-!insertmacro MUI_PAGE_COMPONENTS
-!insertmacro MUI_PAGE_DIRECTORY
-!insertmacro MUI_PAGE_INSTFILES
-!insertmacro MUI_PAGE_FINISH
-
-!insertmacro MUI_UNPAGE_CONFIRM
-!insertmacro MUI_UNPAGE_INSTFILES
-!insertmacro MUI_UNPAGE_FINISH
-
-!insertmacro MUI_LANGUAGE "English"
-
-Section "Application" SecApplication
- SetOutPath "$INSTDIR"
- File ..\cockatrice\release\cockatrice.exe
- File ..\oracle\release\oracle.exe
- File data\libgcc_s_dw2-1.dll
- File data\mingwm10.dll
- File data\QtCore4.dll
- File data\QtGui4.dll
- File data\QtNetwork4.dll
- File data\QtSvg4.dll
- File data\QtXml4.dll
-
- SetOutPath "$INSTDIR\zonebg"
- File /r ..\zonebg\*.*
-
- SetOutPath "$INSTDIR\plugins"
- File /r data\plugins\*.*
-
- SetOutPath "$INSTDIR\pics"
- SetOutPath "$INSTDIR\decks"
-
- WriteUninstaller "$INSTDIR\uninstall.exe"
- ${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
- IntFmt $0 "0x%08X" $0
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cockatrice" "DisplayName" "Cockatrice"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cockatrice" "UninstallString" "$\"$INSTDIR\uninstall.exe$\""
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cockatrice" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cockatrice" "InstallLocation" "$INSTDIR"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cockatrice" "DisplayIcon" "$INSTDIR\cockatrice.exe"
- WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cockatrice" "EstimatedSize" "$0"
-SectionEnd
-
-Section "Update configuration" SecUpdateConfig
- WriteRegStr HKCU "Software\Cockatrice\Cockatrice\paths" "carddatabase" "$INSTDIR\cards.xml"
- WriteRegStr HKCU "Software\Cockatrice\Cockatrice\paths" "decks" "$INSTDIR\decks"
- WriteRegStr HKCU "Software\Cockatrice\Cockatrice\paths" "pics" "$INSTDIR\pics"
-
-SectionEnd
-
-Section "Start menu item" SecStartMenu
- createDirectory "$SMPROGRAMS\Cockatrice"
- createShortCut "$SMPROGRAMS\Cockatrice\Cockatrice.lnk" "$INSTDIR\cockatrice.exe"
- createShortCut "$SMPROGRAMS\Cockatrice\Oracle.lnk" "$INSTDIR\oracle.exe"
-SectionEnd
-
-Section Uninstall
- RMDir /r "$INSTDIR\zonebg"
- RMDir /r "$INSTDIR\plugins"
- RMDir "$INSTDIR\decks"
- RMDir /r "$INSTDIR\pics\downloadedPics"
- RMDir "$INSTDIR\pics"
- Delete "$INSTDIR\uninstall.exe"
- Delete "$INSTDIR\cockatrice.exe"
- Delete "$INSTDIR\oracle.exe"
- Delete "$INSTDIR\cards.xml"
- Delete "$INSTDIR\libgcc_s_dw2-1.dll"
- Delete "$INSTDIR\mingwm10.dll"
- Delete "$INSTDIR\QtCore4.dll"
- Delete "$INSTDIR\QtGui4.dll"
- Delete "$INSTDIR\QtNetwork4.dll"
- Delete "$INSTDIR\QtSvg4.dll"
- Delete "$INSTDIR\QtXml4.dll"
- RMDir "$INSTDIR"
-
- RMDir /r "$SMPROGRAMS\Cockatrice"
-
- DeleteRegKey HKCU "Software\Cockatrice"
- DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cockatrice"
-SectionEnd
-
-LangString DESC_SecApplication ${LANG_ENGLISH} "Cockatrice program files"
-LangString DESC_SecUpdateConfig ${LANG_ENGLISH} "Update the paths in the application settings according to the installation paths."
-LangString DESC_SecStartMenu ${LANG_ENGLISH} "Create start menu items for Cockatrice and Oracle."
-!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
- !insertmacro MUI_DESCRIPTION_TEXT ${SecApplication} $(DESC_SecApplication)
- !insertmacro MUI_DESCRIPTION_TEXT ${SecUpdateConfig} $(DESC_SecUpdateConfig)
- !insertmacro MUI_DESCRIPTION_TEXT ${SecStartMenu} $(DESC_SecStartMenu)
-!insertmacro MUI_FUNCTION_DESCRIPTION_END
-
diff --git a/nsis/headerimage.bmp b/nsis/headerimage.bmp
deleted file mode 100644
index 73c88d6d..00000000
Binary files a/nsis/headerimage.bmp and /dev/null differ
diff --git a/nsis/leftimage.bmp b/nsis/leftimage.bmp
deleted file mode 100644
index e89fdd95..00000000
Binary files a/nsis/leftimage.bmp and /dev/null differ