mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
printf should work now
@@ -185,13 +185,15 @@ ebx = RCT2_ADDRESS_SPRITE_LIST[ebx];
|
||||
|
||||
### Print debugging
|
||||
|
||||
To print statements to the console after RCT2 begins running, include the following header:
|
||||
Use `printf` or,
|
||||
|
||||
To print statements to the Visual Studio output after RCT2 begins, include the following header:
|
||||
|
||||
```
|
||||
#include "windows.h"
|
||||
```
|
||||
|
||||
Then use the command [`OutputDebugString`](http://msdn.microsoft.com/en-us/library/aa363362%28VS.85%29.aspx). Sadly printf does not work in some cases.
|
||||
Then use the command [`OutputDebugString`](http://msdn.microsoft.com/en-us/library/aa363362%28VS.85%29.aspx).
|
||||
|
||||
```
|
||||
OutputDebugString("Hello World!\n");
|
||||
|
||||
Reference in New Issue
Block a user