get rid of the '¯' chars in source code...non ascii chars are not really good to have floating around for no reason. http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Non-ASCII_Characters#Non-ASCII_Characters

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4231 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2009-09-08 16:07:13 +00:00
parent 463e93c41a
commit 3b76f6dc80
41 changed files with 162 additions and 162 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ void CMixer::PushSamples(short *samples, int num_stereo_samples, int core_sample
// -----------------------------------------------------------------------
// The auto throttle function. This loop will put a ceiling on the CPU MHz.
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ----------------------------
/* This is only needed for non-AX sound, currently directly
streamed and DTK sound. For AX we call SoundStream::Update in
AXTask() for example. */
+1 -1
View File
@@ -185,7 +185,7 @@ void ConsoleListener::PixelSpace(int Left, int Top, int Width, int Height, bool
// ---------------------------------------------------------------------
// Save the current text
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ------------------------
DWORD cCharsRead = 0;
COORD coordScreen = { 0, 0 };
+1 -1
View File
@@ -201,7 +201,7 @@ std::string Timer::GetTimeFormatted()
// Returns a timestamp with decimals for precise time comparisons
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ----------------
double Timer::GetDoubleTime()
{
struct timeb tp;
+1 -1
View File
@@ -697,7 +697,7 @@ void Callback_VideoCopiedToXFB(bool video_update)
no_framelimit--;
// Custom frame limiter
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// --------------------
u32 targetfps = SConfig::GetInstance().m_Framelimit * 5;
if (targetfps > 5)
+6 -6
View File
@@ -22,7 +22,7 @@
// Include
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// --------------
#ifdef _WIN32
#include <windows.h>
#endif
@@ -66,7 +66,7 @@
// File description: Rerecording Functions
/* ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
/* ---------------
How the timer works: We measure the time between drawn frames, not when the game is paused. So time
should be a fairly comparable measure of the time it took to play the game. However the time it takes
@@ -85,7 +85,7 @@ namespace Core
// Declarations and definitions
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ---------------
int g_FrameCounter = 0;
bool g_FrameStep = false;
Common::Timer ReRecTimer;
@@ -94,7 +94,7 @@ Common::Timer ReRecTimer;
// Control Run, Pause, Stop and the Timer.
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ---------------
// Subtract the paused time when we run again
void Run()
@@ -165,7 +165,7 @@ void WindBack(int Counter)
// Frame advance
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ---------------
void FrameAdvance()
{
// Update status bar
@@ -207,7 +207,7 @@ void FrameStepOnOff()
// General functions
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ---------------
// Write to the status bar
void WriteStatus()
+8 -8
View File
@@ -18,7 +18,7 @@
// File description
/* ¯¯¯¯¯¯¯¯¯¯¯¯
/* ------------
This file controls when plugins are loaded and unloaded from memory. Its functions scan for valid
plugins when Dolphin is booted, and open the debugging and config windows. The PluginManager is
@@ -27,7 +27,7 @@
*/
// Include
// ¯¯¯¯¯¯¯¯¯¯¯¯
// ------------
#include <string> // System
#include <vector>
@@ -51,7 +51,7 @@ CPluginManager CPluginManager::m_Instance;
// The Plugin Manager Class
// ¯¯¯¯¯¯¯¯¯¯¯¯
// ------------
// The plugin manager is some sort of singleton that runs during Dolphin's entire lifespan.
CPluginManager::CPluginManager()
@@ -103,7 +103,7 @@ CPluginManager::~CPluginManager()
// Init and Shutdown Plugins
// ¯¯¯¯¯¯¯¯¯¯¯¯
// ------------
// Function: Point the m_pad[] and other variables to a certain plugin
bool CPluginManager::InitPlugins()
{
@@ -202,7 +202,7 @@ void CPluginManager::ShutdownVideoPlugin()
// The PluginInfo class: Find Valid Plugins
// ¯¯¯¯¯¯¯¯¯¯¯¯
// ------------
/* Function: This info is used in ScanForPlugins() to check for valid plugins and and in LoadPlugin() to
check that the filename we want to use is a good DLL. */
CPluginInfo::CPluginInfo(const char *_rFilename)
@@ -234,7 +234,7 @@ CPluginInfo::CPluginInfo(const char *_rFilename)
// Supporting functions
// ¯¯¯¯¯¯¯¯¯¯¯¯
// ------------
/* Return the plugin info we saved when Dolphin was started. We don't even add a function to try load a
plugin name that was not found because in that case it must have been deleted while Dolphin was running.
@@ -380,7 +380,7 @@ void CPluginManager::ScanForPlugins()
We don't need to check if [Plugin]->IsValid() here because it will not be set by LoadPlugin()
if it's not valid.
*/
// ¯¯¯¯¯¯¯¯¯¯¯¯
// ------------
Common::PluginPAD *CPluginManager::GetPad(int controller)
{
if (m_pad[controller] != NULL)
@@ -478,7 +478,7 @@ void CPluginManager::FreeWiimote(u32 Wiimote)
// Call DLL functions
// ¯¯¯¯¯¯¯¯¯¯¯¯
// ------------
// Open config window. Input: _rFilename = Plugin filename , Type = Plugin type
void CPluginManager::OpenConfig(void* _Parent, const char *_rFilename, PLUGIN_TYPE Type)
+3 -3
View File
@@ -30,14 +30,14 @@
// Settings
// ¯¯¯¯¯¯¯¯¯¯
// ----------
#define JIT_OFF_OPTIONS // Compile with JIT off options
// Include
// ¯¯¯¯¯¯¯¯¯¯
// ----------
#if JITTEST
#include "../Jit64IL/Jit.h"
#else
@@ -59,7 +59,7 @@
// Declarations and definitions
// ¯¯¯¯¯¯¯¯¯¯
// ----------
void Jit(u32 em_address);
@@ -179,7 +179,7 @@ void CBreakPointWindow::OnActivated(wxListEvent& event)
// Breakpoint actions
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ---------------------
// Clear all breakpoints
void CBreakPointWindow::OnClear(wxCommandEvent& event)
@@ -233,7 +233,7 @@ void CBreakPointWindow::OnAddBreakPointMany(wxCommandEvent& event)
// Memory check actions
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ---------------------
void
CBreakPointWindow::OnAddMemoryCheck(wxCommandEvent& event)
{
+2 -2
View File
@@ -700,7 +700,7 @@ void CCodeWindow::UpdateButtonStates()
wxAuiToolBar* ToolBar = GetToolBar();
// Toolbar
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ------------------
if (!ToolBar) return;
if (!Initialized)
@@ -736,7 +736,7 @@ void CCodeWindow::UpdateButtonStates()
if (ToolBar) ToolBar->Realize();
// Menu bar
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ------------------
GetMenuBar()->Enable(IDM_INTERPRETER, Pause); // CPU Mode
GetMenuBar()->Enable(IDM_JITUNLIMITED, !Initialized);
+1 -1
View File
@@ -92,7 +92,7 @@ class CCodeWindow
void UpdateManager();
// Menu bar
// ッッッッッッッッッッッッッッッッッッッ
// -------------------
void OnCPUMode(wxCommandEvent& event); // CPU Mode menu
void OnJITOff(wxCommandEvent& event);
@@ -19,7 +19,7 @@
// Include
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// --------------
#include "Common.h"
#include <wx/button.h>
@@ -80,7 +80,7 @@ extern "C" // Bitmaps
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Save and load settings
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// -----------------------------
void CCodeWindow::Load()
{
IniFile ini;
@@ -194,7 +194,7 @@ void CCodeWindow::Save()
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Symbols, JIT, Profiler
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ----------------
void CCodeWindow::CreateMenuSymbols()
{
wxMenu *pSymbolsMenu = new wxMenu;
@@ -443,7 +443,7 @@ void CCodeWindow::OnChangeFont(wxCommandEvent& event)
// Toogle windows
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// ----------------
void CCodeWindow::OpenPages()
{
+1 -1
View File
@@ -172,7 +172,7 @@ bool BootCore(const std::string& _rFilename)
// =================================================================
// Run the game
// ッッッッッッッッッッッッッッ
// --------------
#if defined(HAVE_WX) && HAVE_WX
if(main_frame)
{
+1 -1
View File
@@ -85,7 +85,7 @@ class CFrame : public wxFrame
// ---------------------------------------
// Wiimote leds
// ッッッッッッッッッッッッッッッッッッッッ
// --------------------
void ModifyStatusBar();
void CreateDestroy(int Case);
void CreateLeds(); void CreateSpeakers();
+4 -4
View File
@@ -177,7 +177,7 @@ void CFrame::ToggleConsole(bool bShow, int i)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Notebooks
// ッッッッッッッッッッッッッッッッッッッッッ
// ---------------------
void CFrame::ClosePages()
{
DoToggleWindow(IDM_LOGWINDOW, false);
@@ -665,7 +665,7 @@ void CFrame::OnDropDownToolbarSelect(wxCommandEvent& event)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Functions
// ッッッッッッッッッッッッッッッッッッッッッ
// ---------------------
void CFrame::ResetToolbarStyle()
{
wxAuiPaneInfoArray& AllPanes = m_Mgr->GetAllPanes();
@@ -750,7 +750,7 @@ void CFrame::ResizeConsole()
// ----------------------------------------------------------
// Get OS version
// ッッッッッッッッッッッッッッッッッッ
// ------------------
int wxBorder, Border, LowerBorder, MenuBar, ScrollBar, WidthReduction;
OSVERSIONINFO osvi;
ZeroMemory(&osvi, sizeof(OSVERSIONINFO));
@@ -1066,7 +1066,7 @@ void CFrame::AddPane()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Utility
// ッッッッッッッッッッッッッッッッッッッッッ
// ---------------------
int CFrame::Limit(int i, int Low, int High)
{
+5 -5
View File
@@ -95,7 +95,7 @@ wxInfoWindow* InfoWindow;
// Create menu items
// ッッッッッッッッッッッッッッッッッッッッッ
// ---------------------
void CFrame::CreateMenu()
{
if (GetMenuBar()) GetMenuBar()->Destroy();
@@ -254,7 +254,7 @@ void CFrame::CreateMenu()
// Create toolbar items
// ッッッッッッッッッッッッッッッッッッッッッ
// ---------------------
void CFrame::PopulateToolbar(wxAuiToolBar* ToolBar)
{
int w = m_Bitmaps[Toolbar_FileOpen].GetWidth(),
@@ -434,7 +434,7 @@ void CFrame::InitBitmaps()
// Menu items
// ッッッッッッッッッッッッッッッッッッッッッ
// ---------------------
// Start the game or change the disc
void CFrame::BootGame()
@@ -722,7 +722,7 @@ void CFrame::StatusBarMessage(char * Text, ...)
// Miscellaneous menus
// ッッッッッッッッッッッッッッッッッッッッッ
// ---------------------
// NetPlay stuff
void CFrame::OnNetPlay(wxCommandEvent& WXUNUSED (event))
{
@@ -849,7 +849,7 @@ void CFrame::OnFrameSkip(wxCommandEvent& event)
// GUI
// ッッッッッッッッッッッッッッッッッッッッッ
// ---------------------
// Update the enabled/disabled status
void CFrame::UpdateGUI()
+1 -1
View File
@@ -18,7 +18,7 @@
// Include
// ッッッッッッッッッッッッッ
// -------------
#include "Globals.h"
#include "Frame.h"
#include "FileUtil.h"
+2 -2
View File
@@ -117,7 +117,7 @@ enum
// --------------------------------------------------------------
// Debugger Menu Entries
// ッッッッッッッッッッッッッッッッッッッッ
// --------------------
// CPU Mode
IDM_INTERPRETER,
//IDM_DUALCORE, // not used
@@ -167,7 +167,7 @@ enum
// --------------------------------------------------------------
// Debugger Toolbar
// ッッッッッッッッッッッッッッッッッッッッ
// --------------------
ID_TOOLBAR_DEBUG,
IDM_DEBUG_GO,
IDM_STEP,
@@ -1,6 +1,6 @@
// Project description
// ッッッッッッッッッッッッッッッッッッッ
// -------------------
// Name: Input Configuration and Calibration
// Description: Common SDL Input Functions
//
@@ -32,7 +32,7 @@
// Include
// ッッッッッッッッッッッッッッッッッッッ
// -------------------
#if defined HAVE_WX && HAVE_WX
#include <wx/wx.h>
#endif
@@ -52,7 +52,7 @@ namespace InputCommon
// Degree to radian and back
// ッッッッッッッッッッッッッ
// -------------
float Deg2Rad(float Deg)
{
return Deg * ((float)M_PI / 180.0f);
@@ -66,7 +66,7 @@ float Rad2Deg(float Rad)
// Check if the pad is within the dead zone, we assume the range is 0x8000
// ッッッッッッッッッッッッッッッッ
// ----------------
float CoordinatesToRadius(int x, int y)
{
return sqrt(pow((float)x, 2) + pow((float)y, 2));
@@ -90,13 +90,13 @@ bool IsDeadZone(float DeadZone, int x, int y)
// Scale down stick values from 0x8000 to 0x80
/* ッッッッッッッッッッッッッッッッ
/* ----------------
The value returned by SDL_JoystickGetAxis is a signed integer s16
(-32768 to 32767). The value used for the gamecube controller is an unsigned
char u8 (0 to 255) with neutral at 0x80 (128), so that it's equivalent to a signed
-128 to 127.
*/
// ッッッッッッッッッッッッッッッッッッッッッ
// ---------------------
int Pad_Convert(int _val)
{
/* If the limits on PadState[].axis[] actually is a u16 then we don't need this
@@ -119,7 +119,7 @@ int Pad_Convert(int _val)
// Adjust the radius
// ッッッッッッッッッッッッッッッッ
// ----------------
void RadiusAdjustment(int &_x, int &_y, int _pad, std::string SRadius)
{
// Get the radius setting
@@ -157,7 +157,7 @@ void RadiusAdjustment(int &_x, int &_y, int _pad, std::string SRadius)
XBox 360 Wireless: 85%
GameCube Controller (Third Party) with EMS Trio Linker Plus II: 60%
*/
// ッッッッッッッッッッッッッッッッッッッッッ
// ---------------------
/* Calculate the distance from the outer edges of the box to the outer edges of the circle inside the box
at any angle from 0° to 360°. The returned value is 1 + Distance, for example at most sqrt(2) in the
@@ -233,7 +233,7 @@ void Square2Circle(int &_x, int &_y, int _pad, std::string SDiagonal, bool Circl
// Windows Virtual Key Codes Names
// ッッッッッッッッッッッッッッッッッッッッッ
// ---------------------
#ifdef _WIN32
std::string VKToString(int keycode)
{
@@ -18,7 +18,7 @@
// Include
// ッッッッッッッッッッッッッッッッッッッ
// -------------------
#include "DirectInputBase.h"
@@ -21,7 +21,7 @@
// Include
// ッッッッッッッッッッッッッッッッッッッ
// -------------------
#include <windows.h> // System
#include <stdio.h>

Some files were not shown because too many files have changed in this diff Show More