AzerothCore
3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Namespaces
|
Macros
IntermediateValues.cpp File Reference
#include "
IntermediateValues.h
"
Go to the source code of this file.
Namespaces
namespace
MMAP
Macros
#define
DEBUG_WRITE
(fileExtension, data)
Macro Definition Documentation
◆
DEBUG_WRITE
#define DEBUG_WRITE
(
fileExtension,
data
)
Value:
do
{ \
sprintf(fileName, (name + fileExtension).c_str(), mapID, tileY, tileX); \
FILE* file = fopen(fileName,
"wb"
); \
if (!file) \
{ \
char
message[1024]; \
sprintf(message,
"%sFailed to open %s for writing!\n"
, tileString, fileName); \
perror(message); \
} \
else \
debugWrite(file, data); \
if (file) fclose(file); \
printf(
"%sWriting debug output... \r"
, tileString); \
}
while
(
false
)
azerothcore-wotlk
src
tools
mmaps_generator
IntermediateValues.cpp
Generated on Mon Dec 16 2024 20:43:04 for AzerothCore by
1.9.5