Commit Graph
24 Commits
Author SHA1 Message Date
Josh Allen af1412c3d8 Ability to get the scale factor between the theme's aspect ratio and screen's aspect ratio. Useful for placing actors in the same screen location regardless of aspect ratio. 2006-09-06 19:06:41 +00:00
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 3bbd5cd612 cleanup includes 2005-12-29 19:21:27 +00:00
Glenn Maynard 02cdc08486 Nothing else uses these, and we don't even bother exporting them
to Lua.  Remove them to eliminate an SDimensions.h dependency.
2005-12-29 08:49:54 +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
Chris Danford 32464990af enum name cleanup to reflect the generic calculations 2005-10-08 04:50:28 +00:00
Chris Danford 0f07808ecc Use generic names for score values since they are treated genericly by the code.
Theme changes coming...
2005-10-08 02:10:32 +00:00
Glenn Maynard f4a51bef4d move FullScreenRectF into ScreenDimensions.h 2005-01-15 19:44:32 +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 72bd480883 CENTER_* -> SCREEN_CENTER 2004-11-05 06:35:10 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +00:00
Chris Danford 78f3e80118 2.50 checkin 2002-04-16 17:31:00 +00:00
Chris Danford a6b3663a3c bug fixes 2002-02-28 19:40:40 +00:00
Chris Danford 40df826636 CHANGE: cleaned up debug messages 2002-01-20 07:51:09 +00:00
Chris Danford bbc4097826 kljhfdkjhfjkhdfkjf 2001-12-19 01:50:57 +00:00
Chris Danford ffd50d9087 support for Actor hierarchies, and re-write of RageMusic. 2001-12-11 11:25:37 +00:00
Chris Danford 342583b99f Forgot to add a couple files 2001-11-04 19:51:21 +00:00