Commit Graph
5030 Commits
Author SHA1 Message Date
Chris Gomez 0aebf25ccb Save mines to SM files
Ignore mines when saving DWI files (feels more appropriate than saving them as steps)
2003-09-01 02:33:42 +00:00
Glenn Maynard 5b17149520 Fix warning.
WRAP is only safe for the int range, since it needs to cast to int to
negate; so only allow int.

When possible, use a (possibly templated) inline function instead of
a #define.
2003-09-01 02:04:16 +00:00
Glenn Maynard 985a040f49 fix warnings 2003-09-01 01:47:47 +00:00
Glenn Maynard 6f3edb3cc9 Coordinates should almost always be floating-point (fixes warning) 2003-09-01 01:47:01 +00:00
Glenn Maynard 38345ac64c fix warning 2003-09-01 01:38:49 +00:00
Andrew Wong 9508282670 don't save high score when score = 0 (e.g. autoplay) 2003-09-01 00:36:26 +00:00
Chris Danford 8f920347d6 Shift+number to lay mines in editor
Alt+number to lay taps, holds, mines in right half of notefield
2003-08-31 23:52:02 +00:00
Chris Danford 151ed95ef9 fix Mines when used in battle 2003-08-31 23:15:24 +00:00
Chris Danford a6978ccc32 don't clear area before recording 2003-08-31 23:15:05 +00:00
Chris Danford 4263957f6c add character icons to SelectCharacter screen 2003-08-31 22:45:07 +00:00
Chris Danford 16ff95773d holding a button while over a mine makes it explode 2003-08-31 22:39:05 +00:00
Chris Danford 8a78faf552 better lighting on Danger 2003-08-31 22:38:32 +00:00
Chris Danford b360b4e08b tweak Mines 2003-08-31 22:38:06 +00:00
Chris Danford 0d3d590766 add WRAP macro 2003-08-31 22:37:32 +00:00
Chris Danford be62c37d30 add char icons to SelectCharacter screen 2003-08-31 22:37:09 +00:00
Steve Checkoway 9caf9d24d0 Remove code from the aborted 6th attempt.
Remove SAFE_* since that still couldn't be used in that function. Oh well.
Fix the bug that was crashing SM.

This driver actually works. When I say, "works," I mean that the position of the playing sound is actually returned correctly. The sound, however, is absolutely awful.
2003-08-31 14:26:53 +00:00
Steve Checkoway f1925e135d Unused variable. Will it ever be used or should the line be deleted? 2003-08-31 14:00:14 +00:00
Steve Checkoway 819432de8f Initial effort for the 6th (and 7th, sorta) Mac OS X sound driver attempt. 2003-08-31 13:41:04 +00:00
Thad Ward ea458a443d Fix the blinking characters in the BeginnerHelper.
(why was this return here? we need to set up the first frame after reverting to the default animation.)
remove m_sMostRecentAnimation, as it is not needed at all.
2003-08-31 11:47:05 +00:00
Andrew Wong dd2a9d6f07 make score in max2 scoring a multiple of 5 when failing
why?  then it becomes more obvious when someone fails since their last digit switches between 0 and 5,
rather than x and (x + 5) mod 10.

note: this ONLY affects scores after failing and has no effect on scores that don't represent failing scores

oh yea, simplified code a little
2003-08-31 09:48:33 +00:00
Kevin Slaughter db10cfe80d Should be in ScreenSelectMusic now. 2003-08-31 09:42:39 +00:00
Kevin Slaughter 32350db67c Fixed bug.. This now only takes effect on ScreenSelectMusic, where it was originally only intended to execute 2003-08-31 09:41:38 +00:00
Thad Ward 4a53272d3d tweak timing on the BeginnerHelper again. this timing allows the step animation to complete before the next starts.
not sure if this looks better, or if the old method looked better

side note: can someone with milkshape please make a JumpUD animation that is the same length as the JumpLR, but adds
the 90 degree turn? I really want to kill the magic numbers for the UD jump animation, since they don't always work for every song.
2003-08-31 08:40:56 +00:00
Thad Ward b9e15589dd Add support for playing specific animations at a different rate, scaled from the update rate. 2003-08-31 08:15:52 +00:00
Thad Ward 7f58205242 BeginnerHelper fixes:
change IsPlayerEnabled() to IsHumanPlayer()
check to see if we can use the BeginnerHelper before attempting to use it.
Disable BeginnerHelper for non-Dance game types.
2003-08-31 07:28:19 +00:00
Andrew Wong 9ead112062 remove default sort (it interferes with the select sort menu)... sorry ^^ 2003-08-31 06:01:00 +00:00
Andrew Wong c02f7700d9 fix nonstop/oni modes (course sort was being overridden by metrics) 2003-08-31 03:49:19 +00:00
Andrew Wong 97b9061f6f fix dance magic mode not working in 1P mode
added default modifiers when no characters are being used
2003-08-31 02:26:07 +00:00
Andrew Wong a3bfb47be2 make 5th mix scoring round to the nearest 5 points
make 5th mix combo pre-MAX style
2003-08-31 00:16:56 +00:00
Thad Ward d067bd0d49 correct indent level 2003-08-30 12:59:03 +00:00
Thad Ward 6e829f27fb move a line to outside the player loop, since it only needs to happen once. 2003-08-30 11:16:43 +00:00
Thad Ward de16e73f62 remove unused iDancePadType member variable
make beginnerhelper not miss steps on fast songs.
(kinda ugly but it works. what was happening is there wasn't a tap note at the position
checked during the updates around the tap note that was missed, so Step was never called for it)
2003-08-30 11:13:14 +00:00
Sean Burke b3e9705315 Fix up the default metrics a bit. 2003-08-30 09:38:53 +00:00
Kevin Slaughter e3b7432784 Added scriptable default musicwheel sort 2003-08-30 09:14:32 +00:00
Glenn Maynard 12ecbb4d95 Log the internal pixel format 2003-08-29 17:40:51 +00:00
Glenn Maynard 54a9c78fac Improve error handling. 2003-08-29 16:50:47 +00:00
Thad Ward 5afed9c413 Don't even bother creating DancingCharacters if we are going to be using the BeginnerHelper
Check pointers to make sure they are not null before dereferencing them.
2003-08-29 09:41:11 +00:00
Thad Ward 52935fbaa3 Add myself to the Programming section of the credits 2003-08-29 09:38:59 +00:00
Thad Ward e11ad92561 Make MenuLeft do a MenuUp and MenuRight do a MenuDown.
This removes that assumption of menu buttons behind the coin door.
2003-08-29 08:44:07 +00:00
Thad Ward 5fc4a65b13 make pressing start while holding left and right do a MenuUp if we are using
dedicated menu buttons and arcade options navigation.
(for running StepMania in a DDR-style cabinet. assuming, currently, that
there is a full set of menu buttons behind the coin door for the operator menus.)
2003-08-29 08:16:24 +00:00
Glenn Maynard 18eb78de77 Simple frame skip support 2003-08-29 06:10:03 +00:00
Glenn Maynard 5fdf62e355 fix deadlock 2003-08-29 05:39:47 +00:00
Thad Ward cecaf0c9be comment out some Song Options screen-related bits. (the option in the machine options screen shouldn't be there, for example) 2003-08-29 05:10:53 +00:00
Glenn Maynard 13cccb9991 Fix crashes in RageDisplay_OGL::UpdateTexture when the surface and texture
formats differ.
2003-08-29 04:46:54 +00:00
Glenn Maynard 7d208b71c0 Give up CPU on all archs when we don't have focus. 2003-08-29 04:44:03 +00:00
Glenn Maynard bef0031552 add comment 2003-08-29 04:41:10 +00:00
Glenn Maynard 2d29e0537d remove unneeded override 2003-08-29 04:37:37 +00:00
Glenn Maynard f9058608c4 enable libavcodec-based movie decoding 2003-08-29 04:36:14 +00:00
Chris Danford fa633dc717 fix crash in course editor 2003-08-29 04:34:40 +00:00
Glenn Maynard 22ef42ba7f libavcodec-based movie decoding 2003-08-29 04:34:10 +00:00