Commit Graph
20086 Commits
Author SHA1 Message Date
Renaud Lepage d88ee66ad2 Yet Another Update 2006-01-23 20:57:16 +00:00
Renaud Lepage e900d0062f Added Language ID. 2006-01-23 18:50:54 +00:00
Renaud Lepage 7153137012 needed for Xbox. 2006-01-23 16:38:19 +00:00
Renaud Lepage e03f379ba4 Little Xbox fix : FAILED macro was already defined somewhere deep. 2006-01-23 16:23:31 +00:00
Renaud Lepage 4874587cba Missing header 2006-01-23 16:17:36 +00:00
Renaud Lepage 469b53e120 Move Xbox into Xbox arch_setup 2006-01-23 16:11:23 +00:00
Glenn Maynard 3da3825e20 remove TWEEN_SMOOTH. Use Bezier. 2006-01-23 06:53:11 +00:00
Glenn Maynard b9f4fb36be update 2006-01-23 05:50:22 +00:00
Glenn Maynard a62788fb9f Split out tween weighting functions. Add tweening from 1d and 2d
bezier curves.

The "bouncebegin" and "bounceend" tweens are now implemented in Lua,
using 2D beziers which approximate the old behavior very closely.
Added "ease" tween, which works like Flash's.

Custom tweens can be used, passing in a table of 4 values for a
1D bezier, or 8 values for 2D.

   tween,.5,TweenBezier,{ 0, p1, p2, 1 }
   tween,.5,TweenBezier,{ 0, 0, x1, y1, x2, y2, 1, 1 }

As with all tweens, the first parameter is the duration.

The 1D bezier { a, b, c, d } is equivalent to the 2D bezier
{ 0, a, 1/3, b, 2/3, c, 1, d }, but a 1D bezier is more efficient.
2006-01-23 05:48:40 +00:00
Glenn Maynard 9190f037d4 Very few places use BounceBegin and BounceEnd in code. I want these
tween types to only be used in commands, not in code.  If anyone
is strongly attached to these tweens being BounceBegin, the complete
fix is to update this code so it uses ON_COMMAND/OFF_COMMAND.  (GroupList
is probably going to be removed, anyway, since music wheel sections
make it obsolete.)
2006-01-23 05:13:52 +00:00
Glenn Maynard 9e53044d00 remove Actor:: qualifier 2006-01-23 04:42:12 +00:00
Steve Checkoway bab07ebf58 Factor out HIDDevice. 2006-01-23 03:48:03 +00:00
Glenn Maynard 6e03ec1998 use lerp() 2006-01-23 03:37:25 +00:00
Glenn Maynard 075ada3a71 cleanup 2006-01-23 03:03:01 +00:00
Steve Checkoway 92f64dc940 Device -> HIDDevice. 2006-01-23 01:37:11 +00:00
Steve Checkoway 5ea801b506 Style. 2006-01-23 01:30:38 +00:00
Renaud Lepage 6cccb378d9 Files update. 2006-01-22 20:42:06 +00:00
Steve Checkoway 4000781478 This belongs in archutils. 2006-01-22 09:51:07 +00:00
Steve Checkoway 75d67fbe85 Spacing. 2006-01-22 07:24:18 +00:00
Steve Checkoway 3a4f3a8efd Less noisy. 2006-01-22 07:23:05 +00:00
Steve Checkoway 4a8daa3671 Fix: plugging in head phones causes arrows to stop moving. 2006-01-22 07:21:31 +00:00
Steve Checkoway f909c72376 Cleanup spacing. 2006-01-22 05:33:37 +00:00
Steve Checkoway bf42e5a4d7 I forgot to test concurrent rendering in windowed mode. It isn't working so remove it for now. 2006-01-22 03:18:28 +00:00
Steve Checkoway 79faafb593 CString -> RString 2006-01-22 02:50:56 +00:00
Steve Checkoway 16fcc71cbf Fix warnings. 2006-01-22 02:50:47 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Steve Checkoway ccd3332cc2 Const. 2006-01-22 00:43:41 +00:00
Steve Checkoway d10e652b97 Style. 2006-01-22 00:40:53 +00:00
Chris Danford 1e8ccdeda4 spacing cleanup 2006-01-22 00:13:27 +00:00
Chris Danford d5d4610946 CString->RString
fixes RageFileDriverZip memory corruption
2006-01-21 23:01:06 +00:00
Chris Danford d773b2443f working on zip reading 2006-01-21 21:45:59 +00:00
Chris Danford 836e12297e remove TODO assert 2006-01-21 21:18:33 +00:00
Josh Allen 1c801ba535 Working RoomInfoDisplay 2006-01-21 17:45:52 +00:00
Steve Checkoway 1414546919 Remove nonexistant audio driver, do not use SDL for input and simplify since HAVE_XDK is checked first. 2006-01-21 14:37:03 +00:00
Steve Checkoway 2dc6a8fa66 Cleanup and use core graphics directly to swap buffers rather than going though the overhead of the obj-c calls. 2006-01-21 13:40:01 +00:00
Steve Checkoway 3f5c921357 Implement concurrent rendering. 2006-01-21 13:33:04 +00:00
Steve Checkoway 297949b7c5 If the OGL context changes, we must set the display mode and we must set vsync. 2006-01-21 13:00:51 +00:00
Chris Danford 477e67a8aa fix smpackage file routines and registry writing 2006-01-21 12:18:26 +00:00
Steve Checkoway 9ed7548de1 Use new api. 2006-01-21 11:14:13 +00:00
Steve Checkoway ca27a7d350 Change the API a bit. Use values between 0 and 1. 2006-01-21 11:13:53 +00:00
Glenn Maynard f9361c9036 interp -> lerp ("interp" doesn't imply linear) 2006-01-21 07:26:20 +00:00
Josh Allen 5a9a621111 Added more functionality to RoomInfoDisplay 2006-01-21 03:46:19 +00:00
Glenn Maynard 996477feae rename ReloadMetricsAndUpdateLua -> ReloadScreenDimensions 2006-01-21 01:15:09 +00:00
Chris Danford d00063c067 name/tab/string cleanup 2006-01-20 23:38:17 +00:00
Glenn Maynard 5f7d26addd move DisplayAspectRatio 2006-01-20 22:44:28 +00:00
Glenn Maynard 58c79217df cleanup 2006-01-20 22:16:10 +00:00
Chris Danford 3992801160 test for error when writing Preferences.ini 2006-01-20 21:40:15 +00:00
Josh Allen 642c5270dc Reworked m_roomInfo's datatype into its own class RoomInfoDisplay. I will add more functionality tonight. 2006-01-20 20:34:36 +00:00
Glenn Maynard 3bf20452b9 don't use debug CRTs 2006-01-20 19:43:41 +00:00
Steve Checkoway 1268e3d3f0 Fall back onto more a sensible fallback. 2006-01-20 11:40:35 +00:00