refactor: replace NULL with nullptr across C++ codebase

Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
MatthewBeshay
2026-03-30 16:25:52 +11:00
parent a330ecdcbb
commit dfb0e3b03e
752 changed files with 5396 additions and 5396 deletions

View File

@@ -2,7 +2,7 @@
#include "MobSkinTextureProcessor.h"
BufferedImage* MobSkinTextureProcessor::process(BufferedImage* in) {
if (in == NULL) return NULL;
if (in == nullptr) return nullptr;
width = 64;
height = 32;
@@ -10,7 +10,7 @@ BufferedImage* MobSkinTextureProcessor::process(BufferedImage* in) {
BufferedImage* out =
new BufferedImage(width, height, BufferedImage::TYPE_INT_ARGB);
Graphics* g = out->getGraphics();
g->drawImage(in, 0, 0, NULL);
g->drawImage(in, 0, 0, nullptr);
g->dispose();
pixels = out->getData();