Chris Danford
|
2ff000fc8a
|
give up on auto AR. Handling the AR when the resolution is falling back is more complicated than it's worth.
|
2006-02-07 00:55:03 +00:00 |
|
Chris Danford
|
bcf84d9bda
|
re-add Auto AR. Tie it to the desktop resolution which does not change when toggling between fullscreen and windowed. This assumes that the desktop resolution is using square pixels. This assumption will hold true for all out-of-the-box machines with a widescreen display.
|
2006-02-06 23:40:28 +00:00 |
|
Chris Danford
|
3ed40f6559
|
remove auto aspect ratio. We can't have the aspect ratio changing mid-game when the screen resolution changes (toggling fullscreen)
|
2006-02-06 20:15:33 +00:00 |
|
Glenn Maynard
|
996477feae
|
rename ReloadMetricsAndUpdateLua -> ReloadScreenDimensions
|
2006-01-21 01:15:09 +00:00 |
|
Glenn Maynard
|
5f7d26addd
|
move DisplayAspectRatio
|
2006-01-20 22:44:28 +00:00 |
|
Glenn Maynard
|
3bbd5cd612
|
cleanup includes
|
2005-12-29 19:21:27 +00:00 |
|
Chris Danford
|
c7d769829a
|
add ThemeManager to smtools
|
2005-12-29 05:52:50 +00:00 |
|
Chris Danford
|
1f81db0cec
|
move ScreenDimensions into a namespace
|
2005-12-27 18:45:07 +00:00 |
|
Glenn Maynard
|
81c1217ef7
|
expose aspect ratios
|
2005-11-30 22:54:00 +00:00 |
|
Glenn Maynard
|
8305eea9eb
|
handle 1280x1024 (dumb resolution that shouldn't exist)
"SAR" (mpeg-centric) -> more common "PAR"
|
2005-11-29 06:12:09 +00:00 |
|
Chris Danford
|
4408439fa5
|
handle aspect ratio of themes that aren't 4:3
|
2005-11-26 16:44:12 +00:00 |
|
Chris Danford
|
730a113ed6
|
enumerate resolutions
use mixed case for prefs values
|
2005-11-26 07:22:33 +00:00 |
|
Glenn Maynard
|
7b43001220
|
"aspect ratio" is ambiguous; s/m_fAspectRatio/m_fDisplayAspectRatio/
|
2005-01-16 22:57:11 +00:00 |
|
Glenn Maynard
|
6a4fad41fe
|
comment
|
2005-01-05 01:20:50 +00:00 |
|
Chris Danford
|
9b457eb241
|
add aspect ratio pref
|
2004-12-23 06:50:19 +00:00 |
|
Glenn Maynard
|
6f82e9aad7
|
fix performance problems due to SCREEN_WIDTH being evaluated many times per frame, leading to many Lua compilations per frame
|
2004-11-10 10:23:58 +00:00 |
|
Chris Danford
|
5127ceef4d
|
remove CachedThemeMetrics in favor of ThemeMetric<T>
fix "CachedThemeMetrics don't read HTML colors and don't evaluate Lua expressions"
|
2004-11-06 20:36:04 +00:00 |
|
Chris Danford
|
807d892f4f
|
allow theme to specify logical screen dimensions
|
2004-09-21 06:07:12 +00:00 |
|