This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
The-Powder-Toy/src/simulation/WallType.h

18 lines
364 B
C++

#pragma once
#include <memory>
#include "common/String.h"
#include "common/Vec2.h"
#include "graphics/Pixel.h"
class VideoBuffer;
struct wall_type
{
RGB<uint8_t> colour;
RGB<uint8_t> eglow; // if emap set, add this to fire glow
int drawstyle;
std::unique_ptr<VideoBuffer> (*textureGen)(int, Vec2<int>);
String name;
ByteString identifier;
String descs;
};