MADS: Implemented methods for checking action at mouse position and clicking
This commit is contained in:
parent
4ab73a89ab
commit
8d252f4f0e
9 changed files with 326 additions and 26 deletions
|
@ -460,6 +460,9 @@ void UserInterface::loadElements() {
|
|||
_vm->_game->_screenObjects.add(bounds, LAYER_GUI, CAT_TALK_ENTRY, idx);
|
||||
}
|
||||
}
|
||||
|
||||
// Store the number of UI elements loaded for easy nuking/refreshing hotspots added later
|
||||
_vm->_game->_screenObjects._uiCount = _vm->_game->_screenObjects.size();
|
||||
}
|
||||
|
||||
bool UserInterface::getBounds(ScrCategory category, int v, Common::Rect &bounds) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue