Commit Graph
4652 Commits
Author SHA1 Message Date
Glenn Maynard 59d24ab3e5 Fix warning. 2003-09-05 06:59:15 +00:00
Glenn Maynard 3f1c961a12 LoadingWindow driver fallbacks. 2003-09-05 06:55:14 +00:00
Glenn Maynard ed772a3531 Change defines. 2003-09-05 06:54:48 +00:00
Glenn Maynard 510f97bc45 Module loading. 2003-09-05 06:54:32 +00:00
Glenn Maynard dde370f2db Dynamically load GTK as a module. This way:
1: If GTK isn't available, we can fall back on another LoadingWindow, and
2: ldd ./stepmania doesn't list lots of extra libraries that we only
use on startup.
This is somewhat experimental.  I don't intend to modularize much in this
way.
2003-09-05 06:53:50 +00:00
Glenn Maynard d87e61b7c7 Handle MakeLoadingWindow returning NULL. 2003-09-05 06:50:47 +00:00
Glenn Maynard 30029f49aa remove spurious output 2003-09-05 06:40:21 +00:00
Glenn Maynard ded559d84a Make DirOfExecutable available. 2003-09-05 06:39:32 +00:00
Glenn Maynard ec01b03979 Use GetCwd(). 2003-09-05 06:21:47 +00:00
Glenn Maynard 636dcaaa7a Add GetCwd(). 2003-09-05 06:20:55 +00:00
Steve Checkoway 6f99281965 Broken drivers 1 and 2. BROKEN_DRIVER_1 plays the audio really poorly (lots of static) but seems to get the playing position correct, at least most of the time it returns a valid position.
BROKEN_DRIVER_2 on the other hand, plays the sound fine, except it seems to change volume, but not during game play, or when it gets a buffer underrun in which case it emits this awful buzzing sound. That happens mostly before the start of a song. However, the position returned is completely invalid.

One of these must work eventually. *sigh*
2003-09-05 00:07:22 +00:00
Glenn Maynard d63eac91f4 Simplify UnlockSystem::InitRouletteSeeds. Add an assert. 2003-09-04 21:55:47 +00:00
Glenn Maynard 7403837961 Prefer OSS until I investigate problems with the ALSA driver. 2003-09-04 21:33:58 +00:00
Nick 5ff010ee4e Added option to not save songs 2003-09-04 21:24:50 +00:00
Glenn Maynard c8468a4211 If long and bOneChoiceForAllPlayers, then only initialize one text item.
Compile fix.
2003-09-04 21:04:39 +00:00
Andrew Wong f2d672ced5 oops, make sure zoom is set correctly before applying MenuItemOnCreate transition 2003-09-04 20:36:24 +00:00
Glenn Maynard eaa90845cf Simplify: when we're in long row mode, m_textItems contains only the
used rows instead of having a bunch of empty texts.  This removes a
couple special cases.
2003-09-04 20:22:06 +00:00
Glenn Maynard 413593f1e4 Dynamic m_textItems. This solves potential problems with
MAX_VISIBLE_VALUES_PER_LINE overflows.
2003-09-04 19:53:07 +00:00
Glenn Maynard 95e3575094 Fix "Capitalize DWI, no SM": m_sSongFileName was not set correctly
if a DWI extension wasn't lower-case.
2003-09-04 19:29:42 +00:00
Glenn Maynard 8e69db6e86 Add SetExtension. 2003-09-04 19:28:39 +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
Andrew Wong 0699afcb4b support for effects to display title menu items 2003-09-04 11:06:07 +00:00
Andrew Wong d869d22d93 simplify (use array) 2003-09-04 10:37:48 +00:00
Andrew Wong bde7fffff5 revert, algorithm got messed up (you fail on 2 arrows in life difficulty 4) 2003-09-04 10:04:27 +00:00
Glenn Maynard d5a299df4e Oops, silly fix. 2003-09-04 07:43:58 +00:00
Glenn Maynard d7cf9cfcfc Simplify. 2003-09-04 07:37:09 +00:00
Andrew Wong e8873ac90a Command when menu items are drawn isn't really being executed. Remove for now. 2003-09-04 07:35:52 +00:00
Glenn Maynard 4183ac8f5b Simplify. 2003-09-04 07:34:05 +00:00
Glenn Maynard 869dbe66bd ProgressiveLifebarDifficulty, cleared and (total - 1) are all ints, so
ProgressiveLifebarDifficulty * cleared / (total - 1)) is an int.  Simplify.
2003-09-04 07:33:27 +00:00
Glenn Maynard 74b06a7e27 Fix progressive nonstop lifebar not working in event mode. (Event mode
with courses just means you can play another course without going through
the menus again.)
2003-09-04 07:28:28 +00:00
Glenn Maynard 9219322406 Fix course mode crashing. 2003-09-04 07:21:31 +00:00
Glenn Maynard d7961c86df fix stats charset 2003-09-04 07:00:43 +00:00
Glenn Maynard 5edf762024 fix quit taking a long time 2003-09-04 06:57:36 +00:00
Glenn Maynard ab3d3c622a Fix visibility modifiers when combined with reverse modifiers 2003-09-04 05:27:43 +00:00
Glenn Maynard 563930a9be cleanup 2003-09-04 05:05:09 +00:00
Glenn Maynard d8e19adbd4 Reduce header dependencies. 2003-09-04 04:59:55 +00:00
Glenn Maynard 5fd9adbe38 Move ARROW_SPACING into ArrowEffects.cpp.
Move ARROW_SIZE into GameConstantsAndTypes.h.
2003-09-04 04:57:54 +00:00
Glenn Maynard 7bb4c6c2fb Default to 16bpp for fonts, unless the 32bpp hint is used. 2003-09-03 22:52:15 +00:00
Glenn Maynard 861f19388b simplify 2003-09-03 22:30:00 +00:00
Glenn Maynard 315d225724 Add DeviceInput::IsJoystick. 2003-09-03 22:28:46 +00:00
Glenn Maynard 8f3927478f add ForceKey, StopForcingKey 2003-09-03 21:49:11 +00:00
Glenn Maynard d934177bf4 Changed this during testing so I didn't have to recompile everything
each time I changed it.  Why make this inline?  It's not performance-critical
at that level, and it's more code in the headers to slow down compiles.
2003-09-03 18:22:55 +00:00
Glenn Maynard 0c0ec5fbc4 Use RAGE_ASSERT_M for better output. 2003-09-03 18:10:26 +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
Glenn Maynard 34b8ae04b9 Allow texture hints in font pages. 2003-09-03 09:03:58 +00:00
Glenn Maynard 0b80036bd8 remove unused code 2003-09-03 08:44:01 +00:00
Glenn Maynard fd05dfeffc Replace 4alphaonly and 8alphaonly with the simpler and more generally
useful 32bpp and 16bpp hints.  (alphaonly was broken and had the effect
of 32bpp anyway).  These force a texture to 32bpp and 16bpp, overriding
the user's preference.

Use 32bpp for images that really do need 32bpp (where "dither" isn't
good enough).  Use 16bpp for images that really don't need 32bpp,
to save memory.
2003-09-03 08:41:12 +00:00
Glenn Maynard 9a27e53ac5 Loud output. 2003-09-03 08:01:48 +00:00