AVALANCHE: Get rid of Basher. Move everything needed from it to Parser::init().
This commit is contained in:
parent
59317d6ac7
commit
84ae6db893
5 changed files with 10 additions and 249 deletions
|
@ -34,6 +34,13 @@ Parser::Parser(AvalancheEngine *vm) {
|
|||
_vm = vm;
|
||||
}
|
||||
|
||||
void Parser::init() {
|
||||
_leftMargin = 0;
|
||||
if (!_inputText.empty())
|
||||
_inputText.clear();
|
||||
_inputTextPos = 0;
|
||||
}
|
||||
|
||||
void Parser::handleInputText(const Common::Event &event) {
|
||||
byte inChar = event.kbd.ascii;
|
||||
if (_vm->_dropdown->ddm_o.menunow) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue