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

Legacy Status:
Image Image

QZDoom Status:
Image

Relative Include path support in ZScript

Postby RicardoLuis0 » Sun Sep 01, 2019 3: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: 22 Aug 2018
Location: Brazil
Discord: RicardoLuis0#1862
Github ID: RicardoLuis0
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Return to Code Submissions

Who is online

Users browsing this forum: No registered users and 0 guests