Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard cf68ee8159 don't split when only one player is active 2003-06-16 03:42:48 +00:00
Glenn Maynard 66d46adfe6 Implement options splitting
There are several cosmetic problems with this; working on fixes ...
2003-06-16 03:29:59 +00:00
Glenn Maynard 12f058664f fix spurious warnings 2003-06-15 02:19:58 +00:00
Glenn Maynard 65c51af8a4 banner cache for course banners 2003-06-15 02:07:31 +00:00
Glenn Maynard 375c2df8ff comments, cleanup 2003-06-15 01:56:27 +00:00
Glenn Maynard 0573864206 banner cache for group banners 2003-06-15 01:53:51 +00:00
Glenn Maynard 4cf2fc91e3 Disable these warnings; I have so many partial courses I can't find
the *real* warnings.
2003-06-15 01:24:12 +00:00
Glenn Maynard de4bf7288b put the group sort back to group and title 2003-06-15 01:06:40 +00:00
Glenn Maynard d34f92f535 oops. 2003-06-15 00:58:59 +00:00
Glenn Maynard 42a2098c51 not needed anymore 2003-06-15 00:58:46 +00:00
Glenn Maynard 06af315dfd Refactor:
It seems to be no big deal to have a lot of small files; I think it's the
actual scan of the song tree that's expensive.  Simplify with this in
mind.

Load song banners when the song is loaded, so we don't load banners
for songs that aren't there.

Avoid touching the original banner when we're simply loading.
2003-06-15 00:57:05 +00:00
Glenn Maynard 17f2a9c906 cleanup 2003-06-14 23:44:24 +00:00
Glenn Maynard 026903bbd1 add UncacheSongBanner 2003-06-14 23:30:21 +00:00
Glenn Maynard cdd3714a6c Don't warn for missing banner cache files.
Fix const.
2003-06-14 23:21:47 +00:00
Glenn Maynard e3871360cc hush theme warnings 2003-06-14 23:15:41 +00:00
Glenn Maynard f76757667e m_iImage* is the size of the image within the texture 2003-06-14 23:02:44 +00:00
Glenn Maynard b94872cf4e fix assist tick turning off between songs in a course 2003-06-14 22:58:21 +00:00
Glenn Maynard 115860d02d Somebody's a little confused. We're not using SDL sound in *nix at all. 2003-06-14 18:14:33 +00:00
Glenn Maynard 95c71724a1 Fix compilation on everything but Darwin.
I'd suggest not spending any more time on SDL sound code; it's just going
to give you a headache.  Use a native API ...
2003-06-14 18:12:39 +00:00
Glenn Maynard f37d58e02f use colons in #DISPLAYBPM; that's what the reading code did, anyway,
and it's more consistent
2003-06-13 23:18:25 +00:00
Glenn Maynard a41998c22c Fix #DISPLAYBPM in DWIs for real. 2003-06-13 23:15:09 +00:00
Glenn Maynard 23091b6e84 cosmetic 2003-06-13 18:42:06 +00:00
Glenn Maynard 94ff27a101 Fix music stopping incorrectly in demonstration 2003-06-13 18:40:40 +00:00
Glenn Maynard e6fd5bcd83 Move frame checks into a function, so we don't loop under SkipUpdates() 2003-06-13 18:13:12 +00:00
Glenn Maynard 3227d97d55 fix doubles jukebox 2003-06-13 04:31:01 +00:00
Glenn Maynard 7a4a324bc9 fix tween overflow
triggers in MAX3000 in autoplay
2003-06-13 03:08:39 +00:00
Glenn Maynard fa51aa857c fix "continue holding" text not tweening off (for real this time?) 2003-06-13 02:54:58 +00:00
Glenn Maynard bfdbaf3dbb Player::Update: Don't round for CrossedRow + explanation.
GetClosestNoteDirectional: Always round up, so we always look far enough.
It's harmless to look a little too far.  Fixes not being able to hit a note .5
of a note row too soon--there was small window in which you hadn't been
graded and should have been able to register a boo, but steps were
ignored.  (This showed up in MAX3.)
2003-06-13 00:50:24 +00:00
Glenn Maynard af56d0fcc2 Fix notes being judged as misses an index too early. Obvious on
ridiculously slow songs (MAX3), but could affect reasonably slow
sections, too (Sakura).
2003-06-13 00:24:33 +00:00
Glenn Maynard 26de0ae0a4 fix reading #DISPLAYBPM from DWIs 2003-06-12 20:14:40 +00:00
Glenn Maynard 3d42a56288 fix #DISPLAYBPM:* 2003-06-12 20:10:08 +00:00
Glenn Maynard 05e94e4278 really fix #DISPLAYBPM writing 2003-06-12 20:08:55 +00:00
Glenn Maynard 17c3fdb5e2 texture policy priorities 2003-06-12 20:01:30 +00:00
Glenn Maynard a3db8bc325 change policy order 2003-06-12 19:49:43 +00:00
Glenn Maynard f3bf5e7526 fix warning output 2003-06-12 19:41:19 +00:00
Glenn Maynard 2937cc73c7 fix more GL_NO_ERROR problems 2003-06-12 19:40:44 +00:00
Glenn Maynard b3801c7b37 add TNT/TNT2
(perhaps should be 16/16 bpp; not sure)
2003-06-12 01:45:39 +00:00
Glenn Maynard 35c6b03d07 allow VideoCardDefaults.ini to be non-consecutive 2003-06-12 01:39:31 +00:00
Glenn Maynard af4cc2b5ea "no video renderers attempted" shouldn't be appended to error 2003-06-12 01:35:54 +00:00
Glenn Maynard 25df8f007b enable banner caching by default 2003-06-12 01:35:09 +00:00
Glenn Maynard 96fa198ae8 disable banner loading setting; not used at the moment 2003-06-11 23:17:08 +00:00
Glenn Maynard 0c48980e1a bump cache 2003-06-11 23:07:19 +00:00
Glenn Maynard 495bd43276 stop sample music when entering play or record mode 2003-06-11 23:03:23 +00:00
Glenn Maynard c7bbecf94c update 2003-06-11 22:41:28 +00:00
Glenn Maynard 53642507cd Don't save song changes after gameplay by default 2003-06-11 20:47:39 +00:00
Glenn Maynard b20191ffee fix pdb in the wrong place 2003-06-11 19:19:20 +00:00
Glenn Maynard c74761ca81 Fix OKs making perfect scores impossible in course modes.
(patch from Steve Towle)
2003-06-11 19:13:27 +00:00
Glenn Maynard fbaa610f32 Make all nonstop courses sum to 100mil. This is more consistent, and
prevents overflow with very long (25+) courses.

(patch from Steve Towle)
2003-06-11 19:11:24 +00:00
Glenn Maynard 7c47c03162 disable m_BannerCacheType for now 2003-06-11 03:26:41 +00:00
Glenn Maynard 7df43b1272 Oops, remove some debugging cruft. 2003-06-11 03:19:27 +00:00
Glenn Maynard 2e30a0dc54 Disable WINDIB. 2003-06-11 03:18:41 +00:00
Glenn Maynard 3d43798f88 Handle SDL_INIT_VIDEO failing, so we don't crash later. 2003-06-11 03:17:39 +00:00
Glenn Maynard 5faa1d7c17 Don't preload low-quality banners on very low-memory systems. 2003-06-11 02:58:13 +00:00
Glenn Maynard 0892c963fb comment 2003-06-11 01:49:01 +00:00
Glenn Maynard 61e8c60d1e implement not changing banners when fast if banners aren't preloaded 2003-06-11 01:48:25 +00:00
Glenn Maynard b9b19858d9 add assert 2003-06-11 01:36:30 +00:00
Glenn Maynard bfcb68fd2b fix/simplify 2003-06-11 01:22:14 +00:00
Glenn Maynard b7eebb5df5 Add some code to try to fix texture masks on big endian machines. 2003-06-11 01:19:02 +00:00
Glenn Maynard 76e8d7965a split off low-quality banner loading code 2003-06-11 00:32:13 +00:00
Glenn Maynard b9100c93f7 Progress text for banner loading. 2003-06-11 00:23:24 +00:00
Glenn Maynard 0633dba763 Move loading and unloading into functions. Don't log for each load. 2003-06-11 00:22:28 +00:00
Glenn Maynard 528fd9f355 Fix a bug resulting from not reading diffs carefully enough ... 2003-06-11 00:10:51 +00:00
Glenn Maynard fa3dddad4f On systems with less than 192 megs of memory, disable texture caching
by default.
2003-06-10 23:50:31 +00:00
Glenn Maynard 53a8e22689 cleanup 2003-06-10 23:33:45 +00:00
Glenn Maynard 1647211117 fix an overload 2003-06-10 22:50:38 +00:00
Glenn Maynard 5885978d3c log memory info 2003-06-10 22:45:16 +00:00
Glenn Maynard 5fb48d9f06 update 2003-06-10 22:15:29 +00:00
Glenn Maynard 2ea63c81fc sync up gameplay offset control with editor 2003-06-10 22:14:09 +00:00
Glenn Maynard d3c7ed1e61 Alt-F11/F12 to change offset in 1ms increments (20ms is a long time!) 2003-06-10 22:11:22 +00:00
Glenn Maynard b2d5c972c0 F8 to toggle autoplay in play mode in the editor 2003-06-10 21:59:56 +00:00
Glenn Maynard e400e11195 don't send player steps in the editor when autoplay is on 2003-06-10 21:54:12 +00:00
Glenn Maynard 5e4e0ca375 Fix "1.0x" as a course modifier 2003-06-10 21:53:09 +00:00
Glenn Maynard eb931f8a4d Handle CrossedRow inside Player, so autoplay works correctly in the
editor.
2003-06-10 19:53:33 +00:00
Glenn Maynard 48770fb2a0 Make texture policies explicit.
Never keep banner textures loaded.  We'll be using enough memory with
the preloads, and it's not needed.
2003-06-10 19:24:00 +00:00
Glenn Maynard 514a3f4700 Fix up Tokimeki Oha song translits. 2003-06-10 06:38:43 +00:00
Glenn Maynard dac51746d7 Fix up Tokimeki Memorial song translits. Don't add a subtitle to all of the
TM songs.
2003-06-10 06:33:40 +00:00
Glenn Maynard 8756019ea6 Fix course crash. (Not a real fix, since I can't test this code yet.) 2003-06-10 05:28:33 +00:00
Glenn Maynard a382b65e1d fix warnings
can't take the address of the return value of a function
2003-06-10 05:21:26 +00:00
Glenn Maynard ec663349ed fix warnings 2003-06-10 05:20:41 +00:00
Glenn Maynard f736bbd4da fix warnings 2003-06-10 05:15:23 +00:00
Glenn Maynard 4200c6051e fix warning 2003-06-10 05:13:31 +00:00
Glenn Maynard 650f3da6d3 add home ver, four seasons kanji
fixes/cleanups
2003-06-10 05:06:05 +00:00
Glenn Maynard d482e6e300 add home ver, four seasons kanji 2003-06-10 04:26:13 +00:00
Glenn Maynard 5195cbec76 Implement the rest of BannerTexture 2003-06-07 02:11:31 +00:00
Glenn Maynard 2cb374103f remove unused parameter 2003-06-06 19:42:53 +00:00
Glenn Maynard 09acdd7da8 needs more debugging than I can muster at 5am 2003-06-06 08:38:21 +00:00
Glenn Maynard a3fb5c3f67 Use FDB for a few more functions. Probably fixes bugs in *nix; speeds
some things up.
2003-06-06 07:15:46 +00:00
Glenn Maynard ac5a01499c reduce dependencies 2003-06-05 23:31:00 +00:00
Glenn Maynard 43819f68c6 Fix writing #SELECTABLE.
Add missing semicolons to #DISPLAYBPM.
2003-06-05 19:27:30 +00:00
Glenn Maynard 69576469ad For now, always change banners. This can probably go away soon. 2003-06-04 22:47:27 +00:00
Glenn Maynard a1d520a946 Handle low-quality banners. 2003-06-04 22:44:37 +00:00
Glenn Maynard 37c354b982 Special case for low quality rotated banners 2003-06-04 22:43:53 +00:00
Glenn Maynard ed8c8e5a52 Fix banner caching 2003-06-04 22:43:23 +00:00
Glenn Maynard de860395b8 Cache banners. 2003-06-04 22:42:43 +00:00
Glenn Maynard 258451660f init BannerCache 2003-06-04 22:42:17 +00:00
Glenn Maynard 6de2faf3aa add BannerCache 2003-06-04 22:41:58 +00:00
Glenn Maynard 2a3ed9ee1e add BannerCache 2003-06-04 22:34:08 +00:00
Glenn Maynard 5d5bc97bc0 Add IsTextureRegistered, RegisterTexture, AdjustTextureID. 2003-06-04 22:32:48 +00:00
Glenn Maynard 09cf46a91e fix wrong assert 2003-06-04 22:07:38 +00:00
Glenn Maynard fe4b7e59c5 Add LyricsOneReverse. Separate position metrics when one or both
players are in reverse.
2003-06-04 20:40:32 +00:00