Commit Graph

216 Commits

Author SHA1 Message Date
Glenn Maynard 74838465c3 fix "Font" attribute 2007-02-16 06:34:46 +00:00
Glenn Maynard 7319b284ab cacept paths like other actors 2007-02-15 11:27:17 +00:00
Glenn Maynard ebb7189b88 add TextureUnit param to SetTextureMode 2007-02-13 04:59:05 +00:00
Glenn Maynard 4bff44a918 use SetTextureMode 2007-02-13 04:15:32 +00:00
Steve Checkoway 4517499f0f lroundf -> lrintf. 2007-01-03 05:05:28 +00:00
Steve Checkoway eb0b26cd82 Float to int is slow on ppc. It requires a store, a big stall, and then a load. It's even worse on a G5 if the compiler is dumb (and let's face it, I'm using gcc here...). Just use lroundf when we want an int. It will certainly be no slower. 2007-01-02 23:36:44 +00:00
Chris Danford eca593e76a cleanup Rainbow methods
add experimental Jitter effect
2006-12-07 07:49:22 +00:00
Glenn Maynard 5cc5462722 header cleanup 2006-11-21 05:17:01 +00:00
Steve Checkoway 30d9410b65 Unneeded. 2006-11-01 10:45:51 +00:00
Glenn Maynard e11914d4bb LoadFromNode(sDir, pNode) -> LoadFromNode(pNode) 2006-10-09 08:24:10 +00:00
Glenn Maynard f1ca420069 use ActorUtil::GetWhere 2006-10-09 08:08:59 +00:00
Glenn Maynard e0b788de16 unneeded LuaHelpers::RunAtExpressionS 2006-10-09 01:22:17 +00:00
Glenn Maynard d188c2fd12 use GetName, GetValue 2006-10-02 06:12:42 +00:00
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard f4975f1f54 simpler Lua boilerplate 2006-09-27 20:30:29 +00:00
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
Glenn Maynard f98dc30d93 still needed, but not for that 2006-08-20 19:32:57 +00:00
Jason Felds 2b7744c937 Tab cleanup. 2006-08-18 03:32:00 +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 db86dbb519 fix if iPadding < 0 2006-06-25 04:00:34 +00:00
Glenn Maynard 15ede4e845 fix m_iVertSpacing in copy 2006-01-25 09:32:24 +00:00
Glenn Maynard a40813dec0 add vertspacing 2006-01-24 01:12:54 +00:00
Glenn Maynard 4dfd0d1d7c simplify 2006-01-24 01:04:53 +00:00
Glenn Maynard 39bf48696a cleanup 2006-01-24 01:02:21 +00:00
Glenn Maynard 63368f99da cleanup 2006-01-24 01:00:49 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +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 3c0deebeba Actor::DrawPrimitives() does nothing. 2005-10-29 11:38:23 +00:00
Glenn Maynard 71931135a3 implement BitmapText::operator= 2005-09-27 05:38:14 +00:00
Chris Danford 682f9aa379 fix Reverse for RTL can be applied multiple times to the same string 2005-09-24 20:23:15 +00:00
Glenn Maynard 8b9f7c2889 sLine is a string, not a vector 2005-09-23 02:27:23 +00:00
Chris Danford a19f0b492a RTL cleanup 2005-09-22 16:49:51 +00:00
Chris Danford 1a7899e270 add support for Right to Left fonts 2005-09-22 09:08:11 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Glenn Maynard faf1ee5808 ReplaceMarkers, :: (no RunAtExpressionS). 2005-09-06 04:36:20 +00:00
Glenn Maynard 0022bc3338 cleanup 2005-09-03 02:08:27 +00:00
Glenn Maynard f67bf25560 remove comment 2005-09-01 06:13:56 +00:00
Glenn Maynard 28f937d412 RunAtExpressionS 2005-08-30 01:59:49 +00:00
Glenn Maynard fe25ff3595 cleanup 2005-08-25 01:26:59 +00:00
Glenn Maynard b58c5c072a cleanup, remove old comment 2005-08-25 01:17:26 +00:00
Glenn Maynard 1c81bcc5fc EarlyAbortDraw() const 2005-08-25 00:57:53 +00:00
Glenn Maynard a774629f4e cleanup. (hate this fade logic ...) 2005-08-25 00:47:10 +00:00
Glenn Maynard 402b93f3d8 remove old brainstorming: I'm not sure that using a real font renderer
would be a good idea (too slow), and if I do implement it I probably won't
use this ancient design.  (BitmapText needs to be faster and use less memory;
currently it uses about 256 bytes per character--too much--and it should use
compiled geometry if possible.)
2005-08-24 23:20:32 +00:00
Glenn Maynard ee791b9c9c fix copying when unloaded 2005-07-16 03:10:59 +00:00
Glenn Maynard ff2c101d82 BitmapText copy ctor to fix refcount desync 2005-07-15 03:50:56 +00:00
Glenn Maynard 9d7f835609 no need to template Luna specializations 2005-06-20 05:02:03 +00:00