mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Merge pull request #4024 from IntelOrca/refactor/object-list
Refactor and improve the object system: - Objects are now exported to user directory under 'object'. - Object directories are scanned recursively. - Improves reliability of object loading and handling of bad objects. - Improve performance of object scanning. - Only load new objects when loading a new game. - Improve changing language experience.
This commit is contained in:
@@ -74,6 +74,8 @@ namespace Path
|
||||
|
||||
utf8 * GetFileNameWithoutExtension(utf8 * buffer, size_t bufferSize, const utf8 * path)
|
||||
{
|
||||
path = GetFileName(path);
|
||||
|
||||
const utf8 * lastDot = nullptr;
|
||||
const utf8 * ch = path;
|
||||
for (; *ch != '\0'; ch++)
|
||||
|
||||
Reference in New Issue
Block a user