MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / translation_pair

Class translation_pair

ogsr_engine/xrGame/Level_load.cpp:115–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115struct translation_pair
116{
117 u32 m_id;
118 u16 m_index;
119
120 IC translation_pair(u32 id, u16 index)
121 {
122 m_id = id;
123 m_index = index;
124 }
125
126 IC bool operator==(const u16& id) const { return (m_id == id); }
127
128 IC bool operator<(const translation_pair& pair) const { return (m_id < pair.m_id); }
129
130 IC bool operator<(const u16& id) const { return (m_id < id); }
131};
132
133void CLevel::Load_GameSpecific_CFORM(CDB::TRI* tris, const size_t count)
134{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected