Commit Graph

20785 Commits

Author SHA1 Message Date
Glenn Maynard 3e036ff06a Apply m_ColumnInfo->fXOffset in GetXPos. Doing this in BeginDrawTrack makes
it hard to apply effects in the right order.  (This might also be able to
simplify Flip, but that's for later ...)

Fix Mini scaling doesn't apply to mod adjustments.  Fixes weird "Mini+Flip"
and probably other combinations.

(This also eliminates the need for NoteFieldMode entirely, which I've wanted
to remove for a long time.)
2006-04-14 12:21:34 +00:00
Mike Calfin 79708bde53 realigned pane display 2006-04-14 08:09:51 +00:00
Josh Allen 6131ab52c0 Apparently this was needed, grades show all the time not just sometimes. 2006-04-11 05:19:53 +00:00
Josh Allen 14a86de093 Fix grade display on MusicWheel. Setting the hidden values makes more sence than setting the diffuse alpha values. 2006-04-10 23:31:02 +00:00
Glenn Maynard 7a94b959c9 Destroy D3D after destroying the window. Fixes another DestroyWindow
crash: start in fullscreen, change to a window, close the game.

This is sort of trial-and-error: there seems to be no documentation about
the proper order of shutting down a window.  Shutting down D3D first
makes sense: restore the window to normal, then destroy it, so we don't
kill the window while D3D is still using it.  But this seems to work, and
it's how we did it in 3.9.

(I think releasing D3D first is leaving traces behind in the window, which
then cause stale dereferences; the previous FreeLibrary() change was for
the same problem, and this seems to just be another incarnation of that.)

7c918fea: ntdll!RtlpWaitForCriticalSection [7c900000+18f8f+5b]
77d48bd9: USER32!GetWindowThreadProcessId [77d40000+8a80+159]
77d4b3cc: USER32!DefWindowProcW [77d40000+b33c+90]
7c90104b: ntdll!RtlEnterCriticalSection [7c900000+1005+46]
6d9ab228: D3D8!CheckFullscreen [6d9a0000+b060+1c8]
77d48734: USER32!GetDC [77d40000+86c7+6d]
77d4b4c0: USER32!DefWindowProcW [77d40000+b33c+184]
7c90eae3: ntdll!KiUserCallbackDispatcher [7c900000+ead0+13]
77d4daf6: USER32!DestroyWindow [77d40000+daea+c]
00539971: void GraphicsWindow::DestroyGraphicsWindow(void) [00400000+1398d1+a0]
2006-04-10 15:08:04 +00:00
Josh Allen 533e784008 add missing font 2006-04-09 23:07:12 +00:00
Josh Allen 179113a741 update 2006-04-09 23:03:04 +00:00
Josh Allen 8032080a0e On command for the background 2006-04-09 23:01:26 +00:00
AJ Kelly fa56a05974 new fallback graphics 2006-04-09 22:24:54 +00:00
Josh Allen 4e70de013d Hide server option field if there are no servers found 2006-04-09 21:50:19 +00:00
Josh Allen da5b02d2b6 Fix crashing if there are zero profiles defined 2006-04-09 21:49:42 +00:00
AJ Kelly 512322c11e fix MenuTimer location 2006-04-09 21:44:12 +00:00
AJ Kelly 6e18b7ab91 fix/remove rotation on MusicWheel 2006-04-09 21:42:48 +00:00
Josh Allen 9c94725477 Fix profile option screen.
Notepad kept changing the other line, hopefully it is still correct.
2006-04-09 16:54:14 +00:00
Glenn Maynard 46c1b2ac05 oops. Do keep the non-offset beat around, and use it for actor effects.
(This should probably be used for more than this; this stuff needs a
cleanup ...)

(test case: pick a song with a stop near the beginning of the sample music,
eg. Fly With Me; no matter what the offset is set to, it should always show
the same pause on beat effects.  This could do so while honoring the offset,
but getting that right in GameSoundManager is very tricky, and it's usually
not important for non-gameplay cosmetics.)
2006-04-09 15:54:53 +00:00
Josh Allen 5843cb2f06 Fix MusicWheel 2006-04-09 05:52:25 +00:00
Glenn Maynard f486609781 if eip is NULL, don't put a NULL into the frame list and terminate it prematurely 2006-04-08 12:44:40 +00:00
Chris Danford f5f05d8e54 undo last 2006-04-08 01:52:37 +00:00
Chris Danford 7800b50fb6 hush debug logging 2006-04-08 01:36:40 +00:00
Chris Danford 31eaf9f39a put SGameplaySyncMachine in stepmania_bare 2006-04-07 23:18:07 +00:00
Chris Danford bb5c6bc9f6 shorter vsync explanation 2006-04-07 22:46:00 +00:00
Steve Checkoway f2b10c2441 Remove unused search paths. 2006-04-07 07:39:41 +00:00
Chris Danford 3132f177f3 show standard deviation 2006-04-06 19:54:07 +00:00
Chris Danford 16d20ab55e add num overwritten to language import string
localizable ScreenGameplaySyncMachine strings
2006-04-06 19:52:05 +00:00
Chris Danford 9cd3396c3e better French translations 2006-04-06 19:37:29 +00:00
Chris Danford 2f7286bf57 localize sync text 2006-04-06 19:34:26 +00:00
Glenn Maynard 62312463cb Remove old API restriction. (I've had this sitting in my WC for so long
I don't remember why I needed it, but it's an arbitrary restriction, anyway.)
2006-04-06 09:43:44 +00:00
Glenn Maynard fe00ec613c move out of PrefsManager 2006-04-06 09:39:29 +00:00
Steve Checkoway c7131c1b8c Use ~/Library/Preferences instead of ~/Library/Application Support. 2006-04-06 05:55:58 +00:00
Chris Danford c4b75aee2a print number of overwritten strings 2006-04-06 03:10:00 +00:00
Glenn Maynard 663d6cc787 typo 2006-04-05 22:19:10 +00:00
Glenn Maynard be5ff68d58 Fix race condition: thread->ThreadId is not necessarily assigned before
StartThread is run.
2006-04-05 06:45:03 +00:00
Glenn Maynard 185d3d902d It's RageDisplay::EndFrame()'s job to give up CPU between frames. Currently,
we're doing this partially in EndFrame (in FrameLimitBeforeVsync and/or the
actual vblank wait), and partially in RunGameLoop.  These serve the same
purpose, so merge them.

(The renderer itself should have more control over this, but this is an
improvement.)
2006-04-05 05:36:04 +00:00
Glenn Maynard fea9792fd6 %s fixes 2006-04-05 05:29:28 +00:00
Glenn Maynard fa01aef5f5 add "%s" mismatch check 2006-04-05 05:26:31 +00:00
Chris Danford 2040a81562 fix "in editor gameplay" strings 2006-04-05 05:21:14 +00:00
Chris Danford a123c84ccd fix manageprofiles, edit menu touchup 2006-04-05 04:59:40 +00:00
Chris Danford 353d736ef8 add "in editor gameplay" strings 2006-04-05 04:56:37 +00:00
Glenn Maynard df6d3fcc7e rare crash that I havn't been able to repro:
6d9ab2a0: StepMania!00000000
77d48734: USER32!GetDC [77d40000+86c7+6d]
77d4d05b: USER32!EnumDisplayMonitors [77d40000+cf63+f8]
77d4b4c0: USER32!DefWindowProcW [77d40000+b33c+184]
77d4cf9e: USER32!EnumDisplayMonitors [77d40000+cf63+3b]
7c90eae3: ntdll!KiUserCallbackDispatcher [7c900000+ead0+13]
77d4daf6: USER32!DestroyWindow [77d40000+daea+c]
005ddc02: void GraphicsWindow::DestroyGraphicsWindow(void)
005de55e: void GraphicsWindow::Shutdown(void)
7c917304: ntdll!LdrUnloadDll [7c900000+1718b+179]
006716eb: RageDisplay_D3D::~RageDisplay_D3D(void)

0x6d9ab2a0 lies within D3D8.DLL, which LdrUnloadDll unloaded.
2006-04-05 04:10:03 +00:00
Glenn Maynard 438ef9fbe1 cleanup 2006-04-05 03:08:42 +00:00
Chris Danford 74ecf45379 add Tiny (the same effect as the old Mini)
make calories less generous
2006-04-05 02:59:16 +00:00
Chris Danford 5ae5fdaefc easier troubleshooting 2006-04-05 02:29:57 +00:00
Glenn Maynard c2b7edcf2b make sure these are always initialized (don't know if this actually fixes anything;
copying writable files is rare)
2006-04-05 01:26:07 +00:00
Glenn Maynard d0ec837806 Prefer the current steps/trail, when possible. 2006-04-05 01:16:45 +00:00
Glenn Maynard a6479cfc12 simplify 2006-04-05 01:07:53 +00:00
Glenn Maynard b4dd9bdedd style 2006-04-05 01:01:01 +00:00
Glenn Maynard 6ba2425d96 unused 2006-04-05 00:56:31 +00:00
Steve Checkoway e13fc56198 Initial linux ppc backtrace implementation. 2006-04-05 00:49:56 +00:00
Glenn Maynard 79a9377506 title is "language"; explanation is "choose language" (explanation was
copied over title)
2006-04-05 00:18:55 +00:00
Glenn Maynard 0d4e8b44c2 Convert ACP strings from the OS that we show to the user. 2006-04-04 23:44:37 +00:00