You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
711 B
29 lines
711 B
|
6 years ago
|
/**
|
||
|
5 years ago
|
* @file dun_render.hpp
|
||
|
6 years ago
|
*
|
||
|
|
* Interface of functionality for rendering the level tiles.
|
||
|
|
*/
|
||
|
5 years ago
|
#pragma once
|
||
|
8 years ago
|
|
||
|
5 years ago
|
#include "engine.h"
|
||
|
|
|
||
|
5 years ago
|
namespace devilution {
|
||
|
6 years ago
|
|
||
|
5 years ago
|
/**
|
||
|
|
* @brief Blit current world CEL to the given buffer
|
||
|
|
* @param out Target buffer
|
||
|
|
* @param x Target buffer coordinate
|
||
|
|
* @param y Target buffer coordinate
|
||
|
|
*/
|
||
|
5 years ago
|
void RenderTile(const CelOutputBuffer &out, int x, int y);
|
||
|
5 years ago
|
|
||
|
|
/**
|
||
|
5 years ago
|
* @brief Render a black 64x31 tile ◆
|
||
|
5 years ago
|
* @param out Target buffer
|
||
|
5 years ago
|
* @param sx Target buffer coordinate (left corner of the tile)
|
||
|
|
* @param sy Target buffer coordinate (bottom corner of the tile)
|
||
|
5 years ago
|
*/
|
||
|
5 years ago
|
void world_draw_black_tile(const CelOutputBuffer &out, int sx, int sy);
|
||
|
8 years ago
|
|
||
|
5 years ago
|
} // namespace devilution
|