Chris Danford
0493949aa9
registering screens
2004-11-27 06:10:33 +00:00
Chris Danford
a862f62b4f
minor cleanup
2004-11-26 17:37:09 +00:00
Chris Danford
7f336c2ce6
self-registering screen classes
2004-11-26 17:28:47 +00:00
Chris Danford
db04a5e89a
move ScreenSystemLayer to a separate file
2004-11-25 19:16:46 +00:00
Chris Danford
0c55fd0684
fix some stale StepsID entries hang around after unloading edits
2004-11-24 16:59:57 +00:00
Chris Danford
243d63094f
StepsID cache needs both Song and Steps
2004-11-24 16:42:05 +00:00
Chris Danford
8e476b97c0
bug fix: HighScores for edits don't match correctly because the hash is ignored
2004-11-24 16:32:21 +00:00
Chris Danford
8fe7c75a9a
cleanup
...
Don't use GetSteps with the really long parameter list absolutely necessary.
2004-11-24 16:25:47 +00:00
Chris Danford
0b64a246f9
add checkpoints
2004-11-24 03:49:17 +00:00
Chris Danford
7cfa03acc7
metrics cleanup
2004-11-09 07:02:25 +00:00
Chris Danford
ec4090a3eb
fix VC7 warnings
2004-11-08 06:16:22 +00:00
Chris Danford
64c68bda6f
Don't Lua_pcall if loading the statement string failed.
2004-11-07 18:07:54 +00:00
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
Chris Danford
6d8412c7e6
restore comments
2004-11-07 06:51:00 +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
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
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
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
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
Chris Danford
8c1c2d0095
fix compile error
2004-11-01 06:30:35 +00:00
Chris Danford
0a6acd94ae
fix centering matrix + perspective projections
2004-10-24 22:59:10 +00:00
Chris Danford
ce4780559f
froundf -> Quantize
2004-10-24 17:44:51 +00:00
Chris Danford
bb0da6a289
quantize rows when reading from BMSs so that we don't end up with 2MB cache files
2004-10-24 17:36:13 +00:00
Chris Danford
eff1dc9695
play auto keysounds
2004-10-24 10:45:30 +00:00
Chris Danford
1b3c786213
cleanup: variable name and const
2004-10-24 10:20:24 +00:00
Chris Danford
584189a10c
naming cleanup: iNoteIndex -> row
2004-10-24 00:17:15 +00:00
Chris Danford
3ac1dba044
simplify TapAttack storage:
...
store attack info in TapNote
in the SMNoteData string, store the attack params inline (like with keysounds)
play keysounds when hit
still doesn't play keysounds on a miss
still doesn't play autoKeysounds
2004-10-23 23:41:49 +00:00
Chris Danford
09193d9e4b
cleanup:
...
use references when passing NoteData
Have player own a NoteDataWithScoring, not derive from it
2004-10-23 17:43:49 +00:00
Chris Danford
095be05925
default to ignore
2004-10-23 17:05:51 +00:00
Chris Danford
0634c55431
fix rounding error in displaying percent score
2004-10-18 03:00:12 +00:00
Chris Danford
722941a646
add monkey scripting input driver for longevity testing
2004-10-16 15:04:10 +00:00
Chris Danford
a9fb4cc62a
don't blink menu lights
2004-10-15 14:37:33 +00:00
Chris Danford
c23c0bec17
improve mapping from scsi index to scsi device
2004-10-15 13:47:54 +00:00
Chris Danford
caab80f188
call PlayersFinalized only after applying the mode choice to both players, or else P2's preferred difficulty gets clobbered by the mode choice.
2004-10-13 02:56:29 +00:00
Chris Danford
bb5ea1f864
fix leap year
2004-10-13 02:11:01 +00:00
Chris Danford
d906bc83e7
don't allow Iomega micro drives
2004-10-12 01:36:37 +00:00
Chris Danford
79beff5e26
revert timeout length
2004-10-09 16:56:29 +00:00
Chris Danford
299ab2cf1a
whoops. Unpause the mount thread after resetting.
2004-10-09 10:36:28 +00:00
Chris Danford
f4f02e23a2
show a different string for "card inserted, but we don't yet know the name on the card"
2004-10-09 09:57:12 +00:00
Chris Danford
269768f856
HACK: Don't do the temp mount and the write test in the mount thread.
2004-10-09 09:34:30 +00:00
Chris Danford
47e2e2d48d
increase mutex timeout
2004-10-09 09:00:24 +00:00
Chris Danford
bc39cb5079
serialize all memory card operations since mount operations hang if we're doing lsusb or reading USB mass storage descriptors in another thread
2004-10-09 08:16:48 +00:00
Chris Danford
e1a8aa0fbb
add more to whitelist
2004-10-08 07:29:51 +00:00
Chris Danford
332dd17b41
fix compile error
2004-10-07 23:44:12 +00:00
Chris Danford
68fcb42954
add more devices to whitelist
2004-10-07 23:17:16 +00:00
Chris Danford
eb1d517cc9
don't hard-code course colors
2004-10-07 22:20:52 +00:00
Chris Danford
c37df8cc69
readability
2004-10-07 22:16:04 +00:00
Chris Danford
5c5ac50b82
Load from LastGood if the main profile is tampered/corrupt.
...
Don't write new data on a load fail - it doesn't give the user a change to correct the load failure.
2004-10-07 19:57:51 +00:00
Chris Danford
c47b7fb124
clean up whitelist, add entry for Creative Labs MuVo
2004-10-07 19:48:24 +00:00
Chris Danford
44e46c74de
const
2004-10-07 19:24:22 +00:00
Chris Danford
e4cb07f1d5
FileCopy instead of Save
2004-10-06 08:54:37 +00:00
Chris Danford
ebb9e730a4
Show message when a Profile load fails so that the player doesn't accidentally save over their possibly-good data.
...
Save a copy of Stats.xml to the memory card after a successful load. I have seen one instance where the digital signature on save is bogus, and there's no way for the player to recover their data.
Update Stats.xsl text help text.
2004-10-06 08:39:38 +00:00
Chris Danford
322b40e1f6
fix change I reverted. Oops.
2004-10-06 03:28:33 +00:00
Chris Danford
13efeb31b2
fix typo
2004-10-04 08:28:20 +00:00
Chris Danford
952fef50c6
disallow Rio Carbon
2004-10-03 21:10:18 +00:00
Chris Danford
dc0ef1fe63
add USB device whitelist
2004-10-03 20:58:12 +00:00
Chris Danford
ffca2c6ae5
fix mounting of devices that are slow to initialize
2004-10-03 08:06:47 +00:00
Chris Danford
f65c1d3fbb
only remount cards that were in use
2004-10-03 06:21:16 +00:00
Chris Danford
5d954e5659
don't mount unless the profile was loaded from a memory card
2004-10-03 05:49:10 +00:00
Chris Danford
9fe9b0884a
Add hack to not leave cards mounted
2004-10-03 05:27:52 +00:00
Chris Danford
b76949e1a9
fix warnings
2004-10-02 05:08:59 +00:00
Chris Danford
b20eaeb60b
Parse and maintain keysound data, but don't play the keysounds yet.
2004-09-29 07:19:44 +00:00
Chris Danford
0f6ed81faf
Use a associative arrays instead of normal vectors to hold TapNotes.
...
More places NoteDataUtil, NoteDataWithScoring need to be converted to use the new row iteration macros.
2004-09-29 06:43:57 +00:00
Chris Danford
aadc33ef04
PC
2004-09-27 01:49:18 +00:00
Chris Danford
d5e2eb3044
clean up BMS parsing
...
fix BM data detected as dance-double then autogen'd to bm-single7
2004-09-27 01:46:57 +00:00
Chris Danford
190b7c1493
merge bm with iidx
...
eliminate duplicate styles and unnecesary edit styles
2004-09-25 17:41:31 +00:00
Chris Danford
83d1a6a504
clean up bm/iidx default key mappings
2004-09-25 17:03:34 +00:00
Chris Danford
b3493e25b8
fix crash when reading 14 key BMS data
2004-09-25 08:00:18 +00:00
Chris Danford
3e140b0af9
remove hard-coded track limit in NoteData
2004-09-25 07:59:56 +00:00
Chris Danford
6fd5183134
more "for" scope fixes
2004-09-25 05:10:10 +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
f8d3996b35
remove unused metrics
2004-09-24 04:52:14 +00:00