Introducing Netplay, currently not extremely polished, and not yet fully tested..

Thanks to shuffle2 for fixing the linux build on an earlier version, still pending other linux fixes :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3220 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
sl1nk3.s
2009-05-13 21:50:24 +00:00
parent b71ad0f018
commit 176d528719
14 changed files with 3391 additions and 1344 deletions

View File

@ -34,6 +34,8 @@ be accessed from Core::GetWindowHandle().
// Includes
// ----------------------------------------------------------------------------
#include "NetWindow.h"
#include "Globals.h" // Local
#include "Frame.h"
#include "ConfigMain.h"
@ -158,6 +160,9 @@ void CFrame::CreateMenu()
toolsMenu->Append(IDM_MEMCARD, _T("&Memcard Manager"));
toolsMenu->Append(IDM_CHEATS, _T("Action &Replay Manager"));
toolsMenu->Append(IDM_INFO, _T("System Information"));
toolsMenu->Append(IDM_NETPLAY, _T("Start &NetPlay"));
// toolsMenu->Append(IDM_SDCARD, _T("Mount &SDCard")); // Disable for now
if (DiscIO::CNANDContentManager::Access().GetNANDLoader(FULL_WII_MENU_DIR).IsValid())
@ -646,6 +651,12 @@ void CFrame::OnHelp(wxCommandEvent& event)
}
}
// NetPlay stuff
void CFrame::OnNetPlay(wxCommandEvent& WXUNUSED (event))
{
new NetPlay(this, m_GameListCtrl->GetGamePaths(), m_GameListCtrl->GetGameNames());
}
// Miscellaneous menu
void CFrame::OnMemcard(wxCommandEvent& WXUNUSED (event))
{