AVALANCHE: Get rid of Basher. Move everything needed from it to Parser::init().

This commit is contained in:
uruk 2013-09-03 17:45:11 +02:00
parent 59317d6ac7
commit 84ae6db893
5 changed files with 10 additions and 249 deletions

View file

@ -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) {