Commit Graph
11949 Commits
Author SHA1 Message Date
Chris Danford f8d3996b35 remove unused metrics 2004-09-24 04:52:14 +00:00
Chris Danford f8c7005829 replace C style comments in metrics with Lua style. Yuck. 2004-09-24 04:49:37 +00:00
Glenn Maynard 3ad6bc0303 fix warning 2004-09-24 03:48:27 +00:00
Glenn Maynard 0775e54030 compile fix 2004-09-24 02:52:07 +00:00
Glenn Maynard 1b02c6d494 remove m_FadedOutAt; didn't like the effect produced 2004-09-23 12:23:24 +00:00
Glenn Maynard 9dbfc3ace1 fade fix 2004-09-23 09:31:12 +00:00
Glenn Maynard 4a17c3d725 If m_LengthSeconds is longer than the actual file, pad with silence; this way,
if looping, the sound will loop exactly once every m_LengthSeconds.  This should
fix obscure beat alignment problems if sample music ends at the end of the file,
since before, extending the length beyond the end of the file didn't do anything.

Fix m_FadeLength.  The length was being ignored.

Add m_FadedOutAt; this way, if beat alignment extends a 10-second clip at the
end of a file by .5 seconds, we can fade out 9..10, instead of 9.5 ... 10.5,
which would cause the sound to cut out early.
2004-09-23 09:10:04 +00:00
Chris Danford cae82a308a test expression metrics 2004-09-22 07:54:25 +00:00
Chris Danford 21871f7c3d Parse F theme metrics as Lua expressions. I'll regroup LuaHelpers as a singleton subsystem soon. 2004-09-22 04:55:31 +00:00
Chris Danford 1ec8cbb208 simplify: only accept RectF 2004-09-22 02:20:50 +00:00
Glenn Maynard 6aaa517c62 ignore extra FocusChanged calls 2004-09-21 09:11:05 +00:00
Glenn Maynard 4d00fe9707 apparently "save all" in VC6 means "save something" 2004-09-21 09:08:16 +00:00
Glenn Maynard a990ddc2a3 update 2004-09-21 09:05:50 +00:00
Glenn Maynard 9be1ea4333 don't link SDL in Windows 2004-09-21 09:02:50 +00:00
Glenn Maynard ac1745fc35 move D3D from SDL -> GraphicsWindow 2004-09-21 09:00:48 +00:00
Glenn Maynard 6abd254f1d LowLevelWindow_Win32 2004-09-21 08:58:23 +00:00
Glenn Maynard 9d73476493 add WinMain. I'm not sure if this is needed for the Xbox; if it is, remove the
#ifdefs.
2004-09-21 08:57:42 +00:00
Glenn Maynard f2c2ebb175 no HAVE_SDL on Windows 2004-09-21 08:56:31 +00:00
Glenn Maynard aa73f66bde windows ogl/d3d helpers 2004-09-21 08:55:39 +00:00
Glenn Maynard c88ddccc73 Native Win32 LowLevelWindow. This gets rid of SDL in Windows.
It seems to handle mode switching slightly better in OpenGL: I still
get the "windows resize to the fullscreen resolution" and "maximized
windows go under the taskbar" problems occasionally when I change the
resolution in game, but they no longer happen when I simply play the game
in fullscreen.  We also can avoid reloading textures on mode change in
many cases.  (This is not going into the 3.9 release.)
2004-09-21 08:54:49 +00:00
Glenn Maynard 8a0df6bb27 fix warnings 2004-09-21 08:41:17 +00:00
Glenn Maynard ea6dec5673 update (already applied to 3.9) 2004-09-21 08:39:08 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Chris Danford f97eaed01d fix linux compile 2004-09-21 06:19:00 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Steve Checkoway 18f720cda6 cleanup, make macros more robust, fix warning. 2004-09-20 17:02:37 +00:00
Glenn Maynard 886dc05a55 WITHOUT_NETWORKING fixes 2004-09-20 07:20:19 +00:00
Glenn Maynard 9829681a61 oops, old update 2004-09-20 06:52:05 +00:00
Glenn Maynard 477a9ac080 don't touch TLS on linuxthreads 2004-09-20 06:13:39 +00:00
Charles Lohr 86de3757ee Added to programmer credits. 2004-09-20 05:53:31 +00:00
Josh Allen 55bd88124b Added to programming credits. 2004-09-20 05:39:47 +00:00
Glenn Maynard 1fd8e8dd1e try to avoid ClearZBuffer() 2004-09-20 02:43:04 +00:00
Glenn Maynard 3dc77f6493 win32 icon helpers 2004-09-20 01:14:26 +00:00
Glenn Maynard 6b305bba8b Oops, did this a long time ago (for a23) and forgot to commit it ... 2004-09-20 00:12:59 +00:00
Glenn Maynard 207a02dd08 ACP conversion. (This and hr_ and werr_ssprintf don't really belong in here,
I'll clean it up eventually ...)
2004-09-20 00:03:09 +00:00
Glenn Maynard 9bf052492f cleanup 2004-09-19 23:00:46 +00:00
Glenn Maynard 12018cc58a fix joystick mapping regression 2004-09-19 22:54:34 +00:00
Glenn Maynard be433d50d2 don't add the song BG as a BGA if it's already there 2004-09-19 06:27:44 +00:00
Josh Allen 5561f6a39d Improved handling of new clients. 2004-09-19 03:36:28 +00:00
Glenn Maynard 7573856a99 If the first TryVideoMode fails, log the error, since if one of the fallbacks
works, we'll never see the error.
2004-09-19 01:47:59 +00:00
Glenn Maynard f056fedae2 fix crashes when fullscreen d3d window loses focus 2004-09-19 01:38:12 +00:00
Glenn Maynard 3dff054839 cleanup 2004-09-18 19:44:43 +00:00
Glenn Maynard 6029dcd0f5 add defaults 2004-09-18 19:42:28 +00:00
Glenn Maynard a9934d4fd0 unused 2004-09-18 07:35:24 +00:00
Josh Allen 17cfefe2de Fix memory leak on playersPtr. 2004-09-18 06:42:39 +00:00
Josh Allen a62c82e4db Fix memory leak with Clients. 2004-09-18 05:48:40 +00:00
Glenn Maynard a0220f60d1 cleanup 2004-09-18 05:22:16 +00:00
Glenn Maynard b0f608da07 fix refresh rates in d3d 2004-09-18 05:18:14 +00:00
Glenn Maynard f146f1ceeb remove old comment and unused code 2004-09-18 05:17:03 +00:00
Glenn Maynard aa66c6e7de remove old code 2004-09-18 04:40:59 +00:00