Commit Graph

29 Commits

Author SHA1 Message Date
Steve Checkoway e87789da7c Rename XToString2 to XToString. 2006-10-15 00:09:18 +00:00
Steve Checkoway 04bff6bc1d Use XToString2. 2006-10-15 00:00:22 +00:00
Glenn Maynard e91a806b37 remove LuaFunctions.h 2006-09-29 09:54:50 +00:00
Glenn Maynard 07fdf40e28 binding 2006-09-27 06:30:56 +00:00
Glenn Maynard 62a0ac1370 spacing 2006-02-14 11:16:39 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 44225ad379 XToThemedString -> XToLocalizedString 2006-01-07 04:11:29 +00:00
Glenn Maynard b734b602d2 force TypeName arrays for XToString to be an array of const char*, not CString 2006-01-04 22:30:51 +00:00
Glenn Maynard 6e6fcb746a "XToThemedString" uses theme metrics. We don't want DateTime
(used by XmlFile) to depend on THEME, so use localized strings.

We may *always* want LocalizedString.  One reason we may not
is if we start using the DynamicThemeMetric paradigm more.
That evaluates expressions when they're used, which allows
metrics to change dynamically.  However, we may really not
want to do that for localized strings, since it would complicate
translation, so we may want to restrict localized strings to
pre-evaluation anyway.
2005-12-30 07:24:30 +00:00
Glenn Maynard 9225fa0196 SMPackage includes lua now. Merge DateTimeLua back into DateTime. 2005-12-30 06:20:41 +00:00
Glenn Maynard b6cda2fc47 simplify 2005-12-30 06:12:31 +00:00
Chris Danford d459f0b795 fix smpackage build
add localization tool to smpackage
2005-12-28 04:22:24 +00:00
Chris Danford fb259c7237 fix compile 2005-12-27 17:39:27 +00:00
Chris Danford 6681ad9dd4 theme date/time strings 2005-12-27 17:10:08 +00:00
Chris Danford 353e0c5b6e break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff 2005-12-16 04:16:09 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Chris Danford e439ae2a96 return "" -> return NULL 2005-09-02 00:14:07 +00:00
Glenn Maynard fbfafcecbb pull code out of header 2005-08-12 03:22:44 +00:00
Glenn Maynard 0baadb8641 don't adjust MonthOfYear, so it lines up with MonthToString 2005-06-20 22:26:42 +00:00
Glenn Maynard dc13af28ac add MonthToString binding 2005-06-16 01:39:31 +00:00
Glenn Maynard e3970b10d5 move date helpers into DateTime.cpp 2005-06-16 01:33:22 +00:00
Chris Danford acb02d206d fix ugly label names on SBookkeeping 2005-06-14 18:36:01 +00:00
Glenn Maynard e3456971d2 fix and simplify GetDayInYearAndYear 2005-05-05 07:56:24 +00:00
Chris Danford 02893160ce fix bookkeeping alignment 2004-08-22 05:37:12 +00:00
Chris Danford 0cea1362b0 fix bookkeeping bugs 2004-08-22 05:30:37 +00:00
Chris Danford 17df457bc8 add a write-only copy of Coin data to stats.xml 2004-07-31 03:24:15 +00:00
Chris Danford 8d2d1ed3f7 fix operator< and operator== not working as expected 2004-07-20 07:11:26 +00:00
Chris Danford 88c238e840 simplify 2004-07-18 21:55:02 +00:00
Chris Danford 6130b66188 better encapsulation of DateTime object 2004-07-12 06:39:13 +00:00