Thad Ward
f6c42a49e5
must include global.h
2006-01-15 20:20:47 +00:00
Thad Ward
24d488ebda
remove dead header file
2005-10-30 22:22:18 +00:00
Thad Ward
8e7c921af8
fix memory and texture leak.
2005-10-30 21:50:05 +00:00
Thad Ward
7a2e51e7ea
include cleanups.
2005-10-30 21:39:49 +00:00
Thad Ward
df136da381
Optimize. This brings the ALL_COURSES sort time down. I didn't check the time
...
spent in this code in release, but in debug this brings the time spent building
musicwheel items in ALL_COURSES sort mode from 30 seconds with my 1600+
songs in about 80 groups down to 12 seconds. Release is down to 6 seconds,
but I don't know where it was to start. This time would increase nearly
exponentially with the number of songs and groups.
2005-10-30 21:07:50 +00:00
Thad Ward
cd2645fe36
fix blowup when a KSF file has a #TITLE tag with nothing in it. (grr)
2005-10-30 09:45:04 +00:00
Thad Ward
90891ad511
move the include path I added to a couple MovieTexture files into the overall
...
project settings instead, in case other files in the future depend on it.
2005-10-30 09:13:45 +00:00
Thad Ward
3e26a37ff0
add missing <?xml ?> tag at the start of the file. also, I'm not sure if
...
comment tags count towards the "one root tag" rule in xml.
2005-10-30 08:58:43 +00:00
Thad Ward
0a17eb51da
fix VC2003 project file
2005-10-30 07:07:52 +00:00
Thad Ward
41162e8223
I never did add my name to the copyright on these files, even though I did
...
quite a bit of work on them.
2005-10-30 06:22:18 +00:00
Thad Ward
82e418916a
update vc.net2003 project files
2005-06-25 03:25:29 +00:00
Thad Ward
0bd8834dfb
add vc7.1's release runtimes. not sure about debug runtimes.
2005-05-28 03:53:58 +00:00
Thad Ward
5949e5bc90
(this is possibly going to annoy some people, but..)
...
put all (obvious) MSVC lines in #if defined(_MSC_VER) blocks, primarilly
to allow alternative win32 compilers to be used.
2005-05-11 04:43:54 +00:00
Thad Ward
9771f4a62d
re-create the VC.NET 2003 project based off the other VC.NET project, to
...
bring things back up to date
2005-05-10 19:59:39 +00:00
Thad Ward
704a8034a0
*poke* (testing CIA commits, as the bot has been rather quiet for the past
...
couple of days.)
2005-03-29 18:43:40 +00:00
Thad Ward
ccf3cc79e4
add ScreenSystemLayer.*
2004-11-27 00:03:59 +00:00
Thad Ward
e2aaf8db04
add RageSoundReader_Chain and RageSoundUtil
2004-10-25 22:35:56 +00:00
Thad Ward
0fd765f611
add AutoKeysounds
2004-10-24 17:48:53 +00:00
Thad Ward
bcfa824a36
add RageSoundMixer
2004-10-24 08:43:00 +00:00
Thad Ward
827842a396
Quiet some warnings. (vc8 certainly bitches alot more than vc6 did)
2004-10-23 01:41:21 +00:00
Thad Ward
788e3530b9
add a solution file and a project file for Visual C++ .NET 2003 (vc8),
...
as Visual C++ .NET (vc7) cannot read them after 2003 converts them.
(yay. yet more project files to keep in sync.)
2004-10-22 07:14:10 +00:00
Thad Ward
daff442724
prevent invalid values for CoinsPerCredit in the ini file from causing
...
problems, such as crashing SM.
2004-07-22 20:21:35 +00:00
Thad Ward
f8be9d4762
Add ATI Rage Mobility 128 (aka "Mobility M3") to the defaults database,
...
defaulting to the d3d renderer, as movietexture performance under OpenGL
is absolutely HORRID.
2004-07-03 14:43:57 +00:00
Thad Ward
5a348f5035
clean up inconsistent formatting.
2004-06-22 08:10:16 +00:00
Thad Ward
e9fe289f2d
add Cel Shading drawing code. (I dunno, perhaps this should be part of
...
Model::Draw() instead of a separate function...)
2004-06-19 04:45:31 +00:00
Thad Ward
aa020f9351
style cleanup.
...
only turn lighting off if we turned it on.
2004-06-19 04:37:37 +00:00
Thad Ward
d7eb216b71
use #else when there is no condition, not #elif or #else if
2004-06-15 06:45:11 +00:00
Thad Ward
4adbb7e2c6
only pull in some headers on non-windows platforms.
2004-06-14 12:45:51 +00:00
Thad Ward
1c46a4880f
global.h must be included before anything else. it sets up such things as
...
disabling stupid warnings for some archs.
2004-06-14 11:10:53 +00:00
Thad Ward
59c0e3bda5
fix fail never happening, no matter the fail mode.
2004-06-10 19:38:38 +00:00
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