Charles Lohr
86b8d28607
Style? Is this better?
2006-01-17 07:09:29 +00:00
Charles Lohr
faab333fe1
Style
2006-01-17 06:58:06 +00:00
Glenn Maynard
a629be2800
style
2006-01-17 06:51:22 +00:00
Steve Checkoway
2381b3f5e9
Cleanup. While I'm at it, might as well skip the "src/" too.
2006-01-17 06:50:34 +00:00
Steve Checkoway
fb18491df2
Optimize for size. Apple's engineers swear that the improved cache hits as a result more than makes up for not using -O3.
2006-01-17 06:14:23 +00:00
Charles Lohr
e86cad1234
Fix SMOnline in StepMania
2006-01-17 06:11:22 +00:00
Steve Checkoway
aba14a568f
Oops, need to copy the mad framework still.
2006-01-17 06:11:00 +00:00
Steve Checkoway
ec789f1473
Use a buffered window. This fixes the last of the GUI issues. Allows resizing and is very careful to update the graphics context only in the main thread (in this case, SM's main thread, not the GUI thread). It does so by managing the NSOpenGLContext explicitly rather than using NSOpenGLView to do it for us.
2006-01-17 06:10:33 +00:00
Glenn Maynard
45d3dff2d6
partial fix for re-using SPO
2006-01-17 05:41:17 +00:00
Glenn Maynard
9e5c128980
simplify
2006-01-17 05:38:02 +00:00
Glenn Maynard
df5c6b2b83
cleanup
2006-01-17 05:25:26 +00:00
Glenn Maynard
473a985512
const
2006-01-17 05:24:42 +00:00
Jason Felds
d5317492ff
Dump the ternary conditional completely. The end result: easier to read code that works on more compilers.
2006-01-17 04:26:51 +00:00
Steve Checkoway
6edba40152
Do neither. Just copy the value.
2006-01-17 04:20:02 +00:00
Glenn Maynard
9404d25a0e
cleanup
2006-01-17 03:25:25 +00:00
AJ Kelly
05cfb258b7
ScreenSelectDifficulty info graphics
2006-01-17 02:47:22 +00:00
Glenn Maynard
5e010c8f23
minor style tweaks
2006-01-17 02:08:32 +00:00
AJ Kelly
ac27f01acd
ScreenEvaluation headers + BeginnerHelper graphics
2006-01-17 02:06:39 +00:00
Glenn Maynard
b1015f0458
We allow this in Windows, and I don't see any reason to disallow it ...
2006-01-17 02:03:07 +00:00
Glenn Maynard
918dac41ab
cleanup
2006-01-17 02:00:27 +00:00
Glenn Maynard
4593124978
seems clearer this way
2006-01-17 01:49:18 +00:00
Glenn Maynard
defe191939
simplify
2006-01-17 01:45:39 +00:00
Glenn Maynard
6743af617e
try again
2006-01-17 01:44:47 +00:00
Glenn Maynard
4e2a691e47
implement frame limiting in OGL
2006-01-17 01:43:11 +00:00
Glenn Maynard
af409260eb
fix GraphicsWindow::GetParams doesn't return the actual refresh
...
rate
2006-01-17 01:42:17 +00:00
Jason Felds
28dc73775c
Fix ternary conditional.
2006-01-17 01:34:21 +00:00
Glenn Maynard
c17c03b4f0
static
2006-01-17 01:28:24 +00:00
Glenn Maynard
8c78a40703
Implement concurrent rendering in OpenGL in Windows. (D3D already
...
worked.) It's still off by default.
2006-01-17 01:27:29 +00:00
Glenn Maynard
a96b8fa350
call concurrent rendering hooks
2006-01-17 01:25:14 +00:00
Glenn Maynard
35b4fef38e
add concurrent rendering hooks
2006-01-17 01:24:40 +00:00
AJ Kelly
9ac6256279
finishing off MemoryCardDisplay icons + SelectDifficulty header from original SZ
2006-01-16 23:47:50 +00:00
Chris Danford
933da6e9d0
Sprite -> AutoActor
2006-01-16 23:17:32 +00:00
Glenn Maynard
45c359651b
cleanup
2006-01-16 23:04:27 +00:00
Glenn Maynard
002ccb6bcb
remove empty dtor
...
private
2006-01-16 23:00:03 +00:00
Glenn Maynard
3c63e09ca3
Previously, OptionRowHandler was owned and freed by
...
ScreenOptionsMaster (and ScreenOptionsManageProfiles).
Make it owned by OptionRow; the only pointer to them
is where they're stored in the OptionRow. This
eliminates the remaining association between m_OptionRowHandlers
and m_pRows; that was confusing, because they're in
different places, and aren't always the same size. It
also simplifies using OptionRowHandlers.
2006-01-16 22:55:57 +00:00
Glenn Maynard
3f60d2e26a
I'm not sure what case BeginFadingOut wouldn't run SM_BeginFadingOut.
...
The NextScreen metric would have to be blank, and there aren't any
blank NextScreen metrics.
Move this handling into SM_BeginFadingOut itself. Handle the case
of a blank NextScreen with a warning.
2006-01-16 22:42:11 +00:00
Glenn Maynard
b1c4fc168a
cleanup
2006-01-16 22:38:53 +00:00
Glenn Maynard
0c949f7757
overload LoadInternal, not Load
2006-01-16 22:22:50 +00:00
Glenn Maynard
9f50c2aa5f
cleanup
2006-01-16 22:22:29 +00:00
Glenn Maynard
031d359e98
remove redundant conditional
2006-01-16 22:11:22 +00:00
Glenn Maynard
b3643f2451
This isn't reachable; we'll always exit through the bEndThisScreen path.
...
Actually, this changed behavior a little, if a screen was in NAV_THREE_KEY_MENU
and used SELECT_MULTIPLE rows. That combination doesn't make much sense,
though; you'd have to press start on MULTIPLE rows and right on SELECT_ONE
rows. That NAV mode is meant for SELECT_NONE.
2006-01-16 21:50:11 +00:00
Glenn Maynard
786d8a4d96
cleanup
2006-01-16 21:44:04 +00:00
Glenn Maynard
282ef1a9e4
When start is pressed or repeated, and we'd normally BeginFadingOut,
...
we'd set bEndThisScreen to false and continue on. Instead, if we
were going to set a new screen, but stopped because we're transitioning
or the button was a repeat, just ignore it. This eliminates an obscure
code path.
2006-01-16 21:41:50 +00:00
Glenn Maynard
d9c4c62bc2
Allow NAV_THREE_KEY_MENU rows to do something other than set a screen,
...
in which case we'll apply it and stay on the menu.
2006-01-16 21:33:23 +00:00
Glenn Maynard
fac88fb0fe
make dupe the ExportOptions loop look like the one in ScreenOptions
2006-01-16 20:59:11 +00:00
Glenn Maynard
dde02a286e
split out ScreenOptions::GetNextScreenForSelection
2006-01-16 20:39:52 +00:00
Glenn Maynard
5320b3e92e
OptionRowHandlers were originally exclusive to SOMaster, but
...
they're accessible by SOptions now, too. Move this slightly
tricky next-screen logic into SOptions, since it can apply
to any screen that sets OptionRowHandlers.
(Actually, this doesn't really belong in BeginFadingOut, since
it's not called "MaybeBeginFadingOutDependingOnTheCurrentOption".
Maybe this should be done in ExportOptions, I'm not sure yet,
but this is a step in the right direction.)
2006-01-16 20:30:55 +00:00
Glenn Maynard
0d5f75e736
const
2006-01-16 20:30:19 +00:00
Glenn Maynard
d1f82038d1
simplify
2006-01-16 20:02:42 +00:00
Glenn Maynard
27cdcd6b3e
const
2006-01-16 19:58:22 +00:00