1 /*
2  * This file is part of the Colobot: Gold Edition source code
3  * Copyright (C) 2001-2020, Daniel Roux, EPSITEC SA & TerranovaTeam
4  * http://epsitec.ch; http://colobot.info; http://github.com/colobot
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14  * See the GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see http://gnu.org/licenses
18  */
19 
20 /**
21  * \file graphics/engine/pyro_type.h
22  * \brief PyroType enum
23  */
24 
25 #pragma once
26 
27 namespace Gfx
28 {
29 
30 /**
31  * \enum PyroType
32  * \brief Type of pyro effect
33  */
34 enum PyroType
35 {
36     PT_NULL     = 0,
37     PT_FRAGT    = 1,        //! < fragmentation of technical object
38     PT_FRAGO    = 2,        //! < fragmentation of organic object
39     PT_FRAGW    = 4,        //! < fragmentation of object under water
40     PT_EXPLOT   = 5,        //! < explosion of technical object
41     PT_EXPLOO   = 6,        //! < explosion of organic object
42     PT_EXPLOW   = 8,        //! < explosion of object under water
43     PT_SHOTT    = 9,        //! < hit technical object
44     PT_SHOTH    = 10,       //! < hit human
45     PT_SHOTM    = 11,       //! < hit queen
46     PT_SHOTW    = 12,       //! < hit under water (TODO: check if unused)
47     PT_EGG      = 13,       //! < break the egg
48     PT_BURNT    = 14,       //! < burning of technical object
49     PT_BURNO    = 15,       //! < burning of organic object
50     PT_SPIDER   = 16,       //! < spider explosion
51     PT_FALL     = 17,       //! < cargo falling
52     PT_WPCHECK  = 18,       //! < indicator reaches
53     PT_FLCREATE = 19,       //! < flag create
54     PT_FLDELETE = 20,       //! < flag destroy
55     PT_RESET    = 21,       //! < reset position of the object
56     PT_WIN      = 22,       //! < fireworks
57     PT_LOST     = 23,       //! < black smoke
58     PT_DEADG    = 24,       //! < shooting death
59     PT_DEADW    = 25,       //! < drowning death
60     PT_FINDING  = 26,       //! < object discovered
61     PT_FRAGV    = 27,       //! < fragmentation of plant object
62     PT_SQUASH   = 28,       //! < flattening plants
63 };
64 
65 } // namespace Gfx
66