| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | |
| 18 | --- HISTORICAL COMMENTS FOLLOW --- |
| 19 | |
| 20 | * $Logfile: /DescentIII/Main/editor/PreferencesDialog.h $ |
| 21 | * $Revision: 1.1.1.1 $ |
| 22 | * $Date: 2003-08-26 03:57:38 $ |
| 23 | * $Author: kevinb $ |
| 24 | * |
| 25 | * Preferences |
| 26 | * |
| 27 | * $Log: not supported by cvs2svn $ |
| 28 | * |
| 29 | * 7 4/02/99 11:33p Jeff |
| 30 | * able to turn off IGC in debug mode. Better handling of cinematics |
| 31 | * quick exit if playing via alt-p |
| 32 | * |
| 33 | * 6 3/15/99 9:24p Gwar |
| 34 | * |
| 35 | * 5 7/16/98 12:06p Jason |
| 36 | * added special flags to room structure |
| 37 | * |
| 38 | * 4 3/19/98 6:57p Jeff |
| 39 | * Added in a default pilot section for Preferences |
| 40 | * |
| 41 | * 3 2/14/98 10:48p Jason |
| 42 | * got preferred rendering working |
| 43 | * |
| 44 | * 2 6/05/97 6:10p Jason |
| 45 | * added support for zbuffering and bilinear filtering |
| 46 | * |
| 47 | * 1 2/05/97 11:58a Samir |
| 48 | * |
| 49 | * 2 2/05/97 11:45a Samir |
| 50 | * Baisc functionality for D3windowed toggle |
| 51 | * |
| 52 | * $NoKeywords: $ |
| 53 | */ |
| 54 | |
| 55 | ///////////////////////////////////////////////////////////////////////////// |
| 56 | // CPreferencesDialog dialog |
| 57 | |
| 58 | class CPreferencesDialog : public CDialog { |
| 59 | // Construction |
| 60 | public: |
| 61 | CPreferencesDialog(CWnd *pParent = NULL); // standard constructor |
| 62 | |
| 63 | // Dialog Data |
| 64 | //{{AFX_DATA(CPreferencesDialog) |
| 65 | enum { IDD = IDD_PREFERENCES }; |
| 66 | // NOTE: the ClassWizard will add data members here |
| 67 | //}}AFX_DATA |
| 68 | |
| 69 | // Overrides |
| 70 | // ClassWizard generated virtual function overrides |
| 71 | //{{AFX_VIRTUAL(CPreferencesDialog) |
| 72 | protected: |
| 73 | virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support |
| 74 | //}}AFX_VIRTUAL |
| 75 | |
| 76 | // Implementation |
| 77 | protected: |
| 78 | // Generated message map functions |
| 79 | //{{AFX_MSG(CPreferencesDialog) |
| 80 | virtual void OnOK(); |
| 81 | virtual BOOL OnInitDialog(); |
| 82 | afx_msg void OnBilinearCheck(); |
| 83 | afx_msg void OnWindowed(); |
| 84 | afx_msg void OnFullScreenHW(); |
| 85 | afx_msg void OnFullScreenSW(); |
| 86 | afx_msg void OnMippingCheck(); |
| 87 | afx_msg void OnIgcEnabled(); |
| 88 | //}}AFX_MSG |
| 89 | DECLARE_MESSAGE_MAP() |
| 90 | |
| 91 | private: |
| 92 | void EnableHardwareOptions(); |
| 93 | void DisableHardwareOptions(); |
| 94 | }; |