![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
Instance Methods | |
(BOOL) | - loadPlayerWithPanel |
(void) | - savePlayerWithPanel |
(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 72 of file PlayerEntityLoadSave.m.
- (BOOL) existingNativeSave: | (NSString *) | cdrName |
Extends class PlayerEntity.
Definition at line 1193 of file PlayerEntityLoadSave.m.
- (int) findIndexOfCommander: | (NSString *) | cdrName |
Extends class PlayerEntity.
Definition at line 1329 of file PlayerEntityLoadSave.m.
References int().
- (BOOL) loadPlayerWithPanel |
Extends class PlayerEntity.
Definition at line 814 of file PlayerEntityLoadSave.m.
References PlayerEntity::loadPlayerFromFile:asNew:, and loadPlayerWithPanel.
Referenced by loadPlayerWithPanel.
- (void) lsCommanders: | (GuiDisplayGen *) | gui | |
directory: | (NSString*) | directory | |
pageNumber: | (int) | page | |
highlightName: | (NSString *) | highlightName |
Extends class PlayerEntity.
Definition at line 1008 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 899 of file PlayerEntityLoadSave.m.
References OOJSSTR, PlayerEntity::setLastsaveName:, ShipScriptEventNoCx, and PlayerEntity::writePlayerToPath:.
- (void) savePlayerWithPanel |
Extends class PlayerEntity.
Definition at line 834 of file PlayerEntityLoadSave.m.
References OOJSSTR, savePlayerWithPanel, PlayerEntity::setGuiToStatusScreen, ShipScriptEventNoCx, and PlayerEntity::writePlayerToPath:.
Referenced by savePlayerWithPanel.
- (void) setGuiToLoadCommanderScreen |
Extends class PlayerEntity.
Definition at line 914 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 968 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 937 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 1203 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 1003 of file PlayerEntityLoadSave.m.
- (void) writePlayerToPath: | (NSString *) | path |
Extends class PlayerEntity.
Definition at line 861 of file PlayerEntityLoadSave.m.
References PlayerEntity::commanderDataDictionary, nil, OOLog, and PlayerEntity::setGuiToStatusScreen.