Got rid of all of jp's ////////////////////////////// lines (nearly 500 of them)!
Yes, I used a script :D git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4169 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -17,10 +17,10 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Includes
|
||||
// -------------
|
||||
#include <iostream>
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "StringUtil.h"
|
||||
#include "FileSearch.h"
|
||||
//#include "../Logging/File.h" // Write to file
|
||||
///////////////////////////////
|
||||
|
||||
|
||||
|
||||
// Make the wxTextCtrls scroll with each other
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -17,10 +17,10 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Includes
|
||||
// -------------
|
||||
// includes
|
||||
@@ -40,7 +40,7 @@
|
||||
#include "Debugger.h"
|
||||
#include "PBView.h"
|
||||
#include "../Debugger/File.h" // Write to file
|
||||
//////////////////////////////
|
||||
|
||||
|
||||
// =======================================================================================
|
||||
// Event table and class
|
||||
@@ -228,7 +228,7 @@ void DSPDebuggerHLE::Load(IniFile& _IniFile)
|
||||
// ===================
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Create GUI controls
|
||||
// -------------
|
||||
void DSPDebuggerHLE::CreateGUIControls()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -17,7 +17,7 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#ifndef __DSPDebuggerHLE_h__
|
||||
#define __DSPDebuggerHLE_h__
|
||||
|
||||
@@ -67,7 +67,7 @@ void StartFile(int width, int height, char* fname)
|
||||
// ======================
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/* Close the file handles */
|
||||
// -------------
|
||||
void CloseFile()
|
||||
@@ -78,7 +78,7 @@ void CloseFile()
|
||||
if(__fStdOut[i]) fclose(__fStdOut[i]);
|
||||
}
|
||||
}
|
||||
//////////////////////////////
|
||||
|
||||
|
||||
|
||||
// ---------------------------------------------------------------------------------------
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Declarations and definitions
|
||||
// -------------
|
||||
|
||||
@@ -37,5 +37,5 @@ void CloseConsole();
|
||||
#ifdef _WIN32
|
||||
HWND GetConsoleHwnd(void);
|
||||
#endif
|
||||
/////////////////////////////
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -17,10 +17,10 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Includes
|
||||
// -------------
|
||||
|
||||
@@ -43,10 +43,10 @@
|
||||
#include "../UCodes/UCode_AX.h"
|
||||
#include "../UCodes/UCode_AXWii.h"
|
||||
#include "../UCodes/UCode_AX_Voice.h"
|
||||
//////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Declarations and definitions
|
||||
// -------------
|
||||
|
||||
@@ -149,7 +149,7 @@ std::vector<int> numberRunning(NUMBER_OF_PBS);
|
||||
// Classes
|
||||
|
||||
extern DSPDebuggerHLE* m_DebuggerFrame;
|
||||
//////////////////////////
|
||||
|
||||
|
||||
|
||||
// =======================================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -17,10 +17,10 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Includes
|
||||
// -------------
|
||||
#include <iostream>
|
||||
@@ -39,15 +39,15 @@
|
||||
#include "FileUtil.h"
|
||||
#include "StringUtil.h"
|
||||
#include "FileSearch.h"
|
||||
///////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Declarations and definitions
|
||||
// -------------
|
||||
extern std::vector<std::string> sMailLog, sMailTime;
|
||||
extern DSPDebuggerHLE* m_DebuggerFrame;
|
||||
///////////////////////////////
|
||||
|
||||
|
||||
|
||||
// =======================================================================================
|
||||
|
||||
@@ -87,7 +87,7 @@ PADConfigDialogSimple::~PADConfigDialogSimple()
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Create input button controls
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
inline void AddControl(wxPanel *pan, wxButton **button, wxStaticBoxSizer *sizer,
|
||||
@@ -114,7 +114,7 @@ inline void AddControl(wxPanel *pan, wxButton **button, wxStaticBoxSizer *sizer,
|
||||
hButton->Add(*button, 0, wxALIGN_RIGHT|wxALL);
|
||||
sizer->Add(hButton, 0, wxALIGN_RIGHT|wxALL);
|
||||
}
|
||||
////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
void PADConfigDialogSimple::CreateGUIControls()
|
||||
@@ -220,7 +220,7 @@ void PADConfigDialogSimple::CreateGUIControls()
|
||||
// -----------------------------------
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Rerecording
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
#ifdef RERECORDING
|
||||
@@ -257,7 +257,7 @@ void PADConfigDialogSimple::CreateGUIControls()
|
||||
|
||||
//DEBUG_LOG(CONSOLE, "m_CheckRecording: %i\n", pad[0].bRecording, pad[0].bPlayback);
|
||||
#endif
|
||||
//////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Include
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
@@ -58,12 +58,12 @@
|
||||
#endif
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Declarations
|
||||
SPads pad[4];
|
||||
SPADInitialize g_PADInitialize;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Standard crap to make wxWidgets happy
|
||||
#ifdef _WIN32
|
||||
HINSTANCE g_hInstance;
|
||||
@@ -129,7 +129,7 @@ wxWindow* GetParentedWxWindow(HWND Parent)
|
||||
#endif
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Input Recording
|
||||
|
||||
// Enable these to record or play back
|
||||
|
||||
@@ -330,7 +330,7 @@ void Renderer::SwapBuffers()
|
||||
DEBUGGER_PAUSE_COUNT_N_WITHOUT_UPDATE(NEXT_FRAME);
|
||||
|
||||
//D3D frame is now over
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//clean out old stuff from caches
|
||||
frameCount++;
|
||||
@@ -338,7 +338,7 @@ void Renderer::SwapBuffers()
|
||||
VertexShaderCache::Cleanup();
|
||||
TextureCache::Cleanup();
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//Begin new frame
|
||||
//Set default viewport and scissor, for the clear to work correctly
|
||||
stats.ResetFrame();
|
||||
|
||||
@@ -92,7 +92,7 @@ GFXConfigDialogOGL::GFXConfigDialogOGL(wxWindow *parent, wxWindowID id, const wx
|
||||
g_Config.UpdateProjectionHack();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Close and unload the window
|
||||
// ---------------
|
||||
GFXConfigDialogOGL::~GFXConfigDialogOGL()
|
||||
@@ -127,9 +127,9 @@ void GFXConfigDialogOGL::CloseClick(wxCommandEvent& WXUNUSED (event))
|
||||
//Close();
|
||||
CloseWindow();
|
||||
}
|
||||
///////////////////////////////
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Add avaliable resolutions and other settings
|
||||
// ---------------
|
||||
void GFXConfigDialogOGL::AddFSReso(const char *reso)
|
||||
@@ -142,7 +142,7 @@ void GFXConfigDialogOGL::AddWindowReso(const char *reso)
|
||||
arrayStringFor_WindowResolutionCB.Add(wxString::FromAscii(reso));
|
||||
}
|
||||
|
||||
///////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
void GFXConfigDialogOGL::CreateGUIControls()
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
#else
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Declarations and definitions
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
CGcontext g_cgcontext;
|
||||
@@ -646,7 +646,7 @@ GLuint Renderer::ResolveAndGetDepthTarget(const EFBRectangle &source_rect)
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Function: This function handles the OpenGL glScissor() function
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Call browser: OpcodeDecoding.cpp ExecuteDisplayList > Decode() > LoadBPReg()
|
||||
@@ -1049,7 +1049,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight)
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// We can now draw whatever we want on top of the picture. Then we copy the final picture to the output.
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
void Renderer::SwapBuffers()
|
||||
|
||||
@@ -375,9 +375,9 @@ void Win32Window::Cleanup()
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
/// Process a Win32 Event
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
void Win32Window::ProcessEvent(UINT Message, WPARAM WParam, LPARAM LParam)
|
||||
{
|
||||
// Don't process any message until window is created
|
||||
@@ -628,10 +628,10 @@ void Win32Window::ProcessEvent(UINT Message, WPARAM WParam, LPARAM LParam)
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
/// Check the state of the shift keys on a key sf::Event,
|
||||
/// and return the corresponding SF key code
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
sf::Key::Code Win32Window::GetShiftState(bool KeyDown)
|
||||
{
|
||||
static bool LShiftPrevDown = false;
|
||||
@@ -658,9 +658,9 @@ sf::Key::Code Win32Window::GetShiftState(bool KeyDown)
|
||||
return Code;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
/// Convert a Win32 virtual key code to a SFML key code
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
sf::Key::Code Win32Window::VirtualKeyCodeToSF(WPARAM VirtualKey, LPARAM Flags)
|
||||
{
|
||||
switch (VirtualKey)
|
||||
@@ -768,9 +768,9 @@ sf::Key::Code Win32Window::VirtualKeyCodeToSF(WPARAM VirtualKey, LPARAM Flags)
|
||||
return sf::Key::Code(0);
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
/// Win32 Callback for the window class
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
LRESULT CALLBACK Win32Window::GlobalOnEvent(HWND Handle, UINT Message, WPARAM WParam, LPARAM LParam)
|
||||
{
|
||||
// Associate handle and Window instance when the creation message is received
|
||||
|
||||
@@ -47,9 +47,9 @@
|
||||
SVideoInitialize g_VideoInitialize;
|
||||
PLUGIN_GLOBALS* globals;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Nasty stuff which win32 needs for wxw
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if defined(_WIN32) && defined(HAVE_WX) && HAVE_WX
|
||||
HINSTANCE g_hInstance;
|
||||
|
||||
@@ -92,7 +92,7 @@ BOOL APIENTRY DllMain(HINSTANCE hinstDLL, // DLL module handle
|
||||
return TRUE;
|
||||
}
|
||||
#endif
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
/* Create debugging window. There's currently a strange crash that occurs whe a game is loaded
|
||||
if the OpenGL plugin was loaded before. I'll try to fix that. Currently you may have to
|
||||
|
||||
@@ -582,7 +582,7 @@ void WiimotePadConfigDialog::PadGetStatus()
|
||||
WiiMoteEmu::GetJoyState(WiiMoteEmu::PadState[Page], WiiMoteEmu::PadMapping[Page], Page, WiiMoteEmu::joyinfo.at(WiiMoteEmu::PadMapping[Page].ID).NumButtons);
|
||||
|
||||
|
||||
//////////////////////////////////////
|
||||
|
||||
// Analog stick
|
||||
// Set Deadzones perhaps out of function
|
||||
//int deadzone = (int)(((float)(128.00/100.00)) * (float)(PadMapping[_numPAD].deadzone+1));
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Project description
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Name: nJoy
|
||||
@@ -8,7 +8,7 @@
|
||||
// Site: www.multigesture.net
|
||||
// Copyright (C) 2003 Dolphin Project.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -27,10 +27,10 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Include
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
#include "nJoy.h"
|
||||
@@ -40,7 +40,7 @@ Config g_Config;
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
extern PADConfigDialognJoy* m_ConfigFrame;
|
||||
#endif
|
||||
//////////////////////////////////
|
||||
|
||||
|
||||
|
||||
// Run when created
|
||||
@@ -92,7 +92,7 @@ void DEBUG_QUIT()
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Save settings to file
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
void Config::Save(int Slot)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Project description
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Name: nJoy
|
||||
@@ -8,7 +8,7 @@
|
||||
// Site: www.multigesture.net
|
||||
// Copyright (C) 2003 Dolphin Project.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -27,7 +27,7 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "AboutBox.h"
|
||||
#include "../nJoy.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Project description
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Name: nJoy
|
||||
@@ -8,7 +8,7 @@
|
||||
// Site: www.multigesture.net
|
||||
// Copyright (C) 2003 Dolphin Project.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -27,7 +27,7 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#ifndef __ABOUTBOX_h__
|
||||
#define __ABOUTBOX_h__
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Project description
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Name: nJoy
|
||||
@@ -8,7 +8,7 @@
|
||||
// Site: www.multigesture.net
|
||||
// Copyright (C) 2003 Dolphin Project.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -27,10 +27,10 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Include
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
#include "ConfigBox.h"
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "Images/controller.xpm"
|
||||
|
||||
extern bool g_EmulatorRunning;
|
||||
////////////////////////
|
||||
|
||||
|
||||
/* If we don't use this hack m_MainSizer->GetMinSize().GetWidth() will not change
|
||||
when we enable and disable bShowAdvanced */
|
||||
@@ -62,7 +62,7 @@ void PADConfigDialognJoy::PadGetStatus()
|
||||
int PhysicalDevice = PadMapping[notebookpage].ID;
|
||||
int TriggerType = PadMapping[notebookpage].triggertype;
|
||||
|
||||
//////////////////////////////////////
|
||||
|
||||
// Analog stick
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Set Deadzones perhaps out of function
|
||||
@@ -121,7 +121,7 @@ void PADConfigDialognJoy::PadGetStatus()
|
||||
///////////////////// Analog stick
|
||||
|
||||
|
||||
//////////////////////////////////////
|
||||
|
||||
// Triggers
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
int TriggerValue = 255;
|
||||
@@ -318,7 +318,7 @@ void PADConfigDialognJoy::CreateAdvancedControls(int i)
|
||||
m_bmpDotOutC[i] = new wxStaticBitmap(m_pOutStatusC[i], wxID_ANY, CreateBitmapDot(),
|
||||
wxPoint(BoxW / 2, BoxH / 2), wxDefaultSize);
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Rerecording
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
#ifdef RERECORDING
|
||||
@@ -355,7 +355,7 @@ void PADConfigDialognJoy::CreateAdvancedControls(int i)
|
||||
|
||||
//Console::Print("m_CheckRecording: %i\n", g_Config.bRecording, g_Config.bPlayback);
|
||||
#endif
|
||||
//////////////////////////////////////
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Project description
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Name: nJoy
|
||||
@@ -8,7 +8,7 @@
|
||||
// Site: www.multigesture.net
|
||||
// Copyright (C) 2003 Dolphin Project.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -27,7 +27,7 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
#ifndef __CONFIGBOX_h__
|
||||
@@ -94,7 +94,7 @@ class PADConfigDialognJoy : public wxDialog
|
||||
wxStaticBoxSizer * m_sKeys[4];
|
||||
wxBoxSizer *m_sMain[4], *m_sMainLeft[4], *m_sMainRight[4];
|
||||
|
||||
/////////////////////////////
|
||||
|
||||
// Settings
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
|
||||
@@ -131,7 +131,7 @@ class PADConfigDialognJoy : public wxDialog
|
||||
wxStaticBoxSizer *m_gStatusTriggers[4]; // Triggers
|
||||
wxStaticText *m_TStatusTriggers[4];
|
||||
|
||||
/////////////////////////////
|
||||
|
||||
// Keys
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
int g_Pressed; // Keyboard input
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Project description
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Name: nJoy
|
||||
@@ -8,7 +8,7 @@
|
||||
// Site: www.multigesture.net
|
||||
// Copyright (C) 2003 Dolphin Project.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -27,10 +27,10 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Include
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
#include "math.h" // System
|
||||
@@ -40,7 +40,7 @@
|
||||
#include "Images/controller.xpm"
|
||||
|
||||
extern bool g_EmulatorRunning;
|
||||
////////////////////////
|
||||
|
||||
|
||||
|
||||
// Set dialog items from saved values
|
||||
@@ -251,7 +251,7 @@ wxString PADConfigDialognJoy::GetButtonText(int id, int Page)
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Configure button mapping
|
||||
// ¯¯¯¯¯¯¯¯¯¯
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Project description
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Name: nJoy
|
||||
@@ -8,7 +8,7 @@
|
||||
// Site: www.multigesture.net
|
||||
// Copyright (C) 2003 Dolphin Project.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -27,10 +27,10 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// File description
|
||||
/* ¯¯¯¯¯¯¯¯¯
|
||||
|
||||
@@ -39,13 +39,13 @@ Rerecording options
|
||||
////////////////////////*/
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Include
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
#include "nJoy.h"
|
||||
#include "FileUtil.h"
|
||||
#include "ChunkFile.h"
|
||||
/////////////////////////
|
||||
|
||||
|
||||
|
||||
#ifdef RERECORDING
|
||||
@@ -55,18 +55,18 @@ namespace Recording
|
||||
{
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Definitions
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Pre defined maxium storage limit
|
||||
#define RECORD_SIZE (1024 * 128)
|
||||
SPADStatus RecordBuffer[RECORD_SIZE];
|
||||
int count = 0;
|
||||
////////////////////////////////
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Recording functions
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
void RecordInput(const SPADStatus& _rPADStatus)
|
||||
@@ -130,7 +130,7 @@ void Save()
|
||||
//PanicAlert("SaveRecord()");
|
||||
//Console::Print("SaveRecord()");
|
||||
}
|
||||
////////////////////////////////
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Project description
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Name: nJoy
|
||||
@@ -8,7 +8,7 @@
|
||||
// Site: www.multigesture.net
|
||||
// Copyright (C) 2003 Dolphin Project.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -27,16 +27,16 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////
|
||||
|
||||
|
||||
// Include
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
#include "nJoy.h"
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Enable or disable rumble.
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
bool CanRumble = false;
|
||||
#endif
|
||||
|
||||
//////////////////////
|
||||
|
||||
// Use PAD rumble
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
|
||||
@@ -128,7 +128,7 @@ void Pad_Use_Rumble(u8 _numPAD)
|
||||
#endif
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// Set PAD rumble. Explanation: Stop = 0, Rumble = 1
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
|
||||
@@ -187,7 +187,7 @@ void PAD_Rumble(u8 _numPAD, unsigned int _uType, unsigned int _uStrength)
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Rumble stuff :D!
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
//
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Project description
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Name: nJoy
|
||||
@@ -8,7 +8,7 @@
|
||||
// Site: www.multigesture.net
|
||||
// Copyright (C) 2003 Dolphin Project.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -27,11 +27,11 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Issues
|
||||
/* ¯¯¯¯¯¯¯¯¯
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Variables guide
|
||||
/* ¯¯¯¯¯¯¯¯¯
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Include
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
#include "nJoy.h"
|
||||
@@ -75,10 +75,10 @@
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
PADConfigDialognJoy* m_ConfigFrame = NULL;
|
||||
#endif
|
||||
/////////////////////////
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Variables
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
|
||||
@@ -165,7 +165,7 @@ wxWindow* GetParentedWxWindow(HWND Parent)
|
||||
#endif
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Input Plugin Functions (from spec's)
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
|
||||
@@ -416,7 +416,7 @@ void PAD_GetStatus(u8 _numPAD, SPADStatus* _pPADStatus)
|
||||
int TriggerType = PadMapping[_numPAD].triggertype;
|
||||
int TriggerValue = PadState[_numPAD].halfpress ? 100 : 255;
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
// The analog controls
|
||||
// -----------
|
||||
|
||||
@@ -466,7 +466,7 @@ void PAD_GetStatus(u8 _numPAD, SPADStatus* _pPADStatus)
|
||||
_pPADStatus->substickY = sub_stick_y;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
// The L and R triggers
|
||||
// -----------
|
||||
|
||||
@@ -500,7 +500,7 @@ void PAD_GetStatus(u8 _numPAD, SPADStatus* _pPADStatus)
|
||||
if (TriggerRight > 0xf0) _pPADStatus->button |= PAD_TRIGGER_R;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
// The digital buttons
|
||||
// -----------
|
||||
if (PadState[_numPAD].buttons[InputCommon::CTL_A_BUTTON])
|
||||
@@ -519,7 +519,7 @@ void PAD_GetStatus(u8 _numPAD, SPADStatus* _pPADStatus)
|
||||
if (PadState[_numPAD].buttons[InputCommon::CTL_START]) _pPADStatus->button|=PAD_BUTTON_START;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
// The D-pad
|
||||
// -----------
|
||||
if (PadMapping[_numPAD].controllertype == InputCommon::CTL_DPAD_HAT)
|
||||
@@ -593,7 +593,7 @@ void PAD_GetStatus(u8 _numPAD, SPADStatus* _pPADStatus)
|
||||
//******************************************************************************
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Search for SDL devices
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
bool Search_Devices(std::vector<InputCommon::CONTROLLER_INFO> &_joyinfo, int &_NumPads, int &_NumGoodPads)
|
||||
@@ -622,7 +622,7 @@ bool Search_Devices(std::vector<InputCommon::CONTROLLER_INFO> &_joyinfo, int &_N
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/* Check if any of the pads failed to open. In Windows there is a strange "IDirectInputDevice2::
|
||||
SetDataFormat() DirectX error -2147024809" after exactly four SDL_Init() and SDL_Quit() */
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
@@ -652,7 +652,7 @@ bool ReloadDLL()
|
||||
return false;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Check if Dolphin is in focus
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
bool IsFocus()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Project description
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
// Name: nJoy
|
||||
@@ -8,7 +8,7 @@
|
||||
// Site: www.multigesture.net
|
||||
// Copyright (C) 2003 Dolphin Project.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Licensetype: GNU General Public License (GPL)
|
||||
//
|
||||
@@ -27,13 +27,13 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
#ifndef __NJOY_h__
|
||||
#define __NJOY_h__
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Includes
|
||||
// ¯¯¯¯¯¯¯¯¯¯
|
||||
#include <vector> // System
|
||||
@@ -75,10 +75,10 @@
|
||||
#ifdef __linux__
|
||||
#include <linux/input.h>
|
||||
#endif
|
||||
//////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Define
|
||||
// ¯¯¯¯¯¯¯¯¯¯
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
#define THANKYOU wxT("`plot`, Absolute0, Aprentice, Bositman, Brice, ChaosCode, CKemu, CoDeX, Dave2001, dn, drk||Raziel, Florin, Gent, Gigaherz, Hacktarux, JegHegy, Linker, Linuzappz, Martin64, Muad, Knuckles, Raziel, Refraction, Rudy_x, Shadowprince, Snake785, Saqib, vEX, yaz0r, Zilmar, Zenogais and ZeZu.")
|
||||
#define PLUGIN_VER_STR wxT("nJoy v")wxT(INPUT_VERSION)wxT(" by Falcon4ever\nRelease: ") RELDAY wxT("/") RELMONTH wxT("/") RELYEAR wxT("\nwww.multigesture.net")
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Input vector. Todo: Save the configured keys here instead of in joystick
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
/*
|
||||
@@ -101,7 +101,7 @@ extern std::vector<u8> Keys;
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Variables
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
#ifndef _EXCLUDE_MAIN_
|
||||
@@ -115,10 +115,10 @@ extern std::vector<u8> Keys;
|
||||
#endif
|
||||
extern int NumPads, NumGoodPads, LastPad; // Number of goods pads
|
||||
#endif
|
||||
////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Custom Functions
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
bool Search_Devices(std::vector<InputCommon::CONTROLLER_INFO> &_joyinfo, int &_NumPads, int &_NumGoodPads);
|
||||
@@ -130,10 +130,10 @@ bool ReloadDLL();
|
||||
HRESULT InitRumble(HWND hWnd);
|
||||
#endif
|
||||
|
||||
////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// ReRecording
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
#ifdef RERECORDING
|
||||
@@ -148,7 +148,7 @@ namespace Recording
|
||||
void RecordInput(const SPADStatus& _rPADStatus);
|
||||
}
|
||||
#endif
|
||||
////////////////////////////////
|
||||
|
||||
|
||||
|
||||
#endif // __NJOY_h__
|
||||
|
||||
Reference in New Issue
Block a user