Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 514dd69f13 temp revert: this returns [0,n), not [0,n] (fixes crashes) 2006-03-28 12:47:54 +00:00
Glenn Maynard 8d6c634d1e clear these; they're global (though we won't create two RageDisplay_D3D
objects in one run)
2006-03-28 12:24:00 +00:00
Glenn Maynard 800ec64460 remove old 2006-03-28 10:19:47 +00:00
Glenn Maynard 3e20c357ad fix wrong options positions when memory cards inserted 2006-03-28 10:18:45 +00:00
Glenn Maynard 71a4067948 rename 2006-03-28 10:10:44 +00:00
Glenn Maynard 4306178913 sOsMountDir can be long--a mountpoint in Linux and OSX. (It can also
be in NT, but we don't support that yet.)  Move it to a separate text.
2006-03-28 10:03:22 +00:00
Glenn Maynard 626cee92af comment 2006-03-28 09:57:31 +00:00
Glenn Maynard d58f58bd88 Fix ScreenOptions::RestartOptions doesn't call AfterChangeRow.
(AfterChangeRow calls AfterChangeValueOrRow.)
2006-03-28 09:56:31 +00:00
Glenn Maynard b02e382975 style 2006-03-28 09:34:10 +00:00
Glenn Maynard ee9c292b09 Implement GlobalOffsetSeconds in GameState::UpdateSongPosition,
not TimingData.  TimingData is a simple data structure, and shouldn't
be affected by hardware tweaks.  This is also easier to bypass in cases
we don't want GlobalOffsetSeconds.

Don't adjust assist tick by GlobalOffsetSeconds.
2006-03-28 09:28:55 +00:00
Glenn Maynard 8d3253442c remove GetBeatAndBPSFromElapsedTime compat 2006-03-28 08:58:30 +00:00
Glenn Maynard 5bcccc78b0 Sometimes, the sync changes negligibly due to rounding error when the user
puts it back where it was.  Use the same logic as GetSyncChangeTextGlobal
and GetSyncChangeTextSong; if the changes are so small that we wouldn't
even display them, don't count them as changed.  (fixes ScreenSaveSync
coming up with an empty list)
2006-03-28 07:26:37 +00:00
Glenn Maynard f4b2e204d6 style cleanup 2006-03-28 06:23:01 +00:00
Glenn Maynard 50bfbb722d Mount Logs to My Documents. The program directory may not be writable. 2006-03-28 06:06:48 +00:00
Glenn Maynard a5453d9652 remove (added twice) 2006-03-28 06:01:24 +00:00
Glenn Maynard f646918959 cleanup 2006-03-28 05:42:38 +00:00
Glenn Maynard b0eb0623de Log pContext->Eip. That way, even if we can't get anything out of the stack,
we always get at least the current address.
2006-03-28 04:58:31 +00:00
Glenn Maynard dfdf04e1c0 Move logs into a subdirectory, so they're easier to relocate with mods. 2006-03-28 02:13:08 +00:00
Glenn Maynard a212b8b873 missing exception name 2006-03-27 20:47:09 +00:00
Glenn Maynard 52ec9b3737 The half-pixel offset fix has been in world space: the theme's resolution
is usually 640x480, and we shifted by -0.5x-0.5 there.  That works for 640x480,
but is incorrect for other resolutions.  Do this in projection space, just like
the centering matrix.

An easy way to test this is to set 1280x960 (2x resolution), create a 1280x960
texture, and display it fullscreen in-game.  Just like at 640x480 with a 640x480
graphic, the texture should be displayed pixel-for-pixel identically to the source
(when in 32-bit).
2006-03-26 22:06:19 +00:00
Glenn Maynard 7b17d06133 split out GetCenteringMatrix 2006-03-26 21:59:29 +00:00
Glenn Maynard d419a65187 bind UnlockEntryIndex 2006-03-26 07:14:44 +00:00
Glenn Maynard 7bc5db6666 This doesn't work: the memory card thread can use Lua, so this
deadlocks.  Use MemoryCardProfiles instead.
2006-03-26 06:48:45 +00:00
Glenn Maynard 262db5e46d Add MemoryCardProfiles. This allows enabling memory cards without
using them for profiles.
2006-03-26 06:43:35 +00:00
Glenn Maynard b7d200c4e1 m_textDebug OnCommand 2006-03-26 06:22:00 +00:00
Glenn Maynard 6b24dd0309 cleanup 2006-03-26 06:09:12 +00:00
Glenn Maynard 3a80542460 propagate deprecated 2006-03-26 06:07:21 +00:00
Glenn Maynard db3ea69aac Add PlayCommandOnChildren. This obsoletes "propagate". 2006-03-26 06:04:29 +00:00
Glenn Maynard 3943a06255 use GetCommand 2006-03-26 06:02:37 +00:00
Glenn Maynard ab08e39204 return a pointer from Actor::GetCommand, so the command not existing
isn't fatal
2006-03-26 05:53:20 +00:00
Glenn Maynard 458b31b7db fix using a different card than was selected by default uses the old one's state (eg. write test error) 2006-03-26 05:11:06 +00:00
Glenn Maynard 2051b60444 unused 2006-03-26 04:56:12 +00:00
Glenn Maynard 6e520a5678 const 2006-03-26 04:52:59 +00:00
Glenn Maynard f6978880a9 split out UpdateAssignments 2006-03-26 04:51:47 +00:00
Glenn Maynard 830103592a cleanup 2006-03-26 04:50:33 +00:00
Glenn Maynard 41bfd277a5 cleanup 2006-03-26 04:16:57 +00:00
Glenn Maynard d37daab68c move out of PrefsMan 2006-03-26 04:12:17 +00:00
Glenn Maynard f93db25802 Systems with many unbuffered joystick devices may send 50 presses
per frame.  Use a large value, so we only trigger as a diagnostic for
broken RageInputDrivers.
2006-03-26 01:42:37 +00:00
Glenn Maynard acaf66b6c9 split scanning of devices from finding information about them 2006-03-25 05:03:45 +00:00
Glenn Maynard e096d513a8 construct device earlier 2006-03-25 03:50:44 +00:00
Glenn Maynard f943225636 better warnings 2006-03-25 03:49:35 +00:00
Glenn Maynard 7e127ea542 uppercase (cosmetic) 2006-03-25 03:48:32 +00:00
Glenn Maynard 8fb7b2fbc5 typo 2006-03-24 18:32:31 +00:00
Glenn Maynard 780eeece46 typo 2006-03-24 18:29:40 +00:00
Glenn Maynard d511842196 fix error fallback 2006-03-24 18:29:08 +00:00
Glenn Maynard 84331c3d1b cleanup 2006-03-24 18:28:03 +00:00
Glenn Maynard 640896d1de unused 2006-03-24 18:25:59 +00:00
Glenn Maynard 7ab439ebb2 fix memory leak 2006-03-24 18:20:35 +00:00
Glenn Maynard c7b6b038c5 fix assert if P2 doesn't match any options and P1 is active 2006-03-24 18:16:28 +00:00
Glenn Maynard fcab277ec9 keep this around as a reminder; this doesn't matter for normal clocks, but it's not good for CLOCK_MONOTONIC 2006-03-23 21:45:53 +00:00
Glenn Maynard efe1c3b57f simplify 2006-03-19 04:27:03 +00:00
Glenn Maynard ae3deb9a71 unused 2006-03-19 04:22:32 +00:00
Glenn Maynard 9157bff3aa remove m_sprAnswerBox 2006-03-19 04:20:58 +00:00
Glenn Maynard 07ddb97215 fix Update 2006-03-19 02:32:51 +00:00
Glenn Maynard 4c1e9ed6bb split out ScreenTestInput components 2006-03-19 02:06:31 +00:00
Glenn Maynard adae68f5f3 Coordinates are floats, but our maximum resolutions should always be
integers.

In 640x480 (4:3), with a 16:10 display, we were getting a 767.999939 width,
instead of 768, which truncated to 767.  Round the value consistently, so
we always get 768x480.
2006-03-17 02:52:00 +00:00
Glenn Maynard 1fd4b7f05f Use bFailed , not bFailedEarlier. That way, you can't get a Failed grade
in FailOff (that's what FailOff means: you can't fail).  This also means you won't
get an F if you bottom out in TwoPlayerRecovery; that's OK.
2006-03-17 01:50:28 +00:00
Glenn Maynard 3d4f335330 unused 2006-03-16 09:07:08 +00:00
Glenn Maynard 575061c4c1 cleanup 2006-03-16 07:36:27 +00:00
Glenn Maynard e0c8a8ebc7 fix HandleSongTimer not reset 2006-03-16 07:35:47 +00:00
Glenn Maynard 3699674088 add EndScreen(), symmetric with BeginScreen 2006-03-16 05:38:47 +00:00
Glenn Maynard 72c25d79d9 now this seems backwards. Something else is funky ... 2006-03-16 00:50:47 +00:00
Glenn Maynard 99d3a9486c extra period 2006-03-16 00:49:51 +00:00
Glenn Maynard b3884dbb01 cleanup (and don't ignore m_Cancel) 2006-03-15 21:41:26 +00:00
Glenn Maynard 068b9f2bf6 remove trailing spaces 2006-03-15 05:02:09 +00:00
Glenn Maynard fb26cec6da OnBnClickedCheckLanguage 2006-03-15 00:25:06 +00:00
Glenn Maynard 93cda5e73e add IDC_CHECK_LANGUAGE 2006-03-15 00:24:14 +00:00
Glenn Maynard f063766a4d fixes 2006-03-14 23:57:20 +00:00
Glenn Maynard f15bafe546 fixes 2006-03-14 23:55:57 +00:00
Glenn Maynard f74b9d6321 fixes 2006-03-14 23:48:31 +00:00
Glenn Maynard 2c8e833b62 fixes 2006-03-14 23:39:52 +00:00
Glenn Maynard 317af98083 fixes 2006-03-14 23:25:16 +00:00
Glenn Maynard e4b0840ef6 fix quotes 2006-03-14 22:18:10 +00:00
Glenn Maynard f5b6a12efa fix quotes 2006-03-14 22:14:24 +00:00
Glenn Maynard 7d62db236e stop outputting pdb to a weird place 2006-03-14 22:05:43 +00:00
Glenn Maynard 6ddc84613d fix d3d output off by one pixel 2006-03-14 07:33:46 +00:00
Glenn Maynard ddb155858c fix "hold start to give up" stays on screen if the button was pushed before
we ended a course song, and triggered after
2006-03-14 06:01:03 +00:00
Glenn Maynard 3050906da6 cleanup 2006-03-14 05:47:51 +00:00
Glenn Maynard 65f71ee688 remove UseForcedModifiersInBeginner 2006-03-14 05:47:16 +00:00
Glenn Maynard 3e919cca40 textSyncInfo OnCommand 2006-03-14 05:40:45 +00:00
Glenn Maynard 313c722da3 remove UseForcedModifiersInBeginner 2006-03-14 05:39:57 +00:00
Glenn Maynard 8c40e1fb1b remove UseForcedModifiersInBeginner 2006-03-14 05:39:08 +00:00
Glenn Maynard 5e5d451480 fix assert on saved mods 2006-03-14 03:35:43 +00:00
Glenn Maynard 974bcafc4a fix ApplyGameCommand(pn) 2006-03-14 03:10:43 +00:00
Glenn Maynard 84226e5d27 cleanup 2006-03-14 02:23:45 +00:00
Glenn Maynard a386eb32c4 use standard screen paths 2006-03-13 23:11:30 +00:00
Glenn Maynard 5b9bb999c0 cleanup 2006-03-13 23:10:22 +00:00
Glenn Maynard e6bfc856b2 pull out standard ScreenPrompt::TweenOffScreen 2006-03-13 23:05:47 +00:00
Glenn Maynard 0b5d587a89 fix leftover text 2006-03-13 22:58:31 +00:00
Glenn Maynard 5e49ad7a01 cleanup 2006-03-13 11:47:41 +00:00
Glenn Maynard 7b1ea8af22 do this with ActorSound 2006-03-13 09:52:12 +00:00
Glenn Maynard 207973f3da group "play" 2006-03-13 09:03:02 +00:00
Glenn Maynard a85ba734d6 fix play_selection assertion if no selection 2006-03-13 08:59:32 +00:00
Glenn Maynard bd896acff2 remove IDC_RESULT_ID 2006-03-13 08:55:26 +00:00
Glenn Maynard 32dfaac9a8 Display PRODUCT_FAMILY. PRODUCT_ID is just for IDs, like registry entries. 2006-03-13 08:52:51 +00:00
Glenn Maynard 17d4d8bc44 cleaner/more consistent report id 2006-03-13 08:48:32 +00:00
Glenn Maynard 4eb0b1f86e wider range of speeds available 2006-03-13 07:46:02 +00:00
Glenn Maynard c1407d6386 remove spaces 2006-03-12 10:41:32 +00:00
Glenn Maynard 4811d8123c no space after :: 2006-03-12 07:56:08 +00:00
Glenn Maynard 2f432fd335 entities 2006-03-12 07:54:55 +00:00