/* ** Command & Conquer Generals(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) 2001-2003 Electronic Arts Inc. // // // //////////////////////////////////////////////////////////////////////////////// // FILE: W3DDisplay.h ///////////////////////////////////////////////////////// // // W3D Implementation for the W3D Display which is responsible for creating // and maintaning the entire visual display // // Author: Colin Day, April 2001 // /////////////////////////////////////////////////////////////////////////////// #pragma once #ifndef __W3DDISPLAY_H_ #define __W3DDISPLAY_H_ #include "GameClient/Display.h" #include "WW3D2/lightenvironment.h" class VideoBuffer; class W3DDebugDisplay; class DisplayString; class W3DAssetManager; class LightClass; class Render2DClass; class RTS3DScene; class RTS2DScene; class RTS3DInterfaceScene; //============================================================================= /** W3D implementation of the game display which is responsible for creating * all interaction with the screen and updating the display */ class W3DDisplay : public Display { public: W3DDisplay(); ~W3DDisplay(); virtual void init( void ); ///< initialize or re-initialize the sytsem virtual void reset( void ) ; ///< Reset system virtual void setWidth( UnsignedInt width ); virtual void setHeight( UnsignedInt height ); virtual Bool setDisplayMode( UnsignedInt xres, UnsignedInt yres, UnsignedInt bitdepth, Bool windowed ); virtual Int getDisplayModeCount(void); ///