Commit Graph

80 Commits

Author SHA1 Message Date
Glenn Maynard 90dee42da0 Fix ScreenHowToPlay crash in non-Dance game types. 2003-11-01 19:50:43 +00:00
Chris Danford 9b111c9058 fix AV if character has no model 2003-10-12 20:00:22 +00:00
Andrew Livy 276a051904 Barebones Pop'n Music Theme / Noteskin 2003-10-07 17:57:52 +00:00
Glenn Maynard c15e0cec49 Allow screen aliasing. 2003-09-27 22:30:51 +00:00
Chris Danford 4414561fe6 add default character so Rave/Battle is playable without character models 2003-09-25 04:22:51 +00:00
Glenn Maynard ceefa6411d Fix dyslexic BeginnerHelper (how'd I miss that?) 2003-09-15 07:31:26 +00:00
Glenn Maynard a3edb8c9e3 More duplicated code, since I don't have time to work out how to merge
this stuff right now.
2003-09-12 00:47:20 +00:00
Glenn Maynard 077c5174f3 simplify (twice) 2003-09-12 00:39:40 +00:00
Glenn Maynard 0a17f01401 Cleanup; start aligning this with BeginnerHelper so we can merge some
duplicate code.
2003-09-12 00:30:18 +00:00
Glenn Maynard f49b417b49 No need to use SAFE_DELETE in dtors. 2003-09-12 00:23:54 +00:00
Glenn Maynard f948027667 Create an "Other" category for ScreenHowToPlay steps.sm, and other
files that don't really go anywhere else.

Fix possible ELEMENT_CATEGORY_STRING null pointer dereference.
2003-09-11 23:21:33 +00:00
Kevin Slaughter 6b84056a1c Addition to ThemeManager now prevents this screen from crashing if the SM file is not found in the current theme's dir so we can fall back onto the default theme's SM file. 2003-09-11 09:15:59 +00:00
Thad Ward a34f11b7a8 only need to call these if we are drawing the character or dancepad. 2003-09-08 18:20:59 +00:00
Thad Ward 226f34427b Update the lifebar if we are using it but not using the player object. 2003-09-08 18:05:00 +00:00
Thad Ward f61cf91601 allow any of the lifebar, notefield/player, character, or dancepad to be turned off by the metrics.
(still need to write code to update the lifebar if it is used and the player isn't)
2003-09-08 17:49:44 +00:00
Thad Ward 6d9228f4fa make the How To Play screen get its steps from an outside file rather than be hardcoded. 2003-09-08 17:11:52 +00:00
Chris Danford 0cd5766ba2 add Dance Maniax and Technomotion support 2003-09-03 04:30:29 +00:00
Thad Ward 29c7e41594 Handle a missing pad model gracefully 2003-09-01 11:21:52 +00:00
Glenn Maynard 6f3edb3cc9 Coordinates should almost always be floating-point (fixes warning) 2003-09-01 01:47:01 +00:00
Thad Ward b62a0c5726 add a UsePad metric to the HowToPlay screen. 2003-08-27 14:40:41 +00:00
Thad Ward dabb06dc42 change the PlayerOnCommand metric into a PlayerX metric, since we really only want to change the horizontal position the arrows are at. 2003-08-27 12:33:30 +00:00
Thad Ward 68908aa30a fixes for ScreenHowToPlay 2003-08-27 08:02:51 +00:00
Thad Ward 34e9989c56 clean up Update a bit 2003-08-26 14:57:37 +00:00
Thad Ward 4d86e92586 Stop the character from twitching while "frozen". we still need to call Update so the correct frame is set up, but we don't want to accidentally advance the frame. 2003-08-26 08:07:45 +00:00
Sean Burke 33bb6544d1 This should make the code a bit more readable. 2003-08-25 20:47:22 +00:00
Thad Ward 09e81919dd tweaked the character movement a bit. now reacts better and doesn't bounce so fast. still needs more work, though. 2003-08-25 20:24:44 +00:00
Andrew Wong b114026d40 varying lifebar amounts for HowToPlay screen 2003-08-25 19:07:53 +00:00
Thad Ward d720fd80ae ok. got rid of the first draw. (don't add an actor as a child if you are going to draw it manually, but make sure to update it manually too) 2003-08-25 18:53:19 +00:00
Thad Ward 449b98ffd4 re-add the second draw again, since it is needed for the lighting. 2003-08-25 18:46:20 +00:00
Thad Ward 4421a4a5d9 Make the Life meter actually WORK. 2003-08-25 17:31:00 +00:00
Thad Ward 56dc2e40fd reset the gamestate when the screen is done. (this is the proper way to clear the modifiers and flags we set in this screen) 2003-08-25 15:57:52 +00:00
Thad Ward 989a56e8bb Don't draw the models twice. (Screen::DrawPrimitives() draws all actors that are added with AddChild())
(This was also accidentally in the previous commit.)
2003-08-25 13:39:02 +00:00
Thad Ward 214f0e2609 Turn player 1's blind modifier back off when we are done so it isn't on during the gameplay demo. 2003-08-25 13:36:28 +00:00
Thad Ward cf23c9c14c Move all random character selection to a separate function and make everything call that.
Make BeginnerHelper attempt to randomly select a character if one isn't selected.
2003-08-25 00:45:12 +00:00
Chris Danford 85dd35ea48 add Blind modifier 2003-08-24 17:20:11 +00:00
Kevin Slaughter 6c5a829e54 Fixed several bugs, and added `mis-step' steps at the end.. Now if only someone can get that dang lifemeterbar to work correctly, we'd be golden. 2003-08-21 08:32:10 +00:00
Sean Burke 84ecdbb5bf I believe this is the preferred way to deal with slashes. 2003-08-20 16:19:48 +00:00
Ben Anderson f820850b0e Works on Linux 2003-08-20 14:31:55 +00:00
Kevin Slaughter 919ce258e8 Fixed naming error for pad models 2003-08-20 10:06:58 +00:00
Kevin Slaughter e8a977310a ScreenHowToPlay.. minor fixes. Animation probs, but will fix later tonight. Textures are correctly displayed now, tho 2003-08-20 09:57:19 +00:00
Chris Danford 1a0d83cbc0 m_NotesType => m_StepsType
split NoteDataUtil to sep file
2003-08-07 06:36:34 +00:00
Chris Danford f5cd95b4f9 NotesType => StepsType 2003-08-07 06:16:17 +00:00
Glenn Maynard 3b289d5c9d (I doubt this was meant to be committed in the first place.) 2003-08-03 17:55:31 +00:00
Andrew Wong 8de4da23a2 fixed console screen showing up when debug mode in prefs was off 2003-08-03 09:43:47 +00:00
Glenn Maynard fabcc7c6cb fix warning 2003-07-31 23:17:29 +00:00
Glenn Maynard d6c88f2c3c Fix crash with one character. 2003-07-31 22:49:22 +00:00
Kevin Slaughter adc19d0a15 Updated ScreenHowToPlay code to include dancer. I know it's a bit rough and too-fast paced right now, but that will all be fixed tonight when I get home and re-commit. 2003-07-31 11:31:24 +00:00
Chris Danford fa91f2e636 working on Rave 2003-06-30 18:08:27 +00:00
Glenn Maynard 57cf60a79f fix crash
add comment
2003-05-28 03:33:46 +00:00
Chris Danford c54214c1d2 On first run, run a gameplay benchmark and adjusts graphic options automatically for 60 fps. 2003-05-26 09:18:44 +00:00