| 166 | } |
| 167 | |
| 168 | static void reset_auto_wait() |
| 169 | { |
| 170 | const ztalkbox::asset_type* a = shared.active->asset; |
| 171 | |
| 172 | shared.auto_wait.type.time = a->auto_wait.type.time; |
| 173 | shared.auto_wait.type.prompt = a->auto_wait.type.prompt; |
| 174 | shared.auto_wait.type.sound = a->auto_wait.type.sound; |
| 175 | shared.auto_wait.type.event = a->auto_wait.type.event; |
| 176 | |
| 177 | shared.auto_wait.delay = a->auto_wait.delay; |
| 178 | |
| 179 | shared.auto_wait.need = 0; |
| 180 | |
| 181 | if (a->auto_wait.which_event <= 0 || a->auto_wait.which_event >= 32) |
| 182 | { |
| 183 | shared.auto_wait.event_mask = -1; |
| 184 | } |
| 185 | else |
| 186 | { |
| 187 | shared.auto_wait.event_mask = 1u << a->auto_wait.which_event; |
| 188 | } |
| 189 | |
| 190 | shared.auto_wait.query = Q_SKIP; |
| 191 | } |
| 192 | |
| 193 | static void load_wait_context(wait_context& c, const xtextbox::tag_entry_list& el) |
| 194 | { |
no outgoing calls
no test coverage detected