Changeset View
Changeset View
Standalone View
Standalone View
source/ps/VideoMode.h
/* Copyright (C) 2018 Wildfire Games. | /* Copyright (C) 2020 Wildfire Games. | ||||
* This file is part of 0 A.D. | * This file is part of 0 A.D. | ||||
* | * | ||||
* 0 A.D. is free software: you can redistribute it and/or modify | * 0 A.D. is free software: you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation, either version 2 of the License, or | * the Free Software Foundation, either version 2 of the License, or | ||||
* (at your option) any later version. | * (at your option) any later version. | ||||
* | * | ||||
* 0 A.D. is distributed in the hope that it will be useful, | * 0 A.D. is distributed in the hope that it will be useful, | ||||
▲ Show 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | private: | ||||
* Remember whether Init has been called. (This isn't used for anything | * Remember whether Init has been called. (This isn't used for anything | ||||
* important, just for verifying that the callers call our methods in | * important, just for verifying that the callers call our methods in | ||||
* the right order.) | * the right order.) | ||||
*/ | */ | ||||
bool m_IsInitialised; | bool m_IsInitialised; | ||||
SDL_Window* m_Window; | SDL_Window* m_Window; | ||||
// Initial desktop settings | // Initial desktop settings. | ||||
// Frequency is in Hz, and BPP actually means bits per pixels (not bytes per pixels) | |||||
int m_PreferredW; | int m_PreferredW; | ||||
int m_PreferredH; | int m_PreferredH; | ||||
int m_PreferredBPP; | int m_PreferredBPP; | ||||
int m_PreferredFreq; | int m_PreferredFreq; | ||||
Stan: Capital B.
Can you put comments on top ? Optionnally add a final . | |||||
// Config file settings (0 if unspecified) | // Config file settings (0 if unspecified) | ||||
int m_ConfigW; | int m_ConfigW; | ||||
int m_ConfigH; | int m_ConfigH; | ||||
int m_ConfigBPP; | int m_ConfigBPP; | ||||
int m_ConfigDisplay; | int m_ConfigDisplay; | ||||
bool m_ConfigFullscreen; | bool m_ConfigFullscreen; | ||||
bool m_ConfigForceS3TCEnable; | bool m_ConfigForceS3TCEnable; | ||||
Show All 20 Lines |
Wildfire Games · Phabricator
Capital B.
Can you put comments on top ? Optionnally add a final .