Commit Graph

205 Commits

Author SHA1 Message Date
Chris Danford d08e8b9d96 metrics cleanup 2004-11-07 10:38:20 +00:00
Chris Danford df87e9794b fix metric.ini.new writer 2004-11-07 07:14:30 +00:00
Chris Danford bcbe615c0d Pass ActorCommand structures to Actor instead of unparsed command strings.
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +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 3594cc345e write "metrics.ini.new" that automatically converts absolute screen positions to use the SCREEN_* constants 2004-11-06 19:47:23 +00:00
Chris Danford 0f7a5c873d absolute coordinate check: constants with no offset are ok 2004-11-06 06:54:04 +00:00
Chris Danford b50eb9399d add debug-only checks for absolute position metrics and command params 2004-11-06 06:46:43 +00:00
Chris Danford 8df7954d2d const fixes 2004-11-06 06:34:21 +00:00
Chris Danford 7e17fd9615 strip invalid characters when evaluating Actor command parameters 2004-11-06 06:00:58 +00:00
Glenn Maynard f22ec944d4 hack to fix metrics that start with + 2004-09-28 10:03:49 +00:00
Chris Danford 81b7695c7e whoops. Move the Lua comment hack to the right place. 2004-09-24 04:55:28 +00:00
Chris Danford 21871f7c3d Parse F theme metrics as Lua expressions. I'll regroup LuaHelpers as a singleton subsystem soon. 2004-09-22 04:55:31 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Glenn Maynard 3fdb5a7b9c fix comment 2004-09-16 22:53:40 +00:00
Glenn Maynard 338ab88e4f fix ScreenManager stuff not being reloaded on theme change and F2 2004-09-16 22:45:55 +00:00
Glenn Maynard 1b82495f93 s/ReloadCommonSounds/ThemeChanged/ 2004-09-16 22:05:24 +00:00
Glenn Maynard 1c45f2471f unneeded include 2004-09-06 01:00:30 +00:00
Glenn Maynard 536da0dcf7 cleanup 2004-08-24 22:29:47 +00:00
Hugo Hromic M 792af31c7a fix not loading correctly the Common Sounds in ScreenManager. now loads and reloads fine 2004-08-21 17:20:30 +00:00
Glenn Maynard ce95644213 fix ThemeManager::GetModifierNames crash
allow skipping "default" fallback
2004-08-13 02:13:39 +00:00
Glenn Maynard aad73b53e9 (float) atof() -> strtof(), which computes in float instead of computing in
double and casting to float, which is silly
2004-08-10 20:57:59 +00:00
Chris Danford bdb15e07a7 allow a Theme to specify a parent 2004-08-10 04:33:36 +00:00
Chris Danford ff4c12b727 rename GameDef -> Game 2004-07-25 17:07:32 +00:00
Glenn Maynard 1efc1f732c eliminate GetPathToN/GetPathN 2004-07-24 23:26:34 +00:00
Chris Danford 23cedc1b83 fix fallback metrics logic 2004-07-23 04:33:05 +00:00
Chris Danford 7a3e031c63 remove ThemeManager::ReloadMetricsIfNecessary 2004-07-23 04:26:22 +00:00
Glenn Maynard 9429978fc9 fix crash in themes without [OptionNames]
use preincrement for iterators, not postincrement
2004-07-22 19:29:44 +00:00
Glenn Maynard de02b9c978 don't waste time reading the default theme metrics twice 2004-07-21 23:42:52 +00:00
Chris Danford 9199410e82 stats.xml:
theme more elements
show HighScore details
clean up some tables
2004-07-19 08:05:14 +00:00
Glenn Maynard 211f9b852a use Dialog 2004-06-10 22:47:51 +00:00
Glenn Maynard 733127d8ed license update 2004-06-08 01:24:17 +00:00
Chris Danford 3cadf4c5d5 have Numbers fall back to Fonts (in perparation for removing the Numbers dir altogether) 2004-05-30 23:23:39 +00:00
Glenn Maynard c0adadd3a5 IniFile cleanup 2004-05-23 02:27:51 +00:00
Glenn Maynard bfb552014c add --metric 2004-04-30 07:26:06 +00:00
Glenn Maynard c97fc09b8d Use wildcard searching for redirs, too. A file "foo 1x5.png" should be
replacable with a file "foo 1x5.redir".
2004-04-06 00:46:05 +00:00
Glenn Maynard d66673fa6f infinite recursion checking 2004-03-20 10:24:42 +00:00
Chris Danford ea9160197e update comment 2004-03-20 07:46:15 +00:00
Chris Danford 6ba5335400 search for fallback in the current theme before searching in the base theme 2004-03-20 03:02:12 +00:00
Glenn Maynard d32745bd94 ThemeManager::GetMetricRaw: check "fallback" recursively
chekc for infinite recursion
2004-02-15 21:39:15 +00:00
Glenn Maynard 5adcced8b2 fix fallbacks in the default theme not being searched for file elements
when using a derived theme
2004-02-15 21:20:53 +00:00
Glenn Maynard f6cf1f0b2e fix ThemeManager::HasMetric ignoring Fallback 2004-02-15 01:32:12 +00:00
Glenn Maynard ebd948988d rename new GetPathTo -> GetPath to avoid overload problems 2004-02-14 01:16:04 +00:00
Chris Danford 79b9d60d9b add resursive theme element searching 2004-02-03 04:41:43 +00:00
Glenn Maynard 10ba11e70f cosmetic 2004-02-01 09:51:27 +00:00
Chris Danford 8666cd959a BaseClass -> Fallback 2004-02-01 05:56:49 +00:00
Chris Danford 69fd514b68 add 3D scrolling to ActorScroller
generalize BGAnimation, BGAnimationLayer to eliminate shared code with ActorFrame
2004-02-01 03:14:37 +00:00
Chris Danford a9481c7a6b fix missing element name 2004-01-24 22:18:48 +00:00
Chris Danford dcf956e711 add base class searching for theme elements and metrics 2004-01-24 21:16:07 +00:00
Glenn Maynard 10c8d51d94 Can't ignore missing files in Other 2003-12-28 22:27:27 +00:00