Commit Graph
100 Commits
Author SHA1 Message Date
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
Glenn Maynard 107b2ed53c cleanup msMaterial 2004-08-18 06:04:53 +00:00
Glenn Maynard 2fdb1cb61e backslashes are not legal 2004-08-18 02:08:43 +00:00
Glenn Maynard 32e1205697 deps cleanup 2004-08-18 01:29:51 +00:00
Glenn Maynard d4ab1b248a re-fix 2004-08-18 01:28:58 +00:00
Glenn Maynard a7a6fff6cf If either player is enabled, you can use GAMESTATE->m_MasterPlayerNumber to get the
first that joined; do this instead of iterating.  Remove redundant check.  Style cleanup.
Charles, please make an effort to conform to the style of the rest of the codebase; you
keep committing stuff in a completely different style and others keep having to clean it up.
2004-08-18 01:23:34 +00:00
Glenn Maynard 2b260f61e4 fix 2004-08-18 00:16:00 +00:00
Glenn Maynard dd2415bb90 fix compile 2004-08-17 23:50:59 +00:00
Glenn Maynard 671a563e22 simplify 2004-08-17 20:38:24 +00:00
Glenn Maynard 0cb47d0bb4 remove old (broken, unused) link 2004-08-17 20:35:44 +00:00
Glenn Maynard 40f7dc38f1 fix menu beat syncing 2004-08-15 23:51:47 +00:00
Glenn Maynard 83b640f5dd reduce disk access on wheel move by using timing data that's already loaded 2004-08-15 23:16:30 +00:00
Glenn Maynard 7ad61f1f07 GameSoundManager::PlayMusic interface tweak 2004-08-15 23:15:34 +00:00
Glenn Maynard 5212efe234 fix comment 2004-08-15 22:44:35 +00:00
Glenn Maynard 445d8a6cf2 cleanup low-level time handling 2004-08-15 22:41:46 +00:00
Glenn Maynard 3776d4a13f cleanup low-level time handling: only make adjustments to the clock that
the arch really needs; Unix gettimeofday does not loop like Win32 timeGetTime
so don't mess with it
2004-08-15 22:40:55 +00:00
Glenn Maynard c9fc2ebfe7 cleanup low-level time handling: add FixupTimeIfLooped, FixupTimeIfBackwards 2004-08-15 22:34:30 +00:00
Glenn Maynard 64938525f5 warnings 2004-08-15 21:58:13 +00:00
Glenn Maynard 55b0dc53be simplify 2004-08-15 15:25:15 +00:00
Glenn Maynard 4efa41dba5 reduce RageSound internal buffering; maybe this can go away, since all drivers buffer properly now ... 2004-08-15 04:31:19 +00:00
Glenn Maynard baca8e33ab fix crash if a thread is started before LOG 2004-08-14 23:28:33 +00:00
Glenn Maynard c54b2fc280 compute scroll bar offsets as floats, for smoother scrolling at higher resolutions 2004-08-14 20:32:55 +00:00
Glenn Maynard c4aadc69e3 fix ScrollBar flickering: -1 is used as a sentinel value, but is a valid coordinate
simplify
2004-08-14 20:18:34 +00:00
Glenn Maynard 646b3fee12 remove debug 2004-08-14 19:58:40 +00:00
Glenn Maynard 46d0b2e2f6 cleanup; check primary buffer format 2004-08-14 19:53:15 +00:00
Glenn Maynard 70a2d889a4 output cleanup 2004-08-14 19:51:04 +00:00
Glenn Maynard aa726c9d2c fix prebuffering 2004-08-14 02:39:35 +00:00
Glenn Maynard ce95644213 fix ThemeManager::GetModifierNames crash
allow skipping "default" fallback
2004-08-13 02:13:39 +00:00
Glenn Maynard f15bfb67b3 move CryptHelpers into cryptopp 2004-08-13 01:51:41 +00:00
Glenn Maynard 577fd7040f fix scaling up in zoomSurface: calculate source pixels and weights differently
fix scaling > 2:1 in the same way as < 1:2
do lrintf(x), not int(x+0.5f)
2004-08-13 00:31:34 +00:00
Glenn Maynard cdcb0f1c8f make InputMapper::ApplyMapping public 2004-08-13 00:27:52 +00:00
Glenn Maynard 389bbc68d2 allow ignoring actor errors 2004-08-12 23:06:06 +00:00
Glenn Maynard 3819c4695c cleanups 2004-08-12 23:03:01 +00:00