Glenn Maynard
|
c5a1b97da8
|
rewrite DynamicThemeMetric. Only eval the expression every time if a
metric contains a function. This makes DynamicThemeMetric an eventual
candidate to replace ThemeMetric.
|
2005-07-14 06:59:57 +00:00 |
|
Glenn Maynard
|
ae5f3eeaf9
|
move ThemeMetricEnum into ThemeMetric.h, add default constructor
|
2005-07-14 01:47:47 +00:00 |
|
Glenn Maynard
|
ed440fa648
|
lua locking fix
|
2005-06-16 22:05:25 +00:00 |
|
Glenn Maynard
|
11c368bf2a
|
use Lua locking
|
2005-06-16 06:55:34 +00:00 |
|
Glenn Maynard
|
ec705ac73f
|
minor hack to fix INITIAL_SCREEN
|
2005-06-16 01:30:54 +00:00 |
|
Glenn Maynard
|
4696541f44
|
fix Lua stack leak
|
2005-05-07 19:46:41 +00:00 |
|
Chris Danford
|
8521718f3f
|
compile error
|
2005-04-26 19:00:23 +00:00 |
|
Glenn Maynard
|
60755230c0
|
add DynamicThemeMetric. This might be a possible replacement for
ThemeMetric, but it's not quite as fast: code that assumes that dereferencing
a ThemeMetric is trivially cheap (eg. in inner loops) would break.
|
2005-04-26 06:32:08 +00:00 |
|
Chris Danford
|
a449ea59f1
|
either provide all params or none to constructor
|
2005-04-23 04:08:44 +00:00 |
|
Chris Danford
|
734f4ba4f1
|
fix derived ThemeMetric types aren't Read on construction (broke ScreenRanking)
|
2005-03-27 00:32:25 +00:00 |
|
Chris Danford
|
50d73b4855
|
detect use of uninitialized metrics
|
2005-03-20 22:29:42 +00:00 |
|
Ben Anderson
|
2774b74348
|
Fix compilation on GCC. I don't know why this works, it just does. (I tested it.
|
2005-03-18 00:55:21 +00:00 |
|
Chris Danford
|
5f68c5977a
|
add ThemeMetricMap - a ThemeMetric collection that maps from a CString to ThemeMetric
|
2005-03-17 09:29:46 +00:00 |
|
Charles Lohr
|
b36f6a6f04
|
VC6 cleanup. Remove .GetValue() "fixes" by overloading binary operators.
|
2005-03-14 20:26:50 +00:00 |
|
Chris Danford
|
7d3f3a1bef
|
allow delayed load of 1D and 2D metrics
|
2005-02-25 16:48:05 +00:00 |
|
Chris Danford
|
fdad5746e7
|
change ThemeMetric static-sized arrays to dynamically sized
|
2005-02-13 06:44:50 +00:00 |
|
Chris Danford
|
ce82f9c5c6
|
don't read the metric before ThemeManager is loaded
|
2005-02-06 19:42:46 +00:00 |
|
Chris Danford
|
e4117354ae
|
add static-sized array versions of ThemeMetric
|
2005-02-06 04:57:57 +00:00 |
|
Glenn Maynard
|
153f542193
|
fix gcc warnings
|
2005-02-05 19:17:11 +00:00 |
|
Glenn Maynard
|
39385af480
|
fix assertion failures when copying things containing ThemeMetrics
|
2005-02-02 22:04:58 +00:00 |
|
Glenn Maynard
|
6ce6500611
|
allow initializing ThemeMetric outside the ctor
|
2005-02-02 04:48:25 +00:00 |
|
Glenn Maynard
|
1945f6e9af
|
initialize m_currentValue, so we get deterministically wrong behavior if
Read() is never called (instead of leaving m_currentValue uninitialized)
|
2005-01-05 02:40:46 +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 |
|
Steve Checkoway
|
b7521bfd91
|
Cleanup header.
|
2004-10-05 10:32:35 +00:00 |
|
Chris Danford
|
807d892f4f
|
allow theme to specify logical screen dimensions
|
2004-09-21 06:07:12 +00:00 |
|