Glenn Maynard
3be3534970
make sure m_pCurDisplay is updated
2006-02-01 06:27:55 +00:00
Glenn Maynard
57cc9f7c84
release no longer needed noteskins
2006-02-01 06:25:00 +00:00
Glenn Maynard
8b15de1a05
fix note skin changing in the editor menu
2006-02-01 06:22:35 +00:00
Glenn Maynard
73b126e89d
allow calling m_pNoteField->CacheAllUsedNoteSkins for Player
2006-02-01 06:18:09 +00:00
Glenn Maynard
b5d8f28d1f
make CacheAllUsedNoteSkins available
2006-02-01 06:16:12 +00:00
Glenn Maynard
94f0997f83
CacheNoteSkin() is internal
2006-02-01 06:02:50 +00:00
Glenn Maynard
0d1badf18e
simplify
2006-02-01 05:57:30 +00:00
Glenn Maynard
dc4e634186
cleanup
2006-02-01 05:57:29 +00:00
Glenn Maynard
63fbb804da
clarify
2006-02-01 05:49:55 +00:00
Glenn Maynard
a6475109a3
fix up STATE_RECORDING_PAUSED; make this clearer
2006-02-01 05:47:50 +00:00
Glenn Maynard
7a1da2cd5b
typo
2006-02-01 05:00:51 +00:00
Glenn Maynard
799f725ccb
Normally, the "fYReverseOffsetPixels" value to NoteField::Init
...
is the distance from the center of the field to the top and bottom.
To center record mode, we've been setting this to a low value.
That's different from every other place we use NoteField. Instead,
set it to a more typical value, and enable the "centered" modifier.
2006-02-01 04:59:38 +00:00
Glenn Maynard
5467ab21ed
remove GameState::GetUndisplayedBeats
2006-02-01 04:45:31 +00:00
Glenn Maynard
7ace9857af
remove pPlayerState param from Attack::GetAttackBeats
2006-02-01 04:44:34 +00:00
Glenn Maynard
4d248c29f8
GAMESTATE->GetUndisplayedBeats-based path is moved to GetRealtimeAttackBeats. This was confusing: one of the callers of GetAttackBeats passed NULL as pPlayerState, since it's not used in fStartSecond is >= 0. This also eliminates GAMESTATE->GetUndisplayedBeats; that code path was weird, since GetAttackBeats took a pSong, but GetUndisplayedBeats always used GAMESTATE->m_pCurSong.
2006-02-01 04:42:19 +00:00
Glenn Maynard
e8a956733a
use GetUndisplayedBeats
2006-02-01 04:39:19 +00:00
Glenn Maynard
6e8a6464ee
partial: split out GetRealtimeAttackBeats from GetAttackBeats
2006-02-01 04:37:20 +00:00
Glenn Maynard
fa5f51a637
cleanup
2006-02-01 04:35:37 +00:00
Glenn Maynard
8297c213c8
honor zoom value in editor components of NoteField
2006-02-01 04:34:32 +00:00
Glenn Maynard
3031f4816f
fix comment
2006-02-01 04:33:12 +00:00
Glenn Maynard
0017b79116
move DelayedScreenLoad
2006-01-31 05:33:58 +00:00
Glenn Maynard
0081134bc6
simplify. (It's not obvious what this subtracting of, typically, 1/16 is actually doing ...)
2006-01-31 03:51:36 +00:00
Glenn Maynard
a3615bf11a
cleanup
2006-01-30 23:10:02 +00:00
Glenn Maynard
16bd1d06cb
const
2006-01-30 22:51:01 +00:00
Glenn Maynard
3507956b71
remove ScreenTest
2006-01-30 09:18:03 +00:00
Glenn Maynard
53aafd7bd1
cleanup
2006-01-30 09:16:47 +00:00
Glenn Maynard
7dbb26ca3f
remove unused PushScreen
...
hide MakeNewScreen
2006-01-30 09:15:40 +00:00
Glenn Maynard
f96c1296d1
simplify
2006-01-30 08:08:04 +00:00
Glenn Maynard
cb0c7ce59d
Set up tsDestination directly. It doesn't make sense for a
...
function named "UpdateEnabledDisabled" to do this, and we
don't need to delay it anymore as GetWidthXY says (that was
before we moved the text into a frame).
2006-01-30 08:06:31 +00:00
Glenn Maynard
e89b93ba21
fix 0 tween length causing editor options menus to flicker
...
at y = 0 for one frame
2006-01-30 08:01:54 +00:00
Glenn Maynard
f8d8abfb41
simplify
2006-01-30 07:29:49 +00:00
Glenn Maynard
012c3f5d46
always use ScreenMiniMenu::MiniMenu, not LoadMenu directly
2006-01-30 07:18:34 +00:00
Glenn Maynard
608bd48087
preload
2006-01-30 07:16:32 +00:00
Glenn Maynard
ea6d795cfe
Use ScreenManager's preload logic.
2006-01-30 07:14:28 +00:00
Glenn Maynard
f7bd5862ac
remove unused
2006-01-30 07:10:10 +00:00
Glenn Maynard
57947b2252
Use ScreenManager's preload logic, instead of manually loading
...
a bunch of screens.
2006-01-30 07:09:25 +00:00
Glenn Maynard
3229a7fbf4
Use ScreenManager's preload logic, instead of manually loading
...
a bunch of screens.
2006-01-30 06:59:15 +00:00
Glenn Maynard
2e233173d5
preload ScreenMiniMenuContext
2006-01-30 06:25:19 +00:00
Glenn Maynard
d0f3ea9225
Class=ScreenMiniMenu
2006-01-30 06:22:31 +00:00
Glenn Maynard
de51c9a9ce
use ScreenTextEntryVisual
2006-01-30 06:16:17 +00:00
Glenn Maynard
1e2c3e345b
simplify
2006-01-30 06:06:59 +00:00
Glenn Maynard
205d799df2
like ScreenTextEntry, let SManager handle the screen loading
2006-01-30 06:03:24 +00:00
Glenn Maynard
5995043bf0
Don't play the Start sound in SM_BeginFadingOut. It might
...
have been triggered by something that just played a sound,
or the screen might want to play a different sound. It's
not SM_BeginFadingOut's job to play a sound.
(fixes double-start sound when "next screen" options are
selected from context menus in ScreenOptionsManage*)
2006-01-30 05:41:46 +00:00
Glenn Maynard
0a5a9edc6e
fix weird stoptweening behavior
2006-01-30 05:23:58 +00:00
Glenn Maynard
e272b5a029
remove some use of pn
2006-01-30 05:01:00 +00:00
Glenn Maynard
f55a400e7d
cleanup
2006-01-30 04:58:14 +00:00
Glenn Maynard
569e3ed4a5
Player::Init isn't called every song; Load is
2006-01-30 04:51:01 +00:00
Glenn Maynard
5bd65a0212
spacing
2006-01-30 04:16:48 +00:00
Glenn Maynard
d9a8e42fa1
Disable laying tap attacks, remove dupe.
2006-01-30 04:09:00 +00:00
Glenn Maynard
3cb8d75cfc
Disable keys inappropriate for home mode. Disable laying tap attacks.
2006-01-30 04:00:14 +00:00
Glenn Maynard
0740b81efb
cleanup
2006-01-30 03:07:02 +00:00
Glenn Maynard
badc6a06b3
cleanup
2006-01-30 02:53:18 +00:00
Glenn Maynard
e2437933a1
cleanup
2006-01-30 02:45:01 +00:00
Glenn Maynard
0eaf05e8da
fix caps
2006-01-30 02:29:50 +00:00
Glenn Maynard
6b4f3e6c4f
For conformance with general expectations, use M_PI, not PI.
...
(This is in global.h, not RageUtil.h, because we include math.h in global.h, and
M_PI is generally associated with math.h. As some systems do provide it
in math.h, if we put it in RageUtil.h then we'll suffer breakage when people
on those systems use M_PI without including RageUtil.h.)
2006-01-30 01:18:42 +00:00
Glenn Maynard
bdbd8eac51
Split out visual keyboard text entry, to allow direct input only.
2006-01-29 00:49:23 +00:00
Glenn Maynard
4e544cf6d7
just init the keyboard text once
2006-01-29 00:24:38 +00:00
Glenn Maynard
eae358e67d
Entering text changes the answer text, but not the text on the keys.
2006-01-29 00:20:18 +00:00
Glenn Maynard
142a3863d6
Make ScreenTextEntry's transitioning more standard: call
...
StartTransitioningScreen, which runs TweenOffScreen and
then sends the message.
This is still a little unique, because it calls TweenOffScreen
on cancel. The general cancel paths are still rough, and need
refactoring. Piecemeal ...
2006-01-28 23:51:07 +00:00
Glenn Maynard
8d6dda13b6
cleanup
2006-01-28 23:47:21 +00:00
Glenn Maynard
150c4cb150
simplify
2006-01-28 23:29:15 +00:00
Glenn Maynard
0fe14c6940
cleanup
2006-01-28 23:19:26 +00:00
Glenn Maynard
da685371bb
cleanup
2006-01-28 09:08:39 +00:00
Glenn Maynard
013a756d0e
remove AllowOldKeyboardInput. If you're typing on a keyboard, why
...
would you want to enter text with arrow keys?
2006-01-28 06:42:27 +00:00
Glenn Maynard
555bcaf7e4
remove RageSoundResampler.cpp
2006-01-28 05:17:04 +00:00
Glenn Maynard
2d8fb8136a
remove RageSoundResampler
2006-01-28 04:55:56 +00:00
Glenn Maynard
4266965381
merge RageSoundResampler into RageSoundReader_Resample_Fast;
...
they're just different interfaces for the same thing
2006-01-28 04:53:35 +00:00
Glenn Maynard
2c9cfd46ee
fix off-by-one
2006-01-28 03:19:21 +00:00
Glenn Maynard
96daf3c7bd
cleanup
2006-01-28 02:59:54 +00:00
Glenn Maynard
a825cd027c
const
2006-01-28 02:10:24 +00:00
Glenn Maynard
35ce203137
themable
2006-01-27 23:38:19 +00:00
Glenn Maynard
258b476eb0
add note (for the day we drop VC6 and can make Copy covar)
2006-01-27 23:24:42 +00:00
Glenn Maynard
f4f326f893
implement concurrent rendering on X11. Still a little flickery when switching in and out of threaded mode; not sure why yet.
2006-01-27 09:21:43 +00:00
Glenn Maynard
4a2d23bcbe
Reuse the same concurrent rendering thread, instead of creating a new one, to work around a bug in the Linux nVidia drivers, where rendering will stop working after ~128 threads. Use BeginConcurrentRenderingMainThread/EndConcurrentRenderingMainThread.
2006-01-27 09:15:21 +00:00
Glenn Maynard
eb0e1f4295
add an overload which is called from the main thread, just before using the concurrent rendering thread
2006-01-27 09:13:03 +00:00
Glenn Maynard
f53f30f6cf
don't use bitwise ops as boolean ops
2006-01-27 08:19:53 +00:00
Glenn Maynard
24e016c397
split out CreateWindow
2006-01-27 08:17:29 +00:00
Glenn Maynard
dca00042c2
fix segfault when unbound keys are pressed
2006-01-27 08:15:46 +00:00
Glenn Maynard
d522ac5146
better assert
2006-01-27 02:00:47 +00:00
Glenn Maynard
322f713e89
cleanup
2006-01-27 00:59:42 +00:00
Glenn Maynard
89a1e0c79e
cleanup
2006-01-27 00:58:20 +00:00
Glenn Maynard
9b6d31b8e9
cleanup
2006-01-26 06:21:57 +00:00
Glenn Maynard
88f525bbca
converge keyboard mappings on this screen to one place
...
allow changing the global offset while in a course
2006-01-26 06:12:25 +00:00
Glenn Maynard
73afc606b5
reverse comment
2006-01-26 05:55:19 +00:00
Glenn Maynard
77937ea410
cleanup
2006-01-26 05:53:29 +00:00
Glenn Maynard
17ac1647fd
cleanup
2006-01-25 09:42:26 +00:00
Glenn Maynard
5ea602e4a2
hack to fix RowType_Exit in NAV_THREE_KEY_MENU
2006-01-25 09:38:58 +00:00
Glenn Maynard
15ede4e845
fix m_iVertSpacing in copy
2006-01-25 09:32:24 +00:00
Glenn Maynard
b62dd12a09
update
2006-01-25 06:26:38 +00:00
Glenn Maynard
e8c45e19c6
simplify
2006-01-25 06:25:11 +00:00
Glenn Maynard
f85136f2a8
fix up and simplify prepared screen logic
2006-01-25 06:24:22 +00:00
Glenn Maynard
0f113604b4
cleanup
2006-01-25 06:23:06 +00:00
Glenn Maynard
8afaed1ce0
cleanup
2006-01-25 06:19:29 +00:00
Glenn Maynard
09f84e916a
compile fix
2006-01-25 05:54:32 +00:00
Glenn Maynard
21bc8586cd
split out ScreenManager::ActivatePreparedScreenAndBackground (no real logic change)
2006-01-25 05:49:49 +00:00
Glenn Maynard
89b64ca257
do PushLoadedScreen earlier
2006-01-25 05:47:22 +00:00
Glenn Maynard
a4c8b8d91d
cleanup (remove old transition note)
2006-01-25 05:38:14 +00:00
Glenn Maynard
82f56ff696
Tween.cpp:29: warning: ‘struct TweenLinear’ has virtual functions but non-virtual destructor
2006-01-25 05:14:06 +00:00
Glenn Maynard
70f9566313
bind ConcurrentlyPrepareScreen
2006-01-25 05:10:40 +00:00
Glenn Maynard
27b6663832
fix HDC leak of 2 HDCs per LoadWin32Surface call
...
(this may be a permanent resource leak in Win98)
2006-01-24 21:32:43 +00:00