Commit Graph
100 Commits
Author SHA1 Message Date
Thad Ward da10ebd869 fix compile error. (from VC6 anyway) 2004-06-06 11:34:26 +00:00
Thad Ward a539219d63 use the meter values for the current course entry, not (possibly)
some other entry.
2004-06-04 22:06:31 +00:00
Thad Ward 6202d1baf3 change loading window text before saving Catalog.xml, since it might take
awhile if the user has many songs and courses.
2004-05-31 19:32:18 +00:00
Thad Ward 93ad9fbe3e unneeded header. 2004-05-29 21:56:13 +00:00
Thad Ward 16c2050112 if we were run with parameters, log them. 2004-05-29 19:18:31 +00:00
Thad Ward 28a3a099b1 Store the selected name to the profile before trimming spaces, so that the name
appears properly next time the player enters their name.
2004-05-24 09:40:26 +00:00
Thad Ward 438347135d Store the selected name to the profile before trimming spaces, so that the name
appears properly next time the player enters their name.
2004-05-24 09:26:44 +00:00
Thad Ward cfc3e3f3b1 fix warning. 2004-05-24 08:29:48 +00:00
Thad Ward b0db0b97b7 add TrailUtil.* to vc6 project 2004-05-24 08:19:17 +00:00
Thad Ward 72e53bf1f0 fix vc6 compile error.
("Member function defined in unnamed class")
2004-05-24 08:18:11 +00:00
Thad Ward 540c2fe79d make XNode::GetXML() and XAttr::GetXML write out to a file directly, rather than concatinating on a std::ostringstream, which was taking a long time. 2004-05-21 22:57:54 +00:00
Thad Ward 31eba10f3e add trace output so people aren't left wondering why SM is just sitting there apparently doing nothing. 2004-05-21 11:48:35 +00:00
Thad Ward a74f285719 more missing ProfileHtml metrics. (well, ok. one.) 2004-05-16 12:44:35 +00:00
Thad Ward 78d16a5f90 if we aren't using the notefield, don't bother trying to load notes... 2004-05-16 12:42:26 +00:00
Thad Ward e3585798f8 fix compile error. 2004-05-16 12:11:58 +00:00
Thad Ward e84792125a silence VC6's complaints about not having pdb info for cryptlib.lib. 2004-05-14 13:42:38 +00:00
Thad Ward b3e8c8dfbd add some missing metrics for ScreenProfileOptions. I didn't set any values for
them, because I'm not quite sure what to set them to ATM and just wanted to
silence the "missing metric" messages.
2004-05-12 22:49:31 +00:00
Thad Ward cc17505d38 remove ancient commented out code. 2004-05-09 15:11:51 +00:00
Thad Ward f7de41eb7a fix face culling problem. 2004-05-09 14:18:39 +00:00
Thad Ward f116432704 add missing metrics. 2004-05-09 11:55:07 +00:00
Thad Ward c7538dcbaf remove MenuElements.* and add ScreenWithMenuElements.* in the VC6 project file. 2004-05-09 09:16:37 +00:00
Thad Ward a4ea178310 add comment. 2004-03-25 13:56:01 +00:00
Thad Ward 3047c0adfb Apparently SM_GoToNextScreen doesn't also send an SM_LoseFocus, so we need to
reset the sound volume there, too.
2004-03-25 10:45:30 +00:00
Thad Ward dabfb6355c add missing breaks to SM_GainFocus and SM_LoseFocus 2004-03-25 10:25:22 +00:00
Thad Ward 61dd2dd425 quiet a very noisy trace message. 2004-03-11 03:08:02 +00:00
Thad Ward 88aadf4305 remove "itg" from the debug build's output exe name. 2004-03-11 02:33:32 +00:00
Thad Ward e33c642403 fix typo 2004-02-22 21:22:48 +00:00
Thad Ward 57c526230b Create PREFSMAN and mount any additional paths it mentions earlier.
Remove DWIPath from prefs.
Add AdditionalFolders to prefs (replaces DWIPath, essentially).
Store CStrings instead of CStringArrays in prefsman, and split them on use.
2004-02-19 08:45:17 +00:00
Thad Ward e4fb596e4f revert some unneccessary changes.
(I didn't see the NEED_PROFILE check higher up >_< )
2004-02-09 22:38:01 +00:00
Thad Ward dffd82879e fix more possible (lack of) Profile crashes.
not sure what to set val to in the case of no profile, though.
2004-02-09 21:05:20 +00:00
Thad Ward d5bd9327af fix more possible Profile crashes.
(dereferencing null pointer baaaad....)
2004-02-09 20:46:39 +00:00
Thad Ward 6faa6ebb17 FALSE is not aways defined, so we need to define it if it isn't. 2004-02-09 13:30:25 +00:00
Thad Ward e2dbd2e79e remove unused "ScreenEvaluation totalscore labels 1x2"
add missing "ScreenEvaluation totalscore label"
2004-02-09 12:04:57 +00:00
Thad Ward ea3b564761 change difficulty icons load to handle the current number of difficulties.
"ScreenEvaluation score label" and "ScreenEvaluation totalscore label" might be animated sprites as well.
2004-02-09 11:49:46 +00:00
Thad Ward e6e16a2226 the Time label probably won't have more than one frame, which is state 0. 2004-02-09 08:28:43 +00:00
Thad Ward 52a46b9468 fix reversed difficulty change logic. 2004-02-09 01:39:19 +00:00
Thad Ward 4cb58dcb30 add missing theme font element 2004-01-29 00:38:26 +00:00
Thad Ward e79fffbc49 get smlobby to build again, just in case someone decides they want to play with it. 2004-01-01 18:07:49 +00:00
Thad Ward 5692504af0 added a comment about the Operator's Menu key to the CoinMode FAQ item. 2003-12-26 03:20:21 +00:00
Thad Ward bf00e4a9bd why were the bins being built into ../../itg/*? 2003-11-22 03:24:27 +00:00
Thad Ward 46174a6721 add LightsDriver_SystemMessage 2003-11-22 02:29:55 +00:00
Thad Ward c7de8342f5 remove some tls.h includes that were apparently missed. 2003-10-01 09:15:51 +00:00
Thad Ward 896dc0f8da slight optimization.
(if we aren't loading a player, we don't need to do anything other than load up the game/style info and the
name of the settings, so don't bother trying. when a player is loaded up, it is loaded from scratch from the ini
file anyway.)
2003-09-18 19:07:04 +00:00
Thad Ward 7a74387658 after we change to the directory with the executable, we need to clear out the FileDB cache. 2003-09-14 21:25:59 +00:00
Thad Ward f022620d05 after unloading the profile, clear out the displayname and last used high score name. 2003-09-14 20:34:33 +00:00
Thad Ward 9e52a02496 since the Cache dir is no longer part of CVS, we don't need to be careful about deleting files from it. 2003-09-14 20:22:32 +00:00
Thad Ward 8d0746bce8 when clearing the cache, don't remove instructions.txt 2003-09-14 19:37:21 +00:00
Thad Ward 3b00a6da28 when loading characters, ignore the CVS directory. 2003-09-14 18:30:14 +00:00
Thad Ward f87d7bf25a add SoundReader.cpp and SoundReader_WAV.* to the vc6 project 2003-09-11 01:34:29 +00:00
Thad Ward 7c948b1896 BeginnerHelper is not available for Solo or Doubles styles. 2003-09-10 23:46:49 +00:00
Thad Ward 2964e0dad5 comment out a bit someone missed when removing the other stuff related to network play. 2003-09-10 23:45:59 +00:00
Thad Ward 58a61259d6 remove the IgnoreJoyAxes preference again, since it isn't used anywhere. (see Chris' earlier commit for why) 2003-09-09 12:17:06 +00:00
Thad Ward 3bca704638 Make the character icons tween on and off properly. 2003-09-08 18:57:12 +00:00
Thad Ward f00db4ef5a add missing if statement 2003-09-08 18:26:06 +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
Thad Ward 955e6803ef make the step values a little more sane. 2003-09-08 17:10:15 +00:00
Thad Ward a38b69fd03 no need to check more frequently than one noterow. Step() now only gets called once per step. 2003-09-08 16:46:23 +00:00
Thad Ward a90822bb19 Remove a little overhead from the BeginnerHelper::Update() path. 2003-09-08 13:56:08 +00:00
Thad Ward 0d8a5f16a1 Fix the Default Sort metric. it wasn't being used to initially build the wheel, and then
when you chaged the sort, played a song, and selected another group, the sort would
suddenly pop back to the default, which wasn't being used as the default in the first place.
2003-09-07 14:29:59 +00:00
Thad Ward fa5ef010e0 add a little bit more info to a couple of existing LOG->Trace() statements 2003-09-04 13:41:35 +00:00
Thad Ward 8f60dc6c13 prevent movies from being handed to RageBitmapTexture.
I don't know why this stopped working. It was broken before my previous commit,
but I went through the cvs history and didn't find any changes that would have
broken this if statement.
2003-09-03 13:47:02 +00:00
Thad Ward 05443292da Consolidate duplicate function 2003-09-03 13:03:41 +00:00
Thad Ward 5790860a2e remove the record from the vector, otherwise we end up with some invalid data because the vector's size doesn't decrese. 2003-09-03 12:17:06 +00:00
Thad Ward bbe5f50de0 and the offending call is located. 2003-09-01 11:27:41 +00:00
Thad Ward 29c7e41594 Handle a missing pad model gracefully 2003-09-01 11:21:52 +00:00
Thad Ward b01f17894c Fix slashes for safety. 2003-09-01 11:21:12 +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
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
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
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
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
Thad Ward cd14d8ef69 Fix problems in the GroupList. (fixes bug# 781647) 2003-08-29 03:08:03 +00:00
Thad Ward 79b669d3bc Finish up the difficulty chage Sean was working on. 2003-08-29 02:04:13 +00:00
Thad Ward b62a0c5726 add a UsePad metric to the HowToPlay screen. 2003-08-27 14:40:41 +00:00
Thad Ward 562aa9877b make BeginnerHelper capable of handling turn modifiers. 2003-08-27 13:36:22 +00:00
Thad Ward 81d46e3178 gah. someone shoot me. I missed another. this is the last one. 2003-08-27 12:35:50 +00:00
Thad Ward 34b602d688 oops. missed a couple of things I needed to remove. 2003-08-27 12:34:47 +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 0537af1078 fix up timing in the BeginnerHelper.
(I hate having "magic" numbers, but there are some here that I can't figure out.)
2003-08-27 12:29:32 +00:00
Thad Ward 9276a68a0d when the current animation is the same as the one we are asked to play, don't bother copying the bones in again, just reset the current frame. 2003-08-27 12:24:10 +00:00
Thad Ward 68908aa30a fixes for ScreenHowToPlay 2003-08-27 08:02:51 +00:00
Thad Ward 0edd67b70b fix blowup. make sure pointers aren't null before using their members. 2003-08-27 03:14:04 +00:00
Thad Ward 1a6d60a6f1 make the character select screen optional for modes that don't require a character. 2003-08-27 02:48:32 +00:00
Thad Ward b5553c9ab5 fix up ScreenSelectCharacter a bit and enable it for normal game mode. 2003-08-26 14:58:41 +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
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
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