|
| MapWindow (const Configuration *cfg, Map *m) |
|
bool | init (TileManager *tm, ObjManager *om, ActorManager *am) |
|
sint16 | get_cur_x () const |
|
sint16 | get_cur_y () const |
|
bool | set_windowSize (uint16 width, uint16 height) |
|
void | set_show_cursor (bool state) |
|
void | set_show_use_cursor (bool state) |
|
void | set_show_grid (bool state) |
|
bool | is_grid_showing () |
|
void | set_velocity (sint16 vx, sint16 vy) |
|
void | set_overlay (Graphics::ManagedSurface *surfpt) |
|
void | set_overlay_level (int level=0) |
|
void | set_x_ray_view (X_RayType state, bool cheat_off=false) |
|
X_RayType | get_x_ray_view () |
|
void | set_freeze_blacking_location (bool state) |
|
void | set_enable_blacking (bool state) |
|
void | set_roof_mode (bool roofs) |
|
void | set_roof_display_mode (enum RoofDisplayType mode) |
|
void | set_walking (bool state) |
|
void | set_walk_button_mask () |
|
bool | will_walk_with_left_button () |
|
void | set_walk_with_left_button (bool val) |
|
void | set_looking (bool state) |
|
int | get_min_brightness () |
|
void | set_min_brightness (int brightness) |
|
void | moveLevel (uint8 new_level) |
|
void | moveMap (sint16 new_x, sint16 new_y, sint8 new_level, uint8 new_x_add=0, uint8 new_y_add=0) |
|
void | moveMapRelative (sint16 rel_x, sint16 rel_y) |
|
void | shiftMapRelative (sint16 rel_x, sint16 rel_y) |
|
void | set_mousecenter (sint16 new_x, sint16 new_y) |
|
void | reset_mousecenter () |
|
uint16 | get_win_area () |
|
void | centerMapOnActor (Actor *actor) |
|
void | centerMap (uint16 x, uint16 y, uint8 z) |
|
void | centerCursor () |
|
void | moveCursor (sint16 new_x, sint16 new_y) |
|
void | moveCursorRelative (sint16 rel_x, sint16 rel_y) |
|
bool | is_doubleclick_enabled () |
|
void | set_enable_doubleclick (bool val) |
|
void | set_look_on_left_click (bool val) |
|
void | set_use_left_clicks () |
|
bool | will_look_on_left_click () |
|
bool | is_on_screen (uint16 x, uint16 y, uint8 z) |
|
bool | tile_is_black (uint16 x, uint16 y, const Obj *obj=nullptr) const |
|
const char * | look (uint16 x, uint16 y, bool show_prefix=true) |
|
const char * | lookAtCursor (bool show_prefix=true) |
|
Obj * | get_objAtCursor (bool for_use=false) |
|
Obj * | get_objAtCoord (MapCoord coord, bool top_obj, bool include_ignored_objects, bool for_use=false) |
|
Actor * | get_actorAtCursor () |
|
MapCoord | get_cursorCoord () |
|
Obj * | get_objAtMousePos (int x, int y) |
|
Actor * | get_actorAtMousePos (int x, int y) |
|
void | teleport_to_cursor () |
|
void | select_target (int x, int y) |
|
void | mouseToWorldCoords (int mx, int my, int &wx, int &wy) |
|
void | get_movement_direction (uint16 mx, uint16 my, sint16 &rel_x, sint16 &rel_y, uint8 *mptr=nullptr) |
|
TileManager * | get_tile_manager () |
|
AnimManager * | get_anim_manager () |
|
const Common::Rect * | get_clip_rect () const |
|
Graphics::ManagedSurface * | get_overlay () |
|
void | get_level (uint8 *level) const |
|
void | get_pos (uint16 *x, uint16 *y, uint8 *px=nullptr, uint8 *py=nullptr) const |
|
void | get_velocity (sint16 *vx, sint16 *vy) const |
|
void | get_windowSize (uint16 *width, uint16 *height) const |
|
bool | in_window (uint16 x, uint16 y, uint8 z) const |
|
bool | in_dungeon_level () const |
|
bool | in_town () const |
|
CanDropOrMoveMsg | can_drop_or_move_obj (uint16 x, uint16 y, Actor *actor, Obj *obj) |
|
void | display_can_drop_or_move_msg (CanDropOrMoveMsg msg, Std::string msg_text="") |
|
bool | can_get_obj (const Actor *actor, Obj *obj) |
|
bool | blocked_by_wall (const Actor *actor, const Obj *obj) |
|
void | updateBlacking () |
|
void | updateAmbience () |
|
void | update () |
|
void | Display (bool full_redraw) override |
|
GUI_status | MouseDown (int x, int y, Shared::MouseButton button) override |
|
GUI_status | MouseUp (int x, int y, Shared::MouseButton button) override |
|
GUI_status | MouseMotion (int x, int y, uint8 state) override |
|
GUI_status | MouseDouble (int x, int y, Shared::MouseButton button) override |
|
GUI_status | MouseClick (int x, int y, Shared::MouseButton button) override |
|
GUI_status | Idle (void) override |
|
GUI_status | MouseLeave (uint8 state) override |
|
GUI_status | MouseDelayed (int x, int y, Shared::MouseButton button) override |
|
GUI_status | MouseHeld (int x, int y, Shared::MouseButton button) override |
|
GUI_status | KeyDown (const Common::KeyState &key) override |
|
GUI_status | MouseWheel (sint32 x, sint32 y) override |
|
void | drag_drop_success (int x, int y, int message, void *data) override |
|
void | drag_drop_failed (int x, int y, int message, void *data) override |
|
bool | drag_accept_drop (int x, int y, int message, void *data) override |
|
void | drag_perform_drop (int x, int y, int message, void *data) override |
|
bool | move_on_drop (Obj *obj) |
|
void | set_interface () |
|
InterfaceType | get_interface () |
|
bool | is_interface_fullscreen_in_combat () |
|
void | drag_draw (int x, int y, int message, void *data) override |
|
void | update_mouse_cursor (uint32 mx, uint32 my) |
|
unsigned char * | make_thumbnail () |
|
void | free_thumbnail () |
|
Graphics::ManagedSurface * | get_sdl_surface () |
|
Graphics::ManagedSurface * | get_sdl_surface (uint16 x, uint16 y, uint16 w, uint16 h) |
|
Graphics::ManagedSurface * | get_roof_tiles () |
|
void | wizard_eye_start (const MapCoord &location, uint16 duration, CallBack *caller) |
|
| GUI_Widget (void *data) |
|
| GUI_Widget (void *data, int x, int y, int w, int h) |
|
int | AddWidget (GUI_Widget *widget) |
|
virtual void | Show (void) |
|
virtual void | Hide (void) |
|
virtual void | Delete (void) |
|
virtual void | MoveRelative (int dx, int dy) |
|
virtual void | Move (int32 new_x, int32 new_y) |
|
void | MoveRelativeToParent (int dx, int dy) |
|
bool | has_focus () const |
|
void | grab_focus () |
|
virtual void | release_focus () |
|
void | moveToFront () |
|
virtual void | PlaceOnScreen (Screen *s, GUI_DragManager *dm, int x, int y) |
|
virtual WIDGET_status | Status (void) const |
|
virtual void | SetRect (int x, int y, int w, int h) |
|
virtual void | SetRect (Common::Rect **bounds) |
|
virtual Common::Rect | GetRect () |
|
virtual int | X () const |
|
virtual int | Y () const |
|
virtual int | W () const |
|
virtual int | H () const |
|
virtual int | HitRect (int x, int y) |
|
virtual int | HitRect (int x, int y, const Common::Rect &rect) |
|
virtual void | SetDisplay (Screen *s) |
|
void | DisplayChildren (bool full_redraw=false) |
|
virtual void | Redraw (void) |
|
bool | needs_redraw () const |
|
bool | widget_has_focus () |
|
virtual GUI_status | KeyUp (Common::KeyState key) |
|
virtual GUI_status | MouseEnter (uint8 state) |
|
virtual GUI_status | HandleEvent (const Common::Event *event) |
|
char * | Error (void) |
|
virtual int | ClickState (int button) |
|
virtual void | SetClickState (int button, int value) |
|
bool | is_drop_target () |
|
virtual GUI_status | callback (uint16 msg, GUI_CallBack *caller, void *data) |
|
|
void | create_thumbnail () |
|
void | drawActors () |
|
void | drawAnims (bool top_anims) |
|
void | drawObjs () |
|
void | drawObjSuperBlock (bool draw_lowertiles, bool toptile) |
|
void | drawObj (const Obj *obj, bool draw_lowertiles, bool toptile) |
|
void | drawTile (const Tile *tile, uint16 x, uint16 y, bool toptile, bool use_tile_data=false) |
|
void | drawNewTile (const Tile *tile, uint16 x, uint16 y, bool toptile) |
|
void | drawBorder () |
|
void | drawTopTile (const Tile *tile, uint16 x, uint16 y, bool toptile) |
|
void | drawActor (const Actor *actor) |
|
void | drawRoofs () |
|
void | drawGrid () |
|
void | drawRain () |
|
void | drawLensAnim () |
|
void | updateLighting () |
|
void | generateTmpMap () |
|
void | boundaryFill (const byte *map_ptr, uint16 pitch, uint16 x, uint16 y) |
|
bool | floorTilesVisible () |
|
bool | boundaryLookThroughWindow (uint16 tile_num, uint16 x, uint16 y) |
|
void | reshapeBoundary () |
|
bool | tmpBufTileIsBlack (uint16 x, uint16 y) const |
|
bool | tmpBufTileIsBoundary (uint16 x, uint16 y) |
|
bool | tmpBufTileIsWall (uint16 x, uint16 y, NuvieDir direction) |
|
void | wizard_eye_stop () |
|
void | wizard_eye_update () |
|
bool | is_wizard_eye_mode () |
|
void | loadRoofTiles () |
|
void | Init (void *data, int x, int y, int w, int h) |
|
void | setParent (GUI_Widget *widget) |
|
void | SetError (char *fmt,...) |
|
void | set_accept_mouseclick (bool set, int button=0) |
|
void | set_mouseup (int set, int button=0) |
|
void | set_mousedown (int set, int button=0) |
|
int | get_mouseup (int button) const |
|
int | get_mousedown (int button) const |
|
void | wait_for_mouseclick (int button) |
|
void | wait_for_mousedown (int button) |
|
virtual GUI_status | try_mouse_delayed () |
|