1,554
edits
(Add an item to the TODO list) |
(Fix code formatting) |
||
Line 44: | Line 44: | ||
case Common::EVENT_KEYDOWN: | case Common::EVENT_KEYDOWN: | ||
switch (event.kbd.keycode) { | switch (event.kbd.keycode) { | ||
case Common::KEYCODE_t: | |||
doTalk(); | |||
break; | |||
case Common::KEYCODE_u: | |||
doUse(); | |||
break; | |||
} | } | ||
} | } | ||
Line 91: | Line 91: | ||
case Common::EVENT_CUSTOM_ENGINE_ACTION_START: | case Common::EVENT_CUSTOM_ENGINE_ACTION_START: | ||
switch ((MyEngineAction)event.customType) { | switch ((MyEngineAction)event.customType) { | ||
case kMyActionTalk: | |||
doTalk(); | |||
break; | |||
case kMyActionUse: | |||
doUse(); | |||
break; | |||
} | } | ||
} | } |