Commit Graph

36 Commits

Author SHA1 Message Date
Steve Checkoway 8d8e707347 This code is very strange, but all of the actors need to have their commands loaded since these were what were missing Off commands. 2007-08-15 06:20:23 +00:00
Steve Checkoway 32a9724841 Move ColorBitmapText to SNetSelectBase since this is very specific to the SMO code. This should probably be done in a general way in BitmapText and the string parsing to color code should be kept where it is used instead of part of the bitmap text class. 2007-06-09 07:56:34 +00:00
Chris Danford 3f1862a1ee explicitly load commands to fix "command not loaded" asserts 2007-04-03 21:16:28 +00:00
Chris Danford 599db61b62 Always call LoadAllCommands explicitly.
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
Glenn Maynard c71d8f7425 IET_SLOW_REPEAT -> IET_REPEAT 2006-09-13 02:59:05 +00:00
Glenn Maynard d03db0c4f9 remove IET_FAST_REPEAT 2006-09-13 02:55:19 +00:00
Glenn Maynard 0a5256bb03 use DeviceInputToChar 2006-06-15 03:35:54 +00:00
Chris Danford 0611a735e2 fix warning 2006-06-14 03:20:15 +00:00
Chris Danford 8c4cedf63f let OS handle key modifers (fixes number buttons w/ French keyboard) 2006-06-10 20:33:56 +00:00
Chris Danford dce168b0c2 international keyboard support 2006-06-10 06:50:50 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard a87993bcb1 finish ctor transition 2006-01-15 20:46:15 +00:00
Glenn Maynard ced8fd4561 Transition away from Screen(sName). 2006-01-15 19:04:34 +00:00
Chris Danford bb10c7c21f pass around InputEventPlus in Screen::Input instead of multiple input structures 2005-09-05 02:26:50 +00:00
Glenn Maynard c7fe30ba71 removing GetMetricC 2005-08-26 21:15:30 +00:00
Glenn Maynard 8d7733c6f2 removing GetMetricC 2005-08-26 21:12:48 +00:00
Glenn Maynard a305c072c0 cleanup 2005-07-19 06:20:18 +00:00
Glenn Maynard 881db4c838 remove more duplication of Screen's handlers 2005-07-13 08:58:14 +00:00
Charles Lohr e9dd669be3 Change: Let text width's be set independant to box size, this will make it more asthetically pleasing and prevent it from breaking totally when people mess around with bitmaptext 2005-05-22 06:05:35 +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
Charles Lohr 36a4c88949 Cleanup, don't move stuff in and out of temporary bitmap texts. This also fixes colors taking up space in chat problem. 2005-05-04 22:27:13 +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
Charles Lohr fbb611cf24 Workaround: let P2 use P1's menu buttons for changing P2's own difficulty, but only when P1 isn't around. 2005-03-31 21:01:11 +00:00
Charles Lohr 8c5909ebe9 Modify AutoScreenMessage to keep map of all non-standard ScreenMessages.
This has a lot of advantages over the old ways.  Some of the initial ones are that
you can log a list of all screenmessages and their respective number and another
is that it would be fairly easy to add a reverse lookup, so you could get the name
of a ScreenMessage for log use by getting the ScreenMessage number.
2005-03-28 08:01:36 +00:00
Chris Danford 880e42e1d3 fix conflicting ScreenMessage IDs by automatically generating unique values 2005-03-23 08:48:38 +00:00
Glenn Maynard b51b0cfb4c Use Init() for all screens, so we can set state before the base class
members are loaded--they'll see resets, score finalization, etc.  It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +00:00
Charles Lohr 1f56e7dfef Change: Allow user to have custom keymappings and still chat. 2005-02-01 06:49:44 +00:00
Chris Danford 5d6eb1d236 put ActorUtil functions in a namespace 2005-01-17 05:42:52 +00:00
Josh Allen 095bcea577 Transition to sprites from quads 2004-12-03 01:22:22 +00:00
Chris Danford 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Charles Lohr 70ea342ac1 Move: Utility from ActorUtil to ScreenNetBase 2004-11-24 00:00:56 +00:00
Charles Lohr b43d281b78 Cleanup; Get rid of nasty repetitive code. 2004-11-23 22:06:27 +00:00
Charles Lohr cccf06e7b0 Add: Abstraction for ScreenNetSelects... And the new room screen. 2004-11-16 23:12:58 +00:00