(Xbox 1) Get rid of retrolaunch.cpp wrapper file - put include lines

in griffin.c instead
This commit is contained in:
twinaphex 2012-07-24 18:35:29 +02:00
parent e88c6b5cfe
commit c29a7e80c9
22 changed files with 21 additions and 58 deletions

View File

@ -261,6 +261,13 @@ MENU
#include "../../360/frontend-xdk/menu.cpp"
#elif defined(_XBOX1)
#include "../../xbox1/frontend/menu.cpp"
#include "../../xbox1/frontend/RetroLaunch/Font.cpp"
#include "../../xbox1/frontend/RetroLaunch/IoSupport.cpp"
#include "../../xbox1/frontend/RetroLaunch/MenuMain.cpp"
#include "../../xbox1/frontend/RetroLaunch/MenuManager.cpp"
#include "../../xbox1/frontend/RetroLaunch/Rom.cpp"
#include "../../xbox1/frontend/RetroLaunch/RomList.cpp"
#include "../../xbox1/frontend/RetroLaunch/Surface.cpp"
#elif defined(GEKKO)
#include "../../wii/frontend/rgui.c"
#include "../../wii/frontend/list.c"

View File

@ -321,9 +321,6 @@
CompileAs="2"/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\xbox1\retrolaunch.cpp">
</File>
<File
RelativePath="..\..\console\rzlib\rzlib.c">
<FileConfiguration

View File

@ -14,11 +14,10 @@
*/
#ifdef _XBOX
#include "Font.h"
#include "../../general.h"
#include "../xdk_d3d8.h"
#include "../../../general.h"
#include "../../xdk_d3d8.h"
Font g_font;
@ -213,4 +212,3 @@ word *Font::StringToWChar(const string &str)
return retVal;
}
#endif

View File

@ -14,13 +14,9 @@
*/
#pragma once
#ifdef _XBOX
#include "Global.h"
#include "Surface.h"
#define XFONT_TRUETYPE // use true type fonts
#include <xfont.h>
enum Align
{
Left,
@ -48,4 +44,3 @@ private:
};
extern Font g_font;
#endif

View File

@ -29,7 +29,6 @@
#include <xtl.h>
#include <xgraphics.h>
using namespace std;
#define XBUILD "Launcher CE"

View File

@ -17,8 +17,8 @@
#include "Surface.h"
#include "../../general.h"
#include "../xdk_d3d8.h"
#include "../../../general.h"
#include "../../xdk_d3d8.h"
CSurface::CSurface()
{

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -14,11 +14,11 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../xbox1/RetroLaunch/Global.h"
#include "../../xbox1/RetroLaunch/IoSupport.h"
#include "../../xbox1/RetroLaunch/Font.h"
#include "../../xbox1/RetroLaunch/MenuManager.h"
#include "../../xbox1/RetroLaunch/RomList.h"
#include "RetroLaunch/Global.h"
#include "RetroLaunch/IoSupport.h"
#include "RetroLaunch/Font.h"
#include "RetroLaunch/MenuManager.h"
#include "RetroLaunch/RomList.h"
int menu_init(void)
{

View File

@ -1,38 +0,0 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2012 - Hans-Kristian Arntzen
* Copyright (C) 2011-2012 - Daniel De Matteis
*
* RetroArch 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 Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch 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 RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
/**
* RetroLaunch 2012
*
* 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 (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.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. To contact the
* authors: Surreal64 CE Team (http://www.emuxtras.net)
*/
#include "RetroLaunch/Font.cpp"
#include "RetroLaunch/IoSupport.cpp"
#include "RetroLaunch/MenuMain.cpp"
#include "RetroLaunch/MenuManager.cpp"
#include "RetroLaunch/Rom.cpp"
#include "RetroLaunch/RomList.cpp"
#include "RetroLaunch/Surface.cpp"

View File

@ -18,6 +18,11 @@
#define _XDK_VIDEO_H
#include <stdint.h>
#ifdef _XBOX1
#define XFONT_TRUETYPE // use true type fonts
#endif
#include <xfont.h>
#include "../xdk/xdk_defines.h"