Further fixes to the formatting change. WX sucks.

This commit is contained in:
Pierre Bourdon 2016-06-24 12:16:10 +02:00
parent 3570c7f03a
commit 5fcb4bb3ab
16 changed files with 59 additions and 48 deletions

View File

@ -23,9 +23,9 @@
#ifdef _WIN32 #ifdef _WIN32
#include <Windows.h> #include <Windows.h>
#else #else
#include <errno.h>
#include <iconv.h> #include <iconv.h>
#include <locale.h> #include <locale.h>
#include <errno.h>
#endif #endif
#if !defined(_WIN32) && !defined(ANDROID) #if !defined(_WIN32) && !defined(ANDROID)

View File

@ -15,8 +15,8 @@
#define NS_ENUM_AVAILABLE(...) #define NS_ENUM_AVAILABLE(...)
// end hack // end hack
#import <IOBluetooth/IOBluetooth.h> #import <IOBluetooth/IOBluetooth.h>
#include <IOKit/pwr_mgt/IOPMLib.h>
#include <IOKit/hid/IOHIDManager.h> #include <IOKit/hid/IOHIDManager.h>
#include <IOKit/pwr_mgt/IOPMLib.h>
#elif defined(__linux__) && HAVE_BLUEZ #elif defined(__linux__) && HAVE_BLUEZ
#include <bluetooth/bluetooth.h> #include <bluetooth/bluetooth.h>
#endif #endif

View File

@ -12,6 +12,7 @@
#include <thread> #include <thread>
#include <unordered_map> #include <unordered_map>
#include <unordered_set> #include <unordered_set>
#include "Common/FifoQueue.h"
#include "Common/Timer.h" #include "Common/Timer.h"
#include "Common/TraversalClient.h" #include "Common/TraversalClient.h"
#include "Core/NetPlayProto.h" #include "Core/NetPlayProto.h"

View File

@ -2,12 +2,14 @@
// Licensed under GPLv2+ // Licensed under GPLv2+
// Refer to the license.txt file included. // Refer to the license.txt file included.
// clang-format off
#include <wx/bitmap.h>
#include <wx/aui/auibar.h> #include <wx/aui/auibar.h>
#include <wx/aui/framemanager.h> #include <wx/aui/framemanager.h>
#include <wx/bitmap.h>
#include <wx/image.h> #include <wx/image.h>
#include <wx/listbase.h> #include <wx/listbase.h>
#include <wx/panel.h> #include <wx/panel.h>
// clang-format on
#include "Common/BreakPoints.h" #include "Common/BreakPoints.h"
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"

View File

@ -5,8 +5,10 @@
#include <cstdio> #include <cstdio>
#include <string> #include <string>
#include <vector> #include <vector>
#include <wx/aui/auibar.h>
// clang-format off
#include <wx/bitmap.h> #include <wx/bitmap.h>
#include <wx/aui/auibar.h>
#include <wx/image.h> #include <wx/image.h>
#include <wx/listbox.h> #include <wx/listbox.h>
#include <wx/menu.h> #include <wx/menu.h>
@ -17,6 +19,7 @@
#include <wx/textdlg.h> #include <wx/textdlg.h>
#include <wx/thread.h> #include <wx/thread.h>
#include <wx/toolbar.h> #include <wx/toolbar.h>
// clang-format on
#include "Common/BreakPoints.h" #include "Common/BreakPoints.h"
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"

View File

@ -4,9 +4,11 @@
#include <cstddef> #include <cstddef>
#include <wx/aui/auibar.h> // clang-format off
#include <wx/bitmap.h> #include <wx/bitmap.h>
#include <wx/aui/auibar.h>
#include <wx/panel.h> #include <wx/panel.h>
// clang-format on
#include "Common/FileUtil.h" #include "Common/FileUtil.h"
#include "Common/IniFile.h" #include "Common/IniFile.h"

View File

@ -5,6 +5,9 @@
#include <cstddef> #include <cstddef>
#include <string> #include <string>
#include <vector> #include <vector>
// clang-format off
#include <wx/bitmap.h>
#include <wx/aui/auibar.h> #include <wx/aui/auibar.h>
#include <wx/aui/auibook.h> #include <wx/aui/auibook.h>
#include <wx/aui/framemanager.h> #include <wx/aui/framemanager.h>
@ -18,6 +21,7 @@
#include <wx/statusbr.h> #include <wx/statusbr.h>
#include <wx/textdlg.h> #include <wx/textdlg.h>
#include <wx/toplevel.h> #include <wx/toplevel.h>
// clang-format on
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Common/FileUtil.h" #include "Common/FileUtil.h"

View File

@ -937,8 +937,7 @@ static void WriteStage(T& out, pixel_shader_uid_data* uid_data, int n, API_TYPE
} }
else else
{ {
const char* function_table[] = const char* function_table[] = {
{
"((tevin_a.r > tevin_b.r) ? tevin_c.rgb : int3(0,0,0))", // TEVCMP_R8_GT "((tevin_a.r > tevin_b.r) ? tevin_c.rgb : int3(0,0,0))", // TEVCMP_R8_GT
"((tevin_a.r == tevin_b.r) ? tevin_c.rgb : int3(0,0,0))", // TEVCMP_R8_EQ "((tevin_a.r == tevin_b.r) ? tevin_c.rgb : int3(0,0,0))", // TEVCMP_R8_EQ
"((idot(tevin_a.rgb, comp16) > idot(tevin_b.rgb, comp16)) ? tevin_c.rgb : " "((idot(tevin_a.rgb, comp16) > idot(tevin_b.rgb, comp16)) ? tevin_c.rgb : "