mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-21 11:31:49 +00:00
rename functionType for debugger
This commit is contained in:
parent
ebf53cdc21
commit
61019b97ff
4 changed files with 4 additions and 4 deletions
|
@ -422,7 +422,7 @@ void idGameLocal::Init( void ) {
|
||||||
Printf( "...%d aas types\n", aasList.Num() );
|
Printf( "...%d aas types\n", aasList.Num() );
|
||||||
|
|
||||||
//debugger support
|
//debugger support
|
||||||
common->GetAdditionalFunction( idCommon::FT_CheckDebuggerBreakpoint,( idCommon::FunctionPointer * ) &updateDebuggerFnPtr,NULL);
|
common->GetAdditionalFunction( idCommon::FT_UpdateDebugger,( idCommon::FunctionPointer * ) &updateDebuggerFnPtr,NULL);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3320,7 +3320,7 @@ bool idCommonLocal::GetAdditionalFunction(idCommon::FunctionType ft, idCommon::F
|
||||||
// don't set *out_userArg, this function takes no arguments
|
// don't set *out_userArg, this function takes no arguments
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case idCommon::FT_CheckDebuggerBreakpoint:
|
case idCommon::FT_UpdateDebugger:
|
||||||
*out_fnptr = (idCommon::FunctionPointer)updateDebugger;
|
*out_fnptr = (idCommon::FunctionPointer)updateDebugger;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -279,7 +279,7 @@ public:
|
||||||
// idInterpreter *interpreter, idProgram *program, int instructionPointer
|
// idInterpreter *interpreter, idProgram *program, int instructionPointer
|
||||||
// it returns true if the game debugger is active.
|
// it returns true if the game debugger is active.
|
||||||
// relevant for mods.
|
// relevant for mods.
|
||||||
FT_CheckDebuggerBreakpoint,
|
FT_UpdateDebugger,
|
||||||
};
|
};
|
||||||
|
|
||||||
// returns true if that function is available in this version of dhewm3
|
// returns true if that function is available in this version of dhewm3
|
||||||
|
|
|
@ -361,7 +361,7 @@ void idGameLocal::Init( void ) {
|
||||||
// DG: hack to support the Demo version of Doom3
|
// DG: hack to support the Demo version of Doom3
|
||||||
common->GetAdditionalFunction(idCommon::FT_IsDemo, (idCommon::FunctionPointer*)&isDemoFnPtr, NULL);
|
common->GetAdditionalFunction(idCommon::FT_IsDemo, (idCommon::FunctionPointer*)&isDemoFnPtr, NULL);
|
||||||
//debugger support
|
//debugger support
|
||||||
common->GetAdditionalFunction(idCommon::FT_CheckDebuggerBreakpoint,(idCommon::FunctionPointer*) &updateDebuggerFnPtr,NULL);
|
common->GetAdditionalFunction(idCommon::FT_UpdateDebugger,(idCommon::FunctionPointer*) &updateDebuggerFnPtr,NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue