Commit Graph

19173 Commits

Author SHA1 Message Date
Steve Checkoway bb2a53fd6a Fix double toggling of full screen and fix potential issue if 'q' was bound to do something and the user was really trying to quit without doing whatever that was. Both of these were OS X specific issues due to the fact that Quit and Enter Full Screen are two menu options and handled as such. 2006-01-14 11:04:05 +00:00
Steve Checkoway a38e7abea0 View all files with 8 space tab stop, 8 space indent. 2006-01-14 10:45:22 +00:00
Steve Checkoway 07168018d1 Closing the window quits the program. Fix focus issues. 2006-01-14 10:40:09 +00:00
Steve Checkoway 713ecb81ce Full screen works. Mouse hiding works. A few GUI issues remain. For example, closing the window does nothing more than close the window. 2006-01-14 10:08:42 +00:00
Glenn Maynard 9eb0fcb944 style 2006-01-14 09:15:09 +00:00
Glenn Maynard 0f33586397 We always handle the case where m_Underline[pn] is empty, since SHOW_UNDERLINES may be false. So, don't add the underline, hide it and then special case not un-hiding it; just don't add it. 2006-01-14 09:12:55 +00:00
Glenn Maynard afaf56c160 cleanup 2006-01-14 09:09:49 +00:00
AJ Kelly 273433e694 More theme graphics 2006-01-14 08:58:59 +00:00
AJ Kelly 72b3a8d7c3 Balloon Placement... does this work? 2006-01-14 08:58:39 +00:00
Glenn Maynard 3beae6e2bc simplify 2006-01-14 08:56:22 +00:00
Glenn Maynard 2d00aaf5d5 update comment 2006-01-14 08:55:27 +00:00
Glenn Maynard b4691c560f simplify: "more" makes as much sense when the last entry isn't "exit" 2006-01-14 08:03:46 +00:00
Glenn Maynard 04ec901671 style 2006-01-14 08:01:34 +00:00
Glenn Maynard 201c4f42a8 generalize special case 2006-01-14 08:00:09 +00:00
Glenn Maynard d5a47f9af1 unneeded special case 2006-01-14 07:56:04 +00:00
Glenn Maynard 8374d2193b unneeded special case (m_OptionIcons[p] == NULL case below handles this too) 2006-01-14 07:53:39 +00:00
AJ Kelly 64ffbb7278 fixed difficulty tabs on ScreenGameplay for normal+reverse 2006-01-14 07:27:33 +00:00
Glenn Maynard f4a634034c lua stack check 2006-01-14 06:53:09 +00:00
AJ Kelly 8091e105de some changes on ScreenGameplay + size change for sort titles on SelectMusic 2006-01-14 06:49:36 +00:00
Glenn Maynard d8ae5df6ef fix leak 2006-01-14 06:46:15 +00:00
Glenn Maynard 87b25c0752 fix crash 2006-01-14 06:02:59 +00:00
Glenn Maynard 2891e4d066 update
blank "exit" explanation
2006-01-14 05:58:25 +00:00
Glenn Maynard 4f4654529f add ScreenMetric, ScreenString 2006-01-14 05:57:14 +00:00
Steve Checkoway 7aa6310339 Make this usable. Some issues still exist. E.g., full screen does not work yet. 2006-01-14 05:49:26 +00:00
Glenn Maynard fac7b375c2 Add ExitItem and ExitTitle exit rows. This implements "exit" with
regular rows.  This allows us to move away from the tweaky, special
exit row.
2006-01-14 05:49:05 +00:00
Glenn Maynard 3a63f5b7ef as well as during load, set LoadingScreen during BeginScreen.
Scripts can already use GetTopScreen to get this.  However, that function
also returns data that may not be what's wanted.  For example, commands
can be run on screens that aren't on top (eg. via broadcasts).  So, using
GetTopScreen as a fallback for LoadingScreen may cause latent bugs;
screens should behave properly even when they're not on top, even if
they're using queued broadcasts to kick off animations, etc.
2006-01-14 05:32:54 +00:00
Glenn Maynard 6344476389 add ActorUtil::ActorParam helper 2006-01-14 05:27:29 +00:00
Glenn Maynard 776ff285cf allow empty translatable strings 2006-01-14 04:31:56 +00:00
Glenn Maynard 7c25138029 typo 2006-01-14 04:21:54 +00:00
Glenn Maynard 9ca7586632 add SetPreferenceToDefault 2006-01-14 04:10:01 +00:00
Glenn Maynard d4d16623cf cleanup 2006-01-14 04:02:13 +00:00
Glenn Maynard cdf951e589 Instead of loading Defaults.ini underneith Preferences.ini, change the
actual IPreference defaults according to Defaults.ini.  This way, we can
access default values immediately, without having to load and parse a
file.  Since this simply changes the value in the preference, this doesn't
use any more memory.
2006-01-14 03:56:59 +00:00
Glenn Maynard 115e901d82 ReadFrom and WriteTo are never overloaded; they're implemented
via ToString and FromString.  Remove virtual for clarity.
2006-01-14 03:33:48 +00:00
Glenn Maynard 92c93e2fdf HelpDisplay:settips no longer takes "::" as newline. Use "\n". 2006-01-14 03:12:45 +00:00
Steve Checkoway da4303609d Unused. 2006-01-14 03:01:50 +00:00
AJ Kelly 4d7d9e15e3 fix linking errors (as mentioned in "[Stepmania-devs] Link errors?") 2006-01-14 02:59:47 +00:00
Glenn Maynard f0dc808168 Remove LoadHelpText overload. Call settips() yourself via message
commands instead.
2006-01-14 02:35:08 +00:00
Glenn Maynard e05770c65b fix "join" 2006-01-14 02:25:46 +00:00
Steve Checkoway bc3d7d8af4 Fix spacing issues (using 8 space tab stops and indents, but I think that should only matter for the final fprintf(). 2006-01-14 01:54:22 +00:00
Steve Checkoway a1a1061792 Unneeded. 2006-01-14 01:27:08 +00:00
Steve Checkoway 3a820b1c76 This code is a work in progress and does not currently work. 2006-01-14 01:09:33 +00:00
Steve Checkoway b362a5969f Simplify. 2006-01-14 01:04:48 +00:00
Steve Checkoway 77d8011e2c Update projects. 2006-01-14 01:01:12 +00:00
Glenn Maynard 973fabdac6 smpackage fix 2006-01-14 00:56:24 +00:00
Glenn Maynard 1d488f223d typo 2006-01-14 00:40:55 +00:00
Glenn Maynard fecda0367f cleanup 2006-01-13 23:21:18 +00:00
Glenn Maynard 97bd1669d4 Don't need to special case RowType_Exit here; the bullet is hidden,
and this will be a no-op.
2006-01-13 23:17:15 +00:00
Glenn Maynard d276d5d001 cleanup 2006-01-13 22:40:28 +00:00
Glenn Maynard 9c867fdd70 We have two "gamestate Lua environments": mapEnv and m_Environment. The
former is a map<CString,CString>; the latter is a Lua table.  The former
is reset on gamestate reset, the latter is not.

Merge the map into the table, and eliminate it.  We only need one, and
it makes sense for a Lua environment to be a Lua table.

Do reset the table on Reset.  Otherwise, there's little point; if you want
to store data inside Lua, you don't need GameState to help.
2006-01-13 21:49:35 +00:00
Glenn Maynard 4b072e00a3 update
make ScreenMapControllers fit
2006-01-13 08:04:37 +00:00