fix: Locale selection for RelWithDebInfo and dragon_rock/mobs textures
This commit is contained in:
27
README.md
27
README.md
@@ -1,2 +1,25 @@
|
||||
# m2dev-client-src
|
||||
[](https://github.com/d1str4ught/m2dev-client-src/actions/workflows/main.yml)
|
||||
# Client Source Repository
|
||||
|
||||
This repository contains the source code necessary to compile the game client executable.
|
||||
|
||||
## How to build
|
||||
|
||||
> cmake -S . -B build
|
||||
>
|
||||
> cmake --build build
|
||||
|
||||
---
|
||||
|
||||
## ✨ Key Source Code Fixes
|
||||
|
||||
The following fixes address critical issues related to locale compilation and texture loading, ensuring compatibility with new content and correct language output.
|
||||
|
||||
### 🖼️ Texture and Resource Loading Fix
|
||||
|
||||
* **Fix: Missing Texture Cache:** Resolved an issue in `UserInterface/UserInterface.cpp` by adding the necessary missing resource directory names (`"_texcache"`) within the `PackInitialize` function.
|
||||
* **Impact:** This ensures that texture files for new mobs and maps are correctly included and loaded by the client, preventing potential display errors or crashes related to missing resources.
|
||||
|
||||
### 🌐 Build Configuration Fix
|
||||
|
||||
* **Fix: Locale Build Typos:** Corrected a critical typo in `UserInterface/locale.cpp` where the `RelWithDebInfo` build configuration incorrectly referenced `tr (1253)`.
|
||||
* **Impact:** The value was updated to **`gr (1253)`** to correctly reference the Greek locale option before game launch.
|
||||
Reference in New Issue
Block a user