diff --git a/.gitignore b/.gitignore
index 46f6ceff..dfa2825e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,9 +10,11 @@ build-release
CMakeLists.txt.user*
# RME
+remeres
rme
rme.cfg
data/user
+world
# Visual Studio
*.MAP
diff --git a/CMakePresets.json b/CMakePresets.json
index d7894fef..d67b075a 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -1,102 +1,140 @@
{
- "version": 3,
- "cmakeMinimumRequired": {
- "major": 3,
- "minor": 22,
- "patch": 0
- },
- "configurePresets": [
- {
- "name": "windows-release",
- "displayName": "Windows - Release",
- "description": "Sets Ninja generator, compilers, build and install directory and set build type as release",
- "generator": "Ninja",
- "binaryDir": "${sourceDir}/build/${presetName}",
- "cacheVariables": {
- "CMAKE_TOOLCHAIN_FILE": {
- "value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
- "type": "FILEPATH"
- },
- "VCPKG_TARGET_TRIPLET": "x64-windows-static",
- "CMAKE_BUILD_TYPE": "Release",
- "OPTIONS_ENABLE_SCCACHE": "ON"
- },
- "architecture": {
- "value": "x64",
- "strategy": "external"
- },
- "vendor": {
- "microsoft.com/VisualStudioSettings/CMake/1.0": {
- "hostOS": [ "Windows" ]
- }
- },
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Windows"
- }
- },
- {
- "name": "linux-release",
- "displayName": "Linux - Release",
- "description": "Sets Ninja generator, compilers, build and install directory and set build type as release",
- "generator": "Ninja",
- "binaryDir": "${sourceDir}/build/${presetName}",
- "cacheVariables": {
- "CMAKE_TOOLCHAIN_FILE": {
- "value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
- "type": "FILEPATH"
- },
- "CMAKE_BUILD_TYPE": "Release",
- "OPTIONS_ENABLE_CCACHE": "ON"
- },
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Linux"
- }
- },
- {
- "name": "windows-debug",
- "inherits": "windows-release",
- "displayName": "Windows - Debug",
- "description": "Build Debug Mode",
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": "Debug",
- "DEBUG_LOG": "ON"
- },
- "architecture": {
- "value": "x64",
- "strategy": "external"
- }
- },
- {
- "name": "linux-debug",
- "inherits": "linux-release",
- "displayName": "Linux - Debug Build",
- "description": "Build Debug Mode",
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": "Debug",
- "DEBUG_LOG": "ON"
- }
- }
- ],
- "buildPresets": [
- {
- "name": "linux-release",
- "configurePreset": "linux-release"
- },
- {
- "name": "linux-debug",
- "configurePreset": "linux-debug"
- },
- {
- "name": "windows-release",
- "configurePreset": "windows-release"
- },
- {
- "name": "windows-Xdebug",
- "configurePreset": "windows-debug"
- }
- ]
+ "version": 3,
+ "cmakeMinimumRequired": {
+ "major": 3,
+ "minor": 22,
+ "patch": 0
+ },
+ "configurePresets": [
+ {
+ "name": "windows-release",
+ "displayName": "Windows - Release",
+ "description": "Sets Ninja generator, compilers, build and install directory and set build type as release",
+ "generator": "Ninja",
+ "binaryDir": "${sourceDir}/build/${presetName}",
+ "cacheVariables": {
+ "CMAKE_TOOLCHAIN_FILE": {
+ "value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
+ "type": "FILEPATH"
+ },
+ "VCPKG_TARGET_TRIPLET": "x64-windows-static",
+ "CMAKE_BUILD_TYPE": "Release",
+ "OPTIONS_ENABLE_SCCACHE": "ON"
+ },
+ "architecture": {
+ "value": "x64",
+ "strategy": "external"
+ },
+ "vendor": {
+ "microsoft.com/VisualStudioSettings/CMake/1.0": {
+ "hostOS": ["Windows"]
+ }
+ },
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Windows"
+ }
+ },
+ {
+ "name": "linux-release",
+ "displayName": "Linux - Release",
+ "description": "Sets Ninja generator, compilers, build and install directory and set build type as release",
+ "generator": "Ninja",
+ "binaryDir": "${sourceDir}/build/${presetName}",
+ "cacheVariables": {
+ "CMAKE_TOOLCHAIN_FILE": {
+ "value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
+ "type": "FILEPATH"
+ },
+ "CMAKE_BUILD_TYPE": "Release",
+ "OPTIONS_ENABLE_CCACHE": "ON"
+ },
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Linux"
+ }
+ },
+ {
+ "name": "macos-release",
+ "displayName": "macOS - Release",
+ "description": "Sets Ninja generator, compilers, build and install directory and set build type as release",
+ "generator": "Ninja",
+ "binaryDir": "${sourceDir}/build/${presetName}",
+ "cacheVariables": {
+ "CMAKE_TOOLCHAIN_FILE": {
+ "value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
+ "type": "FILEPATH"
+ },
+ "CMAKE_BUILD_TYPE": "Release",
+ "OPTIONS_ENABLE_CCACHE": "ON"
+ },
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Darwin"
+ }
+ },
+ {
+ "name": "windows-debug",
+ "inherits": "windows-release",
+ "displayName": "Windows - Debug",
+ "description": "Build Debug Mode",
+ "cacheVariables": {
+ "CMAKE_BUILD_TYPE": "Debug",
+ "DEBUG_LOG": "ON"
+ },
+ "architecture": {
+ "value": "x64",
+ "strategy": "external"
+ }
+ },
+ {
+ "name": "linux-debug",
+ "inherits": "linux-release",
+ "displayName": "Linux - Debug Build",
+ "description": "Build Debug Mode",
+ "cacheVariables": {
+ "CMAKE_BUILD_TYPE": "Debug",
+ "DEBUG_LOG": "ON"
+ }
+ },
+ {
+ "name": "macos-debug",
+ "inherits": "macos-release",
+ "displayName": "macOS - Debug Build",
+ "description": "Build Debug Mode",
+ "cacheVariables": {
+ "CMAKE_BUILD_TYPE": "Debug",
+ "DEBUG_LOG": "ON"
+ }
+ }
+ ],
+ "buildPresets": [
+ {
+ "name": "linux-release",
+ "configurePreset": "linux-release"
+ },
+ {
+ "name": "linux-debug",
+ "configurePreset": "linux-debug"
+ },
+ {
+ "name": "windows-release",
+ "configurePreset": "windows-release"
+ },
+ {
+ "name": "windows-Xdebug",
+ "configurePreset": "windows-debug"
+ },
+ {
+ "name": "macos-release",
+ "configurePreset": "macos-release"
+ },
+ {
+ "name": "macos-debug",
+ "configurePreset": "macos-debug"
+ }
+ ]
}
diff --git a/data/creatures/monsters.xml b/data/creatures/monsters.xml
index ae000a97..3c35be71 100644
--- a/data/creatures/monsters.xml
+++ b/data/creatures/monsters.xml
@@ -5,7 +5,7 @@