3 * Iter Vehemens ad Necem (IVAN)
4 * Copyright (C) Timo Kiviluoto
5 * Released under the GNU General
8 * See LICENSING which should be included
9 * along with this file for more details
16 #include "ivancommon.h"
29 class smoke
: public entity
32 /* Come To The Dark Side */
36 smoke(gas
*, lsquare
*);
40 virtual void Draw(blitdata
&) const;
41 virtual square
* GetSquareUnderEntity(int = 0) const;
42 void SetLSquareUnder(lsquare
* What
) { LSquareUnder
= What
; }
43 lsquare
* GetLSquareUnder() const { return LSquareUnder
; }
44 void Save(outputfile
&) const;
45 void Load(inputfile
&);
46 virtual truth
IsOnGround() const { return true; }
47 void AddBreatheMessage() const;
49 cmaterial
* GetGas() const { return Gas
; }
50 truth
IsDangerousToBreathe(ccharacter
*) const;
51 truth
IsScaryToBreathe(ccharacter
*) const;
54 std::vector
<bitmap
*> Picture
;
55 lsquare
* LSquareUnder
;
59 outputfile
& operator<<(outputfile
&, const smoke
*);
60 inputfile
& operator>>(inputfile
&, smoke
*&);