Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 8b609cdc08 remove stuff commented out
fix SPIRAL while I'm here
2005-01-05 01:06:18 +00:00
Glenn Maynard 67c1e5c6fb make sure we don't access snd after stopping 2005-01-05 00:03:00 +00:00
Glenn Maynard 4fbd89dd7d fix comment 2005-01-04 23:48:31 +00:00
Glenn Maynard 95408c9689 Can't find any reason why I didn't do it this way to begin with; seems to work
fine ...
2005-01-04 22:50:27 +00:00
Glenn Maynard 1e12a17506 fix title menu back 2005-01-04 22:43:08 +00:00
Glenn Maynard 633312bf9c BGA commands are being played twice, because both BGALayer
and ActorUtil are parsing them and BGALayer was sending its commands
to its children.  Don't do that; just use the ActorUtil parsing.  (This seems to
work for all BGAs I've tried so far, but I'm not yet quite sure it's correct.)
This seems to fix transitions not showing up, but I'm not sure why.
2005-01-04 22:39:43 +00:00
Glenn Maynard 32bb778e22 support multipass env mapping for systems without multitexturing 2005-01-04 05:38:44 +00:00
Glenn Maynard a1be0fdb33 add GetNumTextureUnits() 2005-01-04 05:34:58 +00:00
Glenn Maynard 36a56f51fd simplify (still more complicated than cropping/fading should be ...) 2005-01-04 02:10:09 +00:00
Glenn Maynard e00d5fe834 cleanup, assertion 2005-01-04 01:47:11 +00:00
Glenn Maynard 3153c70ddb Load Background's BGAs on first load, not in the ctor, so Jukebox and
Demonstration set up first; otherwise, BGAs with Lua expressions that
depend on them won't work.
2005-01-04 01:45:28 +00:00
Glenn Maynard 07aba0f89f add metric 2005-01-04 01:08:53 +00:00
Glenn Maynard 13a1b29436 allow showing course modifiers in demo/jukebox 2005-01-03 23:33:17 +00:00
Glenn Maynard 27d6c1a5ee simplify demo/jukebox setup 2005-01-03 23:31:34 +00:00
Glenn Maynard 0f010d2321 add Course::FindFixedSong, Attack::FromGlobalCourseModifier 2005-01-03 23:30:56 +00:00
Glenn Maynard c82a6fa313 split ScreenGameplay::InitSongQueues 2005-01-03 23:29:40 +00:00
Glenn Maynard 5de58766e9 simplify demo/jukebox setup 2005-01-03 23:20:11 +00:00
Glenn Maynard 7af6018618 virtual 2005-01-03 22:52:51 +00:00
Glenn Maynard 8cba265a01 Init() 2005-01-03 22:44:19 +00:00
Glenn Maynard 4b7ce342f5 add separate Screen::Init 2005-01-03 22:39:41 +00:00
Glenn Maynard 317378b028 Init -> InitMenu 2005-01-03 22:20:39 +00:00
Glenn Maynard a96a3d9caa cleanup 2005-01-03 21:16:20 +00:00
Glenn Maynard abcd14469a comments 2005-01-03 21:05:40 +00:00
Glenn Maynard a16205bf63 float 2005-01-03 21:02:19 +00:00
Glenn Maynard a1899a5db4 cleanup 2005-01-03 20:56:47 +00:00
Glenn Maynard 8340759571 optimization 2005-01-03 20:54:28 +00:00
Glenn Maynard e6bd8c0755 fix crash when .sm data with too many tracks is loaded 2005-01-03 20:53:03 +00:00
Glenn Maynard ba19b3b979 fading fixes 2005-01-03 11:21:02 +00:00
Glenn Maynard b32bb5743a fix some audio skips: cap at 4x fill, not 2x 2005-01-03 10:31:59 +00:00
Glenn Maynard fd43763777 cleanup 2005-01-03 05:20:52 +00:00
Glenn Maynard 37bc5aefbd cheaper ConvertSurface 2005-01-02 23:15:06 +00:00
Glenn Maynard 8a188e1a13 try to align 16-byte types to 16 bytes 2005-01-02 23:08:42 +00:00
Glenn Maynard f60254ba0e don't waste time zeroing RageVColor by default 2005-01-02 23:04:25 +00:00
Glenn Maynard fbdf19445c cleanup 2005-01-02 23:03:08 +00:00
Glenn Maynard 30976b2217 align macro 2005-01-02 22:54:12 +00:00
Glenn Maynard a8f8095d10 Don't zero RageSpriteVertex in the ctor; it's wasteful when declaring large arrays, because we almost always immediately overwrite that with real data. (We should do this for all basic RageTypes, but this one matters due to StripBuffer for hold note rendering.) 2005-01-01 23:29:13 +00:00
Glenn Maynard c5a683b03c optimize battle mode: don't call NoteField::CacheAllUsedNoteSkins every frame 2005-01-01 22:39:08 +00:00
Glenn Maynard 4b69f947dd cleanup 2005-01-01 22:10:09 +00:00
Glenn Maynard 59ae043f2b comment 2005-01-01 22:07:52 +00:00
Glenn Maynard b7487c02a4 simplify 2005-01-01 22:07:16 +00:00
Glenn Maynard fac13bf393 remove fadecolor 2005-01-01 22:04:40 +00:00
Glenn Maynard 35c718b990 Removing "fadecolor". Fading is useful, but being able to fade with a factor
other than #FFFFFF00 has never been useful, and it complicates the code.

Note that "diffuse" and fading do combine, so a sprite with diffuse,#FF0000
will still fade out correctly.
2005-01-01 21:59:35 +00:00
Glenn Maynard b68abb98aa None of our themes appear to use "ShowBanner=1". If you want to do this,
load "songbanner" (or "coursebanner") in a BGAnimation.
2005-01-01 21:49:33 +00:00
Glenn Maynard 45628efccc fix WITHOUT_NETWORKING 2005-01-01 21:44:00 +00:00
Glenn Maynard 6f96014255 load background on ScreenStage 2005-01-01 21:42:36 +00:00
Glenn Maynard 2aea454255 blank background for ScreenStage 2005-01-01 21:41:51 +00:00
Glenn Maynard 2921aeedaf make background graphic optional when loading from ScreenManager 2005-01-01 21:20:00 +00:00
Glenn Maynard 7ef993564d fix crash when selecting random with no songs loaded (don't show random at all) 2005-01-01 20:32:55 +00:00
Glenn Maynard 02d68f44ef don't waste time caching banners for Banner, only FadingBanner (eg. ScreenStage) 2004-12-30 20:08:34 +00:00
Glenn Maynard b6fe2c3bae add "stopmusic" 2004-12-30 01:17:52 +00:00
Glenn Maynard 63364e5dcc fix vc7 warnings 2004-12-29 22:41:27 +00:00
Glenn Maynard 703b15b2ab remove unused 2004-12-27 22:32:16 +00:00
Glenn Maynard 0d4f15c72f const 2004-12-27 22:30:51 +00:00
Glenn Maynard c6370d4fcd add GameSoundManager::Flush 2004-12-27 22:19:22 +00:00
Glenn Maynard 3ca2641398 virtual 2004-12-27 07:10:29 +00:00
Glenn Maynard bd3b4cbc9d fix log 2004-12-27 02:06:38 +00:00
Glenn Maynard 6fa1bda0be don't load initial static bg if other negative bgchanges are supplied; don't bother loading the bg itself if it's never used 2004-12-27 01:33:09 +00:00
Glenn Maynard e42236713d remove unused Background::LoadFromAniDir 2004-12-26 20:16:46 +00:00
Glenn Maynard 7d285a5731 add QuantizeUp 2004-12-22 04:07:42 +00:00
Glenn Maynard 95eb10b834 split out Profile::SaveStatsXmlCreateNode 2004-12-22 03:49:55 +00:00
Glenn Maynard 95c4741945 fix thread safety issue 2004-12-21 10:35:11 +00:00
Glenn Maynard 2f8deb615f fix ScreenCaution not continuing when menu timer is disabled 2004-12-21 01:29:41 +00:00
Glenn Maynard 6cd9622e05 RageFileBasic 2004-12-18 05:37:53 +00:00
Glenn Maynard b609af7cce check whether __thread binaries actually run 2004-12-17 02:25:52 +00:00
Glenn Maynard 74886cc5e9 fix PREFSMAN->m_bDelayedScreenLoad 2004-12-15 00:23:50 +00:00
Glenn Maynard c4087d1cf9 missed commit 2004-12-14 22:41:36 +00:00
Glenn Maynard d97f579dba fail gracefully if banner cache has an unexpected pitch 2004-12-14 08:14:44 +00:00
Glenn Maynard f83391d953 checkpoints 2004-12-14 02:11:38 +00:00
Glenn Maynard 0300454337 fix warning 2004-12-14 01:50:40 +00:00
Glenn Maynard 444c9e0b49 gzip/gunzip support 2004-12-13 04:18:04 +00:00
Glenn Maynard 1fdbf55723 fix 2004-12-13 04:04:11 +00:00
Glenn Maynard 328ddf6b2e minor fixes 2004-12-13 00:21:06 +00:00
Glenn Maynard 36990c4a4c uint32_t crc32s; allow partial checksums 2004-12-13 00:19:15 +00:00
Glenn Maynard b03207d6f5 automatic crc32 calc; a couple extra helpers 2004-12-12 04:38:17 +00:00
Glenn Maynard ea79ec3e1b add RageFileDriverSlice::DeleteFileWhenFinished 2004-12-12 04:07:22 +00:00
Glenn Maynard fdf6ad8735 fix standard crc32 2004-12-12 01:39:30 +00:00
Glenn Maynard 4e1298d6a2 type cleanup 2004-12-12 00:54:44 +00:00
Glenn Maynard 3b9f86422c split out CRC32 code 2004-12-11 23:33:11 +00:00
Glenn Maynard 41fe581e81 DeleteFileWhenFinished() 2004-12-11 23:10:30 +00:00
Glenn Maynard 4386b9bc83 add deflate compressing (simple, since we already use zlib) 2004-12-11 23:06:34 +00:00
Glenn Maynard d171b8e306 don't always free pFile from ~RageFileObjInflate 2004-12-11 22:57:03 +00:00
Glenn Maynard d924734232 track file position for writes, too 2004-12-11 22:51:07 +00:00
Glenn Maynard 1e4eb54010 update comment 2004-12-11 22:31:21 +00:00
Glenn Maynard f504d87bed don't load "" 2004-12-11 22:29:55 +00:00
Glenn Maynard 951206881d fix loading "" 2004-12-11 22:08:49 +00:00
Glenn Maynard 56231370fe fix warnings (format is "1:1")
no need to specify these; this is only really needed for menus that give
options in two dimensions, the defaults are usually fine
2004-12-11 21:55:13 +00:00
Glenn Maynard b25dfebb5b fix options menu selection 2004-12-11 21:49:55 +00:00
Glenn Maynard 29620a19bf make 0% RandomSpeed no effect (like other mods), instead of 100%
fix options menu selection
2004-12-11 21:48:32 +00:00
Glenn Maynard 294ddd9100 fix unnecessary drawing 2004-12-11 12:58:34 +00:00
Glenn Maynard bd2bd7e2bf real arrow visibility fix
fix numbers not actually being random
2004-12-11 12:31:17 +00:00
Glenn Maynard d9843f67f1 arrow visibility fix 2004-12-11 12:11:36 +00:00
Glenn Maynard e9dde787f3 simplify 2004-12-11 11:58:56 +00:00
Glenn Maynard b55604f1df update 2004-12-11 09:56:28 +00:00
Glenn Maynard 4059c657ca split out deflate compression layer; this could also be used with gzip 2004-12-11 08:03:39 +00:00
Glenn Maynard 3e1bc98856 move some ZIP handling code into RageFileDriverSlice 2004-12-11 06:35:41 +00:00
Glenn Maynard 10e47f27e8 Run the absolute seek test twice. 2004-12-11 04:50:12 +00:00
Glenn Maynard 752d4ecdb8 simplify: use RageFileObjZipStored to create an abstract "file" within the ZIP, which is them simply passed to RageFileObjZipDeflate if it's compressed. 2004-12-11 04:48:16 +00:00
Glenn Maynard 1552944b98 generalize/cleanup 2004-12-11 04:23:48 +00:00
Glenn Maynard de0eed990d generalize/cleanup 2004-12-11 04:16:49 +00:00
Glenn Maynard dd18027478 optimization 2004-12-11 04:03:12 +00:00