Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <Opcode.h>
Public Member Functions | |
SAP_PairData () | |
~SAP_PairData () | |
bool | Init (udword nb_objects) |
void | AddPair (udword id1, udword id2) |
void | RemovePair (udword id1, udword id2) |
void | DumpPairs (Pairs &pairs) const |
void | DumpPairs (PairCallback callback, void *user_data) const |
SAP_PairData::SAP_PairData | ( | ) |
Constructor.
Definition at line 109 of file OPC_SweepAndPrune.cpp.
SAP_PairData::~SAP_PairData | ( | ) |
Definition at line 242 of file OPC_SweepAndPrune.cpp.
References Delta(), Opcode::SAP_Element::mID, Opcode::SAP_Element::mNext, null, OPASSERT, Remap(), and Sort().
Referenced by Opcode::SweepAndPrune::Init(), and Opcode::SweepAndPrune::UpdateObject().
void SAP_PairData::DumpPairs | ( | Pairs & | pairs) | const |
Definition at line 325 of file OPC_SweepAndPrune.cpp.
References Pairs::AddPair(), Opcode::SAP_Element::mID, Opcode::SAP_Element::mNext, and OPASSERT.
Referenced by Opcode::SweepAndPrune::GetPairs().
void SAP_PairData::DumpPairs | ( | PairCallback | callback, |
void * | user_data | ||
) | const |
Definition at line 341 of file OPC_SweepAndPrune.cpp.
References Opcode::SAP_Element::mID, Opcode::SAP_Element::mNext, and OPASSERT.
Initializes.
nb_objects | [in] |
Definition at line 145 of file OPC_SweepAndPrune.cpp.
Referenced by Opcode::SweepAndPrune::Init().
Definition at line 284 of file OPC_SweepAndPrune.cpp.
References Opcode::SAP_Element::mID, Opcode::SAP_Element::mNext, and Sort().
Referenced by Opcode::SweepAndPrune::UpdateObject().