49 lines
1.5 KiB
C
49 lines
1.5 KiB
C
/*
|
|
*
|
|
* Singe 2
|
|
* Copyright (C) 2006-2024 Scott Duensing <scott@kangaroopunch.com>
|
|
*
|
|
* 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 3
|
|
* 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.
|
|
*
|
|
*/
|
|
|
|
|
|
#ifndef MAIN_H
|
|
#define MAIN_H
|
|
|
|
|
|
#include "singe.h"
|
|
|
|
|
|
#define VOLUME_MIN 0
|
|
#define VOLUME_MAX 100
|
|
#define SCALE_FACTOR_MIN 50
|
|
#define SCALE_FACTOR_MAX 100
|
|
#define DIRECTORY_MODE 0777
|
|
#define CANVAS_DEFAULT_WIDTH 720
|
|
#define CANVAS_DEFAULT_HEIGHT 480
|
|
|
|
|
|
ConfigT *cloneConf(const ConfigT *conf);
|
|
char *createDataDir(const char *dataDirBase, const char *filename);
|
|
char *createDataDirFor(const ConfigT *conf);
|
|
void destroyConf(ConfigT **confPointer);
|
|
bool isFrameFileName(const char *filename);
|
|
bool parseSindenString(const char *sindenString, ConfigT *conf);
|
|
void queueScript(const ConfigT *conf);
|
|
|
|
|
|
#endif // MAIN_H
|