2011-01-02 01:48:38 +02:00
|
|
|
/*
|
2011-02-19 01:13:26 +02:00
|
|
|
* The ManaPlus Client
|
2011-01-02 01:48:38 +02:00
|
|
|
* Copyright (C) 2004-2009 The Mana World Development Team
|
|
|
|
|
* Copyright (C) 2009-2010 The Mana Developers
|
2024-02-09 13:36:22 +00:00
|
|
|
* Copyright (C) 2011-2020 The ManaPlus Developers
|
|
|
|
|
* Copyright (C) 2020-2023 The ManaVerse Developers
|
2011-01-02 01:48:38 +02:00
|
|
|
*
|
2011-02-19 01:13:26 +02:00
|
|
|
* This file is part of The ManaPlus Client.
|
2011-01-02 01:48:38 +02:00
|
|
|
*
|
|
|
|
|
* 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
|
|
|
|
|
* 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, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
2015-08-02 17:10:01 +03:00
|
|
|
#include "maingui.h"
|
2013-09-16 17:28:29 +03:00
|
|
|
|
2017-03-06 05:15:15 +03:00
|
|
|
#ifdef WIN32
|
2017-06-20 03:06:00 +03:00
|
|
|
PRAGMA48(GCC diagnostic push)
|
|
|
|
|
PRAGMA48(GCC diagnostic ignored "-Wshadow")
|
2017-03-06 06:26:28 +03:00
|
|
|
#include <SDL.h>
|
2017-06-20 03:06:00 +03:00
|
|
|
PRAGMA48(GCC diagnostic pop)
|
2017-03-06 05:15:15 +03:00
|
|
|
#endif // WIN32
|
|
|
|
|
|
2011-05-24 00:38:44 +03:00
|
|
|
#include "debug.h"
|
|
|
|
|
|
2015-09-04 14:17:36 +03:00
|
|
|
#if !defined(UNITTESTS) && !defined(ANDROID)
|
2015-11-30 23:57:20 +03:00
|
|
|
#if defined __native_client__
|
|
|
|
|
extern "C"
|
2016-09-23 22:01:44 +03:00
|
|
|
#endif // defined __native_client__
|
|
|
|
|
|
2011-01-02 01:48:38 +02:00
|
|
|
int main(int argc, char *argv[])
|
|
|
|
|
{
|
2015-08-02 17:10:01 +03:00
|
|
|
return mainGui(argc, argv);
|
2011-01-02 01:48:38 +02:00
|
|
|
}
|
2016-09-23 22:01:44 +03:00
|
|
|
#endif // !defined(UNITTESTS) && !defined(ANDROID)
|