Commit Graph

75 Commits

Author SHA1 Message Date
Glenn Maynard 71931135a3 implement BitmapText::operator= 2005-09-27 05:38:14 +00:00
Glenn Maynard df8153cf7b cleanup 2005-09-23 00:13:04 +00:00
Glenn Maynard 1c81bcc5fc EarlyAbortDraw() const 2005-08-25 00:57:53 +00:00
Glenn Maynard 55d6382c49 add virtual Copy() to Actor 2005-07-18 22:00:19 +00:00
Glenn Maynard ff2c101d82 BitmapText copy ctor to fix refcount desync 2005-07-15 03:50:56 +00:00
Glenn Maynard 0b80f541ac update registration for BitmapText types 2005-06-20 04:06:26 +00:00
Glenn Maynard 221e369b7b long-needed style update. no non-cosmetic changes. 2005-05-19 06:55:31 +00:00
Glenn Maynard 01490f8f68 revert weird wrapping hack. I can't make sense of it, and it's causing
infinite loops.  Implement overdraw handling correctly.
2005-05-19 06:11:46 +00:00
Charles Lohr 4970c0ce60 Modifications for ColorBitmapText: Actually make it possible to accurately limit lines.
This should conclude my heavy modifications, please feel free to edit it now.
2005-05-05 20:09:21 +00:00
Charles Lohr 11f9384528 Change: Move Colored Text into it's own class.
Note: At a later time, it may make sense to put my text parsing system over the old one.
2005-05-05 19:47:04 +00:00
Charles Lohr 6f9b5a6e9c Revert. I will probally revert further/manually undo some changes. 2005-05-05 04:57:16 +00:00
Glenn Maynard cc9842e5a4 gettext -> GetText to work around linux namespace pollution. (Lua
methods that are useful in commands need to be lowercase, since
we lowercase on parsing, but others don't have to.)
2005-05-04 21:36:22 +00:00
Glenn Maynard cd968c46f9 gettext 2005-05-04 19:31:23 +00:00
Charles Lohr 9a92b7222f Cleanup, we should not have two text boxes and be moving stuff around between them in order to limit the number of lines 2005-05-04 05:34:28 +00:00
Charles Lohr 348c6f6f5a FEATURE: Allow BitmapTexts to on-the-fly change color mid-text depending on the text
This feature can be used by enabling the coloration by using the .SetDynamicColor( true )
function.  Once this is done, the syntax for color changing is: |c0RRGGBB where RR = red
in hex, GG = green in hex and BB = blue in hex.  |c0 is the token to note the
beginning of a text change.  This was discussed on the StepMania development
list.
2005-05-03 03:37:52 +00:00
Charles Lohr 3b84c9024b Fix: Don't let BitmapText spill outside it's wrap area. Is this a good way to do it? anyone have a better idea? 2005-04-19 02:14:43 +00:00
Chris Danford 7578fed39a add SetMaxHeight 2005-04-15 12:25:59 +00:00
Glenn Maynard df6c246af6 add settext lua method 2005-02-20 07:46:52 +00:00
Chris Danford eb35dfa15f cleanup 2005-02-15 07:07:23 +00:00
Chris Danford d5022cb1b6 code style cleanup 2005-02-12 20:29:38 +00:00
Chris Danford 1de61aa8ae split AutoActor into a separate file 2005-02-09 05:27:51 +00:00
Chris Danford 68dd253720 use templated classes instead of macros for easier debugging 2005-01-31 08:05:27 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford f1dbeb2334 cleanup 2005-01-16 07:08:58 +00:00
Chris Danford ed19821e09 rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford 6c855f0c93 "ParsedCommand" -> "ActorCommand" 2004-11-06 20:42:09 +00:00
Charles Lohr 75b77ad650 Added a command to get the vector of the lines of text. 2004-08-27 13:38:39 +00:00
Glenn Maynard c531e8b172 license update 2004-06-08 00:47:53 +00:00
Chris Danford 3cadf4c5d5 have Numbers fall back to Fonts (in perparation for removing the Numbers dir altogether) 2004-05-30 23:23:39 +00:00
Chris Danford 10a4580c12 remove Actor::Fade*, remove unnessary virtuals in Actor 2004-02-14 03:38:34 +00:00
Chris Danford f7647ae391 add pre-parsing for ActorCommands (though not yet used in ThemeManager) 2004-01-10 20:34:18 +00:00
Glenn Maynard 04aeba8342 remove SetTextMaxWidth 2003-12-17 09:58:24 +00:00
Glenn Maynard b926fbe742 replacing SetTextMaxWidth with more general SetMaxWidth 2003-12-17 09:47:03 +00:00
Glenn Maynard f9525ebe26 remove GetWidestLineWidthInSourcePixels (use GetUnzoomedWidth) 2003-11-24 03:02:26 +00:00
Chris Danford 855106f07d clean up line wrap 2003-11-06 07:23:22 +00:00
Chris Danford c43360bbb1 BitmapText: line wrap automatically 2003-11-06 06:20:35 +00:00
Chris Danford c67d78d948 let Actor subclasses have first crack at parsing commands
allow Models and BitmapTexts in BGAnimationLayer (detected through file extension)
add RageModelVertex, which doesn't have a color property
add "stretch" file name hint for textures
2003-07-07 01:29:18 +00:00
Glenn Maynard 0acd471db0 add SetTextMaxWidth 2003-05-19 23:48:51 +00:00
Glenn Maynard 7a3336d50d add StringWillUseAlternate 2003-02-12 20:19:20 +00:00
Glenn Maynard caee0fc111 Add fallback strings, so we can fall back on translit text if
we're missing characters (eg. someone distributing a song
using kanji that not all people have) instead of showing the
default glyph
2003-02-12 19:34:53 +00:00
Glenn Maynard ff830fad55 only use longchar within fonts 2003-01-28 00:45:01 +00:00
Glenn Maynard f903ac8f30 remove unused parameter 2003-01-18 09:35:08 +00:00
Glenn Maynard 5d5ac4e52c remove unused data, fix warning 2003-01-10 02:54:07 +00:00
Glenn Maynard e5cd3a0800 text entry: replace placeholders on save, so they don't end up in
SMs.
2003-01-06 07:43:14 +00:00
Glenn Maynard d46a2ef9de use int instead of wchar_t; don't want to be limited to 16-bit 2003-01-05 08:11:05 +00:00
Glenn Maynard 16052ecd3d utf-8 support is working 2003-01-05 05:13:45 +00:00
Glenn Maynard 48a54bcbde didn't use any of this 2003-01-05 03:25:20 +00:00
Glenn Maynard 5e8ced1a94 more font work 2003-01-04 07:55:42 +00:00
Glenn Maynard 4bb452404c more bitmap font work 2003-01-04 01:47:01 +00:00
Glenn Maynard b7f3768ba9 remove arbitrary caps; simplify 2002-12-29 22:55:26 +00:00