| 271 | } |
| 272 | |
| 273 | bool G_playEvent(std::string name, bool loop) |
| 274 | { |
| 275 | for (int i = 0; i < game.events.size(); i++) |
| 276 | { |
| 277 | if (!name.compare(game.events[i].name)) |
| 278 | { |
| 279 | game.events[i].Play(loop); |
| 280 | return true; |
| 281 | } |
| 282 | } |
| 283 | return false; |
| 284 | } |
| 285 | |
| 286 | bool G_stopEvent(std::string name) |
| 287 | { |
no test coverage detected