Commit Graph

12 Commits

Author SHA1 Message Date
Vecais Dumais Laacis 1fa16a9aa9 allow to continue if local profile count is less than human player count 2007-09-24 21:49:12 +00:00
Vecais Dumais Laacis 9b4cf9a6df style fix 2007-08-08 10:03:42 +00:00
Vecais Dumais Laacis 38f93f78cf allows to choose which profile to use (should be used before style selection like ScreenProfileLoad)
lua functions:

bool SetProfileIndex(PlayerNumber, profileindex)

if profileindex == -2 - unloads specified player
if profileindex == -1 - sets choosed profile to none (if any human player profileindex is set to -1 then screen cannot finish)
also joins player if player was not joined before
if profileindex == 0 - sets choosed profile to use memory card (memory card should be mounted at this point)
if profileindex >0 and profilexindex <numlocalprofiles - sets choosed profile to one of local profiles

other values returns false
true is returned on successful operation

int GetProfileIndex(PlayerNumber)
returns selected profileindex for player

bool Finish
tries to load selected profiles and proceed to next screen
returns false if not all players are finished choosing or players have selected the same local profiles

Cancel - returns to previous screen
2007-08-08 09:57:53 +00:00
Chris Danford 68f8e632f0 Add new ScreenOptionsManageProfiles 2005-08-04 21:13:29 +00:00
Chris Danford 93b9cc156a working on course editor 2005-07-29 23:03:43 +00:00
Glenn Maynard 6ac51af9c2 header 2005-07-20 09:48:19 +00:00
Glenn Maynard 71c765ba66 warnings 2005-07-19 00:55:02 +00:00
Chris Danford 0bc9261eb3 return ID of the created profile 2005-07-16 05:28:34 +00:00
Chris Danford e805f09b3c SharedPreviewAndCursor -> SharedSelection 2005-07-14 21:51:22 +00:00
Chris Danford 5161efceae finish new profile screens 2005-07-13 19:25:39 +00:00
Chris Danford e9166ac4ab load EditableData for all local profile on startup so that we don't have to load every profile from disk to enumerate names 2005-07-12 20:19:52 +00:00
Chris Danford fcc6c4408a working on SSelectProfile 2005-07-07 22:08:05 +00:00