2012-04-21 23:13:50 +02:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2014-01-01 01:50:59 +01:00
|
|
|
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
|
|
|
* Copyright (C) 2011-2014 - Daniel De Matteis
|
2012-04-14 01:02:37 +02:00
|
|
|
*
|
2012-04-21 23:13:50 +02:00
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
2012-04-14 01:02:37 +02:00
|
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
2012-04-21 23:13:50 +02:00
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
2012-04-14 01:02:37 +02:00
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
2012-04-21 23:31:57 +02:00
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
2012-04-14 01:02:37 +02:00
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2014-05-08 21:49:18 +02:00
|
|
|
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
|
|
|
#define HAVE_SHADERS
|
|
|
|
#endif
|
|
|
|
|
2014-09-12 21:25:08 +02:00
|
|
|
#if defined(HAVE_ZLIB) || defined(HAVE_7ZIP)
|
|
|
|
#define HAVE_COMPRESSION
|
|
|
|
#endif
|
|
|
|
|
2014-09-14 06:29:40 +02:00
|
|
|
#if defined(_MSC_VER)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../msvc/msvc_compat.h"
|
2012-04-14 01:02:37 +02:00
|
|
|
#endif
|
|
|
|
|
2012-11-25 05:41:12 +01:00
|
|
|
/*============================================================
|
2013-03-18 05:46:19 +01:00
|
|
|
CONSOLE EXTENSIONS
|
2012-11-25 05:41:12 +01:00
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#ifdef RARCH_CONSOLE
|
2012-11-25 05:41:12 +01:00
|
|
|
|
|
|
|
#if defined(HAVE_LOGGER) && defined(__PSL1GHT__)
|
2014-06-01 16:09:12 +02:00
|
|
|
#include "../logger/netlogger/psl1ght_logger.c"
|
2012-12-16 04:13:31 +01:00
|
|
|
#elif defined(HAVE_LOGGER) && !defined(ANDROID)
|
2014-06-01 16:09:12 +02:00
|
|
|
#include "../logger/netlogger/logger.c"
|
2012-11-25 05:41:12 +01:00
|
|
|
#endif
|
|
|
|
|
2012-09-03 18:05:23 -04:00
|
|
|
#ifdef HW_DOL
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../ngc/ssaram.c"
|
2012-09-03 18:05:23 -04:00
|
|
|
#endif
|
|
|
|
|
2013-01-11 22:27:31 +01:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2013-01-11 22:46:14 +01:00
|
|
|
#ifdef HAVE_ZLIB
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../file_extract.c"
|
2014-09-12 21:25:08 +02:00
|
|
|
#include "../decompress/zip_support.c"
|
2012-11-03 08:42:33 +01:00
|
|
|
#endif
|
|
|
|
|
2013-11-22 15:30:02 +01:00
|
|
|
|
|
|
|
|
2013-01-13 00:42:21 +01:00
|
|
|
/*============================================================
|
|
|
|
RLAUNCH
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
#ifdef HAVE_RLAUNCH
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../tools/retrolaunch/rl_fnmatch.c"
|
|
|
|
#include "../tools/retrolaunch/sha1.c"
|
|
|
|
#include "../tools/retrolaunch/cd_detect.c"
|
|
|
|
#include "../tools/retrolaunch/parser.c"
|
|
|
|
#include "../tools/retrolaunch/main.c"
|
2013-01-13 00:42:21 +01:00
|
|
|
#endif
|
2012-12-20 20:48:09 +01:00
|
|
|
|
2012-11-03 08:42:33 +01:00
|
|
|
/*============================================================
|
|
|
|
PERFORMANCE
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
#ifdef ANDROID
|
2013-11-27 22:57:49 +01:00
|
|
|
#include "../performance/performance_android.c"
|
2012-11-03 08:42:33 +01:00
|
|
|
#endif
|
|
|
|
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../performance.c"
|
2012-11-03 08:42:33 +01:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
COMPATIBILITY
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../compat/compat.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
CONFIG FILE
|
|
|
|
============================================================ */
|
2014-09-14 06:29:40 +02:00
|
|
|
#if defined(_MSC_VER)
|
2012-04-21 23:25:32 +02:00
|
|
|
#undef __RARCH_POSIX_STRING_H
|
|
|
|
#undef __RARCH_MSVC_COMPAT_H
|
2012-04-14 01:02:37 +02:00
|
|
|
#undef strcasecmp
|
|
|
|
#endif
|
2012-05-28 05:21:19 +02:00
|
|
|
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../conf/config_file.c"
|
2014-09-15 21:25:40 +02:00
|
|
|
#include "../conf/config_file_userdata.c"
|
2013-04-04 14:15:13 +02:00
|
|
|
#include "../core_options.c"
|
2013-06-24 13:52:14 +02:00
|
|
|
|
2012-11-17 17:16:11 +01:00
|
|
|
/*============================================================
|
|
|
|
CHEATS
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../cheats.c"
|
|
|
|
#include "../hash.c"
|
2012-11-17 17:16:11 +01:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
2012-05-28 05:19:04 +02:00
|
|
|
VIDEO CONTEXT
|
2012-04-14 01:02:37 +02:00
|
|
|
============================================================ */
|
2012-05-27 04:02:07 +02:00
|
|
|
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/gfx_context.c"
|
2012-05-28 01:15:00 +02:00
|
|
|
|
2013-01-09 05:54:48 +01:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/context/ps3_ctx.c"
|
2014-09-14 06:15:24 +02:00
|
|
|
#elif defined(_XBOX) || defined(HAVE_WIN32_D3D9)
|
2014-03-09 15:49:20 +01:00
|
|
|
#include "../gfx/context/d3d_ctx.cpp"
|
2012-11-03 08:42:33 +01:00
|
|
|
#elif defined(ANDROID)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/context/androidegl_ctx.c"
|
2014-05-20 02:48:11 +02:00
|
|
|
#elif defined(__QNX__)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/context/bbqnx_ctx.c"
|
2013-11-17 23:21:40 +01:00
|
|
|
#elif defined(EMSCRIPTEN)
|
|
|
|
#include "../gfx/context/emscriptenegl_ctx.c"
|
2012-05-27 22:58:14 +02:00
|
|
|
#endif
|
|
|
|
|
2013-07-28 19:55:18 +02:00
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#if defined(HAVE_OPENGL)
|
|
|
|
|
2013-07-07 21:25:22 +02:00
|
|
|
#if defined(HAVE_KMS)
|
|
|
|
#include "../gfx/context/drm_egl_ctx.c"
|
|
|
|
#endif
|
2013-07-07 21:17:58 +02:00
|
|
|
#if defined(HAVE_VIDEOCORE)
|
|
|
|
#include "../gfx/context/vc_egl_ctx.c"
|
2012-05-27 22:58:14 +02:00
|
|
|
#endif
|
2014-09-13 18:56:45 -03:00
|
|
|
#if defined(HAVE_X11) && !defined(HAVE_OPENGLES)
|
2013-07-07 21:17:58 +02:00
|
|
|
#include "../gfx/context/glx_ctx.c"
|
|
|
|
#endif
|
2014-09-14 06:15:24 +02:00
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#if defined(HAVE_EGL)
|
|
|
|
#include "../gfx/context/xegl_ctx.c"
|
|
|
|
#endif
|
|
|
|
|
2014-09-14 06:15:24 +02:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/context/wgl_ctx.c"
|
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:25:22 +02:00
|
|
|
#ifdef HAVE_X11
|
|
|
|
#include "../gfx/context/x11_common.c"
|
|
|
|
#endif
|
|
|
|
|
2012-05-27 22:58:14 +02:00
|
|
|
|
2012-05-28 05:19:04 +02:00
|
|
|
/*============================================================
|
|
|
|
VIDEO SHADERS
|
|
|
|
============================================================ */
|
2014-10-02 13:27:35 +02:00
|
|
|
|
2014-05-08 21:49:18 +02:00
|
|
|
#ifdef HAVE_SHADERS
|
2014-10-02 13:21:45 +02:00
|
|
|
#include "../gfx/shader/shader_context.c"
|
2014-10-02 00:45:11 +02:00
|
|
|
#include "../gfx/shader/shader_parse.c"
|
2014-10-02 11:11:34 +02:00
|
|
|
#include "../gfx/shader/shader_null.c"
|
2013-04-06 11:30:56 +02:00
|
|
|
|
2012-05-27 22:58:14 +02:00
|
|
|
#ifdef HAVE_CG
|
2014-10-02 15:19:21 +02:00
|
|
|
#ifdef HAVE_OPENGL
|
|
|
|
#include "../gfx/shader/shader_gl_cg.c"
|
|
|
|
#endif
|
2012-05-27 22:39:29 +02:00
|
|
|
#endif
|
|
|
|
|
2012-05-28 00:37:54 +02:00
|
|
|
#ifdef HAVE_HLSL
|
2014-10-02 00:45:11 +02:00
|
|
|
#include "../gfx/shader/shader_hlsl.c"
|
2012-05-28 00:37:54 +02:00
|
|
|
#endif
|
|
|
|
|
2012-07-01 22:46:25 +02:00
|
|
|
#ifdef HAVE_GLSL
|
2014-10-02 00:45:11 +02:00
|
|
|
#include "../gfx/shader/shader_glsl.c"
|
2012-07-01 22:46:25 +02:00
|
|
|
#endif
|
|
|
|
|
2014-05-08 21:49:18 +02:00
|
|
|
#endif
|
|
|
|
|
2012-05-28 05:19:04 +02:00
|
|
|
/*============================================================
|
|
|
|
VIDEO IMAGE
|
|
|
|
============================================================ */
|
|
|
|
|
2012-05-27 22:39:29 +02:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2014-02-25 21:24:15 +01:00
|
|
|
#include "../gfx/image/image_ps3.c"
|
2012-08-05 17:18:19 +02:00
|
|
|
#elif defined(_XBOX1)
|
2014-02-25 21:24:15 +01:00
|
|
|
#include "../gfx/image/image_xdk1.c"
|
2014-05-28 21:14:11 +02:00
|
|
|
#else
|
|
|
|
#include "../gfx/image/image_rpng.c"
|
2013-07-07 19:22:54 +02:00
|
|
|
#endif
|
|
|
|
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/rpng/rpng.c"
|
2012-05-28 05:19:04 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
VIDEO DRIVER
|
|
|
|
============================================================ */
|
|
|
|
|
2012-07-28 22:58:08 +02:00
|
|
|
#if defined(HAVE_OPENGL)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/math/matrix.c"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
2012-08-08 22:39:19 +02:00
|
|
|
#ifdef HW_RVL
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../wii/vi_encoder.c"
|
|
|
|
#include "../wii/mem2_manager.c"
|
2012-08-08 22:39:19 +02:00
|
|
|
#endif
|
2012-04-14 13:42:25 +02:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#ifdef HAVE_VG
|
|
|
|
#include "../gfx/vg.c"
|
|
|
|
#include "../gfx/math/matrix_3x3.c"
|
|
|
|
#endif
|
|
|
|
|
2013-07-28 19:56:35 +02:00
|
|
|
#ifdef HAVE_OMAP
|
|
|
|
#include "../gfx/omap_gfx.c"
|
|
|
|
#include "../gfx/fbdev.c"
|
|
|
|
#endif
|
|
|
|
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/gfx_common.c"
|
2012-07-15 19:12:58 +02:00
|
|
|
|
2012-07-08 21:42:26 +02:00
|
|
|
#ifdef _XBOX
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../xdk/xdk_resources.cpp"
|
2012-07-07 14:06:21 +02:00
|
|
|
#endif
|
|
|
|
|
2013-01-10 03:34:43 +01:00
|
|
|
#ifdef HAVE_OPENGL
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/gl.c"
|
2014-10-02 13:32:42 +02:00
|
|
|
#include "../gfx/gl_common.c"
|
2013-08-11 15:06:42 +02:00
|
|
|
|
2013-08-11 15:10:56 +02:00
|
|
|
#ifndef HAVE_PSGL
|
2013-07-05 19:29:48 +02:00
|
|
|
#include "../gfx/glsym/rglgen.c"
|
|
|
|
#ifdef HAVE_OPENGLES2
|
|
|
|
#include "../gfx/glsym/glsym_es2.c"
|
|
|
|
#else
|
|
|
|
#include "../gfx/glsym/glsym_gl.c"
|
|
|
|
#endif
|
2013-01-10 03:34:43 +01:00
|
|
|
#endif
|
|
|
|
|
2013-08-11 15:06:42 +02:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#ifdef HAVE_XVIDEO
|
|
|
|
#include "../gfx/xvideo.c"
|
|
|
|
#endif
|
|
|
|
|
2014-09-14 06:15:24 +02:00
|
|
|
#if defined(_XBOX) || defined(HAVE_WIN32_D3D9)
|
2014-09-14 06:45:47 +02:00
|
|
|
#include "../gfx/d3d/d3d_wrapper.cpp"
|
|
|
|
#include "../gfx/d3d/d3d.cpp"
|
2014-09-14 06:15:24 +02:00
|
|
|
#ifndef _XBOX
|
2014-09-14 06:45:47 +02:00
|
|
|
#include "../gfx/d3d/render_chain.cpp"
|
2014-09-14 06:15:24 +02:00
|
|
|
#endif
|
2013-01-10 03:34:43 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(GEKKO)
|
2014-08-15 21:08:56 +02:00
|
|
|
#include "../gfx/gx/gx_gfx.c"
|
2013-07-27 20:47:00 +02:00
|
|
|
#elif defined(PSP)
|
2014-08-15 21:14:26 +02:00
|
|
|
#include "../gfx/psp/psp1_gfx.c"
|
2013-01-09 05:54:48 +01:00
|
|
|
#elif defined(XENON)
|
2014-08-15 21:08:56 +02:00
|
|
|
#include "../gfx/xenon360_gfx.c"
|
2013-01-09 05:57:02 +01:00
|
|
|
#endif
|
|
|
|
|
2014-08-14 03:05:44 +02:00
|
|
|
#include "../gfx/nullgfx.c"
|
2012-06-20 06:39:52 +02:00
|
|
|
|
2012-05-27 04:02:07 +02:00
|
|
|
/*============================================================
|
|
|
|
FONTS
|
|
|
|
============================================================ */
|
|
|
|
|
2014-02-05 12:30:55 -03:00
|
|
|
#include "../gfx/fonts/fonts.c"
|
2014-09-25 06:56:23 +02:00
|
|
|
#include "../gfx/fonts/bitmapfont.c"
|
2014-02-05 12:30:55 -03:00
|
|
|
|
2013-02-25 01:19:12 +01:00
|
|
|
#if defined(HAVE_FREETYPE)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/fonts/freetype.c"
|
2013-02-25 03:43:19 +01:00
|
|
|
#endif
|
|
|
|
|
2012-12-15 00:17:43 +01:00
|
|
|
#ifdef HAVE_OPENGL
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/fonts/gl_font.c"
|
2012-12-15 00:17:43 +01:00
|
|
|
#endif
|
|
|
|
|
2014-09-14 06:15:24 +02:00
|
|
|
#if defined(_XBOX) || defined(HAVE_WIN32_D3D9)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/fonts/d3d_font.c"
|
2012-12-15 03:59:31 +01:00
|
|
|
#endif
|
|
|
|
|
2014-09-14 06:15:24 +02:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/fonts/d3d_w32_font.cpp"
|
|
|
|
#endif
|
|
|
|
|
2013-11-07 02:54:09 +01:00
|
|
|
#if defined(HAVE_LIBDBGFONT)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/fonts/ps_libdbgfont.c"
|
2014-09-25 06:56:23 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HAVE_OPENGL)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/fonts/gl_raster_font.c"
|
2014-09-25 06:56:23 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(_XBOX1)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/fonts/xdk1_xfonts.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
#endif
|
2012-09-27 18:16:06 +02:00
|
|
|
|
2014-09-25 06:56:23 +02:00
|
|
|
#if defined(_XBOX360)
|
|
|
|
#include "../gfx/fonts/xdk360_fonts.cpp"
|
2012-09-14 11:07:50 +02:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
INPUT
|
|
|
|
============================================================ */
|
2014-09-30 17:48:31 +02:00
|
|
|
#include "../input/input_autodetect.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../input/input_common.c"
|
2013-12-10 19:42:42 +01:00
|
|
|
#include "../input/keyboard_line.c"
|
2012-12-23 18:39:34 +01:00
|
|
|
|
|
|
|
#ifdef HAVE_OVERLAY
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../input/overlay.c"
|
2012-12-23 18:39:34 +01:00
|
|
|
#endif
|
2012-12-20 20:48:09 +01:00
|
|
|
|
2012-07-01 14:10:13 +02:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2014-05-13 17:01:27 +02:00
|
|
|
#include "../input/ps3_input.c"
|
2014-08-30 03:41:13 +02:00
|
|
|
#include "../input/ps3_input_joypad.c"
|
2014-06-09 14:32:45 +02:00
|
|
|
#include "../input/autoconf/builtin_ps3.c"
|
2012-11-23 02:40:03 +01:00
|
|
|
#elif defined(SN_TARGET_PSP2) || defined(PSP)
|
2014-05-13 17:01:27 +02:00
|
|
|
#include "../input/psp_input.c"
|
2014-08-30 03:46:57 +02:00
|
|
|
#include "../input/psp_input_joypad.c"
|
2014-06-09 18:57:17 +02:00
|
|
|
#include "../input/autoconf/builtin_psp.c"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
2014-02-26 23:07:16 +01:00
|
|
|
#ifdef HAVE_LIBSICKSAXIS
|
2014-08-15 21:18:46 +02:00
|
|
|
#include "../input/gx_input_sicksaxis.c"
|
2014-02-26 23:07:16 +01:00
|
|
|
#endif
|
2014-05-13 17:01:27 +02:00
|
|
|
#include "../input/gx_input.c"
|
2014-08-30 03:46:57 +02:00
|
|
|
#include "../input/gx_input_joypad.c"
|
2014-06-09 21:56:22 +02:00
|
|
|
#include "../input/autoconf/builtin_gx.c"
|
2012-07-31 20:56:05 +02:00
|
|
|
#elif defined(_XBOX)
|
2014-05-13 17:01:27 +02:00
|
|
|
#include "../input/xdk_xinput_input.c"
|
2014-08-30 03:48:51 +02:00
|
|
|
#include "../input/xdk_xinput_input_joypad.c"
|
2014-06-09 18:17:37 +02:00
|
|
|
#include "../input/autoconf/builtin_xdk.c"
|
2014-09-14 06:15:24 +02:00
|
|
|
#elif defined(_WIN32)
|
|
|
|
#include "../input/autoconf/builtin_win.c"
|
2012-11-25 05:41:12 +01:00
|
|
|
#elif defined(XENON)
|
2014-08-15 21:11:26 +02:00
|
|
|
#include "../input/xenon360_input.c"
|
2012-11-03 08:42:33 +01:00
|
|
|
#elif defined(ANDROID)
|
2014-06-10 22:15:23 +02:00
|
|
|
#include "../input/android_input.c"
|
2014-08-30 03:46:57 +02:00
|
|
|
#include "../input/android_input_joypad.c"
|
2014-10-04 15:36:04 +02:00
|
|
|
#elif defined(__APPLE__)
|
2014-04-26 17:39:46 +02:00
|
|
|
#include "../input/apple_input.c"
|
2014-05-20 02:48:11 +02:00
|
|
|
#elif defined(__QNX__)
|
2014-06-14 20:30:47 +02:00
|
|
|
#include "../input/qnx_input.c"
|
2014-08-30 03:46:57 +02:00
|
|
|
#include "../input/qnx_input_joypad.c"
|
2013-11-17 23:21:40 +01:00
|
|
|
#elif defined(EMSCRIPTEN)
|
|
|
|
#include "../input/rwebinput_input.c"
|
2013-01-09 05:57:02 +01:00
|
|
|
#endif
|
|
|
|
|
2014-10-04 15:36:04 +02:00
|
|
|
#if defined(__APPLE__)
|
2014-10-04 23:02:48 +02:00
|
|
|
#include "../connect/joypad_connection.c"
|
|
|
|
#include "../connect/connect_ps3.c"
|
|
|
|
#include "../connect/connect_ps4.c"
|
|
|
|
#include "../connect/connect_wii.c"
|
2014-10-04 15:36:04 +02:00
|
|
|
|
|
|
|
#ifdef HAVE_HID
|
|
|
|
#include "../input/apple_joypad_hid.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef IOS
|
|
|
|
#include "../input/apple_joypad_ios.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2014-09-14 06:15:24 +02:00
|
|
|
#ifdef HAVE_DINPUT
|
|
|
|
#include "../input/dinput.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_WINXINPUT
|
|
|
|
#include "../input/winxinput_joypad.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/context/win32_common.c"
|
|
|
|
#endif
|
|
|
|
|
2013-11-16 16:02:04 +01:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2014-08-16 18:22:51 +02:00
|
|
|
#include "../input/osk/ps3_osk.c"
|
2013-11-16 16:02:04 +01:00
|
|
|
#endif
|
2014-08-14 06:40:33 +02:00
|
|
|
|
|
|
|
#include "../input/osk/nullosk.c"
|
2013-11-16 16:02:04 +01:00
|
|
|
|
2013-07-28 20:04:11 +02:00
|
|
|
#if defined(__linux__) && !defined(ANDROID)
|
2013-07-07 19:22:54 +02:00
|
|
|
#include "../input/linuxraw_input.c"
|
|
|
|
#include "../input/linuxraw_joypad.c"
|
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:25:22 +02:00
|
|
|
#ifdef HAVE_X11
|
|
|
|
#include "../input/x11_input.c"
|
|
|
|
#endif
|
|
|
|
|
2014-08-14 03:05:44 +02:00
|
|
|
#include "../input/nullinput.c"
|
2012-06-20 06:39:52 +02:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
2012-05-28 05:19:04 +02:00
|
|
|
STATE TRACKER
|
2012-04-14 01:02:37 +02:00
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/state_tracker.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2013-07-07 21:25:22 +02:00
|
|
|
#ifdef HAVE_PYTHON
|
|
|
|
#include "../gfx/py_state/py_state.c"
|
|
|
|
#endif
|
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
FIFO BUFFER
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../fifo_buffer.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
2013-02-08 11:49:51 +01:00
|
|
|
AUDIO RESAMPLER
|
2012-04-14 01:02:37 +02:00
|
|
|
============================================================ */
|
2014-09-09 21:54:41 +02:00
|
|
|
#include "../audio/resamplers/resampler.c"
|
|
|
|
#include "../audio/resamplers/sinc.c"
|
2014-09-13 00:10:15 +02:00
|
|
|
#include "../audio/resamplers/nearest.c"
|
2014-09-09 21:54:41 +02:00
|
|
|
#include "../audio/resamplers/cc_resampler.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2013-11-17 19:47:37 +01:00
|
|
|
/*============================================================
|
|
|
|
CAMERA
|
|
|
|
============================================================ */
|
|
|
|
#if defined(ANDROID)
|
|
|
|
#include "../camera/android.c"
|
|
|
|
#elif defined(EMSCRIPTEN)
|
|
|
|
#include "../camera/rwebcam.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_V4L2
|
|
|
|
#include "../camera/video4linux2.c"
|
|
|
|
#endif
|
|
|
|
|
2014-08-14 02:55:04 +02:00
|
|
|
#include "../camera/nullcamera.c"
|
2013-11-17 19:47:37 +01:00
|
|
|
|
2013-12-19 01:51:51 +01:00
|
|
|
/*============================================================
|
|
|
|
LOCATION
|
|
|
|
============================================================ */
|
2013-12-19 03:37:26 +01:00
|
|
|
#if defined(ANDROID)
|
|
|
|
#include "../location/android.c"
|
|
|
|
#endif
|
|
|
|
|
2014-08-14 03:05:44 +02:00
|
|
|
#include "../location/nulllocation.c"
|
2013-12-19 01:51:51 +01:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
RSOUND
|
|
|
|
============================================================ */
|
2012-05-22 17:26:23 +02:00
|
|
|
#ifdef HAVE_RSOUND
|
2013-11-01 00:07:52 +01:00
|
|
|
#include "../audio/librsound.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../audio/rsound.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
AUDIO
|
|
|
|
============================================================ */
|
2012-07-01 15:18:26 +02:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2014-05-13 17:09:17 +02:00
|
|
|
#include "../audio/ps3_audio.c"
|
2012-11-25 05:41:12 +01:00
|
|
|
#elif defined(XENON)
|
2014-08-15 21:11:26 +02:00
|
|
|
#include "../audio/xenon360_audio.c"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
2014-05-13 17:09:17 +02:00
|
|
|
#include "../audio/gx_audio.c"
|
2013-11-17 23:21:40 +01:00
|
|
|
#elif defined(EMSCRIPTEN)
|
|
|
|
#include "../audio/rwebaudio.c"
|
2014-02-17 14:26:03 +01:00
|
|
|
#elif defined(PSP)
|
2014-05-13 17:09:17 +02:00
|
|
|
#include "../audio/psp1_audio.c"
|
2013-01-09 22:04:28 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_XAUDIO
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../audio/xaudio.c"
|
|
|
|
#include "../audio/xaudio-c/xaudio-c.cpp"
|
2013-01-09 22:04:28 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_DSOUND
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../audio/dsound.c"
|
2013-01-09 22:04:28 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_SL
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../audio/opensl.c"
|
2013-01-09 05:57:02 +01:00
|
|
|
#endif
|
|
|
|
|
2013-06-19 12:52:47 +02:00
|
|
|
#ifdef HAVE_ALSA
|
2013-06-21 18:56:39 +02:00
|
|
|
#ifdef __QNX__
|
2014-06-01 16:12:36 +02:00
|
|
|
#include "../audio/alsa_qsa.c"
|
2013-06-21 18:56:39 +02:00
|
|
|
#else
|
2013-06-19 12:52:47 +02:00
|
|
|
#include "../audio/alsa.c"
|
|
|
|
#include "../audio/alsathread.c"
|
|
|
|
#endif
|
2013-06-21 18:56:39 +02:00
|
|
|
#endif
|
2013-06-19 12:52:47 +02:00
|
|
|
|
2013-02-25 01:19:12 +01:00
|
|
|
#ifdef HAVE_AL
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../audio/openal.c"
|
2013-02-25 01:19:12 +01:00
|
|
|
#endif
|
|
|
|
|
2013-03-18 06:17:00 +01:00
|
|
|
#ifdef HAVE_COREAUDIO
|
|
|
|
#include "../audio/coreaudio.c"
|
|
|
|
#endif
|
|
|
|
|
2014-08-14 03:05:44 +02:00
|
|
|
#include "../audio/nullaudio.c"
|
2012-07-08 19:30:19 +03:00
|
|
|
|
2012-11-03 16:38:03 +01:00
|
|
|
/*============================================================
|
|
|
|
DRIVERS
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../driver.c"
|
2012-11-03 16:38:03 +01:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
SCALERS
|
|
|
|
============================================================ */
|
2014-04-16 15:48:33 +02:00
|
|
|
#include "../gfx/scaler/scaler_filter.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/scaler/pixconv.c"
|
|
|
|
#include "../gfx/scaler/scaler.c"
|
|
|
|
#include "../gfx/scaler/scaler_int.c"
|
2012-11-03 16:38:03 +01:00
|
|
|
|
2014-04-16 02:09:09 +02:00
|
|
|
/*============================================================
|
|
|
|
FILTERS
|
|
|
|
============================================================ */
|
2014-04-16 03:33:10 +02:00
|
|
|
|
|
|
|
#ifdef HAVE_FILTERS_BUILTIN
|
2014-04-16 06:34:20 +02:00
|
|
|
#include "../gfx/filters/2xsai.c"
|
2014-04-16 21:15:02 +02:00
|
|
|
#include "../gfx/filters/super2xsai.c"
|
2014-04-17 00:53:19 +02:00
|
|
|
#include "../gfx/filters/supereagle.c"
|
2014-04-16 02:09:09 +02:00
|
|
|
#include "../gfx/filters/2xbr.c"
|
|
|
|
#include "../gfx/filters/darken.c"
|
2014-04-17 17:21:35 +02:00
|
|
|
#include "../gfx/filters/epx.c"
|
2014-04-16 02:09:09 +02:00
|
|
|
#include "../gfx/filters/scale2x.c"
|
2014-08-19 19:45:19 +02:00
|
|
|
#include "../gfx/filters/blargg_ntsc_snes.c"
|
2014-05-02 21:09:59 +02:00
|
|
|
#include "../gfx/filters/lq2x.c"
|
2014-05-03 02:26:04 +02:00
|
|
|
#include "../gfx/filters/phosphor2x.c"
|
2014-04-29 21:56:50 +02:00
|
|
|
|
2014-05-20 17:04:57 +02:00
|
|
|
#include "../audio/filters/echo.c"
|
2014-05-28 10:37:21 +02:00
|
|
|
#include "../audio/filters/eq.c"
|
2014-06-01 14:30:39 +02:00
|
|
|
#include "../audio/filters/chorus.c"
|
2014-05-28 04:15:52 +02:00
|
|
|
#include "../audio/filters/iir.c"
|
|
|
|
#include "../audio/filters/panning.c"
|
|
|
|
#include "../audio/filters/phaser.c"
|
|
|
|
#include "../audio/filters/reverb.c"
|
|
|
|
#include "../audio/filters/wahwah.c"
|
2014-04-16 02:09:09 +02:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
DYNAMIC
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../dynamic.c"
|
2013-04-14 16:24:19 +02:00
|
|
|
#include "../dynamic_dummy.c"
|
2014-04-15 04:11:36 +02:00
|
|
|
#include "../gfx/filter.c"
|
2014-05-20 12:34:50 +02:00
|
|
|
#include "../audio/dsp_filter.c"
|
2014-04-16 02:09:09 +02:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
FILE
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../file.c"
|
2014-09-15 18:59:59 +02:00
|
|
|
#include "../dir_list.c"
|
2014-09-15 18:46:07 +02:00
|
|
|
#include "../string_list.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../file_path.c"
|
2014-07-26 18:31:34 +02:00
|
|
|
#include "../file_list.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
MESSAGE
|
|
|
|
============================================================ */
|
2013-11-06 15:08:54 +01:00
|
|
|
#include "../message_queue.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
PATCH
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../patch.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
SETTINGS
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../settings.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
REWIND
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../rewind.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2013-07-27 12:59:23 +02:00
|
|
|
/*============================================================
|
|
|
|
FRONTEND
|
|
|
|
============================================================ */
|
|
|
|
|
2013-07-26 20:58:47 +02:00
|
|
|
#include "../frontend/frontend_context.c"
|
|
|
|
|
2013-07-27 12:59:23 +02:00
|
|
|
#if defined(__CELLOS_LV2__)
|
|
|
|
#include "../frontend/platform/platform_ps3.c"
|
|
|
|
#elif defined(GEKKO)
|
|
|
|
#include "../frontend/platform/platform_gx.c"
|
2013-11-03 17:39:12 +01:00
|
|
|
#ifdef HW_RVL
|
|
|
|
#include "../frontend/platform/platform_wii.c"
|
|
|
|
#endif
|
2013-07-27 12:59:23 +02:00
|
|
|
#elif defined(_XBOX)
|
|
|
|
#include "../frontend/platform/platform_xdk.c"
|
|
|
|
#elif defined(PSP)
|
|
|
|
#include "../frontend/platform/platform_psp.c"
|
2013-07-27 17:16:46 +02:00
|
|
|
#elif defined(__QNX__)
|
|
|
|
#include "../frontend/platform/platform_qnx.c"
|
2013-07-27 17:40:21 +02:00
|
|
|
#elif defined(OSX) || defined(IOS)
|
|
|
|
#include "../frontend/platform/platform_apple.c"
|
2013-11-03 16:38:56 +01:00
|
|
|
#elif defined(ANDROID)
|
|
|
|
#include "../frontend/platform/platform_android.c"
|
2013-07-27 12:59:23 +02:00
|
|
|
#endif
|
2014-05-09 06:12:53 +02:00
|
|
|
#include "../frontend/platform/platform_null.c"
|
2013-07-27 12:59:23 +02:00
|
|
|
|
2014-08-02 14:04:43 +02:00
|
|
|
#include "../core_info.c"
|
2014-03-01 11:53:04 +01:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
MAIN
|
|
|
|
============================================================ */
|
2013-01-08 06:26:02 +01:00
|
|
|
#if defined(XENON)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../frontend/frontend_xenon.c"
|
2013-07-15 14:19:29 +02:00
|
|
|
#else
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../frontend/frontend.c"
|
2013-07-06 20:29:11 +02:00
|
|
|
#endif
|
2013-02-25 07:29:09 +01:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
2012-04-22 02:06:34 +02:00
|
|
|
RETROARCH
|
2012-04-14 01:02:37 +02:00
|
|
|
============================================================ */
|
2014-09-19 07:34:34 +02:00
|
|
|
#include "../general.c"
|
2014-09-23 03:03:56 +02:00
|
|
|
#include "../libretro_version_1.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../retroarch.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2014-08-12 05:28:43 +02:00
|
|
|
/*============================================================
|
|
|
|
RECORDING
|
|
|
|
============================================================ */
|
2014-08-13 08:07:30 +02:00
|
|
|
#include "../movie.c"
|
2014-08-12 05:28:43 +02:00
|
|
|
#include "../record/ffemu.c"
|
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
THREAD
|
|
|
|
============================================================ */
|
2013-02-17 00:38:30 +01:00
|
|
|
#if defined(HAVE_THREADS) && defined(XENON)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../thread/xenon_sdl_threads.c"
|
2013-02-16 12:30:26 +01:00
|
|
|
#elif defined(HAVE_THREADS)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../thread.c"
|
2013-12-31 22:10:58 +01:00
|
|
|
#include "../gfx/video_thread_wrapper.c"
|
2014-10-01 23:27:52 +02:00
|
|
|
#include "../audio/audio_thread_wrapper.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../autosave.c"
|
2012-04-14 14:08:00 +02:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2013-02-16 12:30:26 +01:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
NETPLAY
|
|
|
|
============================================================ */
|
2012-05-28 05:19:04 +02:00
|
|
|
#ifdef HAVE_NETPLAY
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../netplay.c"
|
2012-04-14 14:08:00 +02:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2012-08-20 03:30:09 +02:00
|
|
|
/*============================================================
|
|
|
|
SCREENSHOTS
|
|
|
|
============================================================ */
|
2013-04-06 18:14:06 +02:00
|
|
|
#if defined(_XBOX1)
|
|
|
|
#include "../xdk/screenshot_xdk1.c"
|
2014-09-12 00:16:05 +02:00
|
|
|
#else
|
2014-08-17 23:31:16 +02:00
|
|
|
#include "../screenshot.c"
|
2014-09-12 00:16:05 +02:00
|
|
|
#endif
|
2014-07-25 20:56:31 +02:00
|
|
|
|
|
|
|
/*============================================================
|
2014-08-15 17:24:28 +02:00
|
|
|
PLAYLISTS
|
2014-07-25 20:56:31 +02:00
|
|
|
============================================================ */
|
2014-08-15 17:24:28 +02:00
|
|
|
#include "../playlist.c"
|
2014-07-25 20:56:31 +02:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
MENU
|
|
|
|
============================================================ */
|
2013-04-18 15:04:09 +02:00
|
|
|
#ifdef HAVE_MENU
|
2014-03-02 06:07:18 +01:00
|
|
|
#include "../frontend/menu/menu_input_line_cb.c"
|
2013-04-17 23:31:49 +02:00
|
|
|
#include "../frontend/menu/menu_common.c"
|
2014-09-12 05:54:58 +02:00
|
|
|
#include "../frontend/menu/menu_action.c"
|
2014-08-31 18:37:22 +02:00
|
|
|
#include "../frontend/menu/menu_entries.c"
|
2014-09-24 07:56:47 +02:00
|
|
|
#include "../frontend/menu/menu_shader.c"
|
2014-02-28 23:14:42 +01:00
|
|
|
#include "../frontend/menu/menu_navigation.c"
|
2013-10-07 08:56:16 +00:00
|
|
|
|
2014-04-14 02:32:54 +02:00
|
|
|
#include "../frontend/menu/backend/menu_common_backend.c"
|
|
|
|
#endif
|
|
|
|
|
2014-02-26 21:10:17 +01:00
|
|
|
#ifdef HAVE_RMENU
|
2013-11-11 12:23:18 +01:00
|
|
|
#include "../frontend/menu/disp/rmenu.c"
|
2014-02-26 21:10:17 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_RGUI
|
2013-11-11 12:23:18 +01:00
|
|
|
#include "../frontend/menu/disp/rgui.c"
|
2014-02-26 21:10:17 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_RMENU_XUI
|
2013-12-29 04:26:34 +01:00
|
|
|
#include "../frontend/menu/disp/rmenu_xui.cpp"
|
2013-01-09 18:31:14 +01:00
|
|
|
#endif
|
2014-02-26 21:10:17 +01:00
|
|
|
|
2014-09-13 06:25:41 +02:00
|
|
|
#ifdef HAVE_OPENGL
|
|
|
|
|
|
|
|
#ifdef HAVE_LAKKA
|
2014-09-10 04:23:48 +02:00
|
|
|
#include "../frontend/menu/backend/menu_lakka_backend.c"
|
2014-02-26 21:10:17 +01:00
|
|
|
#include "../frontend/menu/disp/lakka.c"
|
2014-09-19 22:59:23 +02:00
|
|
|
#include "../frontend/menu/disp/tween.c"
|
2014-02-26 21:10:17 +01:00
|
|
|
#endif
|
|
|
|
|
2014-09-13 06:25:41 +02:00
|
|
|
#ifdef HAVE_GLUI
|
|
|
|
#include "../frontend/menu/disp/glui.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2014-09-14 06:29:40 +02:00
|
|
|
#ifdef HAVE_COMMAND
|
|
|
|
#include "../command.c"
|
|
|
|
#endif
|
|
|
|
|
2012-11-20 03:40:39 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-11-19 05:43:57 +01:00
|
|
|
/*============================================================
|
2014-09-02 19:41:43 +02:00
|
|
|
DEPENDENCIES
|
2012-11-19 05:43:57 +01:00
|
|
|
============================================================ */
|
2013-02-16 21:43:29 +01:00
|
|
|
#ifdef WANT_MINIZ
|
2014-01-10 19:36:13 +01:00
|
|
|
#include "../deps/rzlib/adler32.c"
|
|
|
|
#include "../deps/rzlib/compress.c"
|
|
|
|
#include "../deps/rzlib/crc32.c"
|
|
|
|
#include "../deps/rzlib/deflate.c"
|
|
|
|
#include "../deps/rzlib/gzclose.c"
|
|
|
|
#include "../deps/rzlib/gzlib.c"
|
|
|
|
#include "../deps/rzlib/gzread.c"
|
|
|
|
#include "../deps/rzlib/gzwrite.c"
|
|
|
|
#include "../deps/rzlib/inffast.c"
|
|
|
|
#include "../deps/rzlib/inflate.c"
|
|
|
|
#include "../deps/rzlib/inftrees.c"
|
|
|
|
#include "../deps/rzlib/trees.c"
|
|
|
|
#include "../deps/rzlib/uncompr.c"
|
|
|
|
#include "../deps/rzlib/zutil.c"
|
2014-09-12 21:25:08 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Decompression support always requires the next two files */
|
|
|
|
#if defined(WANT_MINIZ) || defined(HAVE_ZLIB)
|
2014-01-10 19:36:13 +01:00
|
|
|
#include "../deps/rzlib/ioapi.c"
|
|
|
|
#include "../deps/rzlib/unzip.c"
|
2012-11-19 05:43:57 +01:00
|
|
|
#endif
|
2012-11-20 03:40:39 +01:00
|
|
|
|
2014-09-02 19:41:43 +02:00
|
|
|
#ifdef HAVE_7ZIP
|
2014-09-02 21:45:14 +02:00
|
|
|
#include "../deps/7zip/7zIn.c"
|
|
|
|
#include "../deps/7zip/7zAlloc.c"
|
|
|
|
#include "../deps/7zip/Bra86.c"
|
|
|
|
#include "../deps/7zip/CpuArch.c"
|
|
|
|
#include "../deps/7zip/7zFile.c"
|
|
|
|
#include "../deps/7zip/7zStream.c"
|
|
|
|
#include "../deps/7zip/7zBuf2.c"
|
|
|
|
#include "../deps/7zip/LzmaDec.c"
|
|
|
|
#include "../deps/7zip/7zCrcOpt.c"
|
|
|
|
#include "../deps/7zip/Bra.c"
|
|
|
|
#include "../deps/7zip/7zDec.c"
|
|
|
|
#include "../deps/7zip/Bcj2.c"
|
|
|
|
#include "../deps/7zip/7zCrc.c"
|
|
|
|
#include "../deps/7zip/Lzma2Dec.c"
|
|
|
|
#include "../deps/7zip/7zBuf.c"
|
2014-09-02 19:41:43 +02:00
|
|
|
#include "../decompress/7zip_support.c"
|
|
|
|
#endif
|
|
|
|
|
2012-11-20 04:15:12 +01:00
|
|
|
/*============================================================
|
2013-01-02 15:23:22 +01:00
|
|
|
XML
|
|
|
|
============================================================ */
|
2014-01-22 08:39:28 -03:00
|
|
|
#ifndef HAVE_LIBXML2
|
2013-01-02 15:23:22 +01:00
|
|
|
#define RXML_LIBXML2_COMPAT
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../compat/rxml/rxml.c"
|
2014-01-22 08:39:28 -03:00
|
|
|
#endif
|
2013-11-22 15:30:02 +01:00
|
|
|
/*============================================================
|
2014-09-14 06:29:40 +02:00
|
|
|
SETTINGS
|
2013-11-22 15:30:02 +01:00
|
|
|
============================================================ */
|
|
|
|
|
2014-05-03 18:38:29 +02:00
|
|
|
#include "../settings_data.c"
|
2014-05-22 22:00:59 +02:00
|
|
|
/*============================================================
|
|
|
|
AUDIO UTILS
|
|
|
|
============================================================ */
|
|
|
|
#include "../audio/utils.c"
|
2012-11-20 04:15:12 +01:00
|
|
|
|
2012-11-20 03:40:39 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2013-01-09 05:57:02 +01:00
|
|
|
#endif
|