Skip to content

Commit ce20c35

Browse files
committed
[GEN][ZH] Rename m_file to m_recordingFile to differentiate it from the replay playback file
1 parent bf9aaa8 commit ce20c35

File tree

4 files changed

+190
-190
lines changed

4 files changed

+190
-190
lines changed

Generals/Code/GameEngine/Include/Common/Recorder.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ class RecorderClass : public SubsystemInterface {
133133
Bool sawCRCMismatch() const;
134134
void cleanUpReplayFile( void ); ///< after a crash, send replay/debug info to a central repository
135135

136-
void stopRecording(); ///< Stop recording and close m_file.
136+
void stopRecording(); ///< Stop recording and close m_recordingFile.
137137
protected:
138-
void startRecording(GameDifficulty diff, Int originalGameMode, Int rankPoints, Int maxFPS); ///< Start recording to m_file.
139-
void writeToFile(GameMessage *msg); ///< Write this GameMessage to m_file.
138+
void startRecording(GameDifficulty diff, Int originalGameMode, Int rankPoints, Int maxFPS); ///< Start recording to m_recordingFile.
139+
void writeToFile(GameMessage *msg); ///< Write this GameMessage to m_recordingFile.
140140

141141
void logGameStart(AsciiString options);
142142
void logGameEnd( void );
@@ -157,7 +157,7 @@ class RecorderClass : public SubsystemInterface {
157157
CullBadCommandsResult cullBadCommands(); ///< prevent the user from giving mouse commands that he shouldn't be able to do during playback.
158158

159159
File* m_replayFile;
160-
FILE *m_file;
160+
FILE *m_recordingFile;
161161
AsciiString m_fileName;
162162
Int m_currentFilePosition;
163163
RecorderModeType m_mode;

0 commit comments

Comments
 (0)