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:
leper
2013-01-01 18:33:53 +00:00
parent 4764af695a
commit 276f0a41a0
23 changed files with 135 additions and 139 deletions
+5 -5
View File
@@ -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)