mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
* [Base Data] Remove from shared memory and simplify - Removes Base Data loading from shared memory and puts it into zone. - Changes type of `level` and `class` to `uint8_t` from `uint32_t` for consistency since we're renaming fields here anyway. - Renames `unk1` to `hp_regen` in `base_data` table. - Renames `unk2` to `end_regen` in `base_data` table. - These changed fields were already mapped, we just hadn't renamed them for whatever reason. - Regenerates Base Data repository. - Adds `#reload base_data` to reload base data in real time. * Cleanup * Update shareddb.h * Cleanup. * Update shareddb.cpp * Update main.cpp
23 lines
446 B
CMake
23 lines
446 B
CMake
CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
|
|
|
|
SET(shared_memory_sources
|
|
items.cpp
|
|
main.cpp
|
|
spells.cpp
|
|
skill_caps.cpp
|
|
)
|
|
|
|
SET(shared_memory_headers
|
|
items.h
|
|
spells.h
|
|
skill_caps.h
|
|
)
|
|
|
|
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 ${SERVER_LIBS})
|
|
|
|
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|