2013-07-20 01:51:56 -07:00
|
|
|
#ifndef __COMMON_H__
|
|
|
|
#define __COMMON_H__
|
|
|
|
|
|
|
|
typedef struct statusbar_s stats_data;
|
|
|
|
|
2015-05-12 04:07:35 -07:00
|
|
|
|
|
|
|
#define ENVENTOR_HELP_EXAMPLES \
|
|
|
|
"Examples of Enventor command line usage:\n \
|
|
|
|
$ enventor\n \
|
|
|
|
$ enventor --to\n \
|
|
|
|
$ enventor newfile.edc --to\n \
|
2015-06-01 08:01:47 -07:00
|
|
|
$ enventor sample.edc output.edj --id ./images --sd ./sounds\n"
|
2015-05-12 04:07:35 -07:00
|
|
|
|
|
|
|
#define ENVENTOR_USAGE \
|
2015-06-01 08:01:47 -07:00
|
|
|
"%prog [input file] [output file] [--to] [--id image path] [--sd sound path] [--fd font path] [--dd data path]"
|
2015-05-12 04:07:35 -07:00
|
|
|
|
|
|
|
#define ENVENTOR_INFO \
|
|
|
|
"\nThis is an EDC editor with some convenient functions.\n \
|
|
|
|
It's brand new and was only started near the begining of June 2013,\n \
|
|
|
|
so expecting it to do everything a mature script editor does \n \
|
|
|
|
is a bit premature, but considering it's young age, it does a lot. \n \
|
|
|
|
\nPlease see next sites for more information on these.\n \
|
|
|
|
\n http://www.enlightenment.org \n \
|
|
|
|
\n https://phab.enlightenment.org/w/projects/enventor/ \n \
|
|
|
|
\n http://www.openhub.net/p/enventor\n"
|
|
|
|
|
|
|
|
#define ENVENTOR_COPYRIGHT \
|
|
|
|
"Copyright (C) 2013-2015 ChunEon Park and various contributors (see AUTHORS)\n \
|
|
|
|
\nAll rights reserved.\n \
|
|
|
|
\nRedistribution and use in source and binary forms, with or without\n \
|
|
|
|
modification, are permitted provided that the following conditions are met:\n \
|
|
|
|
\n 1. Redistributions of source code must retain the above copyright\n \
|
|
|
|
notice, this list of conditions and the following disclaimer.\n \
|
|
|
|
\n 2. Redistributions in binary form must reproduce the above copyright \n \
|
|
|
|
notice, this list of conditions and the following disclaimer in the \n \
|
|
|
|
documentation and/or other materials provided with the distribution.\n"
|
|
|
|
|
|
|
|
#define ENVENTOR_LICENSE \
|
|
|
|
"\nTHIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, \n \
|
|
|
|
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n \
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \
|
|
|
|
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n \
|
|
|
|
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n \
|
|
|
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\n \
|
|
|
|
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n \
|
|
|
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n \
|
|
|
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n \
|
|
|
|
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
|
|
|
|
|
|
|
|
|
2014-09-30 07:56:16 -07:00
|
|
|
#define EOL "<br/>"
|
|
|
|
#define EOL_LEN 5
|
|
|
|
#define REL1_X 0.25f
|
|
|
|
#define REL1_Y 0.25f
|
|
|
|
#define REL2_X 0.75f
|
|
|
|
#define REL2_Y 0.75f
|
|
|
|
|
2015-06-02 03:03:25 -07:00
|
|
|
#define ENVENTOR_CONFIG_VERSION 1
|
|
|
|
|
2015-02-02 03:05:50 -08:00
|
|
|
#define ENVENTOR_BETA_API_SUPPORT 1
|
|
|
|
#include <Enventor.h>
|
2015-04-13 21:15:48 -07:00
|
|
|
#include <assert.h>
|
2013-07-20 02:03:02 -07:00
|
|
|
#include "menu.h"
|
|
|
|
#include "statusbar.h"
|
|
|
|
#include "config_data.h"
|
2013-09-11 08:57:08 -07:00
|
|
|
#include "globals.h"
|
2014-03-08 08:22:54 -08:00
|
|
|
#include "tools.h"
|
2014-02-04 00:17:43 -08:00
|
|
|
#include "base_gui.h"
|
2014-02-21 22:24:53 -08:00
|
|
|
#include "search.h"
|
2014-05-31 23:35:54 -07:00
|
|
|
#include "goto.h"
|
2014-03-12 11:54:03 -07:00
|
|
|
#include "newfile.h"
|
2014-07-30 02:08:57 -07:00
|
|
|
#include "setting.h"
|
2014-08-10 21:48:01 -07:00
|
|
|
#include "live_edit.h"
|
2014-08-11 05:13:04 -07:00
|
|
|
#include "console.h"
|
2014-10-23 21:21:10 -07:00
|
|
|
#include "file_mgr.h"
|
2013-07-20 01:51:56 -07:00
|
|
|
|
|
|
|
#endif
|