I am a complete beginner at c++ and gzdoom source code... I only forked gzdoom to test, mess around, how this thing actually works, and here we are, this is the first working thing I implemented, finally something working!
So we all know, there is Wads.ReadLump() - now this is the polar opposite "PrintToFile". You output some string to output.txt in gzdoom directory. This can be used for example to make two way communication like for a chatbot, or even giving random orders to your computer if for example a python script is checking that file always. Now I am not sure what happens if for some reason it cannot write the file, probably crash?
Either way, this is not an optimized something, just an experiment of a beginner programmer. (at least beginner in c++ haha)
Copyright (c) 1998-2023 ZDoom + GZDoom teams, and contributors
Doom Source (c) 1997 id Software, Raven Software, and contributors
Please see license files for individual contributor licenses
Special thanks to Coraline of the EDGE team for allowing us to use her README.md as a template for this one.
To build GZDoom, please see the wiki and see the "Programmer's Corner" on the bottom-right corner of the page to build for your platform.
- https://zdoom.org/ - Home Page
- https://forum.zdoom.org/ - Forum
- https://zdoom.org/wiki/ - Wiki
- https://dsc.gg/zdoom - Discord Server
- https://docs.google.com/spreadsheets/d/1pvwXEgytkor9SClCiDn4j5AH7FedyXS-ocCbsuQIXDU/edit?usp=sharing - Translation sheet (Google Docs)