Commit Graph

212 Commits

Author SHA1 Message Date
Glenn Maynard c540417e23 transition 2006-09-26 20:29:34 +00:00
Steve Checkoway 6ea2a41b00 Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible. 2006-09-17 01:19:19 +00:00
Jason Felds 2b7744c937 Tab cleanup. 2006-08-18 03:32:00 +00:00
Glenn Maynard 3c15c15aa2 AddImageCoords 2006-07-29 00:16:57 +00:00
Glenn Maynard ad0e9c3105 remove; access the texture directly 2006-07-28 23:29:37 +00:00
Glenn Maynard ba66d3f4b3 remove bindings; use eg. sprite:GetTexture():loop( f ) 2006-07-28 23:25:45 +00:00
Glenn Maynard e136191439 bind GetTexture 2006-07-28 23:19:36 +00:00
Glenn Maynard c6aa765685 cleanup 2006-07-28 21:51:40 +00:00
Glenn Maynard 184a2fa37e cleanup 2006-07-28 21:48:52 +00:00
Glenn Maynard eeed70ea55 cleanup 2006-07-28 21:43:35 +00:00
Jason Felds 1b1f2a9790 VC8 fix (inline if). 2006-07-28 03:21:45 +00:00
Glenn Maynard d580386bb9 unused 2006-07-28 00:38:43 +00:00
Glenn Maynard 3439a2e546 if a texture is registered, we can use it whether it exists as a file or not (eg. RenderTargets) 2006-07-28 00:26:13 +00:00
Glenn Maynard eafac8fb96 simplify 2006-07-28 00:24:30 +00:00
Glenn Maynard 4bd4508ba2 unused label 2006-07-27 23:56:41 +00:00
Glenn Maynard bcb438f1e5 ActorUtil::ResolvePath does this 2006-07-27 23:53:15 +00:00
Glenn Maynard bcebbe04e2 let RageTExtureManager handle this error 2006-07-27 23:51:49 +00:00
Glenn Maynard e340b0adfd m_sSpritePath is obsolete and never set 2006-07-27 23:20:12 +00:00
Glenn Maynard 34f43ccd4a Use ActorUtil::ResolvePath. Other than removing a bunch of
duplicate code, this makes language-tagged textures work.
2006-07-27 22:58:49 +00:00
Glenn Maynard b352d48300 unused 2006-07-27 22:57:48 +00:00
Glenn Maynard d0bcf2052d RageTexture is a wrapper around RageDisplay's textures; RageDisplay
itself doesn't use it.  Don't pass in RageTexture to SetTexture;
use RageDisplay's native texture handles.
2006-07-23 03:19:49 +00:00
Glenn Maynard e066ea44e8 redundant 2006-07-11 17:00:52 +00:00
Steve Checkoway ae4e5ba9e5 More Sprite debugging. 2006-06-24 01:33:17 +00:00
Steve Checkoway 9a5374e23f Use AbortRetryIgnore, don't just Throw. 2006-06-24 00:58:38 +00:00
Glenn Maynard db4ccaf529 Fix rounding error from NoteDisplay::SetActiveFrame "vivid" output. 2006-02-17 05:53:29 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard a89a488251 use find() 2005-12-21 08:46:30 +00:00
Glenn Maynard 5a6b805e20 unused include 2005-12-19 00:37:10 +00:00
Chris Danford 608ba7f7ac cleanup 2005-12-03 07:44:59 +00:00
Glenn Maynard 77c6ffdfd1 cleanup 2005-11-28 20:33:20 +00:00
Glenn Maynard 220602d4a2 fix lerp (obscure: this only matters for non-rectangular texture coordinates) 2005-11-28 18:08:51 +00:00
Glenn Maynard 40c3fa3995 generalize texture coord gen 2005-11-28 16:54:19 +00:00
Glenn Maynard 5be508809b When cropping, derive the texture coords from the vertices, so the
texture coord code doesn't have to know about the cropping code.
2005-11-28 16:36:15 +00:00
Glenn Maynard 4c874a943b include cleanup 2005-11-06 18:03:47 +00:00
Chris Danford 3f6e95b7d8 fix D3D texture coord generation 2005-11-05 03:08:09 +00:00
Steve Checkoway 4ce7d47899 Cleanup. 2005-10-29 12:22:43 +00:00
Glenn Maynard ac601d932a eval, handle relative paths 2005-10-12 02:44:49 +00:00
Glenn Maynard 201fe355ac simplify 2005-10-11 02:16:55 +00:00
Glenn Maynard a808a49b65 remove return value; always true and never checked (texture load errors
are handled with warnings and a dummy texture)
2005-10-11 02:15:27 +00:00
Glenn Maynard a736d97aa2 simplify 2005-10-11 02:08:12 +00:00
Glenn Maynard d78b194f09 add GetAnimationLengthSeconds 2005-10-05 08:31:46 +00:00
Chris Danford 2dc967326b error message cleanup 2005-10-05 05:01:09 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Glenn Maynard a60dd2ec38 fix edge diffuse colors with fade 2005-09-03 22:44:11 +00:00
Chris Danford e439ae2a96 return "" -> return NULL 2005-09-02 00:14:07 +00:00
Glenn Maynard 1c81bcc5fc EarlyAbortDraw() const 2005-08-25 00:57:53 +00:00
Chris Danford 7cfcce6e7d remove .sprite file support. Use .xml instead 2005-07-26 20:00:19 +00:00
Glenn Maynard ee791b9c9c fix copying when unloaded 2005-07-16 03:10:59 +00:00
Glenn Maynard 0cf94e1ada fix copy 2005-07-15 04:22:23 +00:00