2012-06-05 14:08:35 -05:00
|
|
|
//
|
|
|
|
// 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
|
|
|
|
|
2012-08-13 09:43:57 -05:00
|
|
|
#include "graphics/Graphics.h"
|
|
|
|
class VideoBuffer;
|
|
|
|
|
2012-06-05 14:08:35 -05:00
|
|
|
struct wall_type
|
|
|
|
{
|
|
|
|
pixel colour;
|
|
|
|
pixel eglow; // if emap set, add this to fire glow
|
|
|
|
int drawstyle;
|
2012-07-21 12:43:46 -05:00
|
|
|
VideoBuffer * (*textureGen)(int, int, int);
|
2012-09-06 08:48:31 -05:00
|
|
|
const char *name;
|
2012-06-05 14:08:35 -05:00
|
|
|
const char *descs;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|