Flakebi
af6c121a22
Run whitespaces.py
2014-06-04 15:10:20 +02:00
hiker
5c959e07a2
Fixed multiplayer kart selection. Now guests are created on demand,
...
and are not saved to the players.xml file anymore.
2014-06-02 08:08:42 +10:00
hiker
a0ee4d0bc5
Don't save guest players to the players.xml file.
2014-05-31 10:25:08 +10:00
hiker
36d705f021
Added 'always-show-login-screen' option, moved 'remember-password'
...
option from UI-options to UserScreen.
2014-05-27 15:36:44 +10:00
hiker
fc32fcc865
Fix crash when deleting the current player (also prevent the user from
...
deleting the last user, since STK (after login) needs a current player).
2014-05-24 11:52:09 +10:00
hiker
8441dbbd32
Fixed saving login credentials. It's now possible to switch
...
user (and automatically a logout and login is triggered).
2014-05-20 22:13:26 +10:00
hiker
1946df97be
Fixed start with no players (including aborting the create user screen),
...
added 'lastWasOnline' flag to enable saving of a login token even
when the account is used offline in between.
2014-05-17 11:43:05 +10:00
hiker
b38a31f303
Simplified handling of current player: instead of storing a flag
...
in each player, PlayerManager now just uses its m_current_player
to write this information in the players.xml file.
2014-05-16 15:39:33 +10:00
hiker
1102702f5b
Removed saving of all online ids in players.xml file.
2014-05-16 08:31:58 +10:00
hiker
8d4b33f221
Removed tabs, and use a separate screen instead. Some more refactoring
...
to make remember-me a global setting.
2014-05-08 22:17:15 +10:00
hiker
ecef685b32
Adding new players now works.
2014-04-30 07:54:49 +10:00
hiker
812da3e0c0
Some work on new login screen, though wip atm.
2014-04-29 09:02:44 +10:00
hiker
2f17264f39
Very eary first version of a new login screen.
2014-04-28 16:41:47 +10:00
hiker
ea2b797bb3
Keep track of online ids used in the player.xml file.
2014-04-24 08:17:44 +10:00
hiker
a8bf73633f
Renamed CurrentUser to OnlinePlayerProfile.
2014-04-17 15:39:51 +10:00
hiker
056aa5ed6f
Refactor so that PlayerProfile provides a proper interface plus
...
function/states for local use, and CurrentUser implements the
missing functions.
2014-04-17 08:19:04 +10:00
hiker
447ca89c0a
Removed CurrentUser usage from all files except PlayerManager
...
and PlayerProfile.
2014-04-16 11:13:35 +10:00
hiker
5ec71c5b06
Moved getProfile from CurrentUser to PlayerManager::getCurrentOnlineProfile().
2014-04-15 16:25:55 +10:00
hiker
f33a9f7cf6
Fixed #1282 : STK crash on startup for the first time.
2014-04-15 09:06:50 +10:00
hiker
488c1231c9
Moved getUserState from CurrentUser to PlayerManager::getCurrentOnlineState().
2014-04-11 16:37:48 +10:00
hiker
3a5a0a56b2
Moved isRegisteredUser from CurrentUser into PlayerManager::isCurrentLoggedIn.
2014-04-11 16:20:04 +10:00
hiker
071aa01f35
Changed all calls to CurrentUser::getID() to PlayerManager::getCurrentOnlineId().
2014-04-11 16:06:51 +10:00
hiker
502987d3e0
Now each PlayerProfile has a (currently still called) CurrentUser
...
which manages online connection data. Work-in-progress to use
only one object for all player data (instead of two atm: PlayerProfile
and CurrentUser).
2014-04-10 16:32:58 +10:00
hiker
25c96d88ec
Moved saved session data from UserConfig to PlayerProfile - which
...
means that now each player can individually save an online session.
2014-04-09 08:33:42 +10:00
konstin
7cc83e1475
running whitespaces.py update 1
2014-03-29 11:33:43 +01:00
konstin
663fffdebb
Revert "Running whitespaces.py; no more trailing whitespaces & tabs -> 4 spaces"
...
This reverts commit 65e2dcf2f0
.
2014-03-29 11:32:04 +01:00
konstin
65e2dcf2f0
Running whitespaces.py; no more trailing whitespaces & tabs -> 4 spaces
2014-03-28 20:08:39 +01:00
hiker
58a5928b17
Fixed #1228 (crash when no default player is set and -N, -R, ... is used).
2014-03-06 17:06:41 +11:00
hiker
0ec7542175
Added more comments.
2014-03-01 17:16:23 +11:00
Dimitrije Jankov
9fc0d5be77
This fixes the issues my patch has caused...
...
1) if I start without existing user config files, it crashes (current
player is NULL)
2) the m_remember_me variable is not used
3) if I understand the code correctly, it sets the current player to a
guest player to indicate that there is no current player atm (which is
then used to start the login window). If this correct, then it would be
better to indicate this by setting the current player to NULL. Reason is
that this way we can easily detect incorrect usage elsewhere (since we
will get a crash, instead of storing data in the guest player, and we
will only later detect that something was not saved as expected).
2014-02-28 10:23:09 +01:00
Dimitrije Jankov
d0f93d3b98
Fixed the skiping of the lobby screen :)
2014-02-28 02:36:53 +01:00
hiker
8307e0d8a3
Fixed memory leak.
2014-02-21 16:54:52 +11:00
hiker
a3a5d5fc3b
Moved achievements data into PlayerProfile (and data is saved in players.xml
...
now instead of in a separate achievements.xml file).
2014-02-20 22:04:03 +11:00
hiker
2b4729a145
Renamed player.?pp to player_profile.?pp (to follow our style
...
guide); removed unnecessary #includes.
2014-02-17 20:10:29 +11:00
hiker
ff585e4c73
Automatically compute active challenges when changing the current player.
2014-02-11 22:35:23 +11:00
hiker
810c536d43
Fixed various minor bugs.
2014-02-11 08:12:10 +11:00
hiker
230e1789f2
Made sorting of players descending (instead of using > in operator<),
...
removed kart and unique id from game slot, replaced some forgotten calls to
unlock_manager with calls to PlayerManager.
2014-02-10 17:00:16 +11:00
hiker
97be85777d
Started to move current player info from unlock manager into
...
player_manager.
2014-02-09 23:22:45 +11:00
hiker
045bfeaf13
Removed m_all_players from UserConfigParams (though there are stil
...
bugs in the new code).
2014-02-06 23:08:55 +11:00
hiker
78b73aa3c8
Added new player manager, and started to replace the saved data
...
from user_config with player manager.
2014-02-06 14:43:47 +11:00