Hi,
I'm not entirely sure if anyone will know this because it's a pretty old game (yes, I know), but anyway, I have a question about coding for Half-Life 1. Basically, if I make a dll that modifies the game, and then use something like:
ifstream file_in("readme.txt");
I can read from readme.txt, provided it is in the Half-Life directory. But say I put readme.txt in a sub-directory called "game". Now, if I try the following, it won't work:
ifstream file_in("/game/readme.txt");
Anyone know how to code it so that I can read from readme.txt when it's in a subdirectory? Thanks.