Vadru93 / LevelMod

THPS3 LevelMod
Other
20 stars 2 forks source link

Load* funcs should use FileExists internally #112

Closed DCxDemo closed 1 year ago

DCxDemo commented 2 years ago

Make existing content loading functions to use FileExists and fire an error, as it just crashes currently. Functions like LoadFont, LoadAnim, LoadSound should specifically report the file they couldn't load. This would help with missing content bugs and crashes. Could also fallback to some default existing file to avoid crashing as well.