Skip to content

Commit 9d69aaf

Browse files
committed
Formatting changes
1 parent 68c032b commit 9d69aaf

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

src/Common/PlatformLinux.inl

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,25 @@
5252
#define CALLBACK
5353
#define TEXT(x) strdup(x)
5454

55-
inline char *_strlwr_l(char *str, locale_t loc)
55+
inline char* _strlwr_l(char* str, locale_t loc)
5656
{
5757
//TODO
5858
}
5959

60-
inline char *_strupr_l(char *str, locale_t loc)
60+
inline char* _strupr_l(char* str, locale_t loc)
6161
{
6262
//TODO
6363
}
6464

6565
#define VOID void
66-
#define HKL void *
66+
#define HKL void*
6767
#define ActivateKeyboardLayout(x, y) {}
6868
#define ScreenToClient(hwnd, p) {}
6969

7070
#define __except(X) catch(X)
7171

7272
/*
73-
static inline long InterlockedExchange(volatile long *val, long new_val)
73+
static inline long InterlockedExchange(volatile long* val, long new_val)
7474
{
7575
long old_val;
7676
do {
@@ -91,11 +91,11 @@ inline void Sleep(int ms)
9191
}
9292

9393
inline void _splitpath (
94-
const char *path, // Path Input
95-
char *drive, // Drive : Output
96-
char *dir, // Directory : Output
97-
char *fname, // Filename : Output
98-
char *ext // Extension : Output
94+
const char* path, // Path Input
95+
char* drive, // Drive : Output
96+
char* dir, // Directory : Output
97+
char* fname, // Filename : Output
98+
char* ext // Extension : Output
9999
){}
100100

101101
inline unsigned long GetLastError()
@@ -130,8 +130,8 @@ typedef unsigned short WORD;
130130
typedef unsigned short* LPWORD;
131131
typedef unsigned long DWORD;
132132
typedef unsigned long* LPDWORD;
133-
typedef const void *LPCVOID;
134-
typedef long long int *PLARGE_INTEGER;
133+
typedef const void* LPCVOID;
134+
typedef long long int* PLARGE_INTEGER;
135135

136136
typedef wchar_t WCHAR;
137137

@@ -183,17 +183,17 @@ typedef long LONG_PTR;
183183
#endif // XR_X64
184184

185185
typedef int HANDLE;
186-
typedef void *HMODULE;
187-
typedef void *LPVOID;
186+
typedef void* HMODULE;
187+
typedef void* LPVOID;
188188
typedef UINT_PTR WPARAM;
189189
typedef LONG_PTR LPARAM;
190190
typedef long HRESULT;
191191
typedef long LRESULT;
192192
typedef long _W64;
193-
//typedef void *HWND;
194-
typedef SDL_Window *HWND;
195-
typedef void *HDC;
196-
//typedef void *HGLRC;
193+
//typedef void* HWND;
194+
typedef SDL_Window* HWND;
195+
typedef void* HDC;
196+
//typedef void* HGLRC;
197197
typedef SDL_GLContext HGLRC;
198198
typedef float FLOAT;
199199
typedef unsigned char UINT8;

src/editors/xrEditor/entry_point.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void UIThreadProc(void*)
2626
Core.Initialize("OpenXRayEditor", LogCallback(ELogCallback, windowIDE->Log().Handle.ToPointer()), true);
2727

2828
#ifdef XR_X64
29-
Device.m_sdlWnd = (SDL_Window *)windowIDE->View().GetViewHandle().ToInt64();
29+
Device.m_sdlWnd = (SDL_Window*)windowIDE->View().GetViewHandle().ToInt64();
3030
#else
3131
Device.m_sdlWnd = (SDL_Window*)windowIDE->View().GetViewHandle().ToInt32();
3232
#endif

src/xrEngine/IInputReceiver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void IInputReceiver::IR_GetMousePosScreen(Ivector2& p)
5555
SDL_GetMouseState(&p.x, &p.y);
5656
}
5757

58-
void IInputReceiver::IR_GetMousePosReal(SDL_Window *m_sdlWnd, Ivector2& p)
58+
void IInputReceiver::IR_GetMousePosReal(SDL_Window* m_sdlWnd, Ivector2& p)
5959
{
6060
IR_GetMousePosScreen(p);
6161
}

src/xrEngine/IInputReceiver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ENGINE_API IInputReceiver
1919
public:
2020
static void IR_GetLastMouseDelta(Ivector2& p);
2121
static void IR_GetMousePosScreen(Ivector2& p);
22-
static void IR_GetMousePosReal(SDL_Window *m_sdlWnd, Ivector2& p);
22+
static void IR_GetMousePosReal(SDL_Window* m_sdlWnd, Ivector2& p);
2323
static void IR_GetMousePosReal(Ivector2& p);
2424
static void IR_GetMousePosIndependent(Fvector2& f);
2525
static void IR_GetMousePosIndependentCrop(Fvector2& f);

0 commit comments

Comments
 (0)