Commit Graph
100 Commits
Author SHA1 Message Date
Chris Danford 12d556c759 allow multiple, simultaneous prepared screens 2004-12-09 09:41:06 +00:00
Chris Danford b6d711b3c1 Remove backgrounds on screens. Have one shared background that persists across screens. 2004-12-09 08:16:18 +00:00
Chris Danford 08964e340b remove ScreenGameOver code, replace with ScreenAttract 2004-12-09 04:20:09 +00:00
Chris Danford 0f2b0bd119 add checkpoints 2004-12-06 08:28:38 +00:00
Chris Danford 730787aacb name cleanup: State->Screen 2004-12-05 11:59:39 +00:00
Chris Danford 2d7d2a054b use SelectNone rows 2004-12-05 11:59:05 +00:00
Chris Danford e0b31f5354 add new row type, SELECT_NONE used in operator menu 2004-12-05 11:55:35 +00:00
Chris Danford 9545db8cb4 move "unlock" and "sound" into GameCommand 2004-12-05 11:54:43 +00:00
Chris Danford a56f11b221 move "unlock" and "sound" into GameCommand 2004-12-05 11:49:29 +00:00
Chris Danford 58b52c680f convert tiny screens to GameCommands 2004-12-04 23:24:14 +00:00
Chris Danford d8ed815e0e SortOrder strings cleanup 2004-12-04 22:41:34 +00:00
Chris Danford 0bc5f079ca remove SortOrder from WheelItemData. Use the SortOrder in m_Action instead. 2004-12-04 22:36:29 +00:00
Chris Danford 2684ff5124 allow GameCommand to set SortOrder 2004-12-04 22:33:55 +00:00
Chris Danford b16cb534c5 cleanup 2004-12-04 22:33:18 +00:00
Chris Danford 8931838292 metrics cleanup 2004-12-04 21:31:46 +00:00
Chris Danford 696fea3880 remove ScreenCaution 2004-12-04 21:30:47 +00:00
Chris Danford 1b5cebd714 re-add preload for change sound 2004-12-04 21:23:37 +00:00
Chris Danford 3ead35ed80 remove ScreenCaution code, use ScreenSelectMaster instead
add missing metrics and elements
2004-12-04 21:22:39 +00:00
Chris Danford 157653845e remove ScreenCaution code, use ScreenSelectMaster instead 2004-12-04 21:17:08 +00:00
Chris Danford 457f92f06a make start sound overridable 2004-12-04 21:16:00 +00:00
Chris Danford dbc256198a add warning on invalid command 2004-12-04 21:14:46 +00:00
Chris Danford 4183869a45 fix player Y position 2004-12-04 21:14:25 +00:00
Chris Danford 6181e142dc add metric to put timer in stealth mode 2004-12-04 21:13:29 +00:00
Chris Danford 005a7f5efa convert more prefs to use Preference 2004-12-04 10:35:50 +00:00
Chris Danford 5b880bd707 add missing file 2004-12-04 08:23:01 +00:00
Chris Danford d46bfd460d convert some prefs to use Preference 2004-12-04 08:21:54 +00:00
Chris Danford 27c69a2a04 cleanup 2004-12-04 08:11:51 +00:00
Chris Danford 63e138a212 remove includes from Preference.h 2004-12-04 07:15:22 +00:00
Chris Danford 2b9d990e71 prefs name cleanup 2004-12-04 06:09:30 +00:00
Chris Danford 078e02beda rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:37:21 +00:00
Chris Danford cd8bd41070 fix VC6 project 2004-12-03 05:31:57 +00:00
Chris Danford ed19821e09 rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford ab37218c47 rename: ModeChoice -> GameCommand 2004-12-02 06:29:20 +00:00
Chris Danford e1da21f61c Let ActorCommand do the parsing for ModeChoice 2004-12-02 05:56:38 +00:00
Chris Danford 683587e81b rename: m_sPreferredGroup -> m_sPreferredSongGroup
add SongGroup to ModeChoice
2004-12-01 07:24:55 +00:00
Chris Danford ad9eb1db70 fix "ok button doesn't have focus initially" 2004-12-01 05:28:08 +00:00
Chris Danford f1fa226d30 make OK dialog modal, set parents of all dialog boxes 2004-12-01 05:06:45 +00:00
Chris Danford 9fb9243742 modal messageboxes 2004-12-01 04:25:35 +00:00
Chris Danford 5790a0e9d4 fix Player alignment in editor 2004-12-01 04:02:00 +00:00
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