mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 06:24:32 +00:00
fixes to SceneEditor, some more things are working again
This commit is contained in:
parent
78ddd0862d
commit
a4ea66761b
4 changed files with 141 additions and 130 deletions
|
@ -17,6 +17,7 @@ TileRender::~TileRender()
|
|||
{
|
||||
}
|
||||
|
||||
|
||||
// shamelessly ripped from paint.net default palette
|
||||
static const Vector s_tagColors[] =
|
||||
{
|
||||
|
@ -41,6 +42,12 @@ static inline const Vector& getTagColor(int tag)
|
|||
|
||||
}
|
||||
|
||||
Vector TileRender::GetTagColor(int tag)
|
||||
{
|
||||
return getTagColor(tag);
|
||||
}
|
||||
|
||||
|
||||
void TileRender::onRender(const RenderState& rs) const
|
||||
{
|
||||
if(storage.tiles.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue