Commit Graph

196 Commits

Author SHA1 Message Date
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
Glenn Maynard e9ae2c0803 continue phasing out BASE_PATH and SLASH 2003-12-10 09:44:16 +00:00
Glenn Maynard 11870a6072 continue phasing out BASE_PATH and SLASH 2003-12-10 09:26:05 +00:00
Glenn Maynard 2073a1bd3c fix ReloadMetrics crash when SCREENMAN doesn't exist 2003-12-10 06:07:15 +00:00
Glenn Maynard 15577d750a fix theme caching 2003-12-01 00:27:55 +00:00
Glenn Maynard 563c84dd4d better fallbacks 2003-11-25 19:03:40 +00:00
Glenn Maynard 1257380840 use RageColor::FromString 2003-11-18 04:06:39 +00:00
Chris Danford 1697c25278 add ignore option for invalid redirects 2003-11-17 03:37:51 +00:00
Glenn Maynard a51f7a690c Reading "1.0,0.5,.7,.3" is headache-inducing. Support "#FFFF80FF"
and "#FFFF80" (RGBA, RGB).
2003-11-17 02:35:50 +00:00
Glenn Maynard d18a120a0f allow ignoring missing theme elements 2003-11-17 01:44:06 +00:00