mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-01-20 08:20:44 +00:00
- removed clientside use of mBreakprogram ptr
This commit is contained in:
parent
cd9284d876
commit
5ebda5eab5
4 changed files with 4 additions and 16 deletions
|
@ -226,8 +226,8 @@ void rvDebuggerClient::HandleBreak ( idBitMsg* msg )
|
|||
msg->ReadString ( filename, MAX_PATH );
|
||||
mBreakFilename = filename;
|
||||
|
||||
int64_t ptr64b = msg->ReadInt64();
|
||||
mBreakProgram = (idProgram*)ptr64b;
|
||||
//int64_t ptr64b = msg->ReadInt64();
|
||||
//mBreakProgram = (idProgram*)ptr64b;
|
||||
|
||||
// Clear the variables
|
||||
mVariables.Clear ( );
|
||||
|
|
|
@ -112,7 +112,6 @@ protected:
|
|||
int mBreakID;
|
||||
int mBreakLineNumber;
|
||||
idStr mBreakFilename;
|
||||
idProgram* mBreakProgram;
|
||||
|
||||
idDict mVariables;
|
||||
|
||||
|
@ -191,17 +190,6 @@ ID_INLINE int rvDebuggerClient::GetBreakLineNumber ( void )
|
|||
return mBreakLineNumber;
|
||||
}
|
||||
|
||||
/*
|
||||
================
|
||||
rvDebuggerClient::GetBreakProgram
|
||||
================
|
||||
*/
|
||||
ID_INLINE idProgram* rvDebuggerClient::GetBreakProgram(void)
|
||||
{
|
||||
return mBreakProgram;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
================
|
||||
rvDebuggerClient::GetCallstack
|
||||
|
|
|
@ -612,7 +612,7 @@ void rvDebuggerServer::Break ( idInterpreter* interpreter, idProgram* program, i
|
|||
msg.WriteInt ( linenumber );
|
||||
msg.WriteString ( fileStr.c_str() );
|
||||
|
||||
msg.WriteInt64( (int64_t)mBreakProgram );
|
||||
//msg.WriteInt64( (int64_t)mBreakProgram );
|
||||
|
||||
SendPacket ( msg.GetData(), msg.GetSize() );
|
||||
|
||||
|
|
|
@ -1794,7 +1794,7 @@ void rvDebuggerWindow::ProcessNetMessage ( idBitMsg* msg )
|
|||
mClient->InspectVariable ( mTooltipVar, mCurrentStackDepth );
|
||||
UpdateWatch ( );
|
||||
EnableWindows ( TRUE );
|
||||
OpenScript ( mClient->GetBreakFilename(), mClient->GetBreakLineNumber() - 1, mClient->GetBreakProgram());
|
||||
OpenScript ( mClient->GetBreakFilename(), mClient->GetBreakLineNumber() - 1 );
|
||||
UpdateTitle ( );
|
||||
UpdateToolbar ( );
|
||||
SetForegroundWindow ( mWnd );
|
||||
|
|
Loading…
Reference in a new issue