diff options
Diffstat (limited to 'apps/plugins/fireworks.c')
-rw-r--r-- | apps/plugins/fireworks.c | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c index b95895342b..4ad487d242 100644 --- a/apps/plugins/fireworks.c +++ b/apps/plugins/fireworks.c | |||
@@ -140,60 +140,60 @@ LCD_RGBPACK(19,10,26) }; | |||
140 | #endif | 140 | #endif |
141 | 141 | ||
142 | static const struct opt_items autofire_delay_settings[15] = { | 142 | static const struct opt_items autofire_delay_settings[15] = { |
143 | { "Off", NULL }, | 143 | { "Off", -1 }, |
144 | { "50ms", NULL }, | 144 | { "50ms", -1 }, |
145 | { "100ms", NULL }, | 145 | { "100ms", -1 }, |
146 | { "200ms", NULL }, | 146 | { "200ms", -1 }, |
147 | { "300ms", NULL }, | 147 | { "300ms", -1 }, |
148 | { "400ms", NULL }, | 148 | { "400ms", -1 }, |
149 | { "500ms", NULL }, | 149 | { "500ms", -1 }, |
150 | { "600ms", NULL }, | 150 | { "600ms", -1 }, |
151 | { "700ms", NULL }, | 151 | { "700ms", -1 }, |
152 | { "800ms", NULL }, | 152 | { "800ms", -1 }, |
153 | { "900ms", NULL }, | 153 | { "900ms", -1 }, |
154 | { "1s", NULL }, | 154 | { "1s", -1 }, |
155 | { "2s", NULL }, | 155 | { "2s", -1 }, |
156 | { "3s", NULL }, | 156 | { "3s", -1 }, |
157 | { "4s", NULL } | 157 | { "4s", -1 } |
158 | }; | 158 | }; |
159 | 159 | ||
160 | int autofire_delay_values[15] = { | 160 | int autofire_delay_values[15] = { |
161 | 0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400 }; | 161 | 0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400 }; |
162 | 162 | ||
163 | static const struct opt_items particle_settings[8] = { | 163 | static const struct opt_items particle_settings[8] = { |
164 | { "5", NULL }, | 164 | { "5", -1 }, |
165 | { "10", NULL }, | 165 | { "10", -1 }, |
166 | { "15", NULL }, | 166 | { "15", -1 }, |
167 | { "20", NULL }, | 167 | { "20", -1 }, |
168 | { "25", NULL }, | 168 | { "25", -1 }, |
169 | { "30", NULL }, | 169 | { "30", -1 }, |
170 | { "35", NULL }, | 170 | { "35", -1 }, |
171 | { "40", NULL }, | 171 | { "40", -1 }, |
172 | }; | 172 | }; |
173 | 173 | ||
174 | int particle_values[8] = { | 174 | int particle_values[8] = { |
175 | 5, 10, 15, 20, 25, 30, 35, 40 }; | 175 | 5, 10, 15, 20, 25, 30, 35, 40 }; |
176 | 176 | ||
177 | static const struct opt_items particle_life_settings[9] = { | 177 | static const struct opt_items particle_life_settings[9] = { |
178 | { "20 cycles", NULL }, | 178 | { "20 cycles", -1 }, |
179 | { "30 cycles", NULL }, | 179 | { "30 cycles", -1 }, |
180 | { "40 cycles", NULL }, | 180 | { "40 cycles", -1 }, |
181 | { "50 cycles", NULL }, | 181 | { "50 cycles", -1 }, |
182 | { "60 cycles", NULL }, | 182 | { "60 cycles", -1 }, |
183 | { "70 cycles", NULL }, | 183 | { "70 cycles", -1 }, |
184 | { "80 cycles", NULL }, | 184 | { "80 cycles", -1 }, |
185 | { "90 cycles", NULL }, | 185 | { "90 cycles", -1 }, |
186 | { "100 cycles", NULL } | 186 | { "100 cycles", -1 } |
187 | }; | 187 | }; |
188 | 188 | ||
189 | int particle_life_values[9] = { | 189 | int particle_life_values[9] = { |
190 | 20, 30, 40, 50, 60, 70, 80, 90, 100 }; | 190 | 20, 30, 40, 50, 60, 70, 80, 90, 100 }; |
191 | 191 | ||
192 | static const struct opt_items gravity_settings[4] = { | 192 | static const struct opt_items gravity_settings[4] = { |
193 | { "Off", NULL }, | 193 | { "Off", -1 }, |
194 | { "Weak", NULL }, | 194 | { "Weak", -1 }, |
195 | { "Moderate", NULL }, | 195 | { "Moderate", -1 }, |
196 | { "Strong", NULL }, | 196 | { "Strong", -1 }, |
197 | }; | 197 | }; |
198 | 198 | ||
199 | int gravity_values[4] = { | 199 | int gravity_values[4] = { |
@@ -202,9 +202,9 @@ int gravity_values[4] = { | |||
202 | #ifdef HAVE_LCD_COLOR | 202 | #ifdef HAVE_LCD_COLOR |
203 | 203 | ||
204 | static const struct opt_items rocket_settings[3] = { | 204 | static const struct opt_items rocket_settings[3] = { |
205 | { "No", NULL }, | 205 | { "No", -1 }, |
206 | { "Yes (no trails)", NULL }, | 206 | { "Yes (no trails)", -1 }, |
207 | { "Yes (with trails)", NULL }, | 207 | { "Yes (with trails)", -1 }, |
208 | }; | 208 | }; |
209 | int rocket_values[4] = { | 209 | int rocket_values[4] = { |
210 | 2, 1, 0 }; | 210 | 2, 1, 0 }; |
@@ -212,8 +212,8 @@ int rocket_values[4] = { | |||
212 | #else | 212 | #else |
213 | 213 | ||
214 | static const struct opt_items rocket_settings[2] = { | 214 | static const struct opt_items rocket_settings[2] = { |
215 | { "No", NULL }, | 215 | { "No", -1 }, |
216 | { "Yes", NULL }, | 216 | { "Yes", -1 }, |
217 | }; | 217 | }; |
218 | int rocket_values[4] = { | 218 | int rocket_values[4] = { |
219 | 1, 0 }; | 219 | 1, 0 }; |
@@ -221,15 +221,15 @@ int rocket_values[4] = { | |||
221 | #endif | 221 | #endif |
222 | 222 | ||
223 | static const struct opt_items fps_settings[9] = { | 223 | static const struct opt_items fps_settings[9] = { |
224 | { "20 FPS", NULL }, | 224 | { "20 FPS", -1 }, |
225 | { "25 FPS", NULL }, | 225 | { "25 FPS", -1 }, |
226 | { "30 FPS", NULL }, | 226 | { "30 FPS", -1 }, |
227 | { "35 FPS", NULL }, | 227 | { "35 FPS", -1 }, |
228 | { "40 FPS", NULL }, | 228 | { "40 FPS", -1 }, |
229 | { "45 FPS", NULL }, | 229 | { "45 FPS", -1 }, |
230 | { "50 FPS", NULL }, | 230 | { "50 FPS", -1 }, |
231 | { "55 FPS", NULL }, | 231 | { "55 FPS", -1 }, |
232 | { "60 FPS", NULL } | 232 | { "60 FPS", -1 } |
233 | }; | 233 | }; |
234 | 234 | ||
235 | int fps_values[9] = { | 235 | int fps_values[9] = { |