Skip to content

Commit cd16778

Browse files
committed
nit: clean up comments
1 parent 4f56498 commit cd16778

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

GeneralsMD/Code/GameEngine/Include/GameNetwork/NetCommandMsg.h

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include "GameNetwork/NetworkDefs.h"
3636
#include "Common/UnicodeString.h"
3737

38-
//-----------------------------------------------------------------------------
3938
class NetCommandMsg : public MemoryPoolObject
4039
{
4140
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetCommandMsg, "NetCommandMsg")
@@ -68,10 +67,6 @@ class NetCommandMsg : public MemoryPoolObject
6867
};
6968

7069

71-
//-----------------------------------------------------------------------------
72-
/**
73-
* The NetGameCommandMsg is the NetCommandMsg representation of a GameMessage
74-
*/
7570
class NetGameCommandMsg : public NetCommandMsg
7671
{
7772
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetGameCommandMsg, "NetGameCommandMsg")
@@ -93,11 +88,6 @@ class NetGameCommandMsg : public NetCommandMsg
9388
GameMessageArgument *m_argList, *m_argTail;
9489
};
9590

96-
//-----------------------------------------------------------------------------
97-
/**
98-
* The NetAckBothCommandMsg is the NetCommandMsg representation of the combination of a
99-
* stage 1 ack and a stage 2 ack.
100-
*/
10191
class NetAckBothCommandMsg : public NetCommandMsg
10292
{
10393
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetAckBothCommandMsg, "NetAckBothCommandMsg")
@@ -119,11 +109,6 @@ class NetAckBothCommandMsg : public NetCommandMsg
119109
UnsignedByte m_originalPlayerID;
120110
};
121111

122-
//-----------------------------------------------------------------------------
123-
/**
124-
* The NetAckStage1CommandMsg is the NetCommandMsg representation of an ack message for the initial
125-
* recipient.
126-
*/
127112
class NetAckStage1CommandMsg : public NetCommandMsg
128113
{
129114
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetAckStage1CommandMsg, "NetAckStage1CommandMsg")
@@ -145,11 +130,6 @@ class NetAckStage1CommandMsg : public NetCommandMsg
145130
UnsignedByte m_originalPlayerID;
146131
};
147132

148-
//-----------------------------------------------------------------------------
149-
/**
150-
* The NetAckStage2CommandMsg is the NetCommandMsg representation of an ack message for all eventual
151-
* recipients. (when this is returned, all the players in the relay mask have received the packet)
152-
*/
153133
class NetAckStage2CommandMsg : public NetCommandMsg
154134
{
155135
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetAckStage2CommandMsg, "NetAckStage2CommandMsg")
@@ -171,7 +151,6 @@ class NetAckStage2CommandMsg : public NetCommandMsg
171151
UnsignedByte m_originalPlayerID;
172152
};
173153

174-
//-----------------------------------------------------------------------------
175154
class NetFrameCommandMsg : public NetCommandMsg
176155
{
177156
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetFrameCommandMsg, "NetFrameCommandMsg")
@@ -188,7 +167,6 @@ class NetFrameCommandMsg : public NetCommandMsg
188167
UnsignedShort m_commandCount;
189168
};
190169

191-
//-----------------------------------------------------------------------------
192170
class NetPlayerLeaveCommandMsg : public NetCommandMsg
193171
{
194172
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetPlayerLeaveCommandMsg, "NetPlayerLeaveCommandMsg")
@@ -205,7 +183,6 @@ class NetPlayerLeaveCommandMsg : public NetCommandMsg
205183
UnsignedByte m_leavingPlayerID;
206184
};
207185

208-
//-----------------------------------------------------------------------------
209186
class NetRunAheadMetricsCommandMsg : public NetCommandMsg
210187
{
211188
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetRunAheadMetricsCommandMsg, "NetRunAheadMetricsCommandMsg")
@@ -225,7 +202,6 @@ class NetRunAheadMetricsCommandMsg : public NetCommandMsg
225202
Int m_averageFps;
226203
};
227204

228-
//-----------------------------------------------------------------------------
229205
class NetRunAheadCommandMsg : public NetCommandMsg
230206
{
231207
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetRunAheadCommandMsg, "NetRunAheadCommandMsg")
@@ -246,7 +222,6 @@ class NetRunAheadCommandMsg : public NetCommandMsg
246222
UnsignedByte m_frameRate;
247223
};
248224

249-
//-----------------------------------------------------------------------------
250225
class NetDestroyPlayerCommandMsg : public NetCommandMsg
251226
{
252227
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetDestroyPlayerCommandMsg, "NetDestroyPlayerCommandMsg")
@@ -263,7 +238,6 @@ class NetDestroyPlayerCommandMsg : public NetCommandMsg
263238
UnsignedInt m_playerIndex;
264239
};
265240

266-
//-----------------------------------------------------------------------------
267241
class NetKeepAliveCommandMsg : public NetCommandMsg
268242
{
269243
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetKeepAliveCommandMsg, "NetKeepAliveCommandMsg")
@@ -274,7 +248,6 @@ class NetKeepAliveCommandMsg : public NetCommandMsg
274248
virtual size_t getPackedByteCount() const;
275249
};
276250

277-
//-----------------------------------------------------------------------------
278251
class NetDisconnectKeepAliveCommandMsg : public NetCommandMsg
279252
{
280253
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetDisconnectKeepAliveCommandMsg, "NetDisconnectKeepAliveCommandMsg")
@@ -285,7 +258,6 @@ class NetDisconnectKeepAliveCommandMsg : public NetCommandMsg
285258
virtual size_t getPackedByteCount() const;
286259
};
287260

288-
//-----------------------------------------------------------------------------
289261
class NetDisconnectPlayerCommandMsg : public NetCommandMsg
290262
{
291263
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetDisconnectPlayerCommandMsg, "NetDisconnectPlayerCommandMsg")
@@ -306,7 +278,6 @@ class NetDisconnectPlayerCommandMsg : public NetCommandMsg
306278
UnsignedInt m_disconnectFrame;
307279
};
308280

309-
//-----------------------------------------------------------------------------
310281
class NetPacketRouterQueryCommandMsg : public NetCommandMsg
311282
{
312283
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetPacketRouterQueryCommandMsg, "NetPacketRouterQueryCommandMsg")
@@ -317,7 +288,6 @@ class NetPacketRouterQueryCommandMsg : public NetCommandMsg
317288
virtual size_t getPackedByteCount() const;
318289
};
319290

320-
//-----------------------------------------------------------------------------
321291
class NetPacketRouterAckCommandMsg : public NetCommandMsg
322292
{
323293
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetPacketRouterAckCommandMsg, "NetPacketRouterAckCommandMsg")
@@ -328,7 +298,6 @@ class NetPacketRouterAckCommandMsg : public NetCommandMsg
328298
virtual size_t getPackedByteCount() const;
329299
};
330300

331-
//-----------------------------------------------------------------------------
332301
class NetDisconnectChatCommandMsg : public NetCommandMsg
333302
{
334303
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetDisconnectChatCommandMsg, "NetDisconnectChatCommandMsg")
@@ -345,7 +314,6 @@ class NetDisconnectChatCommandMsg : public NetCommandMsg
345314
UnicodeString m_text;
346315
};
347316

348-
//-----------------------------------------------------------------------------
349317
class NetChatCommandMsg : public NetCommandMsg
350318
{
351319
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetChatCommandMsg, "NetChatCommandMsg")
@@ -366,7 +334,6 @@ class NetChatCommandMsg : public NetCommandMsg
366334
Int m_playerMask;
367335
};
368336

369-
//-----------------------------------------------------------------------------
370337
class NetDisconnectVoteCommandMsg : public NetCommandMsg
371338
{
372339
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetDisconnectVoteCommandMsg, "NetDisconnectVoteCommandMsg")
@@ -387,7 +354,6 @@ class NetDisconnectVoteCommandMsg : public NetCommandMsg
387354
UnsignedInt m_voteFrame;
388355
};
389356

390-
//-----------------------------------------------------------------------------
391357
class NetProgressCommandMsg: public NetCommandMsg
392358
{
393359
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetProgressCommandMsg, "NetProgressCommandMsg")
@@ -403,7 +369,6 @@ class NetProgressCommandMsg: public NetCommandMsg
403369
UnsignedByte m_percent;
404370
};
405371

406-
//-----------------------------------------------------------------------------
407372
class NetWrapperCommandMsg : public NetCommandMsg
408373
{
409374
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetWrapperCommandMsg, "NetWrapperCommandMsg")
@@ -444,7 +409,6 @@ class NetWrapperCommandMsg : public NetCommandMsg
444409
UnsignedShort m_wrappedCommandID;
445410
};
446411

447-
//-----------------------------------------------------------------------------
448412
class NetFileCommandMsg : public NetCommandMsg
449413
{
450414
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetFileCommandMsg, "NetFileCommandMsg")
@@ -472,7 +436,6 @@ class NetFileCommandMsg : public NetCommandMsg
472436
UnsignedInt m_dataLength;
473437
};
474438

475-
//-----------------------------------------------------------------------------
476439
class NetFileAnnounceCommandMsg : public NetCommandMsg
477440
{
478441
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetFileAnnounceCommandMsg, "NetFileAnnounceCommandMsg")
@@ -500,7 +463,6 @@ class NetFileAnnounceCommandMsg : public NetCommandMsg
500463
UnsignedByte m_playerMask;
501464
};
502465

503-
//-----------------------------------------------------------------------------
504466
class NetFileProgressCommandMsg : public NetCommandMsg
505467
{
506468
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetFileProgressCommandMsg, "NetFileProgressCommandMsg")
@@ -521,7 +483,6 @@ class NetFileProgressCommandMsg : public NetCommandMsg
521483
Int m_progress;
522484
};
523485

524-
//-----------------------------------------------------------------------------
525486
class NetDisconnectFrameCommandMsg : public NetCommandMsg
526487
{
527488
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetDisconnectFrameCommandMsg, "NetDisconnectFrameCommandMsg")
@@ -537,7 +498,6 @@ class NetDisconnectFrameCommandMsg : public NetCommandMsg
537498
UnsignedInt m_disconnectFrame;
538499
};
539500

540-
//-----------------------------------------------------------------------------
541501
class NetDisconnectScreenOffCommandMsg : public NetCommandMsg
542502
{
543503
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetDisconnectScreenOffCommandMsg, "NetDisconnectScreenOffCommandMsg")
@@ -553,7 +513,6 @@ class NetDisconnectScreenOffCommandMsg : public NetCommandMsg
553513
UnsignedInt m_newFrame;
554514
};
555515

556-
//-----------------------------------------------------------------------------
557516
class NetFrameResendRequestCommandMsg : public NetCommandMsg
558517
{
559518
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetFrameResendRequestCommandMsg, "NetFrameResendRequestCommandMsg")
@@ -569,10 +528,6 @@ class NetFrameResendRequestCommandMsg : public NetCommandMsg
569528
UnsignedInt m_frameToResend;
570529
};
571530

572-
//-----------------------------------------------------------------------------
573-
/**
574-
* The NetLoadCompleteCommandMsg is a simple command message for load complete notifications
575-
*/
576531
class NetLoadCompleteCommandMsg : public NetCommandMsg
577532
{
578533
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetLoadCompleteCommandMsg, "NetLoadCompleteCommandMsg")
@@ -583,10 +538,6 @@ class NetLoadCompleteCommandMsg : public NetCommandMsg
583538
virtual size_t getPackedByteCount() const;
584539
};
585540

586-
//-----------------------------------------------------------------------------
587-
/**
588-
* The NetTimeOutGameStartCommandMsg is a simple command message for timeout game start notifications
589-
*/
590541
class NetTimeOutGameStartCommandMsg : public NetCommandMsg
591542
{
592543
MEMORY_POOL_GLUE_WITH_USERLOOKUP_CREATE(NetTimeOutGameStartCommandMsg, "NetTimeOutGameStartCommandMsg")

0 commit comments

Comments
 (0)