Commit Graph
100 Commits
Author SHA1 Message Date
Chris Danford 0160e23705 style cleanup: use FOREACH_ENUM( X, x ) everywhere instead of FOREACH_X( x ) for consistency
The FOREACH_X defines are not very useful, and they were created back before FOREACH_ENUM was convenient.
2007-02-23 22:29:42 +00:00
Chris Danford 808a5d2b2c GetCurThreadName -> GetCurrentThreadName 2007-02-23 22:02:26 +00:00
Chris Danford 74cc43ad46 move stage logic out of SongManager
allow selecting between multiple StepsTypes on ScreenSelectMusic (ala Pump's combined single/double list)
2007-02-23 21:45:33 +00:00
Chris Danford 9061e2c1c1 move stage logic out of SongManager
allow selecting between multiple StepsTypes on ScreenSelectMusic (ala Pump's combined single/double list)
2007-02-23 21:13:45 +00:00
Chris Danford b407c58176 m_iStagesForSong -> m_iMaxStagesForSong 2007-02-23 19:31:42 +00:00
Chris Danford f6afe68843 Let ActorFrame propagate the message instead of sending it to each individual child 2007-02-22 18:35:27 +00:00
Chris Danford 85cdc48c85 name cleanup: difficulty -> frame 2007-02-22 07:22:44 +00:00
Chris Danford f77647b5ad enum name cleanup: DIFFICULTY_* -> Difficulty_* 2007-02-22 07:18:05 +00:00
Chris Danford 59df866348 add TODO comments 2007-02-22 07:09:29 +00:00
Chris Danford 23851388b9 style cleanup:
use bool instead of a bit field
DontAutogen -> AllowAutogen (don't use negatives in names)
2007-02-22 07:06:21 +00:00
Chris Danford 491ab6eaf5 StyleType enum name cleanup 2007-02-22 06:56:17 +00:00
Chris Danford 93e93a0fa6 rename difficulty -> frame since it's treated as a generic Actor
Add pSteps and pTrail parameters to DifficultyMeter::Set*
2007-02-22 06:34:42 +00:00
Chris Danford 28ca7c6151 remove m_bAutoColorTicks. It's no longer useful now that the coloring is done with actor commands 2007-02-22 01:12:20 +00:00
Chris Danford d3a41a43b1 add StepsType param to DifficultyList::Set* 2007-02-22 01:09:13 +00:00
Chris Danford 177ba89cb8 name cleanup: bar|feet -> ticks 2007-02-22 00:52:25 +00:00
Chris Danford 2b65bb5066 Add StepsType parameter to Set*
name cleanup: bar|feet -> ticks
2007-02-22 00:39:52 +00:00
Chris Danford 16d3561d08 Message sCommandName -> Message msg 2007-02-22 00:38:05 +00:00
Chris Danford fd566a6355 don't hardcode banner ztest. Use metrics instead. 2007-02-19 20:12:17 +00:00
Chris Danford e4a02afa18 spacing cleanup 2007-02-19 20:11:40 +00:00
Chris Danford b3c3bd52d2 LOAD_ALL_COMMANDS_AND_SET_XY -> LoadAllCommands; SET_XY 2007-02-19 10:23:29 +00:00
Chris Danford d61272fe08 consistent command loading style 2007-02-19 10:06:50 +00:00
Chris Danford 2c30453a27 fix duplicate command loading 2007-02-19 09:49:23 +00:00
Chris Danford bc997f81d4 BitmapText::Rainbow -> RainbowScroll to fix naming confict with Actor::rainbow 2007-02-19 09:32:07 +00:00
Chris Danford 599db61b62 Always call LoadAllCommands explicitly.
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
Chris Danford d72ebfa33e fix missing "Launch Game" string in non-English langs 2007-02-19 06:32:48 +00:00
Chris Danford adc293946c roulette in metrics, not code 2007-02-18 09:20:44 +00:00
Chris Danford 96444bd95f add missing (accidentally deleted?) 2007-02-16 11:36:28 +00:00
Chris Danford 252cb50316 warn on a font missing textures 2007-02-16 11:34:29 +00:00
Chris Danford 1461696e26 LoadFont -> Def.BPMDisplay 2007-02-16 09:34:34 +00:00
Chris Danford 46ca7f526a explicitly LoadAllCommands. The "load commands in SetXY" hack isn't working well now that more and more Actors are being moved into Lua. That hack should be removed eventually in favor of explicit command loading. 2007-02-16 07:09:04 +00:00
Chris Danford b53362bc95 add !sType.empty() assert 2007-02-16 07:07:40 +00:00
Chris Danford f7fc9ceaa5 remove Set/GetHidden, leave *Visible
remove hidden from ActorCommands eventually
2007-02-13 06:32:26 +00:00
Chris Danford 99765bfb0a play Init command on wheel items 2007-02-13 03:44:10 +00:00
Chris Danford be95c36516 fix double-loading of commands
ActorUtil::SetXY calls ActorUtil::LoadAllCommands, which doesn't seem right.  This should be cleaned up someday.
2007-02-12 23:16:00 +00:00
Chris Danford 9c4f7024a5 name cleanup: StageIndex -> GetStageIndex 2007-02-12 23:13:57 +00:00
Chris Danford 142157e147 StepsTypeToString should return "Foo_Bar", not "StepsType_Foo_Bar" 2007-02-09 03:24:11 +00:00
Chris Danford 35df8821ca add Lua GetOneSteps 2007-02-09 03:23:24 +00:00
Chris Danford beac418539 re-enable upx 2007-02-01 21:08:55 +00:00
Chris Danford 15779df733 newer UPX works with VS2003 2007-02-01 20:59:19 +00:00
Chris Danford 019ec5dab0 name cleanup:
GetDescription -> GetDisplayTitle
GetValue -> GetDisplayValue
Do -> DoAndMakeSystemMessage
2007-01-25 11:19:11 +00:00
Chris Danford 12b49d0b26 remove EditButtons for autoplay and tick. They can be toggled with ScreenDebugOverlay. 2007-01-25 11:14:10 +00:00
Chris Danford 7b7817f613 remove unused AssistTickChanged message 2007-01-25 11:05:12 +00:00
Chris Danford 179f1b6480 add metronome
rename tick -> clap because "tick" implies a regular interval
2007-01-25 11:03:41 +00:00
Chris Danford 7e135b6789 add metronome 2007-01-25 11:00:09 +00:00
Chris Danford 253461000c move common PlayTicks code into GameplayAssist 2007-01-25 00:50:57 +00:00
Chris Danford a6f09c5e7c Pressing a lower extra fret during a single fret hold breaks the hold. Pressing any extra fret during a two fret hold breaks the hold. 2007-01-17 12:41:53 +00:00
Chris Danford c928ad75fa add a strum window: After pressing the strum button, the player has some time to hit matching frets before being scored TNS_None 2007-01-17 12:02:56 +00:00
Chris Danford 56ca4a5a18 add metrics for NextSong and PrevSong buttons 2007-01-16 07:47:00 +00:00
Chris Danford 15b1789392 add SoundEffectControl.* 2007-01-16 06:28:06 +00:00
Chris Danford 94cd9cf4c8 add SampleHistory.* 2007-01-16 00:28:36 +00:00
Chris Danford 4e5219cedd SubType_INVALID -> SubType_Invalid 2007-01-15 23:47:55 +00:00
Chris Danford 1ba463f64a finish experimental JudgeHoldNotesOnSameRowTogether
The "possible" calculation for scoring does not yet account for shared scoring of holds that start on the same row.
2007-01-15 23:26:47 +00:00
Chris Danford 46a774b5f4 SubType_invalid -> SubType_INVALID 2007-01-15 23:09:23 +00:00
Chris Danford d47ada20f1 add Player::UpdateHoldNotes, score groups of hold notes together if JudgeHoldNotesOnSameRowTogether 2007-01-15 12:02:00 +00:00
Chris Danford 9dc2a063a7 fix out of bounds iterator in reverse 2007-01-15 12:00:48 +00:00
Chris Danford 6d87063e3c add Player::UpdateHoldNotes, score groups of hold notes together if JudgeHoldNotesOnSameRowTogether (experimental) 2007-01-15 12:00:14 +00:00
Chris Danford 7a15dddb62 use GetTapNoteRangeAllTracks to iterate holds 2007-01-15 11:33:34 +00:00
Chris Danford fb1fd171cb add bInclusive option to _all_tracks_iterator 2007-01-15 11:30:40 +00:00
Chris Danford 6bf9354b06 fix crash on hold judgment 2007-01-15 06:16:21 +00:00
Chris Danford 0d5fb9d342 remove MenuInput.* 2007-01-15 05:48:25 +00:00
Chris Danford 541c6d80f6 rename: StepsTypes -> g_StepsTypes
add missing guitar-five to g_StepsTypes
2007-01-15 05:48:04 +00:00
Chris Danford 42a18fdae7 set all active holds to HNS_NotHeld on TNS_None if PENALIZE_TAP_SCORE_NONE 2007-01-06 01:26:11 +00:00
Chris Danford 86032e1c98 change win32 lrintf to match other archs 2007-01-05 03:08:18 +00:00
Chris Danford 87505ec245 change win32 lrintf to match other archs 2007-01-05 01:26:53 +00:00
Chris Danford 3db2a307eb add missing RageSoundReader files 2007-01-05 01:24:16 +00:00
Chris Danford 306cdf7ab5 experimental GH-style hold scoring 2007-01-05 01:20:32 +00:00
Chris Danford 35e4d3c295 fix ambiguous min() match in VC7.1 2007-01-05 01:19:32 +00:00
Chris Danford 014e4ad48b add HandleTapScoreNone() for letting LifeMeters and ScoreKeepers handle TNS_None steps
move sending of "ComboStopped" to SendComboMessages
2006-12-19 01:42:17 +00:00
Chris Danford dd2fef4f40 add HandleTapScoreNone() for letting LifeMeters and ScoreKeepers handle TNS_None steps 2006-12-19 01:39:57 +00:00
Chris Danford 8638b12928 remove manual loading of NoteField::ComboStoppedCommand and use LoadAllCommands instead 2006-12-19 01:35:51 +00:00
Chris Danford 35aa6bf082 add missing files 2006-12-18 19:58:15 +00:00
Chris Danford 09e8c0bc34 Make addition a texture coord shift instead of a separate element. This means fewer texture swaps when drawing, fewer graphics to maintain, and lets non-tap elements have addition coloring 2006-12-15 22:27:00 +00:00
Chris Danford f968d9d215 move LifeChange from Preference to Metrics 2006-12-12 10:50:18 +00:00
Chris Danford 4ef0bc548b move LifeChange from Preference to Metrics 2006-12-12 10:31:16 +00:00
Chris Danford 3e697a10b7 broadcast ScoreNone on TNS_None 2006-12-12 01:33:38 +00:00
Chris Danford f4db1eff44 metrics for bar alphas 2006-12-12 01:04:26 +00:00
Chris Danford 4db4ff256d metrics for bar alphas 2006-12-12 00:42:13 +00:00
Chris Danford ab85bc0e83 remove hard-coded loading of Board commands and make generic 2006-12-12 00:19:35 +00:00
Chris Danford d78274b515 add ComboStopped commands 2006-12-11 14:20:08 +00:00
Chris Danford 668158658e move Jump window and Hopo window values to be preferences 2006-12-11 12:59:32 +00:00
Chris Danford 2093deec52 play OnCommand on receptors 2006-12-11 12:28:17 +00:00
Chris Danford 64cf66a639 fix broken strum 2006-12-11 12:27:58 +00:00
Chris Danford 7eda0edd2f fix lastHopoCol not set after each Hopo
Play TNS command only on the shortest string when playing a chord
2006-12-11 12:26:42 +00:00
Chris Danford 380868986f add board OnCommand, optimize board drawing 2006-12-11 06:33:51 +00:00
Chris Danford 41a5ac9b66 add missing RageSoundReader_Pan.* 2006-12-11 06:31:42 +00:00
Chris Danford 77d3971fd4 virtual on overridden virtuals for clarity 2006-12-10 08:18:46 +00:00
Chris Danford e6e37f9566 handle C* scroll speeds when drawing the board 2006-12-10 05:24:12 +00:00
Chris Danford 1ddfac027f Screen:: -> ScreenWithMenuElements:: 2006-12-08 20:28:29 +00:00
Chris Danford 33835ee478 pass a GameCommand to each wheel item bar (experimental) 2006-12-07 11:34:42 +00:00
Chris Danford ad665ee28b fix compile 2006-12-07 07:54:41 +00:00
Chris Danford eca593e76a cleanup Rainbow methods
add experimental Jitter effect
2006-12-07 07:49:22 +00:00
Chris Danford ad5604b331 allow #xxxxxx colors in seteffectcolor* 2006-12-07 07:47:20 +00:00
Chris Danford a8f0ca9366 Sprite -> AutoActor 2006-12-07 07:46:27 +00:00
Chris Danford b764e300f6 helper BGA for optimizing texture usage in simple frame graphics 2006-12-05 12:26:23 +00:00
Chris Danford 1e3fe0ad38 add bAllowHopo to fix hopo highlighing showing for Game types that don't support hopos 2006-12-02 00:15:59 +00:00
Chris Danford 8dad4f1ac1 show hopo-possible notes with addition coloring 2006-12-01 14:18:18 +00:00
Chris Danford e58c980aef add per-NoteType texcoord offset so that Note and Addition can use the same ModelGeometry 2006-12-01 13:10:01 +00:00
Chris Danford 3022def914 don't allow Hopo on the same note 2x in series 2006-12-01 05:37:33 +00:00
Chris Danford fced627efc new/removed files 2006-12-01 05:08:49 +00:00
Chris Danford 6b07fcaed5 add hammer-ons and pull-offs ("hopo") 2006-11-30 12:29:01 +00:00