mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-24 09:24:15 +08:00
fixed a bunch of includes
This commit is contained in:
parent
5f18ac67e0
commit
440d8335e2
@ -11,7 +11,7 @@
|
||||
#include <malloc.h>
|
||||
|
||||
#define GAMEPAD_EXPORT 1
|
||||
#include "gamepad.h"
|
||||
#include "controller/gamepad.h"
|
||||
|
||||
/* Platform-specific includes */
|
||||
#if defined(_WIN32)
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "auth.h"
|
||||
#include "dll/auth.h"
|
||||
|
||||
static inline int generate_random_int() {
|
||||
int a;
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "base.h"
|
||||
#include "dll/base.h"
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
|
||||
@ -481,7 +481,7 @@ static void load_dll()
|
||||
}
|
||||
}
|
||||
|
||||
#include "local_storage.h"
|
||||
#include "dll/local_storage.h"
|
||||
static void load_dlls()
|
||||
{
|
||||
std::string path = Local_Storage::get_game_settings_path();
|
||||
|
@ -16,7 +16,7 @@
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#define STEAM_API_FUNCTIONS_IMPL
|
||||
#include "dll.h"
|
||||
#include "dll/dll.h"
|
||||
|
||||
|
||||
static char old_client[128] = STEAMCLIENT_INTERFACE_VERSION; //"SteamClient017";
|
||||
|
@ -51,7 +51,7 @@
|
||||
#include "steam_gameserverstats.h"
|
||||
#include "steam_masterserver_updater.h"
|
||||
|
||||
#include "overlay_experimental/steam_overlay.h"
|
||||
#include "overlay/steam_overlay.h"
|
||||
|
||||
enum Steam_Pipe {
|
||||
NO_USER,
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define __INCLUDED_STEAM_FRIENDS_H__
|
||||
|
||||
#include "base.h"
|
||||
#include "overlay_experimental/steam_overlay.h"
|
||||
#include "overlay/steam_overlay.h"
|
||||
|
||||
#define SEND_FRIEND_RATE 4.0
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include <limits>
|
||||
#include "base.h"
|
||||
#include "overlay_experimental/steam_overlay.h"
|
||||
#include "overlay/steam_overlay.h"
|
||||
|
||||
struct Steam_Leaderboard_Score {
|
||||
CSteamID steam_id;
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
#include "base.h"
|
||||
#include "local_storage.h"
|
||||
#include "overlay_experimental/steam_overlay.h"
|
||||
#include "overlay/steam_overlay.h"
|
||||
|
||||
static std::chrono::time_point<std::chrono::steady_clock> app_initialized_time = std::chrono::steady_clock::now();
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
#ifndef STEAMCLIENT_DLL
|
||||
#define STEAM_API_FUNCTIONS_IMPL
|
||||
#include "dll.h"
|
||||
#include "sdk_includes/steam_api_flat.h"
|
||||
#include "dll/dll.h"
|
||||
#include "steam/steam_api_flat.h"
|
||||
|
||||
STEAMAPI_API HSteamPipe SteamAPI_ISteamClient_CreateSteamPipe( ISteamClient* self )
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "local_storage.h"
|
||||
#include "dll/local_storage.h"
|
||||
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#define STB_IMAGE_STATIC
|
||||
@ -24,14 +24,14 @@
|
||||
#if defined(__WINDOWS__)
|
||||
#define STBI_WINDOWS_UTF8
|
||||
#endif
|
||||
#include "../stb/stb_image.h"
|
||||
#include "stb/stb_image.h"
|
||||
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
#define STB_IMAGE_WRITE_STATIC
|
||||
#include "../stb/stb_image_write.h"
|
||||
#include "stb/stb_image_write.h"
|
||||
|
||||
#define STB_IMAGE_RESIZE_IMPLEMENTATION
|
||||
#include "../stb/stb_image_resize.h"
|
||||
#include "stb/stb_image_resize.h"
|
||||
|
||||
struct File_Data {
|
||||
std::string name;
|
||||
|
@ -15,8 +15,8 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "network.h"
|
||||
#include "dll.h"
|
||||
#include "dll/network.h"
|
||||
#include "dll/dll.h"
|
||||
|
||||
#define MAX_BROADCASTS 16
|
||||
static int number_broadcasts = -1;
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "settings.h"
|
||||
#include "dll/settings.h"
|
||||
|
||||
|
||||
std::string Settings::sanitize(std::string name)
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "settings_parser.h"
|
||||
#include "dll/settings_parser.h"
|
||||
|
||||
static void consume_bom(std::ifstream &input)
|
||||
{
|
||||
|
@ -15,8 +15,8 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "source_query.h"
|
||||
#include "dll.h"
|
||||
#include "dll/source_query.h"
|
||||
#include "dll/dll.h"
|
||||
|
||||
using lock_t = std::lock_guard<std::mutex>;
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_applist.h"
|
||||
#include "dll/steam_applist.h"
|
||||
|
||||
uint32 Steam_Applist::GetNumInstalledApps()
|
||||
{
|
||||
|
@ -15,8 +15,8 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_apps.h"
|
||||
#include "../sha/sha1.hpp"
|
||||
#include "dll/steam_apps.h"
|
||||
#include "sha/sha1.hpp"
|
||||
|
||||
Steam_Apps::Steam_Apps(Settings *settings, class SteamCallResults *callback_results)
|
||||
{
|
||||
|
@ -15,8 +15,8 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_client.h"
|
||||
#include "settings_parser.h"
|
||||
#include "dll/steam_client.h"
|
||||
#include "dll/settings_parser.h"
|
||||
|
||||
static std::mutex kill_background_thread_mutex;
|
||||
static std::condition_variable kill_background_thread_cv;
|
||||
|
@ -15,8 +15,8 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_gameserver.h"
|
||||
#include "source_query.h"
|
||||
#include "dll/steam_gameserver.h"
|
||||
#include "dll/source_query.h"
|
||||
|
||||
#define SEND_SERVER_RATE 5.0
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_gameserverstats.h"
|
||||
#include "dll/steam_gameserverstats.h"
|
||||
|
||||
Steam_GameServerStats::Steam_GameServerStats(class Settings *settings, class Networking *network, class SteamCallResults *callback_results, class SteamCallBacks *callbacks)
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_http.h"
|
||||
#include "dll/steam_http.h"
|
||||
|
||||
Steam_HTTP::Steam_HTTP(class Settings *settings, class Networking *network, class SteamCallResults *callback_results, class SteamCallBacks *callbacks)
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_matchmaking_servers.h"
|
||||
#include "dll/steam_matchmaking_servers.h"
|
||||
|
||||
|
||||
static void network_callback(void *object, Common_Message *msg)
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_music.h"
|
||||
#include "dll/steam_music.h"
|
||||
|
||||
Steam_Music::Steam_Music(class SteamCallBacks *callbacks)
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_musicremote.h"
|
||||
#include "dll/steam_musicremote.h"
|
||||
|
||||
// Service Definition
|
||||
bool Steam_MusicRemote::RegisterSteamMusicRemote( const char *pchName )
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_parental.h"
|
||||
#include "dll/steam_parental.h"
|
||||
|
||||
bool Steam_Parental::BIsParentalLockEnabled()
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_screenshots.h"
|
||||
#include "dll/steam_screenshots.h"
|
||||
|
||||
Steam_Screenshots::Steam_Screenshots(class Local_Storage* local_storage, class SteamCallBacks* callbacks) :
|
||||
local_storage(local_storage),
|
||||
|
@ -15,7 +15,7 @@
|
||||
License along with the Goldberg Emulator; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "steam_video.h"
|
||||
#include "dll/steam_video.h"
|
||||
|
||||
// Get a URL suitable for streaming the given Video app ID's video
|
||||
void Steam_Video::GetVideoURL( AppId_t unVideoAppID )
|
||||
|
@ -26,8 +26,8 @@
|
||||
#else
|
||||
#define STEAM_API_FUNCTIONS_IMPL
|
||||
|
||||
#include "base.h"
|
||||
#include "dll.h"
|
||||
#include "dll/base.h"
|
||||
#include "dll/dll.h"
|
||||
|
||||
#define PATH_SEPARATOR_CHAR '/'
|
||||
#define STEAM_PATH_CACHE_SIZE 4096
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "Base_Hook.h"
|
||||
#include "overlay/Base_Hook.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#ifdef EMU_OVERLAY
|
||||
#ifdef STEAM_WIN32
|
||||
|
||||
#include "../detours/detours.h"
|
||||
#include "detours/detours.h"
|
||||
|
||||
Base_Hook::Base_Hook():
|
||||
_library(nullptr)
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include "Renderer_Detector.h"
|
||||
#include "overlay/Renderer_Detector.h"
|
||||
|
||||
#include "System/Encoding.hpp"
|
||||
#include "System/String.hpp"
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <ingame_overlay/Renderer_Hook.h>
|
||||
|
||||
#include "../internal_includes.h"
|
||||
#include "overlay/internal_includes.h"
|
||||
|
||||
#include <GL/glx.h>
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <ingame_overlay/Renderer_Hook.h>
|
||||
|
||||
#include "../internal_includes.h"
|
||||
#include "overlay/internal_includes.h"
|
||||
|
||||
#include <X11/X.h> // XEvent types
|
||||
#include <X11/Xlib.h> // XEvent structure
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "steam_overlay.h"
|
||||
#include "steam_overlay_translations.h"
|
||||
#include "overlay/steam_overlay.h"
|
||||
#include "overlay/steam_overlay_translations.h"
|
||||
|
||||
#ifdef EMU_OVERLAY
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#include <cctype>
|
||||
#include <imgui.h>
|
||||
|
||||
#include "../dll/dll.h"
|
||||
#include "../dll/settings_parser.h"
|
||||
#include "dll/dll.h"
|
||||
#include "dll/settings_parser.h"
|
||||
|
||||
#include "Renderer_Detector.h"
|
||||
#include "overlay/Renderer_Detector.h"
|
||||
|
||||
static constexpr int max_window_id = 10000;
|
||||
static constexpr int base_notif_window_id = 0 * max_window_id;
|
||||
@ -100,7 +100,7 @@ int find_free_notification_id(std::vector<Notification> const& notifications)
|
||||
#include "windows/Windows_Hook.h"
|
||||
#endif
|
||||
|
||||
#include "notification.h"
|
||||
#include "overlay/notification.h"
|
||||
char *notif_achievement_wav_custom;
|
||||
char *notif_invite_wav_custom;
|
||||
bool notif_achievement_wav_custom_inuse = false;
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../internal_includes.h"
|
||||
#include "overlay/internal_includes.h"
|
||||
|
||||
#include <d3d10.h>
|
||||
#include <dxgi1_2.h>
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../internal_includes.h"
|
||||
#include "overlay/internal_includes.h"
|
||||
|
||||
#include <d3d11.h>
|
||||
#include <dxgi1_2.h>
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../internal_includes.h"
|
||||
#include "overlay/internal_includes.h"
|
||||
|
||||
#include <d3d12.h>
|
||||
#include <dxgi1_4.h>
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../internal_includes.h"
|
||||
#include "overlay/internal_includes.h"
|
||||
|
||||
#include <d3d9.h>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../internal_includes.h"
|
||||
#include "overlay/internal_includes.h"
|
||||
|
||||
class OpenGL_Hook :
|
||||
public ingame_overlay::Renderer_Hook,
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../internal_includes.h"
|
||||
#include "overlay/internal_includes.h"
|
||||
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../internal_includes.h"
|
||||
#include "overlay/internal_includes.h"
|
||||
|
||||
class Windows_Hook :
|
||||
public Base_Hook
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "Vulkan_Hook.h"
|
||||
#include "../vulkan/vulkan.h"
|
||||
#include "vulkan/vulkan.h"
|
||||
#define VULKAN_DLL (Vulkan_Hook::DLL_NAME)
|
||||
|
||||
void VKAPI_CALL vkGetPhysicalDeviceMemoryProperties(
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#define NETWORKSOCKETS_DLL
|
||||
#define STEAM_API_EXPORTS
|
||||
#include "sdk_includes/steam_gameserver.h"
|
||||
#include "steam/steam_gameserver.h"
|
||||
|
||||
#if defined(WIN32) || defined(_WIN32)
|
||||
#include <Windows.h>
|
||||
|
@ -18,7 +18,7 @@
|
||||
/*
|
||||
*/
|
||||
|
||||
#include "sdk_includes/steam_api.h"
|
||||
#include "steam/steam_api.h"
|
||||
#include "dll/common_includes.h"
|
||||
|
||||
#include <iostream>
|
||||
|
Loading…
x
Reference in New Issue
Block a user