Commit Graph

19375 Commits

Author SHA1 Message Date
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
Glenn Maynard dddf6f48bb cleanup 2006-01-16 19:50:56 +00:00
Glenn Maynard 41b4efe581 detach handler before deleting them 2006-01-16 19:48:57 +00:00
Glenn Maynard 4601b52f80 scope 2006-01-16 19:47:57 +00:00
Glenn Maynard a6017e79d4 simplify 2006-01-16 19:44:07 +00:00
Glenn Maynard 080d0d5042 cleanup 2006-01-16 19:37:23 +00:00
Steve Checkoway 4f45c103f5 Remove libraries. Complete universal binaries can now be built. I can't test them though. 2006-01-16 07:39:51 +00:00
Steve Checkoway 2b60174182 Ignore any part of the file before src. gcc replaces __FILE__ with the name of the file as it was passed to it. Xcode invokes gcc with absolute paths. This makes crash logs slightly easier to read. 2006-01-16 07:39:04 +00:00
Steve Checkoway e06c1ce4e3 Update all libraries. In the process, I combined libvorbisfile.a and libvorbis.a; also liblualib.a and liblua.a. These are universal binaries. 2006-01-16 07:25:11 +00:00
Steve Checkoway 624a5bd525 Update README 2006-01-16 07:21:09 +00:00
Steve Checkoway 226780ddbb Simplify library creation process. Now just click build once here and put the files in the correct place as per the README. Universal binaries are created for all libraries and frameworks. 2006-01-16 07:20:56 +00:00
Steve Checkoway 87fe2f9e5e Missed one. 2006-01-16 06:04:41 +00:00
Glenn Maynard 7b637f923e unused 2006-01-16 05:13:32 +00:00
Glenn Maynard 8007b5d9f7 cleanup 2006-01-16 05:11:56 +00:00
Glenn Maynard e581d43cdb Move m_sprDisqualify to ScreenPlayerOptions. 2006-01-16 05:09:11 +00:00
Glenn Maynard 297878e379 unused 2006-01-16 04:48:10 +00:00
Glenn Maynard 20307748df cleanup 2006-01-16 04:46:36 +00:00
Glenn Maynard 67cb967ad3 overly abstracted 2006-01-16 04:44:29 +00:00
Glenn Maynard 08847b9bb1 cleanup 2006-01-16 04:43:21 +00:00
Glenn Maynard 21094d8066 not virtual 2006-01-16 04:39:02 +00:00
Glenn Maynard b812dba676 cleanup 2006-01-16 04:38:16 +00:00
Glenn Maynard b35e3448c7 cleanup 2006-01-16 04:36:17 +00:00
Glenn Maynard 9b2b22ffc0 overly abstracted 2006-01-16 04:35:00 +00:00