| 249 | } |
| 250 | |
| 251 | void Engine::RemoveText(int handle) |
| 252 | { |
| 253 | if (handle >= 0) |
| 254 | { |
| 255 | for (int i = 0; i < _texts.Size(); i++) |
| 256 | { |
| 257 | if (_texts[i]._handle == handle) |
| 258 | { |
| 259 | _texts.Delete(i); |
| 260 | return; |
| 261 | } |
| 262 | } |
| 263 | // text may already be expired |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | int Engine::ShowText(DWORD timeToLive, int x, int y, const char* text) |
| 268 | { |
no test coverage detected