Commit Graph
2812 Commits
Author SHA1 Message Date
Glenn Maynard a70d95db67 fLength sometimes comes out to 0 2003-04-21 20:25:20 +00:00
Glenn Maynard 8bbb884204 Give 1ms instead of 0, since 0 may not give any time at all. Let's see
if this helps keyboard lag.

I could swear I tried this, but CVS says otherwise ...
2003-04-21 07:43:39 +00:00
Glenn Maynard 6199255010 fix rounding error causing .9 to actually play at .8 2003-04-21 07:22:18 +00:00
Chris Danford 6103cdc396 add missing ai.ini 2003-04-21 07:07:54 +00:00
Glenn Maynard 0f79dded31 remove unneeded temporary/options files 2003-04-21 05:12:41 +00:00
Kevin Slaughter af7e9cfad9 Fixed double-definition error of NoCheating boolean value, so it will compile 2003-04-21 05:08:20 +00:00
Glenn Maynard fce50f2f9c Okay, let's not have functional, oft-changing code inside #ifdef DEBUG.
This has broken three or four times since few people have time to test
compiling in both release and debug before committing.  Put a
check inside and do the logic outside.
2003-04-21 04:11:01 +00:00
Chris Danford 227343c9c3 use default modifiers for demonstration 2003-04-21 04:10:52 +00:00
Glenn Maynard 99bea5c5ef add ScreenRaveOptions 2003-04-21 04:05:10 +00:00
Glenn Maynard 7c71e66f39 is this what you meant? 2003-04-21 04:04:41 +00:00
Glenn Maynard 8158742e0b don't cache banners by default 2003-04-21 04:02:32 +00:00
Glenn Maynard 2faec36fec fix m_fJudgeWindowScale 2003-04-21 03:24:42 +00:00
Chris Danford b6e57cee0f Ctrl+R to record in editor 2003-04-21 03:09:48 +00:00
Glenn Maynard d412461f6f fix dumb diagonal banners in BGAs 2003-04-21 03:08:02 +00:00
Glenn Maynard 0145e0d598 fix EFFECT_STRETCH_SPIN 2003-04-21 02:45:40 +00:00
Glenn Maynard 5f791e1510 Add simpler accessors.
Default wrapping to on when custom coords are enabled.
2003-04-21 02:45:00 +00:00
Glenn Maynard cc2756d2f7 adjust tex coord order 2003-04-21 02:44:11 +00:00
Chris Danford e15dcc2ab5 Load AI difficulty data at runtime from AI.ini 2003-04-21 02:41:10 +00:00
Glenn Maynard cc9bf8677a fix spin effects 2003-04-21 02:35:16 +00:00
Glenn Maynard 0725a2c726 adjust tex coord order 2003-04-21 01:53:48 +00:00
Glenn Maynard 8d84695bfc Change custom coordinate order from ( bottom left, top left,
bottom right, top right ) to ( top left, bottom left, bottom right, top right ).
This matches the vertex order, which is simpler.  (Couldn't do the
opposite, since the old ordering wasn't wrapped correctly to form
a quad.)
2003-04-21 01:50:03 +00:00
Glenn Maynard 9ac592bf2b always honor m_bTextureWrapping; I can think of obvious uses for
it when using custom texture coords
2003-04-21 01:36:53 +00:00
Glenn Maynard c48ade0eb5 break rect -> texture coord array into a function 2003-04-21 01:35:37 +00:00
Glenn Maynard c7658c0e06 fix life bar tween in 2003-04-21 00:47:33 +00:00
Glenn Maynard bc745f1380 Fix "blink".
(Er.  Andy, do you actually *like* this mode?  It's really annoying.  :)
2003-04-21 00:12:42 +00:00
Glenn Maynard ca0e88c0a8 Fix images not being seen on first load.
Work around broken data with leading spaces in the path.
2003-04-20 23:45:01 +00:00
Glenn Maynard f33f42e8c6 disable note type check; it's problematic 2003-04-20 22:57:35 +00:00
Glenn Maynard 9b877232c7 fix cdtitle rate 2003-04-20 22:56:54 +00:00
Glenn Maynard e2f1e6bda9 cleanup
use function-style or C-style casts, not static_cast; they're identical
and easier to read
2003-04-20 22:08:32 +00:00
Glenn Maynard 862421014e move some Win32-specific config stuff where it belongs
move defines
simplify
2003-04-20 22:05:13 +00:00
Glenn Maynard 94e6cc79e7 move defines 2003-04-20 22:04:31 +00:00
Glenn Maynard 6769ada2e5 move some Win32-specific config stuff where it belongs 2003-04-20 22:04:09 +00:00
Glenn Maynard c3c090799d Apologies for abruptly reverting things, but compilation in Windows is
highest priority.  See my post to stepmania-devs for explanations.
2003-04-20 21:28:02 +00:00
Glenn Maynard e55fc3fdc7 fix course difficulty crash 2003-04-20 20:38:17 +00:00
Steve Checkoway be9216fad5 converted min function args to proper type 2003-04-20 12:56:01 +00:00
Steve Checkoway 422b596de5 Added operator[](long unsigned int) functions 2003-04-20 12:54:46 +00:00
Steve Checkoway 86fce28601 fixed conversion warnings 2003-04-20 12:53:38 +00:00
Steve Checkoway 09d633005f changed min/max to one function each (if it's missing) to remove ambiguity 2003-04-20 12:52:45 +00:00
Steve Checkoway ace71ae2d2 Added def for powf, sinf, cosf, acosf, sqrtf, needed for darwin's incomplete libc 2003-04-20 12:51:39 +00:00
Glenn Maynard feb984858b Revert the transition/actor tween length stuff; it breaks things. 2003-04-20 04:05:17 +00:00
Glenn Maynard 6316f789ac fix scrollbar oddness when there are exactly NUM_WHEEL_ITEMS
onscreen
2003-04-20 02:02:58 +00:00
Glenn Maynard 2ef9205ca2 Only show a song as difficult if it's difficult in the current play mode. 2003-04-20 01:40:40 +00:00
Glenn Maynard 15e6234625 fix up a rather fear-inspiring conditional 2003-04-20 01:31:13 +00:00
Glenn Maynard fef2766100 fix difficulty display after changing difficulty for random courses 2003-04-20 01:26:49 +00:00
Glenn Maynard 96bb2d0738 Add banner cache control.
Oops, another options menu starting to overflow vertically.  Need
scrolling ...
2003-04-20 01:08:39 +00:00
Glenn Maynard f7b856f3c2 Add an option to preload all banners. This adds to the screen load
time, but makes the actual screen much cleaner.

Add an option to disable banner preloading completely, to remove all
long waits completely.  Don't ChangeBannersWhenFast if we're set
to this.
2003-04-20 00:53:15 +00:00
Glenn Maynard bd1baddf7f fix warning 2003-04-20 00:49:43 +00:00
Glenn Maynard bed43f712b This looks like what this was supposed to be.
With "if( !m_bDelayedDelete || !t->m_bCacheThis )", if !m_bDelayedDelete,
when we preload banners we'll load the texture and then immediately
free it.  This way, we always keep banners around, even if !m_bDelayedDelete.

I'm adding another option to tweak the banner caching.  I like the smoother
banner changes, but I don't care for the very slow opening of groups.

I'm not sure how to handle memory usage.  I have about 14 megs of
banners.  In order to load them all, you just have to open each group
once, and 14 megs of PNG is a lot of memory uncompressed.  Ideal
would be to cache the compressed version, but that'd be a bit of work.
I'll add precache-all-at-load, precache-group and no-precache options
for now.
2003-04-19 23:37:50 +00:00
Glenn Maynard f18034f7b3 inval song cache 2003-04-19 23:17:29 +00:00
Glenn Maynard 031c636304 add &planet; 2003-04-19 23:16:08 +00:00