mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
.editorconfig already enforces it but it's getting changed piecemeal in every commit. just get it done with. the script: ``` find . -type f -not -path "./.git/*" -not -path "./.vs/*" | while read -r file; do isFile=$(file -0 "$file" | cut -d $'\0' -f2) case "$isFile" in (*text*) echo "$file is text" if [[ $(tail -c 1 "$file" | wc -l) -ne 1 ]]; then echo "" >> "$file" fi ;; (*) echo "file isn't text" ;; esac done ```
59 lines
841 B
C
59 lines
841 B
C
#ifndef __DEBUG_CONTROL_
|
|
#define __DEBUG_CONTROL_
|
|
|
|
#include "types.h"
|
|
|
|
|
|
//#define _PHYSICSSUBSYSTEM_DEBUG
|
|
//#define _AISUBSYSTEM_DEBUG
|
|
|
|
#ifdef JA2BETAVERSION
|
|
// #define _ANIMSUBSYSTEM_DEBUG
|
|
#endif
|
|
|
|
|
|
void LiveMessage( CHAR8 *strMessage);
|
|
|
|
void MPDebugMsg( CHAR8 *strMessage);
|
|
|
|
#ifdef _ANIMSUBSYSTEM_DEBUG
|
|
|
|
#define AnimDebugMsg(c) AnimDbgMessage( (c) )
|
|
|
|
extern void AnimDbgMessage( CHAR8 *Str);
|
|
|
|
#else
|
|
|
|
#define AnimDebugMsg(c)
|
|
|
|
#endif
|
|
|
|
|
|
#ifdef _PHYSICSSUBSYSTEM_DEBUG
|
|
|
|
#define PhysicsDebugMsg(c) PhysicsDbgMessage( (c) )
|
|
|
|
extern void PhysicsDbgMessage( CHAR8 *Str);
|
|
|
|
#else
|
|
|
|
#define PhysicsDebugMsg(c)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _AISUBSYSTEM_DEBUG
|
|
|
|
#define AiDebugMsg(c) AiDbgMessage( (c) )
|
|
|
|
extern void AiDbgMessage( CHAR8 *Str);
|
|
|
|
#else
|
|
|
|
#define AiDebugMsg(c)
|
|
|
|
#endif
|
|
|
|
#endif
|