ScummVM API documentation
types.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef ULTIMA4_CORE_TYPES_H
23 #define ULTIMA4_CORE_TYPES_H
24 
25 #include "ultima/ultima4/map/direction.h"
26 #include "common/scummsys.h"
27 
28 namespace Ultima {
29 namespace Ultima4 {
30 
31 class Tile;
32 
33 typedef uint TileId;
34 typedef byte MapId;
35 
36 enum TileSpeed {
37  FAST,
38  SLOW,
39  VSLOW,
40  VVSLOW
41 };
42 
43 enum TileEffect {
44  EFFECT_NONE,
45  EFFECT_FIRE,
46  EFFECT_SLEEP,
47  EFFECT_POISON,
48  EFFECT_POISONFIELD,
49  EFFECT_ELECTRICITY,
50  EFFECT_LAVA
51 };
52 
53 enum TileAnimationStyle {
54  ANIM_NONE,
55  ANIM_SCROLL,
56  ANIM_CAMPFIRE,
57  ANIM_CITYFLAG,
58  ANIM_CASTLEFLAG,
59  ANIM_SHIPFLAG,
60  ANIM_LCBFLAG,
61  ANIM_FRAMES
62 };
63 
70 class Uncopyable {
71 protected:
72  Uncopyable() {}
73  ~Uncopyable() {}
74 
75 private:
76  Uncopyable(const Uncopyable &);
77  const Uncopyable &operator=(const Uncopyable &);
78 };
79 
80 } // End of namespace Ultima4
81 } // End of namespace Ultima
82 
83 #endif
Definition: detection.h:27
Definition: types.h:70