Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
debug.c
Go to the documentation of this file.
1 void wpnPrint (string s)
2 {
3 #ifdef WPN_DEBUG
4  PrintToRPT("" + s); // comment/uncomment to hide/see at least important info
5 #else
6  //Print("" + s); // comment/uncomment to hide/see at least important info
7 #endif
8 }
9 void wpnDebugPrint (string s)
10 {
11 #ifdef WPN_DEBUG
12  PrintToRPT("" + s); // comment/uncomment to hide/see debug logs
13 #else
14  //Print("" + s); // comment/uncomment to hide/see debug logs
15 #endif
16 }
17 void wpnDebugSpam (string s)
18 {
19 #ifdef WPN_DEBUG_SPAM
20  PrintToRPT("" + s); // comment/uncomment to hide/see debug logs
21 #else
22  //Print("" + s); // comment/uncomment to hide/see debug logs
23 #endif
24 }
25 void wpnDebugSpamALot (string s)
26 {
27 #ifdef WPN_DEBUG_SPAM_FREQ
28  PrintToRPT("" + s); // comment/uncomment to hide/see debug logs
29 #else
30  //Print("" + s); // comment/uncomment to hide/see debug logs
31 #endif
32 }
33 
34 // @NOTE: to see output from FSM transitions, go to:
35 // 4_World/Entities/HFSMBase.c
36 // @see fsmDebugPrint @see fsmDebugSpam
37 
wpnDebugPrint
void wpnDebugPrint(string s)
Definition: debug.c:9
wpnDebugSpamALot
void wpnDebugSpamALot(string s)
Definition: debug.c:25
PrintToRPT
proto void PrintToRPT(void var)
Prints content of variable to RPT file (performance warning - each write means fflush!...
wpnDebugSpam
void wpnDebugSpam(string s)
Definition: debug.c:17
wpnPrint
void wpnPrint(string s)
Definition: debug.c:1