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
Glenn Maynard
9f06afa9a4
Err ...
2004-11-04 22:56:22 +00:00
Sean Burke
eda14f3d13
Add iconv implementation of string conversion. Needs cleaning, but works.
2004-11-04 22:43:35 +00:00
Glenn Maynard
e3b9a4bacc
flush the sound to the write position, not the play position
2004-11-04 00:20:48 +00:00
Glenn Maynard
26faea2615
Revert. FLUSHING was defined by me, so it's not possible for me to have
...
misconceptions about what it means. :) Probable real fix in a moment
(that doesn't cause us to waste resources mixing silence).
2004-11-04 00:19:18 +00:00
Glenn Maynard
feae525a63
we have music for keyed songs, even if we have no BGM track
2004-11-04 00:03:51 +00:00
Ben Anderson
0322d5d447
Whoever wrote this apparently thought the FLUSHING state had something to do with playing back the sound. Removing this fixed the bug where 'short' keysounds were clipped. And I guess I might as well fix a small typographical error in that comment.
2004-11-03 23:59:23 +00:00
Glenn Maynard
6ff519cd50
Better difficulty detection.
...
Prefer to read global stats from DIFFICULTY_NORMAL.
Fix songs that have differing 02 tags across files.
2004-11-03 09:35:10 +00:00
Glenn Maynard
d581ae240e
fix row 0 being skipped
2004-11-03 08:22:20 +00:00
Glenn Maynard
d398a38094
Load all BMS data into a map, then parse. Removes extra re-parsing,
...
fixes stop and BPM changing, fixes stop/BPM change interactions with
time sig changing.
2004-11-03 06:54:05 +00:00
Charles Lohr
fc743ca02e
Add: Metrics for NetSelectMusic's Next, Prev and NoSongs Screens
2004-11-03 05:35:39 +00:00
Charles Lohr
7f434ea7bd
Add: Metrics for NetSelectMusic's Next, Prev and NoSongs Screens
2004-11-03 05:34:56 +00:00
Charles Lohr
43e333caef
Fix: Allow ScreenStage to go "back" properly.
2004-11-03 05:31:09 +00:00
Glenn Maynard
0cad63c012
Most BMS files are in Shift-JIS.
2004-11-02 10:50:38 +00:00
Glenn Maynard
bd1df8aacb
simplify
2004-11-02 10:30:03 +00:00
Glenn Maynard
a2c8f90224
simplify more
2004-11-02 07:55:55 +00:00