Found the pointer for the function that CPrint ships whatever you write to. This happens to also be the function the engine uses to print to a console or log file.
Used detours to hook into it, and replace it with my own. Then I ported the console from NOLF2M over.
Found the pointer for the function that CPrint ships whatever you write to. This happens to also be the function the engine uses to print to a console or log file.
Used detours to hook into it, and replace it with my own. Then I ported the console from NOLF2M over.
Functional, but ugly.