under osx don't load a file in case a game is already running (also a little of code formatting)
file association for mac!
associating file is done automatically when you move the app in your system but there is also a button to set it manually
i had to disable argument parsing and to subclass qapplication to make this work
please test
merge of tsleon's updated russian. I assume unc0rr will vet the phrasing
Fully playable version of Space Invasion (fingers crossed). No bugs known.
Oops. Forgot an assignment.
Enable ~/.hedgewars/Data (or platform equivalent) to override/extend pretty much everything in system Data dir. Obviously desyncing can occur, so this is at user's own risk. Should simplify map etc install. Needs testing.
If 2 or more resolutions are available, use the 2nd in the list. This should (usually) be smaller than the desktop resolution, which should reduce noob fail (not realising part of interface is obscured)
Update for ver. 0.9.15
Set m_game_connected to false after emitting Disconnected(). This fixes a bug in a case such that when entering an invalid password, the game would bring you back to the main menu.
Attempt to fix
issue #125. The password pop-up doesn't appear every time when going into the official server anymore, now it only does it when the password is blank. If a user enters an invalid password, the password is set blank to avoid the user going back to the official server just to be rejected. When entering an invalid password, the unknown error dialog doesn't show up anymore, but the connection lost to server one still does. This fixes the bug where the user would be spammed with error messages. The user can also now change his password in the settings page.