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
Relative Include path support in ZScript
Moderator: GZDoom Developers
-
-
- Posts: 52
- Joined: Tue Aug 21, 2018 9:31 pm
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Brazil
-
- Posts: 8109
- Joined: Sun Jan 28, 2007 3:55 pm
Re: Relative Include path support in ZScript
It's been added.