ManaPlus
imagevertexes.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2011-2019 The ManaPlus Developers
4  * Copyright (C) 2019-2021 Andrei Karas
5  *
6  * This file is part of The ManaPlus Client.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef RENDER_VERTEXES_IMAGEVERTEXES_H
23 #define RENDER_VERTEXES_IMAGEVERTEXES_H
24 
26 
27 #ifdef USE_OPENGL
29 #else // USE_OPENGL
30 #include "utils/vector.h"
31 #endif // USE_OPENGL
32 
33 #include "localconsts.h"
34 
35 class Image;
36 
37 typedef STD_VECTOR<DoubleRect*> DoubleRects;
38 
40 {
41  public:
42  ImageVertexes();
43 
45 
47 
49 #ifdef USE_OPENGL
50  OpenGLGraphicsVertexes ogl;
51 #endif // USE_OPENGL
52 
54 };
55 
56 typedef STD_VECTOR<ImageVertexes*> ImageVertexesVector;
57 typedef ImageVertexesVector::iterator ImageCollectionIter;
58 typedef ImageVertexesVector::const_iterator ImageCollectionCIter;
59 
60 #endif // RENDER_VERTEXES_IMAGEVERTEXES_H
const Image * image
Definition: imagevertexes.h:48
OpenGLGraphicsVertexes ogl
Definition: imagevertexes.h:50
DoubleRects sdl
Definition: imagevertexes.h:53
std::vector< ImageVertexes * > ImageVertexesVector
Definition: imagevertexes.h:56
std::vector< DoubleRect * > DoubleRects
Definition: imagevertexes.h:35
ImageVertexesVector::const_iterator ImageCollectionCIter
Definition: imagevertexes.h:58
ImageVertexesVector::iterator ImageCollectionIter
Definition: imagevertexes.h:57
#define restrict
Definition: localconsts.h:165
#define final
Definition: localconsts.h:46
#define A_DELETE_COPY(func)
Definition: localconsts.h:53