blob: c2d916a81fb2d755dd85cd0079da8d53679f5a6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//
// WallType.h
// The Powder Toy
//
// Created by Simon Robertshaw on 04/06/2012.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#ifndef The_Powder_Toy_WallType_h
#define The_Powder_Toy_WallType_h
#include "graphics/Graphics.h"
class VideoBuffer;
struct wall_type
{
pixel colour;
pixel eglow; // if emap set, add this to fire glow
int drawstyle;
VideoBuffer * (*textureGen)(int, int, int);
const char *name;
const char *descs;
};
#endif
|