Commit Graph
100 Commits
Author SHA1 Message Date
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
Glenn Maynard 1ddd9c1e6b Add LyricsOneReverse. Remove unused and duplicate metrics. 2003-06-04 20:37:53 +00:00
Glenn Maynard ababa26c17 Simplify. Clear Cache/Banners, too (doesn't exist just yet). 2003-06-04 20:36:38 +00:00
Glenn Maynard c1be06d5dd use mySDL_MapRGBExact 2003-06-04 20:16:16 +00:00
Glenn Maynard 2e6fdb52db Wrap a long line. 2003-06-04 20:09:59 +00:00
Glenn Maynard 1dc380ee5c When converting SDL surfaces, only copy the palette if both the source
and dest is paletted.

Add: mySDL_SaveSurface, mySDL_LoadSurface, mySDL_MapRGBExact
(like SDL_MapRGB but does no nearest-match) and mySDL_BlitTransform.
2003-06-04 20:08:51 +00:00
Glenn Maynard 94f1803871 fix ScreenSelectGame showing all games 2003-06-04 20:06:10 +00:00
Glenn Maynard 03eb123be2 fix Voodoo detection 2003-06-01 02:17:29 +00:00
Glenn Maynard 7d8ba73dc4 Fix warnings; improve error handling 2003-06-01 00:34:15 +00:00
Glenn Maynard d785321669 Old additions that I couldn't find. 2003-05-31 21:49:15 +00:00
Glenn Maynard 379aca13c7 Corrections/additions 2003-05-31 20:58:48 +00:00
Glenn Maynard 4486bd1754 Oops. Fix a silly bug on systems without paletted textures.
Fix assert failure.
2003-05-31 09:10:18 +00:00
Glenn Maynard 098a28beb3 bump cache 2003-05-31 04:48:38 +00:00
Glenn Maynard 0ca574331b add .3x and .5x 2003-05-31 02:35:06 +00:00
Glenn Maynard ee3e77b222 if the text to replace with is already there, don't do anything 2003-05-31 02:11:26 +00:00
Glenn Maynard fde21c4904 replacing with a smaller set 2003-05-31 01:40:35 +00:00
Glenn Maynard 380338d8ed update for separate template lists 2003-05-31 01:38:53 +00:00
Glenn Maynard 0bceefaa6b add a Korean template 2003-05-31 01:38:28 +00:00
Glenn Maynard 9b59633c18 I'm leery of using Translations.dat becoming a catch-all database of
typo corrections.  If you're not careful, it'll cause false positives, and false
hits will becomes extremely annoying very quickly.  This translation system
is useful as long as it's reliable and doesn't break people's titles; they'll
probably go up in arms if it starts getting annoying.

I turned off the blind Pierrot match; eg. there may be songs named Pierrot
with an artist of "Lee Hyun Do feat my dog", which would get wiped out.
I'm undecided about the others; I'll leave the "XX" ones in, I think.
2003-05-31 01:33:41 +00:00
Glenn Maynard 7e0f4a3002 Don't use Translation.dat to transcode. The bytes in here were garbage;
I'm guessing you simply pasted data, which results in conversions happening
where you don't expect them.  CP949 conversions should be working.
2003-05-31 01:23:18 +00:00
Glenn Maynard a4e563114a improve abstraction 2003-05-30 21:36:56 +00:00
Glenn Maynard 982dc7551e add error detection 2003-05-30 21:14:24 +00:00