We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 312551d commit 874b313Copy full SHA for 874b313
GeneralsMD/Code/GameEngine/Include/Common/CriticalSection.h
@@ -94,7 +94,7 @@ class ScopedCriticalSection
94
95
#include "mutex.h"
96
97
-// These should be NULL on creation then non-NULL in WinMain or equivalent.
+// These should be nullptr on creation then non-nullptr in WinMain or equivalent.
98
// This allows us to be silently non-threadsafe for WB and other single-threaded apps.
99
extern CriticalSection *TheAsciiStringCriticalSection;
100
extern CriticalSection *TheUnicodeStringCriticalSection;
GeneralsMD/Code/GameEngine/Include/Common/Overridable.h
@@ -49,7 +49,7 @@ class Overridable : public MemoryPoolObject
49
public:
50
Overridable() : m_nextOverride(nullptr), m_isOverride(false) {}
51
52
- // return a constant version of m_nextOverride, which can be NULL if there is no
+ // return a constant version of m_nextOverride, which can be nullptr if there is no
53
// override
54
const Overridable *getNextOverride( void ) const
55
{
GeneralsMD/Code/GameEngine/Include/Common/StackDump.h
@@ -30,11 +30,11 @@
30
#if defined(RTS_DEBUG) || defined(IG_DEBUG_STACKTRACE)
31
32
// Writes a stackdump (provide a callback : gets called per line)
33
-// If callback is NULL then will write using OuputDebugString
+// If callback is nullptr then will write using OuputDebugString
34
void StackDump(void (*callback)(const char*));
35
36
37
38
void StackDumpFromContext(DWORD eip,DWORD esp,DWORD ebp, void (*callback)(const char*));
39
40
// Gets count* addresses from the current stack
GeneralsMD/Code/GameEngine/Include/Common/SubsystemInterface.h
@@ -52,7 +52,7 @@ class SubsystemInterface
/** - Constructors should initialize any data to a valid state. That DOES NOT mean
* the data has default values (something done in the init() method), only that
* nothing is left pointing to garbage, un-initialized memory. In most cases
- * this probably means just setting members to zero or NULL.
+ * this probably means just setting members to zero or nullptr.
56
*/
57
SubsystemInterface();
58
GeneralsMD/Code/GameEngine/Include/Common/Team.h
@@ -259,7 +259,7 @@ class Team : public MemoryPoolObject,
259
Player *getControllingPlayer() const;
260
261
/**
262
- set the team's owner. (NULL is not allowed)
+ set the team's owner. (nullptr is not allowed)
263
264
void setControllingPlayer(Player *newController);
265
@@ -540,7 +540,7 @@ class TeamPrototype : public MemoryPoolObject,
540
Team *findTeamByID( TeamID teamID );
541
542
543
544
545
546
GeneralsMD/Code/GameEngine/Include/GameClient/CommandXlat.h
@@ -117,7 +117,7 @@ class PickAndPlayInfo
117
118
Bool m_air; //Are we attacking an airborned target?
119
Drawable *m_drawTarget; //Do we have an override draw target?
120
- WeaponSlotType *m_weaponSlot; //Are we forcing a specific weapon slot? NULL if unspecified.
+ WeaponSlotType *m_weaponSlot; //Are we forcing a specific weapon slot? nullptr if unspecified.
121
SpecialPowerType m_specialPowerType; //Which special power are use using? SPECIAL_INVALID if unspecified.
122
};
123
GeneralsMD/Code/GameEngine/Include/GameClient/GameWindowManager.h
@@ -270,7 +270,7 @@ friend class GameWindow;
270
WindowMsgData mData1, WindowMsgData mData2 );
271
272
/** get the window pointer from id, starting at 'window' and searching
273
- down the heirarchy. If 'window' is NULL then all windows will
+ down the heirarchy. If 'window' is nullptr then all windows will
274
be searched */
275
virtual GameWindow *winGetWindowFromId( GameWindow *window, Int id );
276
virtual Int winCapture( GameWindow *window ); ///< captures the mouse
GeneralsMD/Code/GameEngine/Include/GameLogic/Module/CollideModule.h
@@ -35,7 +35,7 @@
//-------------------------------------------------------------------------------------------------
/** OBJECT COLLIDE MODULE
- Called when two objects collide (or when object collides with ground)
- - Note in the 'collide' method that 'other' can be NULL, this indicates a
+ - Note in the 'collide' method that 'other' can be nullptr, this indicates a
collision with the ground
- Also note the 'collide' method is the response for the object that THIS module
41
belongs to, we do not need to worry about the collision moudle of 'other',
GeneralsMD/Code/GameEngine/Include/GameLogic/Module/DamageModule.h
@@ -70,7 +70,7 @@ class DamageModuleData : public BehaviorModuleData
70
71
static const FieldParse dataFieldParse[] =
72
73
-// { "DamageTypes", INI::parseDamageTypeFlags, NULL, offsetof( DamageModuleData, m_damageTypes ) },
+// { "DamageTypes", INI::parseDamageTypeFlags, nullptr, offsetof( DamageModuleData, m_damageTypes ) },
74
{ 0, 0, 0, 0 }
75
76
GeneralsMD/Code/GameEngine/Include/GameLogic/Module/EMPUpdate.h
@@ -87,7 +87,7 @@ class EMPUpdateModuleData : public UpdateModuleData
87
{ "StartFadeTime", INI::parseDurationUnsignedInt, nullptr, offsetof( EMPUpdateModuleData, m_startFadeFrame ) },
88
{ "StartScale", INI::parseReal, nullptr, offsetof( EMPUpdateModuleData, m_startScale ) },
89
{ "DisabledDuration", INI::parseDurationUnsignedInt, nullptr, offsetof( EMPUpdateModuleData, m_disabledDuration ) },
90
- //{ "SpinRateMax", INI::parseReal, NULL, offsetof( EMPUpdateModuleData, m_spinRateMax ) },
+ //{ "SpinRateMax", INI::parseReal, nullptr, offsetof( EMPUpdateModuleData, m_spinRateMax ) },
91
{ "TargetScaleMax", INI::parseReal, nullptr, offsetof( EMPUpdateModuleData, m_targetScaleMax ) },
92
{ "TargetScaleMin", INI::parseReal, nullptr, offsetof( EMPUpdateModuleData, m_targetScaleMin ) },
93
{ "StartColor", INI::parseRGBColor, nullptr, offsetof( EMPUpdateModuleData, m_startColor ) },
0 commit comments