|
Oolite
|
Instance Methods | |
| (void) | - setGuiToLoadCommanderScreen |
| (void) | - setGuiToSaveCommanderScreen: |
| (void) | - setGuiToOverwriteScreen: |
| (void) | - lsCommanders:directory:pageNumber:highlightName: |
| (void) | - showCommanderShip: |
| (int) | - findIndexOfCommander: |
| (void) | - nativeSavePlayer: |
| (BOOL) | - existingNativeSave: |
| (void) | - writePlayerToPath: |
| (NSComparisonResult) | - sortCommanders [implementation] |
Definition at line 63 of file PlayerEntityLoadSave.m.
| - (BOOL) existingNativeSave: | (NSString*) | cdrName |
Extends class PlayerEntity.
Definition at line 987 of file PlayerEntityLoadSave.m.
| - (int) findIndexOfCommander: | (NSString*) | cdrName |
Extends class PlayerEntity.
Definition at line 1114 of file PlayerEntityLoadSave.m.
References int().
| - (void) lsCommanders: | (GuiDisplayGen*) | gui | |
| directory: | (NSString*) | directory | |
| pageNumber: | (int) | page | |
| highlightName: | (NSString*) | highlightName |
Extends class PlayerEntity.
Definition at line 823 of file PlayerEntityLoadSave.m.
References count, ENDROW, EXITROW, PlayerEntity::findIndexOfCommander:, OOColor::greenColor, NUMROWS, OODictionaryFromFile(), OODisplayRatingStringFromKillCount(), OOLog, OOColor::orangeColor, OOColor::redColor, GuiDisplayGen::setArray:forRow:, GuiDisplayGen::setColor:forRow:, GuiDisplayGen::setKey:forRow:, GuiDisplayGen::setSelectableRange:, GuiDisplayGen::setSelectedRow:, GuiDisplayGen::setTabStops:, GuiDisplayGen::setText:forRow:align:, PlayerEntity::showCommanderShip:, STARTROW, and OOColor::yellowColor.
| - (void) nativeSavePlayer: | (NSString*) | cdrName |
Extends class PlayerEntity.
Definition at line 718 of file PlayerEntityLoadSave.m.
References ShipEntity::doScriptEvent:withArgument:, PlayerEntity::setLastsaveName:, and PlayerEntity::writePlayerToPath:.
| - (void) setGuiToLoadCommanderScreen |
Extends class PlayerEntity.
Definition at line 730 of file PlayerEntityLoadSave.m.
References GuiDisplayGen::clear, PlayerEntity::lsCommanders:directory:pageNumber:highlightName:, GuiDisplayGen::setBackgroundTextureKey:, GuiDisplayGen::setForegroundTextureKey:, setGuiToLoadCommanderScreen, PlayerEntity::setShowDemoShips:, and GuiDisplayGen::setTitle:.
Referenced by setGuiToLoadCommanderScreen.
| - (void) setGuiToOverwriteScreen: | (NSString*) | cdrName |
Extends class PlayerEntity.
Definition at line 782 of file PlayerEntityLoadSave.m.
References GuiDisplayGen::clear, GuiDisplayGen::setBackgroundTextureKey:, GuiDisplayGen::setForegroundTextureKey:, GuiDisplayGen::setKey:forRow:, GuiDisplayGen::setSelectableRange:, GuiDisplayGen::setSelectedRow:, PlayerEntity::setShowDemoShips:, MyOpenGLView::setStringInput:, GuiDisplayGen::setText:forRow:align:, and GuiDisplayGen::setTitle:.
| - (void) setGuiToSaveCommanderScreen: | (NSString*) | cdrName |
Extends class PlayerEntity.
Definition at line 752 of file PlayerEntityLoadSave.m.
References GuiDisplayGen::clear, OOColor::cyanColor, PlayerEntity::lsCommanders:directory:pageNumber:highlightName:, GuiDisplayGen::setBackgroundTextureKey:, GuiDisplayGen::setColor:forRow:, GuiDisplayGen::setCurrentRow:, GuiDisplayGen::setForegroundTextureKey:, PlayerEntity::setShowDemoShips:, GuiDisplayGen::setShowTextCursor:, GuiDisplayGen::setText:forRow:, GuiDisplayGen::setTitle:, MyOpenGLView::setTypedString:, and MyOpenGLView::suppressKeysUntilKeyUp.
| - (void) showCommanderShip: | (int) | cdrArrayIndex |
Extends class PlayerEntity.
Definition at line 996 of file PlayerEntityLoadSave.m.
References GuiDisplayGen::addLongText:startingAtRow:align:, ClockToString(), GuiDisplayGen::colorFromSetting:defaultValue:, KillCountToRatingAndKillString(), nil, OODeciCreditsFromObject(), OODisplayStringFromLegalStatus(), OOColor::orangeColor, PersonalityForCommanderDict(), PLAYER_SHIP_CLOCK_START, SCENARIO_OXP_DEFINITION_ALL, GuiDisplayGen::setColor:forRow:, PlayerEntity::setDockedAtMainStation, GuiDisplayGen::setText:forRow:align:, OOShipRegistry::sharedRegistry, OOShipRegistry::shipInfoForKey:, PlayerEntity::showShipyardModel:shipData:personality:, and UNIVERSE.
|
implementation |
Extends class PlayerEntity.
Definition at line 818 of file PlayerEntityLoadSave.m.
| - (void) writePlayerToPath: | (NSString*) | path |
Extends class PlayerEntity.
Definition at line 683 of file PlayerEntityLoadSave.m.
References PlayerEntity::commanderDataDictionary, nil, OOLog, and PlayerEntity::setGuiToStatusScreen.