mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-29 01:31:30 +00:00
normalize includes: shared_memory
This commit is contained in:
parent
91defcad99
commit
2c6d8795f9
@ -16,6 +16,7 @@ add_executable(shared_memory ${shared_memory_sources} ${shared_memory_headers})
|
||||
install(TARGETS shared_memory RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
|
||||
target_link_libraries(shared_memory common)
|
||||
target_include_directories(shared_memory PRIVATE ..)
|
||||
|
||||
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
||||
set_property(TARGET shared_memory PROPERTY FOLDER executables/servers)
|
||||
|
||||
@ -17,12 +17,13 @@
|
||||
*/
|
||||
|
||||
#include "items.h"
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/shareddb.h"
|
||||
#include "../common/ipc_mutex.h"
|
||||
#include "../common/memory_mapped_file.h"
|
||||
#include "../common/eqemu_exception.h"
|
||||
#include "../common/item_data.h"
|
||||
|
||||
#include "common/eqemu_exception.h"
|
||||
#include "common/global_define.h"
|
||||
#include "common/ipc_mutex.h"
|
||||
#include "common/item_data.h"
|
||||
#include "common/memory_mapped_file.h"
|
||||
#include "common/shareddb.h"
|
||||
|
||||
void LoadItems(SharedDatabase *database, const std::string &prefix) {
|
||||
EQ::IPCMutex mutex("items");
|
||||
|
||||
@ -16,13 +16,11 @@
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef __EQEMU_SHARED_MEMORY_ITEMS_H
|
||||
#define __EQEMU_SHARED_MEMORY_ITEMS_H
|
||||
#pragma once
|
||||
|
||||
#include "common/eqemu_config.h"
|
||||
|
||||
#include <string>
|
||||
#include "../common/eqemu_config.h"
|
||||
|
||||
class SharedDatabase;
|
||||
void LoadItems(SharedDatabase *database, const std::string &prefix);
|
||||
|
||||
#endif
|
||||
|
||||
@ -16,33 +16,29 @@
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "../common/eqemu_logsys.h"
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/shareddb.h"
|
||||
#include "../common/eqemu_config.h"
|
||||
#include "../common/platform.h"
|
||||
#include "../common/crash.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/eqemu_exception.h"
|
||||
#include "../common/strings.h"
|
||||
#include "items.h"
|
||||
#include "spells.h"
|
||||
#include "../common/content/world_content_service.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include "../common/path_manager.h"
|
||||
#include "../common/events/player_event_logs.h"
|
||||
#include "../common/evolving_items.h"
|
||||
#include "shared_memory/items.h"
|
||||
#include "shared_memory/spells.h"
|
||||
#include "common/content/world_content_service.h"
|
||||
#include "common/crash.h"
|
||||
#include "common/eqemu_config.h"
|
||||
#include "common/eqemu_exception.h"
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "common/events/player_event_logs.h"
|
||||
#include "common/evolving_items.h"
|
||||
#include "common/global_define.h"
|
||||
#include "common/path_manager.h"
|
||||
#include "common/platform.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "common/shareddb.h"
|
||||
#include "common/strings.h"
|
||||
#include "common/zone_store.h"
|
||||
|
||||
#include <cstdio>
|
||||
#ifdef _WINDOWS
|
||||
#include <direct.h>
|
||||
#else
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#endif
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
inline bool MakeDirectory(const std::string &directory_name)
|
||||
|
||||
@ -17,12 +17,13 @@
|
||||
*/
|
||||
|
||||
#include "spells.h"
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/shareddb.h"
|
||||
#include "../common/ipc_mutex.h"
|
||||
#include "../common/memory_mapped_file.h"
|
||||
#include "../common/eqemu_exception.h"
|
||||
#include "../common/spdat.h"
|
||||
|
||||
#include "common/eqemu_exception.h"
|
||||
#include "common/global_define.h"
|
||||
#include "common/ipc_mutex.h"
|
||||
#include "common/memory_mapped_file.h"
|
||||
#include "common/shareddb.h"
|
||||
#include "common/spdat.h"
|
||||
|
||||
void LoadSpells(SharedDatabase *database, const std::string &prefix) {
|
||||
EQ::IPCMutex mutex("spells");
|
||||
|
||||
@ -16,13 +16,11 @@
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef __EQEMU_SHARED_MEMORY_SPELLS_H
|
||||
#define __EQEMU_SHARED_MEMORY_SPELLS_H
|
||||
#pragma once
|
||||
|
||||
#include "common/eqemu_config.h"
|
||||
|
||||
#include <string>
|
||||
#include "../common/eqemu_config.h"
|
||||
|
||||
class SharedDatabase;
|
||||
void LoadSpells(SharedDatabase *database, const std::string &prefix);
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user