Public Member Functions | |
| void | synchronize (Common::Serializer &s) override |
| bool | isVGA () const override |
| void | starting (bool isLoading) override |
| bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
| void | giveTreasure (int coins, int v2) |
Public Member Functions inherited from Ultima::Shared::Game | |
| Game () | |
| ~Game () override | |
| void | playFX (uint effectId) |
| void | setEGAPalette (const byte *palette) |
| void | setCGAPalette () |
| Maps::Map * | getMap () const override |
| void | endOfTurn () |
Public Member Functions inherited from Ultima::Shared::GameBase | |
| GameBase () | |
| ~GameBase () override | |
| void | onIdle () override |
| void | mouseMove (const Point &mousePos) override |
| void | leftButtonDown (const Point &mousePos) override |
| void | leftButtonUp (const Point &mousePos) override |
| void | middleButtonDown (const Point &mousePos) override |
| void | middleButtonUp (const Point &mousePos) override |
| void | rightButtonDown (const Point &mousePos) override |
| void | rightButtonUp (const Point &mousePos) override |
| void | mouseWheel (const Point &mousePos, bool wheelUp) override |
| void | keyDown (Common::KeyState keyState) override |
| void | update () |
| void | mouseChanged () |
| void | setView (Gfx::VisualItem *view) |
| void | setView (const Common::String &viewName) |
| void | setPopup (Gfx::Popup *popup) |
| Gfx::VisualItem * | getView () const |
| void | setFont (Gfx::Font *font) |
| Gfx::Font * | getFont () const |
| uint | getRandomNumber (uint max) |
| uint | getRandomNumber (uint min, uint max) |
| void | sleep (uint time) |
| uint32 | getMillis () const |
| virtual bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) |
Public Member Functions inherited from Ultima::Shared::TreeItem | |
| virtual const Common::String | getName () const |
| virtual bool | isEquals (const Common::String &name, int maxLen=0) const |
| virtual int | compareTo (const Common::String &name, int maxLen=0) const |
| virtual void | viewChange () |
| TreeItem * | getParent () const |
| Game * | getGame () |
| const Game * | getGame () const |
| Gfx::VisualItem * | getView () |
| TreeItem * | getNextSibling () const |
| TreeItem * | getPriorSibling () const |
| TreeItem * | getLastSibling () |
| TreeItem * | getFirstChild () const |
| TreeItem * | getLastChild () const |
| TreeItem * | scan (TreeItem *item) const |
| TreeItem * | findChildInstanceOf (const ClassDef &classDef) const |
| TreeItem * | findNextInstanceOf (const ClassDef &classDef, TreeItem *startItem) const |
| void | addUnder (TreeItem *newParent) |
| void | addChild (TreeItem *child) |
| void | setParent (TreeItem *newParent) |
| void | addSibling (TreeItem *item) |
| void | moveUnder (TreeItem *newParent) |
| void | destroyAll () |
| int | destroyChildren () |
| void | detach () |
| void | attach (TreeItem *item) |
| NamedItem * | findByName (const Common::String &name) |
Public Member Functions inherited from Ultima::Shared::BaseObject | |
| virtual ::Ultima::Shared::ClassDef | getType () const |
| bool | isInstanceOf (const ClassDef &classDef) const |
Public Member Functions inherited from Ultima::Shared::EventTarget | |
| virtual void | keyUp (Common::KeyState keyState) |
Public Attributes | |
| GameResources * | _res |
| Shared::Gfx::VisualItem * | _gameView |
| Shared::Gfx::VisualItem * | _titleView |
| Shared::Gfx::VisualItem * | _charGenView |
| uint | _gems [4] |
| Quests | _quests |
| CLASSDEF | |
Public Attributes inherited from Ultima::Shared::Game | |
| byte | _edgeColor |
| byte | _borderColor |
| byte | _highlightColor |
| byte | _textColor |
| byte | _color1 |
| byte | _bgColor |
| byte | _whiteColor |
| Party * | _party |
| Maps::Map * | _map |
| uint32 | _randomSeed |
| CLASSDEF | |
Public Attributes inherited from Ultima::Shared::GameBase | |
| Gfx::TextCursor * | _textCursor |
| uint | _videoMode |
Public Attributes inherited from Ultima::Shared::TreeItem | |
| CLASSDEF | |
Additional Inherited Members | |
Static Public Member Functions inherited from Ultima::Shared::BaseObject | |
| ::Ultima::Shared::ClassDef | type () |
Protected Member Functions inherited from Ultima::Shared::Game | |
| void | setEGAPalette () |
| void | loadU6Palette () |
Protected Attributes inherited from Ultima::Shared::Game | |
| GameView * | _gameView |
| FontResources * | _fontResources |
Protected Attributes inherited from Ultima::Shared::GameBase | |
| uint32 | _priorLeftDownTime |
| uint32 | _priorMiddleDownTime |
| uint32 | _priorRightDownTime |
| Gfx::VisualItem * | _currentView |
| Gfx::Popup * | _pendingPopup |
| InputHandler | _inputHandler |
| InputTranslator | _inputTranslator |
| Gfx::Font * | _font |
|
overridevirtual |
Handles loading and saving games
Reimplemented from Ultima::Shared::Game.
|
inlineoverridevirtual |
Returns true if the current video mode is VGA
Reimplemented from Ultima::Shared::GameBase.
|
overridevirtual |
Called when the game starts
Reimplemented from Ultima::Shared::GameBase.
|
overridevirtual |
Returns true if the game can currently be saved
Reimplemented from Ultima::Shared::GameBase.
| void Ultima::Ultima1::Ultima1Game::giveTreasure | ( | int | coins, |
| int | v2 | ||
| ) |
Give some treasure