Commit Graph

107 Commits

Author SHA1 Message Date
Chris Danford c54214c1d2 On first run, run a gameplay benchmark and adjusts graphic options automatically for 60 fps. 2003-05-26 09:18:44 +00:00
Chris Danford 7f3b7b9162 reacquire D3D device when lost in full screen (user alt+tabs out) 2003-05-24 05:44:31 +00:00
Chris Danford 27ec5c48ab make stats text semi-transparent 2003-05-24 00:37:38 +00:00
Chris Danford 40ce429ab6 re-apply ScreenSystemLayer::Credits metrics when switching themes 2003-05-05 05:18:37 +00:00
Chris Danford 32fba812b4 Add metrics for credits text 2003-05-05 05:00:40 +00:00
Glenn Maynard c6115c79b9 remove trace 2003-04-25 08:27:58 +00:00
Glenn Maynard efd24b3e8c Er. Clear the texture cache before loading the new screen. 2003-04-25 04:16:34 +00:00
Glenn Maynard c382823488 Add an option to delay screen loads until after we've deleted the
old screen.  This means that we may unload resources when we'll
need them immediately, but lowers the memory usage peak considerably
for very low-memory machines.
2003-04-25 03:41:38 +00:00
Glenn Maynard fe33dec385 Partial s/GetString/c_str/.
(watch out for PlayerOptions::GetString and SongOptions::GetString)
2003-04-25 00:01:35 +00:00
Glenn Maynard e009925ca3 output texture info 2003-04-24 19:51:27 +00:00
Glenn Maynard 877b3e771c don't GC constantly 2003-04-24 19:42:06 +00:00
Glenn Maynard 118f089a86 Clear textures after deleting a screen, not before making a new one;
after all, that's when new textures are going to be ready to be deleted.
2003-04-24 19:26:06 +00:00
Chris Danford 9aa6a8ab89 revert event mode 2003-04-19 19:05:25 +00:00
Chris Danford 74d7bcd2bf Revamp texture caching system 2003-04-18 23:55:20 +00:00
Chris Danford 85c9e8a89e repositioned MenuElements "play sound on first update" hack inside of Transition where it belongs 2003-04-13 06:29:02 +00:00
Chris Danford 82199383a8 Change event mode to a CoinMode (since using COIN_PAY and EventMode at the same time doesn't make sense).
Split ScreenLogo and ScreenTitleMenu.
In ScreenTitleMenu, add a different animation if using COIN_HOME (for SMMAX2).
Added codes at TitleMenu to change Theme and Announcer.
2003-04-13 04:50:08 +00:00
Chris Danford 448bdc7b6e make calls to THEME->GetPathTo() more concise 2003-04-12 17:39:27 +00:00
Chris Danford e148806d1b add name to Actor 2003-04-12 06:16:12 +00:00
Chris Danford cf8f069abd fix TweenOffScreen animation for GrooveRadar, MusicWheel 2003-04-03 22:34:22 +00:00
Chris Danford 214c2b67af clean up Fonts and Numbers names 2003-03-30 18:12:57 +00:00
Glenn Maynard 2e8654909a Remove Invalidate and Restore from Actor, Screen and ScreenManager.
They don't do anything, and they're never called; I think they're
D3D hangovers.

Don't make Actor::DrawPrimitives pure virtual.  It's useful to make
Actors that don't draw anything, and only receive updates, to modularize
functionality, such as TimingTip.  This also makes Actor::GetCommandLength
somewhat less of a heinous hack.
2003-03-28 00:49:01 +00:00
Chris Danford 1627422e09 fix ScreenEvaluationCourse glitches
Change ScreenManager message sending methods for more precise control:
 - SendMessageToTopScreen: handle the message immediately
 - PostMessageToTopScreen: post message to queue for processing next update
2003-03-25 21:17:29 +00:00
Glenn Maynard 7d3ef82ff5 add a hack to Update(0) when the screen isn't on the stack 2003-03-17 01:12:58 +00:00
Chris Danford ccb722c182 Fix Player2's highlight showing in ScreenPlayerOptions when not joined. 2003-03-16 22:51:29 +00:00
Chris Danford ad34d417f6 Get rid of some global strings to (shrinks release exe size by 3.5MB) 2003-03-15 19:25:37 +00:00
Glenn Maynard 7f8e3b3886 Add skip detection when timestamping is on
(could be split off)
2003-03-15 02:44:54 +00:00
Glenn Maynard 23817566b8 Move ScreenManager actors into a separate screen, to unclutter
ScreenManager, and so it can use AddChild
2003-03-15 00:02:54 +00:00
Chris Danford 4a239b0c35 fixed some ScreenGameplay transition glitches
fix cracks in BGAnimation tiles (mostly)
2003-03-12 01:26:44 +00:00
Chris Danford 89040e1ba1 fix glitches in ScreenSelectGroup and ScreenSelectStyle 2003-03-10 02:29:01 +00:00
Chris Danford 31aa613295 Cleanup of theme element names
Renamed ScreenSelectMax* back to their old names
Replaced all hard-coded transitions with TransitionBGAnimations
2003-03-09 00:55:49 +00:00
Glenn Maynard 8d47a3e57e Add log timestamping. This lets us check the time when something
odd happens (eg. a skip), and see if anything happened in the log
at that time after we quit.
2003-03-07 04:48:13 +00:00
Glenn Maynard ef33416418 remove old comment 2003-03-04 23:06:11 +00:00
Chris Danford 0adf3d8590 cleanup of ScreenSelect 2003-03-03 10:03:02 +00:00
Chris Danford fc2108e85d fixed EditMenu "Create from Autogen" weirdness
cleaned up some unnecessary header dependencies
2003-02-22 01:58:56 +00:00
Kevin Slaughter 69f51bd394 Checked in files for ScreenSelectDifficultyEX 2003-02-21 10:05:13 +00:00
Chris Danford 848ad6e2be clean up detection and handling of drivers with problematic AA lines
only draw topmost screen if topmost screen isn't transparent (speeds up options menus in editor)
optimized beat bar drawing in NoteField
2003-02-20 21:22:18 +00:00
Tim Hentenaar 9b0f6baef2 misc. fixes 2003-02-19 23:53:19 +00:00
Kevin Slaughter 1141e886b8 Added new screen for internal sound volume adjustment. Also, at the request of several people, I moved the `Config Key/Joy' entry into the OPTIONS/OPERATOR menu.. I was told, and agree, that it seems more appropriate to have it in there instead 2003-02-19 10:58:32 +00:00
Chris Danford e6273f1db3 more work on editor 2003-02-19 05:46:09 +00:00
Chris Danford ac9e58f760 overhauling editor UI 2003-02-18 23:15:38 +00:00
Glenn Maynard 42cfd6f98c stdafx -> global 2003-02-16 04:01:45 +00:00
Kevin Slaughter de2602ccba Operator & InsertCoin keys are now configurable like any other menu key, and are still global (effective on any screen). many other misc bug fies and changes. see TODO.miryokuteki 2003-02-12 11:43:08 +00:00
Glenn Maynard 3a13724a70 Cleanups:
Don't use variables that start with an underscore.  They're reserved
for the system.

Using single-letter variable names is fine for simple for() counters,
but don't use them for real variables.  Here you probably meant
"Coins", "CoinsPerCredit" (const) and "Remainder".

Er, you're implementing div and mod iteratively.  :)
2003-02-12 07:52:20 +00:00
Kevin Slaughter c8745d1b47 Updates, new joint premium advertisin implemented.. also global operator key, and global credit key.. see my TODO file. I have talked with chris, the global credit key will soon be able to be changed in the map inputs.. the one in there now has no bearing on the gloal key. 2003-02-12 06:25:51 +00:00
Chris Danford 7b644e834a Added ScreenJukeboxMenu, and UI cleanup. 2003-02-11 02:20:38 +00:00
Andrew Livy 2ebb67f358 Pump - Style Splash Screens implemented, Evaluation endscreen metricable (i.e. Pump doesn't have a scoreboard, so we can now bypass it) 2003-02-08 17:07:18 +00:00
Chris Danford 57f0a820a1 cosmetic cleanup, changed default texture color to 16bits 2003-02-02 09:09:29 +00:00
Chris Danford 6f445f700f more options re-org 2003-02-01 01:11:00 +00:00
Chris Danford e80943fb53 options menu re-organization to solve TitleMenu clutter 2003-01-31 23:31:35 +00:00
Chris Danford 7c470cf9c8 added ScreenJukebox 2003-01-31 21:34:34 +00:00