PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
npc_filedata.h
1 /*
2  * Platformer Game Engine by Wohlstand, a free platform for game making
3  * Copyright (c) 2014-2015 Vitaly Novichkov <admin@wohlnet.ru>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef NPC_FILEDATA_H
20 #define NPC_FILEDATA_H
21 
22 #include "pge_file_lib_globs.h"
23 
25 {
26  bool ReadFileValid;
27 
28  /* Using options flags BEGIN */
29  bool en_gfxoffsetx;
30  bool en_gfxoffsety;
31  bool en_width;
32  bool en_height;
33  bool en_gfxwidth;
34  bool en_gfxheight;
35  bool en_score;
36  bool en_health;
37  bool en_playerblock;
38  bool en_playerblocktop;
39  bool en_npcblock;
40  bool en_npcblocktop;
41  bool en_grabside;
42  bool en_grabtop;
43  bool en_jumphurt;
44  bool en_nohurt;
45  bool en_noblockcollision;
46  bool en_cliffturn;
47  bool en_noyoshi;
48  bool en_foreground;
49  bool en_speed;
50  bool en_nofireball;
51  bool en_nogravity;
52  bool en_frames;
53  bool en_framespeed;
54  bool en_framestyle;
55  bool en_noiceball;
56  //Extended
57  bool en_nohammer;
58  bool en_noshell;
59  bool en_name;
60  bool en_image;
61  bool en_script;
62  bool en_grid;
63  bool en_grid_offset_x;
64  bool en_grid_offset_y;
65  bool en_grid_align;
66  /* Using options flags END */
67 
68  int gfxoffsetx;
69  int gfxoffsety;
70  unsigned int width;
71  unsigned int height;
72  unsigned int gfxwidth;
73  unsigned int gfxheight;
74  unsigned int score;
75  unsigned int health;
76  bool playerblock;
77  bool playerblocktop;
78  bool npcblock;
79  bool npcblocktop;
80  bool grabside;
81  bool grabtop;
82  bool jumphurt;
83  bool nohurt;
84  bool noblockcollision;
85  bool cliffturn;
86  bool noyoshi;
87  bool foreground;
88  float speed;
89  bool nofireball;
90  bool nogravity;
91  unsigned int frames;
92  unsigned int framespeed;
93  unsigned int framestyle;
94  bool noiceball;
95  //Extended
96  bool nohammer;
97  bool noshell;
98  PGESTRING name;
99  PGESTRING image;
100  PGESTRING script;
101  unsigned int grid;
102  unsigned int grid_offset_x;
103  unsigned int grid_offset_y;
104  unsigned int grid_align;
105 };
106 
107 #endif // NPC_FILEDATA_H
#define PGESTRING
A macro which equal to std::string if PGE File Library built in the STL mode and equal to QString if ...
Definition: pge_file_lib_globs.h:97
Definition: npc_filedata.h:24
Contains internal settings and references for PGE File Library.