* @brief Render a missile sprites for a given tile * @param out Output buffer * @param tilePosition dPiece coordinates * @param targetBufferPosition Output buffer coordinates * @param pre Is the sprite in the background */
| 343 | * @param pre Is the sprite in the background |
| 344 | */ |
| 345 | void DrawMissile(const Surface &out, Point tilePosition, Point targetBufferPosition, bool pre, int lightTableIndex) |
| 346 | { |
| 347 | const auto range = MissilesAtRenderingTile.equal_range(tilePosition); |
| 348 | for (auto it = range.first; it != range.second; it++) { |
| 349 | DrawMissilePrivate(out, *it->second, targetBufferPosition, pre, lightTableIndex); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | /** |
| 354 | * @brief Render a monster sprite |
no test coverage detected