| 
									
										
										
										
											2022-02-17 13:08:17 -05:00
										 |  |  | /**
 | 
					
						
							|  |  |  |  * Furnace Tracker - multi-system chiptune tracker | 
					
						
							|  |  |  |  * Copyright (C) 2021-2022 tildearrow and contributors | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or modify | 
					
						
							|  |  |  |  * it under the terms of the GNU General Public License as published by | 
					
						
							|  |  |  |  * the Free Software Foundation; either version 2 of the License, or | 
					
						
							|  |  |  |  * (at your option) any later version. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is distributed in the hope that it will be useful, | 
					
						
							|  |  |  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
					
						
							|  |  |  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
					
						
							|  |  |  |  * GNU General Public License for more details. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * You should have received a copy of the GNU General Public License along | 
					
						
							|  |  |  |  * with this program; if not, write to the Free Software Foundation, Inc., | 
					
						
							|  |  |  |  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // guiConst: constants used in the GUI like arrays, strings and other stuff
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-04-06 02:52:58 -04:00
										 |  |  | struct FurnaceGUIActionDef { | 
					
						
							|  |  |  |   const char* name; | 
					
						
							|  |  |  |   const char* friendlyName; | 
					
						
							|  |  |  |   int defaultBind; | 
					
						
							|  |  |  |   FurnaceGUIActionDef(const char* n, const char* fn, int db): | 
					
						
							|  |  |  |     name(n), friendlyName(fn), defaultBind(db) {} | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-04-06 03:30:12 -04:00
										 |  |  | struct FurnaceGUIColorDef { | 
					
						
							|  |  |  |   const char* name; | 
					
						
							|  |  |  |   const char* friendlyName; | 
					
						
							|  |  |  |   unsigned int defaultColor; | 
					
						
							|  |  |  |   FurnaceGUIColorDef(const char* n, const char* fn, unsigned int dc): | 
					
						
							|  |  |  |     name(n), friendlyName(fn), defaultColor(dc) {} | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-17 13:08:17 -05:00
										 |  |  | extern const int opOrder[4]; | 
					
						
							|  |  |  | extern const char* noteNames[180]; | 
					
						
							|  |  |  | extern const char* noteNamesG[180]; | 
					
						
							|  |  |  | extern const char* pitchLabel[11]; | 
					
						
							| 
									
										
										
										
											2022-03-16 19:40:11 -04:00
										 |  |  | extern const char* insTypes[]; | 
					
						
							| 
									
										
										
										
											2022-03-19 04:42:44 -04:00
										 |  |  | extern const char* sampleDepths[17]; | 
					
						
							| 
									
										
										
										
											2022-03-21 18:34:43 -04:00
										 |  |  | extern const char* resampleStrats[]; | 
					
						
							| 
									
										
										
										
											2022-03-29 17:09:15 -04:00
										 |  |  | extern const int availableSystems[]; | 
					
						
							| 
									
										
										
										
											2022-04-06 02:52:58 -04:00
										 |  |  | extern const FurnaceGUIActionDef guiActions[]; | 
					
						
							| 
									
										
										
										
											2022-04-06 03:30:12 -04:00
										 |  |  | extern const FurnaceGUIColorDef guiColors[]; | 
					
						
							| 
									
										
										
										
											2022-04-01 22:40:32 -04:00
										 |  |  | extern const int altValues[24]; | 
					
						
							|  |  |  | extern const int vgmVersions[6]; |