Commit Graph

25 Commits

Author SHA1 Message Date
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
Chris Danford cf8f069abd fix TweenOffScreen animation for GrooveRadar, MusicWheel 2003-04-03 22:34:22 +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
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 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 89040e1ba1 fix glitches in ScreenSelectGroup and ScreenSelectStyle 2003-03-10 02:29:01 +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
Chris Danford fc2108e85d fixed EditMenu "Create from Autogen" weirdness
cleaned up some unnecessary header dependencies
2003-02-22 01:58:56 +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 d52537825b use RageInputDevice (though RageInput is so simple now this
isn't as useful)
2003-02-16 20:16:07 +00:00
Glenn Maynard 0ff6f863ee s/Song.h/song.h/
I'd prefer "Song.h", but it's not worth losing history for, and SF will
choke on that rename anyway.
2003-02-16 04:28:17 +00:00
Chris Danford 21ab45ec96 fixed broken screen gameplay, started adding coin-op logic 2003-01-10 02:22:07 +00:00
Glenn Maynard 55e92e771d s/CArray<x,y>/vector<x>/g 2003-01-03 05:56:28 +00:00
Glenn Maynard 24cc7a3c04 Get rid of all other #pragma once's, except the one in StdAfx.h.
(three cheers for perl)
2002-11-16 08:07:38 +00:00
Glenn Maynard 28e837e242 add ScreenManager::LoadPreppedScreen. 2002-09-04 23:40:01 +00:00
Glenn Maynard 7b3491a7e9 Skip first update for each screen. (Explanation in comments.)
Add ScreenManager::PrepNewScreen.
2002-09-04 00:25:30 +00:00
Glenn Maynard 1e6ff21cef Move actual screen creation to a separate function.
Clear the directory cache when we load a new screen.
2002-09-03 05:43:58 +00:00
Chris Danford 142002091a Added ScreenHowToPlay, removed texture hints, and cleaned up ThemeMetric stuff 2002-08-27 03:59:22 +00:00
Glenn Maynard 55ad6158a6 Fix a memleak that doesn't matter
(still havn't found the memleak I'm looking for, but I'll find every harmless
one instead!)
2002-08-23 06:50:48 +00:00
Chris Danford 8b55061827 added more info besides FPS to the stats display 2002-08-18 17:48:50 +00:00
Chris Danford 7c1bfb3a0d big checkin - new noteskin format and XY positioning. I probably broke a lot of things. 2002-08-13 23:26:46 +00:00
Chris Danford 936fabbe85 more fixes to Oni and courses 2002-07-27 19:29:51 +00:00
Chris Danford 8549236385 no message 2002-05-20 08:59:37 +00:00