Commit Graph

116 Commits

Author SHA1 Message Date
Glenn Maynard c15e0cec49 Allow screen aliasing. 2003-09-27 22:30:51 +00:00
Glenn Maynard 2f42bace0e fix potential %s crash 2003-09-15 20:44:25 +00:00
Glenn Maynard 4f24b51b67 dur 2003-09-15 05:27:34 +00:00
Chris Danford c0c680317c profiles are usable 2003-09-08 07:21:41 +00:00
Chris Danford 1e718a80a5 fix Save/Revert prompt when playing a course 2003-08-23 18:33:49 +00:00
Chris Danford d7d2019c1d log system messages 2003-08-09 18:41:04 +00:00
Chris Danford 9375422396 add option to reload songs and courses w/o restarting 2003-08-06 05:28:58 +00:00
Glenn Maynard f3540c9eb7 You had it right the first time, almost. :)
It's better to put hacks in the file they're affecting, rather than global
handlers like ScreenManager.

The problem you were having is that you were sending the "start fade
out" message; when skipping a screen, you want to skip to "load next
screen" and not fade out.

It's OK to load the screen itself when you're skipping it, since that doesn't
take time as long as you don't load the components.

Note that this is how eg. ScreenInstructions and ScreenWarning work.
2003-07-30 01:59:11 +00:00
Andrew Wong d5207e1b30 much cleaner transition to skip screenunlock if unlocks are off 2003-07-29 06:43:19 +00:00
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