Commit Graph
92 Commits
Author SHA1 Message Date
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
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 18ad6a4605 If Autogen Missing Types is off, don't pick a song that doesn't have non-autogen steps for the current gametype. 2003-08-25 15:08:03 +00:00
Thad Ward 4926712fb9 Add a little error detection. 2003-08-25 14:44:46 +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 5c5c4ed329 Move the BeginnerHelper code from ScreenGameplay::Update() into BeginnerHelper::Update() 2003-08-25 06:20:44 +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
Thad Ward d834608f0d Better, cleaner solution for conditionally initializing the BeginnerHelper. 2003-08-24 23:43:42 +00:00
Thad Ward 0d74c0d864 only initialize BeginnerHelper if we have a player who is on beginner and the option to show it is on. 2003-08-24 23:18:20 +00:00
Thad Ward 36caaf5812 check the current player's character for null, not just the first player.
also, DON'T add source code as binary. it IS NOT binary.
2003-08-23 04:15:42 +00:00
Thad Ward 90c5d98349 add BeginnerHelper to the vc6 project 2003-08-20 11:51:59 +00:00
Thad Ward 7c7a78c7d3 Save the ShowBeginnerHelper option's value to disk 2003-08-20 11:51:21 +00:00
Thad Ward 3b755ba2a2 add MovieTexture_Null 2003-07-17 23:06:46 +00:00
Thad Ward 856b8e48b1 null. making sure CIA notifications are working properly. 2003-07-08 08:56:50 +00:00
Thad Ward 5309e264e8 nul. bump the ciabot script 2003-07-07 18:22:36 +00:00
Thad Ward 26fdd1f8a2 nul. bumping cvs to verify things.. 2003-07-06 08:58:44 +00:00
Thad Ward ae028273a5 Fixed an output dir in the VC6 project file, left over from having 4 targets 2003-06-17 19:55:57 +00:00
Thad Ward 96239cb2d0 make SongCacheIndex ignore the .cvsignore file when cleaning out the cache directory. 2003-05-29 17:21:58 +00:00
Thad Ward f0e3bac8de fix a couple of settings that used the dirs from the old 2-config setup project 2003-05-24 14:13:05 +00:00
Thad Ward 208fc20ddf default/metrics: remove some garbage characters on the first line
pump: add a missing semicolon in an actor command
SMEX: correct some banner size and placement errors
2003-05-12 23:47:18 +00:00