ScummVM API documentation
Hollywood::RunawayStrings Class Reference

Public Types

enum  TextId {
  kLook , kTake , kUse , kPutAway ,
  kWith , kInventory , kResume , kOpen ,
  kClose , kMove , kLookThrough , kUsePhone ,
  kTakeFromShelf , kUnplugCooler , kShirt , kWetCloth ,
  kDirtyCloth , kOptions , kLoad , kSave ,
  kDelete , kPlay , kQuit , kMusic ,
  kAntialias , kScrolling , kPointerSound , kSubtitles ,
  kOn , kOff , kFast , kSlow ,
  kVolume , kBrightness , kCredits , kSaveSettings ,
  kDefaultSettings , kConfirmQuit , kYes , kNo ,
  kQuitKey , kLeaveHatch , kEnterSaveName , kNoSaves ,
  kNewSave , kGameSaved , kSettingsSaved , kDefaultsRestored ,
  kSaveFailed , kLoadFailed , kDeleteFailed , kNoFreeSlots ,
  kDeleteKey , kCreditsFailed , kPlayBeginning , kPlayChapter ,
  kDryMarkerPen , kSyringeWithAlcohol , kFakeMedicalChart , kHeadWithWig ,
  kGlassWithWater , kBoxOfSyringes , kMedicalChart , kFakeChart ,
  kMuseumDemoCondom , kFrozenBattery , kMayanPryingTool , kGroundCoffeeBowl ,
  kEmptyBowl , kLadleWithBattery , kAnthropologyBooks , kDocuments ,
  kAlteredLaser , kVarnishBriefcase , kWilly , kMayanBowlsAndJars ,
  kExhibitBucket , kTeapot , kExhibitBowl , kThermalChamber ,
  kKey , kNitrogenTank , kElectronMicroscope , kMakeshiftBullet ,
  kPileOfMakeshiftBullets , kMendedStrap , kBottleWithWater , kBottleWithGasoline ,
  kFilledMeasuringTube , kPolishedStone , kStoneOfLight , kMakeshiftMortar ,
  kSteamOutletLever , kPressureWheel , kMakeshiftMiningTool , kHotScalpel ,
  kOpenPods , kTextCount
}
 

Public Member Functions

 RunawayStrings (Common::Language language)
 
bool load ()
 
Common::U32String text (TextId id) const
 
Common::U32String itemName (byte chapter, byte item) const
 
Common::U32String hotspotName (uint16 scene, byte hotspot) const
 
Common::U32String sceneActionCaption (uint16 scene, byte hotspot, byte item, bool look, const char *variant=nullptr) const
 
Common::U32String combinationCaption (byte chapter, byte item, byte target) const
 
Common::U32String shackHotspotName (byte hotspot) const
 

Static Public Member Functions

static Common::U32String formatActionCaption (const Common::U32String &pattern, const Common::U32String &item, const Common::U32String &target)
 

The documentation for this class was generated from the following file: