manaverse/src/main.cpp

45 lines
1.3 KiB
C++
Raw Permalink Normal View History

/*
2011-02-19 01:13:26 +02:00
* The ManaPlus Client
* 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-02-19 01:13:26 +02:00
* This file is part of The ManaPlus Client.
*
* 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"
2017-03-06 05:15:15 +03:00
#ifdef WIN32
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
2017-03-06 06:26:28 +03:00
#include <SDL.h>
PRAGMA48(GCC diagnostic pop)
2017-03-06 05:15:15 +03:00
#endif // WIN32
#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__
int main(int argc, char *argv[])
{
2015-08-02 17:10:01 +03:00
return mainGui(argc, argv);
}
2016-09-23 22:01:44 +03:00
#endif // !defined(UNITTESTS) && !defined(ANDROID)