1
0
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:
Ted John
2016-07-11 23:45:45 +01:00
committed by GitHub
96 changed files with 6086 additions and 3755 deletions

View File

@@ -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++)