Files
source/Utils/Debug Control.h
T
Marco Antonio J. Costaandmajcosta 86ad401186 add newline at end of file where it's lacking
.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
```
2024-12-14 19:05:48 -03:00

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