mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
New Year's clean-up.
Throw a warning if a invalid (not present) AI is specified in a map. Replace the last occurences of jubot with qbot. Exclude the common siege templates from the Units Demo map. Fix an error with flying units. Replace CFG_GET_SYS_VAL with CFG_GET_USER_VAL and rename it to CFG_GET_VAL to reflect its behaviour better. Fix linker error with clang 3.2. Refs 1588. Remove some useless includes. This was SVN commit r13031.
This commit is contained in:
@@ -54,13 +54,13 @@ CVideoMode::CVideoMode() :
|
||||
void CVideoMode::ReadConfig()
|
||||
{
|
||||
bool windowed = !m_ConfigFullscreen;
|
||||
CFG_GET_USER_VAL("windowed", Bool, windowed);
|
||||
CFG_GET_VAL("windowed", Bool, windowed);
|
||||
m_ConfigFullscreen = !windowed;
|
||||
|
||||
CFG_GET_USER_VAL("xres", Int, m_ConfigW);
|
||||
CFG_GET_USER_VAL("yres", Int, m_ConfigH);
|
||||
CFG_GET_USER_VAL("bpp", Int, m_ConfigBPP);
|
||||
CFG_GET_USER_VAL("force_s3tc_enable", Bool, m_ConfigForceS3TCEnable);
|
||||
CFG_GET_VAL("xres", Int, m_ConfigW);
|
||||
CFG_GET_VAL("yres", Int, m_ConfigH);
|
||||
CFG_GET_VAL("bpp", Int, m_ConfigBPP);
|
||||
CFG_GET_VAL("force_s3tc_enable", Bool, m_ConfigForceS3TCEnable);
|
||||
}
|
||||
|
||||
bool CVideoMode::SetVideoMode(int w, int h, int bpp, bool fullscreen)
|
||||
|
||||
Reference in New Issue
Block a user