OpenAWE-Project / OpenAWE

A reimplementation of Remedy Entertainments Alan Wake Engine, in later iterations known as the Northlight Engine
GNU General Public License v3.0
159 stars 13 forks source link

Path normalization #15

Closed Nostritius closed 1 year ago

Nostritius commented 3 years ago

The normalization of a file path is necessary for a lot of asset loading in OpenAWE. It is essentially about giving all paths a common form, to allow better common handling with them. It is already done by its own in several file loaders, but it would be great to have one central method for this. The normalization consists of the following points: