/* ** Command & Conquer Renegade(tm) ** Copyright 2025 Electronic Arts Inc. ** ** This program is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation, either version 3 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program. If not, see . */ /*********************************************************************************************** *** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S *** *********************************************************************************************** * * * Project Name : LevelEdit * * * * $Archive:: /Commando/Code/Tools/LevelEdit/VisLog.h $* * * * Author:: Patrick Smith * * * * $Modtime:: 7/23/99 4:32p $* * * * $Revision:: 3 $* * * *---------------------------------------------------------------------------------------------* * Functions: * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ #if defined(_MSC_VER) #pragma once #endif #ifndef __VISLOG_H #define __VISLOG_H #include "Vector.H" #include "VisSample.H" // Forward declarations class ChunkLoadClass; class ChunkSaveClass; ////////////////////////////////////////////////////////////////////////////////// // // Typedefs // ////////////////////////////////////////////////////////////////////////////////// typedef DynamicVectorClass VIS_SAMPLE_LIST; ////////////////////////////////////////////////////////////////////////////////// // // VisLogClass // ////////////////////////////////////////////////////////////////////////////////// class VisLogClass { public: //////////////////////////////////////////////////////////////////////////// // Public constructors/destructors //////////////////////////////////////////////////////////////////////////// VisLogClass (void); ~VisLogClass (void); //////////////////////////////////////////////////////////////////////////// // Public methods //////////////////////////////////////////////////////////////////////////// // Error addition/removal/viewing void Log_Sample (const VisSampleClass &vis_sample); void Reset_Log (void); VIS_SAMPLE_LIST & Peek_Error_List (void) { return m_ErrorList; } // Serialization bool Load (ChunkLoadClass &chunk_load); bool Save (ChunkSaveClass &chunk_save); private: //////////////////////////////////////////////////////////////////////////// // Private member data //////////////////////////////////////////////////////////////////////////// VIS_SAMPLE_LIST m_ErrorList; }; #endif //__VISLOG_H