| 1 |
/** |
| 2 |
* Furnace Tracker - multi-system chiptune tracker |
| 3 |
* Copyright (C) 2021-2025 tildearrow and contributors |
| 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 2 of the License, or |
| 8 |
* (at your option) 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 along |
| 16 |
* with this program; if not, write to the Free Software Foundation, Inc., |
| 17 |
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 18 |
*/ |
| 19 |
|
| 20 |
#include "../ta-utils.h" |
| 21 |
|
| 22 |
#ifdef _WIN32 |
| 23 |
#define META_MODIFIER_NAME "Win-" |
| 24 |
#else |
| 25 |
#ifdef __APPLE__ |
| 26 |
#define META_MODIFIER_NAME "Cmd-" |
| 27 |
#else |
| 28 |
#define META_MODIFIER_NAME "Meta-" |
| 29 |
#endif |
| 30 |
#endif |
| 31 |
|
| 32 |
String getHomeDir(); |
| 33 |
String getKeyName(int key, bool emptyNone=false); |
| 34 |
|
| 35 |
double sinus(double x); |
| 36 |
double rectSin(double x); |
| 37 |
double absSin(double x); |
| 38 |
double square(double x); |
| 39 |
double rectSquare(double x); |
| 40 |
double quartSin(double x); |
| 41 |
double squiSin(double x); |
| 42 |
double squiAbsSin(double x); |
| 43 |
double saw(double x); |
| 44 |
double rectSaw(double x); |
| 45 |
double absSaw(double x); |
| 46 |
double cubSaw(double x); |
| 47 |
double rectCubSaw(double x); |
| 48 |
double absCubSaw(double x); |
| 49 |
double cubSine(double x); |
| 50 |
double rectCubSin(double x); |
| 51 |
double absCubSin(double x); |
| 52 |
double quartCubSin(double x); |
| 53 |
double squishCubSin(double x); |
| 54 |
double squishAbsCubSin(double x); |
| 55 |
double triangle(double x); |
| 56 |
double rectTri(double x); |
| 57 |
double absTri(double x); |
| 58 |
double quartTri(double x); |
| 59 |
double squiTri(double x); |
| 60 |
double absSquiTri(double x); |
| 61 |
double cubTriangle(double x); |
| 62 |
double cubRectTri(double x); |
| 63 |
double cubAbsTri(double x); |
| 64 |
double cubQuartTri(double x); |
| 65 |
double cubSquiTri(double x); |
| 66 |
double absCubSquiTri(double x); |
| 67 |
|
| 68 |
String getMultiKeysName(const int* keys, int keyCount, bool emptyNone=false); |