Relative Include path support in ZScript

Like feature suggestions, but you've actually written code to make it happen. More likely to make it into the game than some random request in feature suggestions.

Moderator: GZDoom Developers

Forum rules
Please see Code submission guidelines

GZDoom Status:
Image Image

Legacy Status:
Image Image

QZDoom Status:
Image Image

Relative Include path support in ZScript

Postby RicardoLuis0 » Sun Sep 01, 2019 4:38 pm

Additional code in zcc_parser.cpp::DoParse for resolving relative include paths.
I've tested it some, seems to work so far.
If there is a better way to get the current file path or any other suggestions, I'll surely improve it.

Pull Request
RicardoLuis0
 
Joined: 21 Aug 2018
Discord: RicardoLuis0#1862

Return to Code Submissions

Who is online

Users browsing this forum: No registered users and 1 guest