Relative Include path support in ZScript

Moderator: GZDoom Developers

Post Reply
User avatar
Jay0
 
 
Posts: 67
Joined: Tue Aug 21, 2018 9:31 pm
Preferred Pronouns: She/Her
Graphics Processor: nVidia with Vulkan support
Location: Brazil
Contact:

Relative Include path support in ZScript

Post by Jay0 »

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
User avatar
Major Cooke
Posts: 8206
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: Relative Include path support in ZScript

Post by Major Cooke »

It's been added.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”