Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Clean up `_path_path()` functions

Open akrieger opened this issue 1 year ago • 2 comments

Summary

None

Purpose of change

image

Describe the solution

Replace string functions with path functions. Remove string functions. Rename path functions to shorter form previously occupied by string functions.

Describe alternatives you've considered

Testing

It compiles. I can write into the diary and it appears on disk in the right place. I die, and the game gets graveyarded correctly (or at least, the same as it was before. I think there's preexisting bugs). I can delete a world with active players inside and it deletes correctly.

Additional context

akrieger avatar Oct 12 '24 00:10 akrieger

Actually I can take care of them all.

akrieger avatar Oct 12 '24 00:10 akrieger

I am maybe not handling resetting a world correctly

akrieger avatar Oct 12 '24 01:10 akrieger