Commit Graph
12322 Commits
Author SHA1 Message Date
Chris Danford d08e8b9d96 metrics cleanup 2004-11-07 10:38:20 +00:00
Chris Danford 936dfd4d9d warn, don't throw on Lua errors 2004-11-07 10:36:59 +00:00
Chris Danford df87e9794b fix metric.ini.new writer 2004-11-07 07:14:30 +00:00
Chris Danford eae951f9bf use SCREEN_* in metrics 2004-11-07 07:13:40 +00:00
Glenn Maynard 6c7bd2a8ac grr 2004-11-07 07:12:44 +00:00
Chris Danford 6d8412c7e6 restore comments 2004-11-07 06:51:00 +00:00
Glenn Maynard 9b43b3278b fix warning 2004-11-07 06:41:53 +00:00
Chris Danford b10395f163 no widescreen for you 2004-11-07 06:18:10 +00:00
Chris Danford 1fd7de648d fix Lua errors 2004-11-07 06:07:34 +00:00
Chris Danford b8259d7af9 move player positions from Style into metrics 2004-11-07 05:49:06 +00:00
Ben Anderson f61f53cdc2 Somebody forgot to modify the header... 2004-11-07 05:34:05 +00:00
Glenn Maynard c1ffc40f86 fix incorrect credit deduction when in free play + DelayedCreditReconcile 2004-11-07 01:11:26 +00:00
Glenn Maynard 32e799c41e half-doubles reading fixes 2004-11-07 00:58:43 +00:00
Chris Danford 65fd0e3755 add comment 2004-11-07 00:19:55 +00:00
Chris Danford 8ead6559c2 revert 2004-11-07 00:19:01 +00:00
Chris Danford 7d8fbcc52f use screen dimension constants so that alignment is good at resolutions other than 640x480 2004-11-06 23:58:35 +00:00
Chris Danford 406a2d1085 cleanup 2004-11-06 23:54:34 +00:00
Chris Danford 4c4bdacf10 don't even choose a tutorial song in random 2004-11-06 23:53:57 +00:00
Glenn Maynard 072d41aada Fix "Assertion 'iNumTapsInRow > 0' failed" if attack notes happen to slip
into the data.  (They aren't generally used yet, and not recommended since
they may change significantly, but they occasionally end up in data, so let's
not crash.)
2004-11-06 23:31:03 +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 6a84b15d3d const fixes 2004-11-06 21:32:28 +00:00
Chris Danford 6c855f0c93 "ParsedCommand" -> "ActorCommand" 2004-11-06 20:42:09 +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 222f6d67b0 fix Lua choking on invalid number values 2004-11-06 18:57:15 +00:00
Chris Danford e2a537668a strip HTML colors so Lua doesn't choke 2004-11-06 18:56:39 +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 51a3563cbc not widescreen... 2004-11-06 06:08:33 +00:00
Chris Danford 6b1281a09d use screen dimensions constants 2004-11-06 06:04:13 +00:00
Chris Danford 7e17fd9615 strip invalid characters when evaluating Actor command parameters 2004-11-06 06:00:58 +00:00
Chris Danford 4b29db0667 case convert only the first parameter of a command (so that contstants in the 2nd and later params don't get munged) 2004-11-06 03:51:06 +00:00
Glenn Maynard c8a252ee77 fix m_FinishedRequests not being cleared on Abort() 2004-11-06 03:21:19 +00:00
Chris Danford 2c314df898 HandleParams -> BeginHandleParams 2004-11-06 03:09:29 +00:00
Chris Danford 40e692a32c const fixes 2004-11-06 03:00:10 +00:00
Glenn Maynard 639afd0bfd memory optimization: sizeof(Trail) * NUM_STEPS_TYPES * NUM_DIFFICULTIES adds up.
This will cause Trail*s returned from GetTrail to become invalid when the trail
cache is invalidated.
2004-11-05 08:54:09 +00:00
Chris Danford 8bead07713 disable ScreenEndlessBreak 2004-11-05 08:23:42 +00:00
Chris Danford b9a6e00c1e update metrics to obey ScreenWidth, ScreenHeight 2004-11-05 06:45:34 +00:00
Chris Danford bc184683ca allow Lua expressions in ActorCommand parameters 2004-11-05 06:43:12 +00:00
Chris Danford 012ead80fd fix compile error 2004-11-05 06:40:08 +00:00
Chris Danford b46bd4f9da fix crash if no songs loaded 2004-11-05 06:36:49 +00:00
Chris Danford 72bd480883 CENTER_* -> SCREEN_CENTER 2004-11-05 06:35:10 +00:00
Glenn Maynard 3d084e2a2c move stats formatting to RageDisplay, so renderers can add custom stats 2004-11-05 04:15:06 +00:00
Glenn Maynard e0b211aca6 fix MessageX metric not being used 2004-11-05 03:51:13 +00:00
Glenn Maynard cc034a65aa fix GradePercent saving 2004-11-05 02:09:48 +00:00
Glenn Maynard 12652ed750 try utf-8 first 2004-11-05 00:38:51 +00:00
Sean Burke cd067584c1 Add iconv check to configure 2004-11-04 23:47:48 +00:00
Glenn Maynard 5390cea922 fix txtin/txtout memleaks
iconv and CString are both 8-bit clean; maintain that
error checks
2004-11-04 23:24:16 +00:00
Glenn Maynard 24614c9bc4 error check 2004-11-04 23:00:20 +00:00