Commit Graph

14544 Commits

Author SHA1 Message Date
Chris Danford 66a5c26a84 don't draw BGChange text in HomeEditMode 2005-03-18 18:56:35 +00:00
Chris Danford 3fae670c0c remove redundant play of Init. Each Actor plays Init when it's loaded. 2005-03-18 09:08:09 +00:00
Chris Danford 39a9708020 assert if someone tries to clear the zbuffer in an actor frame (it won't do anything because ActorFrames don't SetRenderState). Hopefully, this will save someone a lot of troubleshooting time. 2005-03-18 08:14:49 +00:00
Glenn Maynard fd6b369a7c compile please 2005-03-18 08:14:46 +00:00
Glenn Maynard 665ab585d4 set up queues late, only once they're needed 2005-03-18 07:53:16 +00:00
Glenn Maynard 60d8f65ab4 ScoreKeeper is not an Actor 2005-03-18 07:38:44 +00:00
Glenn Maynard 507493e928 separate Load() call to give queues to ScoreKeepers (do expensive init in ctor) 2005-03-18 07:36:59 +00:00
Glenn Maynard a51cbb1fe5 fix include 2005-03-18 07:36:16 +00:00
Glenn Maynard 2945731f0b load music last 2005-03-18 07:08:05 +00:00
Glenn Maynard 9a41132083 don't init general background graphics in the first LoadNextSong call 2005-03-18 05:06:34 +00:00
Glenn Maynard db08dc73bf remove legacy code 2005-03-18 05:00:20 +00:00
Glenn Maynard e5af8b0f70 remove unnecessary CacheAllUsedNoteSkins calls; this is all done in NoteField::Init now 2005-03-18 04:58:15 +00:00
Glenn Maynard 02197dab9c like Player, split NoteField loading into Load and Init, with Init having the expensive part, which we do only once 2005-03-18 04:43:59 +00:00
Glenn Maynard b6b9b11b0f don't bother unloading "unused" note skins; now we just load all the note skins we'll need in advance for a whole round 2005-03-18 04:13:19 +00:00
Chris Danford 9a4283c8ee load children before calling ActorScroller::LoadFromNode 2005-03-18 04:06:17 +00:00
Chris Danford 02d18e9c7b require all ActorScroller values 2005-03-18 04:05:23 +00:00
Glenn Maynard 7f15d9b9ec simplify: have GameState::GetAllUsedNoteSkins get the used note skins directly from courses, so we don't have to worry about init order 2005-03-18 04:04:59 +00:00
Glenn Maynard d7bcda9e38 simplify 2005-03-18 03:37:05 +00:00
Glenn Maynard fd12ab18b1 don't re-Init Player for each song 2005-03-18 03:17:52 +00:00
Glenn Maynard 014dcf7ccd load assets before the song 2005-03-18 02:57:03 +00:00
Chris Danford b788cc3aa8 cleanup fallbacks to fix missing 2005-03-18 01:56:55 +00:00
Chris Danford 9b1fb67f6a explicitly Load TextBanner to read metrics - don't automatically init on first use 2005-03-18 01:55:33 +00:00
Glenn Maynard 778ac6a63d remove m_bgCondBga; none of our themes seem to use it. (If anyone
needed this, post to sm-devs saying what you need to do any I'll explain
how to do it with the newer XML-based system.)
2005-03-18 01:55:03 +00:00
Chris Danford dc76527235 add meter numbers 2005-03-18 01:53:46 +00:00
Chris Danford 11662c6d75 add missing 2005-03-18 01:18:07 +00:00
Chris Danford 2b833657fb fix medium color 2005-03-18 01:16:49 +00:00
Ben Anderson 2774b74348 Fix compilation on GCC. I don't know why this works, it just does. (I tested it. 2005-03-18 00:55:21 +00:00
Glenn Maynard 42fb0bfc9b simplify 2005-03-17 23:48:32 +00:00
Glenn Maynard c189f5fdd9 split out OpenForReading 2005-03-17 23:43:13 +00:00
Chris Danford e76b50d499 don't calculate NextScreen until options have been exported 2005-03-17 17:54:46 +00:00
Chris Danford 1f112ae2ca fix Various showed as BPM for some courses with <= MAX_COURSE_ENTRIES_BEFORE_VARIOUS 2005-03-17 17:53:10 +00:00
Chris Danford 0eb271a1b1 allow specifying a custom MusicWheel type 2005-03-17 09:34:05 +00:00
Chris Danford 5f68c5977a add ThemeMetricMap - a ThemeMetric collection that maps from a CString to ThemeMetric 2005-03-17 09:29:46 +00:00
Chris Danford b30b0d6d31 fix course and section text zoom shouldn't be reset 2005-03-17 07:38:09 +00:00
Glenn Maynard 3001fb6aef add StartScreen metrics 2005-03-17 07:25:04 +00:00
Glenn Maynard 008cae2479 m_sName for ScreenAttract::StartScreen 2005-03-17 07:23:59 +00:00
Glenn Maynard c45e197858 normal fallback for jukebox/demo 2005-03-17 07:20:51 +00:00
Glenn Maynard b11a82eb21 add fallbacks 2005-03-17 07:19:17 +00:00
Glenn Maynard b36124bb5e fix long-standing bug: don't increment Possible for mines 2005-03-17 06:23:42 +00:00
Chris Danford 46443085fd re-add meter number on options screen 2005-03-17 06:23:16 +00:00
Ben Anderson 800bbfbb70 Always process all KeyPress events before all KeyRelease events. KeyPress are more timing-sensitive, and this makes race conditions causing sticky keys a little less likely. 2005-03-17 04:40:14 +00:00
Ben Anderson d0cd9f3bf6 Prevent some unnecessary time checking 2005-03-17 04:31:12 +00:00
Chris Danford a5e71825d1 separate change row and change value sounds 2005-03-17 02:17:00 +00:00
Chris Danford bb490cce88 always show tutorial at full brightness 2005-03-17 02:16:31 +00:00
Glenn Maynard 5267cc0941 remove old url reference; this code is just a generic weighting system now 2005-03-17 02:14:15 +00:00
Ben Anderson 96d6cdd9cc XSync can and often does cause events e.g. input events to be dropped, don't do it. 2005-03-17 02:12:57 +00:00
Ben Anderson b1c17eacdb glFinish() at the end of each frame; I'm seeing the "buffer swap with unfinished frame" issue at lower framerates when this isn't being done. (FYI, this doesn't fix choppiness with X11 driver, but helps a little bit.) 2005-03-17 01:21:13 +00:00
Chris Danford 3953ce9bb2 always show tutorial at full brightness 2005-03-16 23:27:00 +00:00
Chris Danford 9b2b8e73a8 throw away inputs that queued while the screen was loading 2005-03-16 23:26:19 +00:00
Glenn Maynard 90f2aeaa1a fix options menu music 2005-03-16 11:08:41 +00:00