Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard d78f734ec5 be careful not to adjust or save profile stats/options during jukebox 2004-08-30 23:59:02 +00:00
Glenn Maynard 41fa32138c fix crashes after reverting in gameplay in course mode 2004-08-30 23:15:03 +00:00
Glenn Maynard 1f1b24b7b1 add Course::GetAllCachedTrails 2004-08-30 22:15:57 +00:00
Glenn Maynard d9792f2b31 "this will always succeed" might not: mapOldStepsToStepsID only contains
steps for pSong (fixes some crashes after reverting in course mode and
then going on to eval)
2004-08-30 22:14:25 +00:00
Glenn Maynard b6c039cac3 fix CourseID::ToCourse for autogen courses 2004-08-30 21:55:50 +00:00
Glenn Maynard 5d0b1af78f check for valid texture format 2004-08-30 19:50:13 +00:00
Glenn Maynard 07657c6203 oops, that's wrong; revert until I get it right 2004-08-30 07:27:34 +00:00
Glenn Maynard d14a66b8e7 simplify 2004-08-30 06:38:08 +00:00
Glenn Maynard b5fd173a67 simplify 2004-08-30 05:22:50 +00:00
Glenn Maynard 463c81d7f1 const 2004-08-30 04:49:57 +00:00
Glenn Maynard 6ac1d7c449 avoid holding GameSoundManager lock while stopping sounds 2004-08-30 04:03:39 +00:00
Glenn Maynard 085f354f8a allow not timing out on semaphore waits 2004-08-29 22:51:09 +00:00
Glenn Maynard d4149f2a43 CourseId behavior shouldn't vary depending on PREFSMAN->m_bShowNative 2004-08-29 20:19:34 +00:00
Glenn Maynard 4c09e63ec4 fix text 2004-08-29 07:05:17 +00:00
Glenn Maynard 197b54dd8b AdjustBalance -> PanSound; balance and panning aren't the same thing 2004-08-29 03:21:45 +00:00
Glenn Maynard 881fc6a6f2 warnings 2004-08-29 01:51:41 +00:00
Glenn Maynard 2d6e9fecd7 fix prebuffering logic 2004-08-29 01:50:17 +00:00
Glenn Maynard 5affade93c cleanup 2004-08-28 23:25:13 +00:00
Glenn Maynard 0a880ddfab update 2004-08-28 18:38:49 +00:00
Glenn Maynard f80433b047 cleanup 2004-08-28 09:41:43 +00:00
Glenn Maynard 19f2cf7e3b zoomSurface -> RageSurfaceUtils::Zoom
Zoom() handles its own format limitations
2004-08-28 09:38:22 +00:00
Glenn Maynard b6146043d1 fix trace 2004-08-28 09:36:18 +00:00
Glenn Maynard 93098cd610 cleanup PREFSMAN->m_bForceMipMaps 2004-08-28 09:29:55 +00:00
Glenn Maynard 5a4f60c505 cleanup 2004-08-28 09:18:02 +00:00
Glenn Maynard fd6eca7ffb no longer needed 2004-08-28 09:12:04 +00:00
Glenn Maynard 3d3cbc73e5 SM_SDL_OrderedDither -> RageSurfaceUtils::OrderedDither
SM_SDL_ErrorDiffusionDither -> RageSurfaceUtils::ErrorDiffusionDither
(these have nothing to do with SDL; I'd rename the files but I hate
losing CVS history)
2004-08-28 09:09:34 +00:00
Glenn Maynard 01ed84e315 finish choosing the pixel format before optionally running dithering 2004-08-28 09:06:04 +00:00
Glenn Maynard 6009e72fc6 simplify a little, comment 2004-08-28 08:29:13 +00:00
Glenn Maynard 0169f9fcf6 32bpp song banners; don't dither 2004-08-28 08:17:35 +00:00
Glenn Maynard 121eb1d428 remove 2004-08-27 20:28:21 +00:00
Glenn Maynard b16ff6046a update 2004-08-27 20:27:41 +00:00
Glenn Maynard 41e5aef818 move win32 stuff out of the top src dir 2004-08-27 20:25:31 +00:00
Glenn Maynard f4bfdbef94 fix comment
sanity checks
2004-08-27 04:53:00 +00:00
Glenn Maynard 45f1bac778 work around upx bug that may be causing uninstallation problems 2004-08-27 04:44:08 +00:00
Glenn Maynard 1771747c0c RageSurfaceUtils::FlipVertically 2004-08-26 20:36:44 +00:00
Glenn Maynard d2ad8869f0 flush errors before glReadPixels 2004-08-26 20:26:03 +00:00
Glenn Maynard 78b019fe0c fix mono->stereo conversion 2004-08-26 20:01:43 +00:00
Glenn Maynard e76553c9cc fix warning output 2004-08-26 04:36:35 +00:00
Glenn Maynard 8dfbd14434 simplify
ScreenInstructions, ScreenCaution, ScreenStyleSplash, and
ScreenGameOver are almost identical and could be merged with a little
Lua work ...
2004-08-26 04:25:16 +00:00
Glenn Maynard df7288acd4 unused 2004-08-26 04:20:31 +00:00
Glenn Maynard 9d383ad624 update 2004-08-26 03:12:22 +00:00
Glenn Maynard 35070fe559 in May: "Disable ScreenSelectDifficultyEX; it was superseded by ScreenSelectMaster.
I don't think anything uses it (not sure if it still works); I'll wait a few snapshots
before removing it, though."  It's been a few snapshots ...
2004-08-26 02:16:21 +00:00
Glenn Maynard 9875923278 Force FailImmediate in battery mode. Some code assumes it.
Are there any interesting uses of allowing non-FailImmediate in battery
mode?  It would be harmless to allow setting it in the song options screen
if it was useful and worked (the current problem is that the default fail
mode is being applied, too).
2004-08-25 08:56:58 +00:00
Glenn Maynard a6703d5561 fix "by Unknown artist" autogen slipping through 2004-08-25 08:25:43 +00:00
Glenn Maynard 65ee2a6461 Merge duplicate sounds.
Moving sounds which are used in various places to a separate common
name, and rediring to it, instead of picking an arbitrary element to
store the ogg and having everything else point at it.  This makes
changing them individually in other themes easier, and makes changes
to one screen less likely to cascade and require changes to others.

I'm only actually doing this now because I want to try to fix some sound
quality issues (at least partially due to previous reencoding and resampling),
and having lots of duplicate sounds was a pain.

_common value: EditMenu value, JukeboxMenu value, ScreenMiniMenu value
_common row: EditMenu row, JukeboxMenu row, ScreenEdit line, ScreenMiniMenu row, ScreenPrompt change
Common start: ScreenNameEntry step
_common change: ScreenSelectGroup change, ScreenSelectStyle change
2004-08-25 05:27:08 +00:00
Glenn Maynard da3361ec23 fix exception backtraces not always resolving 2004-08-25 04:08:43 +00:00
Glenn Maynard e1e3f5ef40 fix bitmasks 2004-08-25 04:02:40 +00:00
Glenn Maynard a76b3ad8ad update 2004-08-25 01:49:20 +00:00
Glenn Maynard 7ffe8eaf9c update 2004-08-25 00:20:32 +00:00
Glenn Maynard 1d6a9296e3 Move m_sprExplanation below m_sprBannerFrame. This should be
possible to do with draw order metrics, but we don't actually run OnCommand
in here ...
2004-08-25 00:18:51 +00:00
Glenn Maynard af69d4ddb7 update 2004-08-24 23:53:35 +00:00
Glenn Maynard 8fb41ed93c clamp "lesser position" output 2004-08-24 23:51:43 +00:00
Glenn Maynard d6751ceae0 add missing "Yuujou" (oops, forgot to commit) 2004-08-24 23:41:08 +00:00
Glenn Maynard 6091b87526 cleanup 2004-08-24 22:44:06 +00:00
Glenn Maynard fb425bcc8f don't duplicate the whole comment in the header; just include a synopsis unless you're documenting an API class, etc 2004-08-24 22:31:18 +00:00
Glenn Maynard 536da0dcf7 cleanup 2004-08-24 22:29:47 +00:00
Glenn Maynard 4ce71a6aef fix copyright notices; let's keep our names in there instead of duplicating them elsewhere 2004-08-24 22:27:53 +00:00
Glenn Maynard 9d4ccdafbf comment 2004-08-24 22:24:06 +00:00
Glenn Maynard d176c8af17 avoid pthread_mutex_timedlock in valgrind 2004-08-22 01:31:12 +00:00
Glenn Maynard 0f7572ad8c work around gettid warning spam in valgrind 2004-08-22 01:16:00 +00:00
Glenn Maynard a68dec18aa fix uninitialized values used by MEMCARDMAN calls before GameState::Reset 2004-08-22 01:11:17 +00:00
Glenn Maynard fb72702e80 don't interleave reads 2004-08-21 07:19:54 +00:00
Glenn Maynard 6312cfce58 bigger fake "mixing buffer" for null sound 2004-08-21 07:06:27 +00:00
Glenn Maynard 29c1393a7d bigger buffer for streaming sounds 2004-08-21 07:05:32 +00:00
Glenn Maynard ed2939b205 IsStreamingFromDisk 2004-08-21 07:01:54 +00:00
Glenn Maynard 00bf5e9639 implement decode buffer fill rate clamping 2004-08-21 06:53:26 +00:00
Glenn Maynard 1804939916 always preload change sounds 2004-08-21 06:50:49 +00:00
Glenn Maynard 9c23f35047 allocate buffer on demand 2004-08-21 06:09:19 +00:00
Glenn Maynard c6acc25ddc rearrange: public, protected, then private 2004-08-21 01:51:29 +00:00
Glenn Maynard d2895f9713 allow UnloadTexture(NULL), like delete NULL 2004-08-21 01:45:02 +00:00
Glenn Maynard a0f162d5a9 note color support for mines (this is actually just so mines aren't a special
case)
2004-08-21 01:35:50 +00:00
Glenn Maynard 08886fdd00 Actors used by NoteDisplay don't have persistent state; they're completely
re-configured for each arrow/hold part.  Cache each object, so we don't
waste memory with duplicate actors; multiplied by NOTE_COLOR_IMAGES
for each player, this adds up quite a bit.
2004-08-21 00:34:24 +00:00
Glenn Maynard 79a3a9aebc const m_pCurAnimation 2004-08-19 08:32:18 +00:00
Glenn Maynard 6fec08bba8 move most of Model::LoadMilkshapeAsciiBones into msAnimation::LoadMilkshapeAsciiBones 2004-08-19 08:29:16 +00:00
Glenn Maynard bbc55a3a1a start animations in LoadPieces, but not LoadMilkshapeAsciiBones 2004-08-19 08:15:35 +00:00
Glenn Maynard e6bc94a4af unwrap LoadMilkshapeAsciiBones (no other changes) 2004-08-19 07:47:56 +00:00
Glenn Maynard 4f12abec26 RageModelGeometry::m_pGeometry -> m_pCompiledGeometry, to
differentiate from Model::m_pGeometry
2004-08-19 06:24:41 +00:00
Glenn Maynard 65c6155f29 cleanup 2004-08-19 06:22:52 +00:00
Glenn Maynard 6fc52719cc ARCH_SETUP_DARWIN_H 2004-08-19 05:58:29 +00:00
Glenn Maynard 7e26213408 simplify 2004-08-19 02:19:45 +00:00
Glenn Maynard 4595b7e34e simplify 2004-08-19 02:13:07 +00:00
Glenn Maynard 4ebfff9551 oops, remove brainstorming 2004-08-19 01:51:09 +00:00
Glenn Maynard cf725075fe split out DrawMesh
cleanup
2004-08-19 01:47:58 +00:00
Glenn Maynard e0fe0e6ddd reduce Model.h dependencies 2004-08-19 01:29:46 +00:00
Glenn Maynard 350d3771b8 dep fix 2004-08-19 01:18:11 +00:00
Glenn Maynard b1b4163923 cleanup, split out Model::SetBones 2004-08-19 01:08:18 +00:00
Glenn Maynard 52b4620c3d dep fix 2004-08-19 01:07:19 +00:00
Glenn Maynard 7a85791ecc const fix 2004-08-19 01:05:57 +00:00
Glenn Maynard cc5dfc9653 cleanup 2004-08-19 00:42:31 +00:00
Glenn Maynard 39988e2d93 cleanup 2004-08-19 00:36:11 +00:00
Glenn Maynard 40cecbcf50 word -> uint16_t (a "word" is architecture-specific) 2004-08-19 00:35:35 +00:00
Glenn Maynard 5cefb943ff fix warnings 2004-08-19 00:22:29 +00:00
Glenn Maynard b0084f0951 cleanup 2004-08-19 00:16:50 +00:00
Glenn Maynard 19207b986e cleanup 2004-08-19 00:16:02 +00:00
Glenn Maynard c06bed290d cleanup 2004-08-19 00:07:53 +00:00
Glenn Maynard cb344a63a2 save and restore the clipboard when using it internally 2004-08-18 23:02:27 +00:00
Glenn Maynard fd7c6b131c fix player options/song options BGM continuing to play after exiting in editor 2004-08-18 22:39:56 +00:00
Glenn Maynard 961e2ceeeb cleanup 2004-08-18 22:10:24 +00:00
Glenn Maynard 1fdf3d68c2 s/TCHAR/char/ 2004-08-18 22:09:23 +00:00
Glenn Maynard 0411171c9d fix superfluous loading of default noteskin 2004-08-18 07:38:41 +00:00