| 44 | extern Timer game_timer; |
| 45 | |
| 46 | void Object::SaveHistoryState(std::list<SavedChunk> &chunk_list, int state_id) { |
| 47 | SavedChunk saved_chunk; |
| 48 | saved_chunk.obj_id = GetID(); |
| 49 | if (GetType() != _group && GetType() != _prefab) { |
| 50 | saved_chunk.type = ChunkType::OBJECT; |
| 51 | } else { |
| 52 | saved_chunk.type = ChunkType::GROUP; |
| 53 | } |
| 54 | |
| 55 | GetDesc(saved_chunk.desc); |
| 56 | |
| 57 | AddChunkToHistory(chunk_list, state_id, saved_chunk); |
| 58 | } |
| 59 | |
| 60 | int Object::lineCheck(const vec3 &start, const vec3 &end, vec3 *point, vec3 *normal) { |
| 61 | return LineCheckEditorCube(start, end, point, normal); |
nothing calls this directly
no test coverage detected