ScummVM API documentation
Ultima::Nuvie::ViewManager Class Reference

Public Member Functions

 ViewManager (const Configuration *cfg)
 
bool init (GUI *g, Font *f, Party *p, Player *player, TileManager *tm, ObjManager *om, Portrait *por)
 
void reload ()
 
void update ()
 
void set_portrait_mode (Actor *actor, const char *name)
 
void set_inventory_mode ()
 
void set_party_mode ()
 
void set_actor_mode ()
 
void set_spell_mode (Actor *caster, Obj *spell_container, bool eventMode=false)
 
void close_spell_mode ()
 
Viewget_current_view ()
 
ActorViewget_actor_view ()
 
InventoryViewget_inventory_view ()
 
PortraitViewget_portrait_view ()
 
PartyViewget_party_view ()
 
SpellViewget_spell_view ()
 
MDSkyStripWidgetget_mdSkyWidget ()
 
void close_current_view ()
 
void open_doll_view (Actor *actor)
 
void open_container_view (Obj *obj)
 
void open_container_view (Actor *actor)
 
void close_container_view (Actor *actor)
 
void open_mapeditor_view ()
 
void open_portrait_gump (Actor *a)
 
void open_sign_gump (const char *sign_text, uint16 length)
 
void open_scroll_gump (const char *text, uint16 length)
 
void close_gump (DraggableView *gump)
 
void close_all_gumps ()
 
bool gumps_are_active ()
 
bool set_current_view (View *view)
 
void double_click_obj (Obj *obj)
 
unsigned int get_display_weight (float weight)
 
Common::Path getDollDataDirString ()
 
Graphics::ManagedSurfaceloadAvatarDollImage (Graphics::ManagedSurface *avatar_doll, bool orig=false)
 
Graphics::ManagedSurfaceloadCustomActorDollImage (Graphics::ManagedSurface *actor_doll, uint8 actor_num, bool orig=false)
 
Graphics::ManagedSurfaceloadGenericDollImage (bool orig)
 

Protected Member Functions

Actordoll_view_get_next_party_member ()
 
DollViewGumpget_doll_view (Actor *actor)
 
ContainerViewGumpget_container_view (Actor *actor, Obj *obj)
 
void open_container_view (Actor *actor, Obj *obj)
 
void add_gump (DraggableView *gump)
 
void add_view (View *view)
 
void move_gump_to_top (DraggableView *gump)
 

Protected Attributes

const Configurationconfig
 
int game_type
 
GUIgui
 
Fontfont
 
TileManagertile_manager
 
ObjManagerobj_manager
 
Partyparty
 
Portraitportrait
 
ActorViewactor_view
 
InventoryViewinventory_view
 
PortraitViewportrait_view
 
PartyViewparty_view
 
SpellViewspell_view
 
Viewcurrent_view
 
Std::list< DraggableView * > container_gumps
 
Std::list< DraggableView * > doll_gumps
 
Std::list< DraggableView * > gumps
 
uint8 doll_next_party_member
 
SunMoonRibbonribbon
 
MDSkyStripWidgetmdSkyWidget
 
Common::Path DollDataDirString
 

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