mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Fix include paths. Now it builds properly.
This commit is contained in:
@@ -6,16 +6,17 @@
|
||||
SPDX-License-Identifier: BSD-1-Clause
|
||||
********************************************************************/
|
||||
|
||||
#include "AppPlatform_windows.hpp"
|
||||
#include "Mouse.hpp"
|
||||
|
||||
#include "thirdparty/stb_image.h"
|
||||
#include "thirdparty/stb_image_write.h"
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <shlobj.h>
|
||||
|
||||
#include "AppPlatform_windows.hpp"
|
||||
#include "client/player/input/Mouse.hpp"
|
||||
|
||||
#include "thirdparty/stb_image.h"
|
||||
#include "thirdparty/stb_image_write.h"
|
||||
|
||||
extern LPCTSTR g_GameTitle;
|
||||
|
||||
void AppPlatform_windows::initConsts()
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
#include "compat/GL.hpp"
|
||||
#include <ctime>
|
||||
#include "Utils.hpp"
|
||||
#include "AppPlatform.hpp"
|
||||
#include "client/common/Utils.hpp"
|
||||
|
||||
#ifdef ORIGINAL_CODE
|
||||
#error "This isn't original code. You probably shouldn't try to compile this"
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
SPDX-License-Identifier: BSD-1-Clause
|
||||
********************************************************************/
|
||||
|
||||
|
||||
#include "../../source/Base/Utils.hpp"
|
||||
#include "SoundSystem_windows.hpp"
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include "SoundSystemWindows.hpp"
|
||||
#include "client/common/Utils.hpp"
|
||||
|
||||
SoundSystemWindows::SoundSystemWindows()
|
||||
{
|
||||
@@ -105,8 +105,8 @@ void SoundSystemWindows::setListenerAngle(float degyaw, float degpitch)
|
||||
return;
|
||||
}
|
||||
|
||||
float yaw = degyaw * M_PI / 180.f;
|
||||
float pitch = degpitch * M_PI / 180.f;
|
||||
float yaw = degyaw * float(M_PI) / 180.f;
|
||||
float pitch = degpitch * float(M_PI) / 180.f;
|
||||
|
||||
float lx = cosf(pitch) * sinf(yaw);
|
||||
float ly = -sinf(pitch);
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <mmsystem.h>
|
||||
#include <dsound.h>
|
||||
|
||||
#include "SoundData.hpp"
|
||||
#include "client/sound/SoundData.hpp"
|
||||
|
||||
class SoundSystemWindows
|
||||
{
|
||||
Reference in New Issue
Block a user