Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard a9be9db306 SampleMusicLoops=true 2007-04-07 02:17:19 +00:00
Glenn Maynard 910047ac31 cleanup
make checkpoint max combo work
2007-04-07 00:20:36 +00:00
Glenn Maynard e0c23a48c7 track checkpoints hit per hold; LetGo if missed any 2007-04-07 00:03:09 +00:00
Glenn Maynard 063e195c02 metrics 2007-04-06 23:29:17 +00:00
Glenn Maynard f37fec5530 metrics 2007-04-06 23:28:07 +00:00
Glenn Maynard f489947085 old commit 2007-04-06 23:27:53 +00:00
Glenn Maynard 8c36383c76 working on finishing checkpoint holds:
track checkpoints missed and hit
allow it to inlfuence the life meter
2007-04-06 23:25:32 +00:00
Glenn Maynard 8864c5b382 store song options, too 2007-04-06 20:09:42 +00:00
Glenn Maynard ecec4be123 theme SampleMusicFallbackFadeInSeconds 2007-04-06 20:08:42 +00:00
Glenn Maynard c11213b098 theme SampleMusicFallbackFadeInSeconds 2007-04-06 18:59:27 +00:00
Glenn Maynard af1d2c40ed move params t oa struct
simplify fallback
2007-04-06 18:56:53 +00:00
Glenn Maynard 1067755333 allow alternate loop music for music wheel 2007-04-06 18:34:43 +00:00
Glenn Maynard 59aaf0dec9 add FadeInSeconds property 2007-04-06 18:26:09 +00:00
Glenn Maynard 570f17017a fFadeOutSeconds 2007-04-06 18:16:47 +00:00
Glenn Maynard f6677b20a3 p.m_FadeLength -> p.m_fFadeOutSeconds 2007-04-06 18:09:46 +00:00
Glenn Maynard 64910a7c0a FadeLength -> FadeOutLength 2007-04-06 18:04:07 +00:00
Glenn Maynard 9860bca9ea m_iFadeFrames -> m_iFadeOutFrames 2007-04-06 17:52:49 +00:00
Glenn Maynard 023025e01b add ResetOptions 2007-04-06 16:03:50 +00:00
Glenn Maynard c69d045490 remove odd command loading (also, load commands in Init, not BeginScreen) 2007-04-06 15:59:07 +00:00
Glenn Maynard ff6263a9f3 fix command name 2007-04-06 15:58:01 +00:00
Glenn Maynard 3f776c5bb5 ResetToDefaultPlayerOptions, ResetToDefaultSongOptions 2007-04-06 15:44:39 +00:00
Glenn Maynard f7ce0e3892 preserve load order 2007-04-03 03:34:50 +00:00
Glenn Maynard 5d33947ff0 theme sort list 2007-04-03 03:34:17 +00:00
Glenn Maynard 594e839bd1 theme sort list 2007-04-03 02:50:25 +00:00
Glenn Maynard b244f60e84 merge ThemeMetric and DynamicThemeMetric 2007-04-03 02:43:41 +00:00
Glenn Maynard 0efd18575b fix rotation keys 2007-04-03 02:05:36 +00:00
Glenn Maynard c580a8af59 fix backwards (cosmetically) 2007-03-27 06:47:02 +00:00
Glenn Maynard d1a78c315d fix m_fTimestampOffset 2007-03-27 06:17:37 +00:00
Glenn Maynard a8e02fc40e GL_ARB_pixel_buffer_object check 2007-03-27 00:24:56 +00:00
Glenn Maynard dc8b481268 temporary fix for
004f2fec: void debug_crash(void) [00400000+f2fda+12]
004dc1f0: void sm_crash(char const *) [00400000+dc1d5+1b]
005aa73e: class Style const * GameManager::GetFirstCompatibleStyle(class Game const *,int,enum StepsType)const  [00400000+1aa6a9+95]
005ae440: void GameState::JoinPlayer(enum PlayerNumber) [00400000+1ae3c4+7c]
7c421201: MSVCP80!std::char_traits<char>::_Copy_s [7c420000+11ec+15]
00418707: void ScreenEditMenu::Init(void) [00400000+186ee+19]
2007-03-27 00:24:21 +00:00
Glenn Maynard d4b6b0b7b3 set width, so halign works 2007-03-26 23:20:24 +00:00
Glenn Maynard 6e7b44522e SetPosition 2007-03-26 22:54:21 +00:00
Glenn Maynard 2663f35be8 kill first draw after BeginScreen 2007-03-26 22:52:54 +00:00
Glenn Maynard 9f259ed879 simplify
bindings
looping
negative rates
2007-03-26 02:46:55 +00:00
Glenn Maynard 55ab6954e8 update API 2007-03-26 00:35:14 +00:00
Glenn Maynard a8ee16a106 add texture autogen flag 2007-03-25 20:49:39 +00:00
Glenn Maynard 813432c98d Split decode and convert, and do them on alternating frames. 2007-03-25 07:46:20 +00:00
Glenn Maynard 87f1f61021 MovieTextureDirectUpdates. Some drivers are stalling, can't
diagnose it right now ...
2007-03-25 07:45:23 +00:00
Glenn Maynard 0161b65ada Detect when movies have no B-frames, and set CODEC_FLAG_LOW_DELAY
on the next loop.  FFMpeg can't do this automatically, and it
avoids inconsistent CPU use caused by FFMpeg buffering the first
frame in case of B-frames.
2007-03-25 07:42:40 +00:00
Glenn Maynard 7c8691d661 fix timestamps 2007-03-25 04:26:18 +00:00
Glenn Maynard 3f5d83cb9c fix initializer 2007-03-25 04:04:23 +00:00
Glenn Maynard d80b09dd84 ret == 0 means EOF. Don't update the texture; it'll loop and update it again right away. This caused an update before the previous parallel unlock had finished, which apparently triggered the slow path in the driver and caused a 15ms skip. 2007-03-25 04:01:56 +00:00
Glenn Maynard 6cb000f4fc bindings 2007-03-24 00:43:44 +00:00
Glenn Maynard 15feca28cf bind 2007-03-24 00:39:49 +00:00
Glenn Maynard 6f71043cc9 add SetTextureFiltering 2007-03-24 00:39:19 +00:00
Glenn Maynard 6182acd032 add SetUpdateFunction 2007-03-24 00:38:11 +00:00
Glenn Maynard 899735538b implement SetTextureFiltering 2007-03-23 07:59:33 +00:00
Glenn Maynard 303c448c37 allow W4, W5 2007-03-23 01:45:07 +00:00
Glenn Maynard ca73913007 use endianless format names
add but comment out a few types; these are crashing ffmpeg, need to
find out why
prefer BGRA; faster for nVidia cards
2007-03-22 21:53:30 +00:00
Glenn Maynard 3a0ebd82a6 renamed in ffmpeg (incorrectly, this is ARGB, not RGB or RGBA) 2007-03-22 21:16:17 +00:00
Glenn Maynard bd4080a501 simplify 2007-03-22 19:23:17 +00:00
Glenn Maynard c7192a3b79 cleanup 2007-03-22 19:14:41 +00:00
Glenn Maynard fde00c7b04 fixup 2007-03-22 19:14:13 +00:00
Glenn Maynard 4139261ac7 use RageTextureLock to avoid a texture copy
remove threaded textures for now at least; makes RageTextureLock
much harder, causes a lot of nondeterministically-timed competing
CPU use, and we can probably optimize more easily this way
2007-03-22 19:11:48 +00:00
Glenn Maynard 5d0d26164c implement RageTextureLock with PBOs 2007-03-22 19:03:31 +00:00
Glenn Maynard d640dbc9d9 add RageTextureLock 2007-03-22 18:58:40 +00:00
Glenn Maynard b09c06c355 typo 2007-03-22 18:58:19 +00:00
Glenn Maynard 4d9a2cbb86 reusable invalidation 2007-03-22 18:55:49 +00:00
Glenn Maynard be271f9dd7 more VBO bindings 2007-03-22 18:33:07 +00:00
Glenn Maynard 1f1ae1a465 fix default selection 2007-03-22 07:06:08 +00:00
Glenn Maynard bf16705d1e handle BGRA8; nVidia cards prefer this format 2007-03-22 05:30:19 +00:00
Glenn Maynard 0cb0394ad1 handle PIX_FMT_BGR32_1; nVidia cards prefer this format 2007-03-22 05:26:09 +00:00
Glenn Maynard b8c7ce382b unneeded 2007-03-22 00:35:06 +00:00
Glenn Maynard 70b8f34371 define some C99 stuff (not trying to do it all; it's pages long) 2007-03-22 00:34:41 +00:00
Glenn Maynard d6986e900e enable C99 stuff if available 2007-03-22 00:26:37 +00:00
Glenn Maynard 8a07dfca34 set effectclock cleanly 2007-03-22 00:04:37 +00:00
Glenn Maynard 1fdf23a4a3 fix warning 2007-03-21 21:22:40 +00:00
Glenn Maynard d4c72630af fix test 2007-03-21 20:29:57 +00:00
Glenn Maynard aac8c00cfc RageSoundPosMap: fix splitting 2007-03-21 19:24:40 +00:00
Glenn Maynard 3e96c357aa fix bApproximate 2007-03-21 17:39:23 +00:00
Glenn Maynard 4549e6646a OptionsMenuChanged 2007-03-21 07:49:53 +00:00
Glenn Maynard 8cbd14b99f fixup 2007-03-21 06:38:11 +00:00
Glenn Maynard eed9ff74f5 fix preloading 2007-03-21 06:36:11 +00:00
Glenn Maynard bef66aa6de fix crash 2007-03-21 06:30:12 +00:00
Glenn Maynard 03922a91dc fix late join crash 2007-03-21 06:14:04 +00:00
Glenn Maynard 2c0c83e901 remove old 2007-03-21 05:53:39 +00:00
Glenn Maynard a7afd661d9 ffmpeg update 2007-03-21 05:53:17 +00:00
Glenn Maynard fec6da2b1f fixup 2007-03-21 05:52:26 +00:00
Glenn Maynard ace3a66e36 - ffmpeg API update
- Add support for doing YUV colorspace conversion in hardware,
using a fragment shader.  This speeds up high-resolution movies
substantially, and provides 32-bit color depth with the data
cost of 16-bit textures.
 - optimize rewinding
2007-03-21 05:27:53 +00:00
Glenn Maynard aaceb42b61 ffmpeg upgrade to get packed-pixel YUYV422 support 2007-03-21 05:18:17 +00:00
Glenn Maynard 504866debb Allow passing a surface with no data and non-power-of-two dimensions.
A power-of-two texture will be created and not initialized.
2007-03-21 04:51:47 +00:00
Glenn Maynard a4fbd6f19b implement EffectMode_YUYV422 2007-03-21 04:38:17 +00:00
Glenn Maynard 53a2e41837 fix Sprite copy 2007-03-21 01:40:21 +00:00
Glenn Maynard 5529816b54 add EffectMode_YUYV422 2007-03-20 07:54:21 +00:00
Glenn Maynard 5dc6e79d3c X1R5G5B5 format 2007-03-20 07:51:56 +00:00
Glenn Maynard bcb431f244 fix comments 2007-03-20 07:48:18 +00:00
Glenn Maynard d2033b110b fix comments 2007-03-20 07:47:14 +00:00
Glenn Maynard 141395e1d5 fix RageDisplay_OGL::GetTexture 2007-03-20 07:46:05 +00:00
Glenn Maynard 5f2d10f620 EffectMode 2007-03-20 07:43:47 +00:00
Glenn Maynard 068e663080 more reasonable default 2007-03-20 07:37:44 +00:00
Glenn Maynard 48d631d6ca support bOneChoiceForAllPlayers 2007-03-19 00:03:20 +00:00
Glenn Maynard 5b56042069 -XXX 2007-03-18 22:57:17 +00:00
Glenn Maynard 3616a0cb1b simplify 2007-03-18 22:56:29 +00:00
Glenn Maynard 3f32295bc9 tweak:
- tune down speedup near 100%
 - start slowing down at 50% if time is available
2007-03-18 19:53:20 +00:00
Glenn Maynard 642e2cac82 tweak haste to prevent slowing the song down too long 2007-03-18 19:38:11 +00:00
Glenn Maynard 6fad738ca5 allow rolls to increment the combo
REQUIRE_STEP_ON_HOLD_HEADS affects rolls
2007-03-18 19:04:49 +00:00
Glenn Maynard 506163fbcd no checkpoints for rolls 2007-03-18 18:41:51 +00:00
Glenn Maynard 1cb095f159 allow repeats in scrolling 2007-03-18 18:08:26 +00:00
Glenn Maynard 42d69401cc clear start on close 2007-03-18 17:50:23 +00:00
Glenn Maynard f49bd48803 message 2007-03-18 10:26:45 +00:00