-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVARIABLES.pde
More file actions
186 lines (130 loc) · 4.16 KB
/
VARIABLES.pde
File metadata and controls
186 lines (130 loc) · 4.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/* ----------------------------------------------------------- *\
LISTS
\* ----------------------------------------------------------- */
boolean[] keys = new boolean[4];
boolean[] dirs = new boolean[4];
/* ----------------------------------------------------------- *\
LISTS
\* ----------------------------------------------------------- */
ArrayList <Client> clients = new ArrayList <Client> ();
ArrayList <Character> activeKeys = new ArrayList <Character> ();
ArrayList <object_rocket> objects_rockets = new ArrayList <object_rocket> ();
ArrayList <rocket_part> objects_parts = new ArrayList <rocket_part> ();
ArrayList <rocket_piece> objects_pieces = new ArrayList <rocket_piece> ();
/* ----------------------------------------------------------- *\
MULTIPLAYER THINGS
\* ----------------------------------------------------------- */
Server svr;
Client cln;
/* ----------------------------------------------------------- *\
GAME LAYOUT
\* ----------------------------------------------------------- */
gameLayout gL;
MainScreen MS;
Loading LDG;
SinglePlayer SP;
//app_updater appup;
/* ----------------------------------------------------------- *\
JSON OBJECTS
\* ----------------------------------------------------------- */
JSONObject DEF_informations;
JSONObject DEF_settings;
/* ----------------------------------------------------------- *\
STRINGS
\* ----------------------------------------------------------- */
String DEF_error,
DEF_name = "myApp",
DEF_stage = "APLHA",
DEF_version = "v.0.0.0",
DEF_title = DEF_name +" "
+DEF_version +" "
+DEF_stage,
DEF_actualLayout;
/* ----------------------------------------------------------- *\
INTS
\* ----------------------------------------------------------- */
int DEF_fps,
DEF_Width,
DEF_Height,
cellSize = width/39,
indexZ,
TCS=32,
SCS=64,
PCSX=64,
PCSY=128,
playerOverID,
SVR_id,
CLN_id,
saveTime = 0,
moveSpeed = 1,
mouseWheelDirection,
gameLayoutPosX,
gameLayoutPosY;
/* ----------------------------------------------------------- *\
BOOLEAN
\* ----------------------------------------------------------- */
boolean DEF_autoupdate,
DEF_developer,
DEF_conectivity,
DEF_quality,
DEF_fullScreen,
DEF_InError,
DEF_texturepack,
DEF_dev_gui,
SVR_running,
SVR_InError,
CLN_running,
CLN_InError,
doOne;
/* ----------------------------------------------------------- *\
IMAGES
\* ----------------------------------------------------------- */
PImage DEF_icon,
DEF_logo,
DEF_TileSet_walls,
DEF_TileSet_objects,
DEF_TileSet_skins,
DEF_TileSet_parts,
DEF_TileSet_pieces;
/* ----------------------------------------------------------- *\
TEXTURES
\* ----------------------------------------------------------- */
ArrayList<PImage> TEX_walls = new ArrayList<PImage>();
ArrayList<PImage> TEX_objects = new ArrayList<PImage>();
ArrayList<PImage> TEX_parts = new ArrayList<PImage>();
/* ----------------------------------------------------------- *\
COLORS
\* ----------------------------------------------------------- */
color white = color(255, 255, 255),
black = color(0, 0, 0),
red = color(255, 0, 0),
green = color(0, 255, 0),
blue = color(0, 0, 255),
yellow = color(255, 255, 0),
magenta = color(255, 0, 255),
cyan = color(0, 255, 255);
/* ----------------------------------------------------------- *\
IMPORTED
\* ----------------------------------------------------------- */
String version = "v.1.9.0 ALPHA";
ArrayList<grid_line> lines = new ArrayList<grid_line>();
JSONObject settings;
byte[] jar_copy;
int actualLayout = 0,
FPS,
st_w,
st_h,
timeDist,
transTO,
transL,
transLO = 255;
boolean UPDATE,
CONECTIVITY,
DEVELOPER,
AUTOUPDATE,
QUALITY,
paused,
onePress,
oneKey,
transitioning;
PImage planTexture, planGround, planClouds, st_field, planHEX, spacer_logo;