Commit Graph
100 Commits
Author SHA1 Message Date
Chris Danford cb02171492 set text before running commands so commands can use text width 2005-03-01 21:55:23 +00:00
Chris Danford 829130da13 fix VC6 2005-03-01 18:45:04 +00:00
Chris Danford e9da9d82a1 fix spacing 2005-03-01 18:33:59 +00:00
Chris Danford 63868cee5e fix BGAnimation doesn't load <children>
fix BGAnimation in Background leaks children
2005-03-01 16:59:29 +00:00
Chris Danford bcce4df6f7 split ExtraSleepAfterTweenOffSeconds into OverrideSleepAfterTweenOffSeconds and SleepAfterTweenOffSeconds for added control 2005-03-01 16:03:11 +00:00
Chris Danford b07b681e99 fix VC7 warning 2005-03-01 15:54:13 +00:00
Chris Danford e93c2fd67b fix leaked ActorFrame children 2005-03-01 02:50:23 +00:00
Chris Danford 8cf70ce1d0 register a class using any name 2005-03-01 02:49:57 +00:00
Chris Danford fefcfa04f1 add BroadcastOnExport and ReloadRowMessages 2005-03-01 01:15:22 +00:00
Chris Danford 8814b28189 fix bogus assert 2005-03-01 01:14:20 +00:00
Chris Danford 7934ae2334 fix options row name 2005-03-01 00:43:29 +00:00
Chris Danford 8914b2a554 fix edit flag doesn't get reset, causing AV in edit menu 2005-02-28 20:36:12 +00:00
Chris Danford 26461a47d3 set style before going into edit 2005-02-28 20:15:31 +00:00
Chris Danford 9e0057b872 remoe unused 2005-02-28 20:13:11 +00:00
Chris Danford f6d91c7358 add asserts 2005-02-28 20:12:47 +00:00
Chris Danford 14fc4e8882 cleanup, convert EditSourceSteps pointer too 2005-02-28 20:12:07 +00:00
Chris Danford c7bacb5a21 add manual scrolling to ScreenRanking 2005-02-28 18:49:17 +00:00
Chris Danford 98027995ff fix misinterpreted va arg 2005-02-28 17:23:28 +00:00
Chris Danford f5fac27a1b cache metrics 2005-02-28 17:18:01 +00:00
Chris Danford bc233162e5 remove hard-coded names 2005-02-28 16:48:13 +00:00
Chris Danford faa11c580b fix skip on page change 2005-02-28 07:17:10 +00:00
Chris Danford 24640235e2 fix ScreenWME off commands don't play 2005-02-28 06:08:55 +00:00
Chris Danford 3a57d2559e use TimerSeconds to move between attract screens 2005-02-28 04:44:51 +00:00
Chris Danford f0d15f7bc3 remove redundancies with ScreenWithMenuElements 2005-02-28 04:43:14 +00:00
Chris Danford ca09e21104 move render state effect variables out of BGALayer and into ActorFrame 2005-02-28 04:14:25 +00:00
Chris Danford 3b0ec4950c allow AtExpression for "File" 2005-02-28 04:10:46 +00:00
Chris Danford 9c3f461361 cleanup
add Lua method
2005-02-28 04:10:01 +00:00
Chris Danford ea4950e5c5 reset game on Ctrl+F2 2005-02-28 04:07:37 +00:00
Chris Danford c25272c5a3 add missing file 2005-02-28 04:05:50 +00:00
Chris Danford 56c0a77199 cleanup metrics fallback order 2005-02-27 10:30:53 +00:00
Chris Danford 5a3b97c5f2 derive ScreenAttract from ScreenWithMenuElements to get underlay and overlay 2005-02-27 09:59:38 +00:00
Chris Danford 0ee7ec2289 fix VC6 error 2005-02-27 09:58:34 +00:00
Chris Danford 4a2499b0fb fix Model doesn't obey m_bTextureWrapping 2005-02-27 08:31:41 +00:00
Chris Danford dcdedc3c52 move code from ctor to Init 2005-02-27 03:13:54 +00:00
Chris Danford 3c049c100d fix next screen logic 2005-02-26 23:50:24 +00:00
Chris Danford be013c1527 fix edit menu NextScreen logic 2005-02-26 22:19:40 +00:00
Chris Danford 3dac12a433 fix EditMenu next screen logic 2005-02-26 22:19:29 +00:00
Chris Danford b48a19dd2f fix SeparateExitRow
add ShowExitRow
Allow ScreenOptions to override BeginFadingOut in case they don't want to set a new screen
2005-02-26 21:35:27 +00:00
Chris Danford 85d8808080 fix popping animation when scrolling options 2005-02-26 20:59:56 +00:00
Chris Danford 30366ba8f0 name exit row so it can have an explanation 2005-02-26 20:59:18 +00:00
Chris Danford 0b17b74349 fix ASSERT on exit row 2005-02-26 12:55:51 +00:00
Chris Danford 0eebc28ab6 fix "try to add NULL child" 2005-02-26 12:54:35 +00:00
Chris Danford 266d4e7d1c edit menu cleanup 2005-02-26 12:34:30 +00:00
Chris Danford b254f10785 hide title and bullet of disabled rows 2005-02-26 11:40:03 +00:00
Chris Danford a09b0a9439 show "Create Blank" if no SourceSteps selected 2005-02-26 11:38:51 +00:00
Chris Danford 4a983c513c edit menu fixes 2005-02-26 11:21:50 +00:00
Chris Danford 0bcaeb0c43 cleanup
row reload fixes
2005-02-26 11:19:19 +00:00
Chris Danford 32fc206f48 have OptionRow save focus state for easier reloading 2005-02-26 09:42:36 +00:00
Chris Danford 70663436bb wrap GameState difficulties 2005-02-26 08:32:49 +00:00
Chris Danford 8a0f4d7cca add Lua methods 2005-02-26 08:29:24 +00:00
Chris Danford 86c401c59d blank page graphic 2005-02-26 04:57:22 +00:00
Chris Danford b02f8189e3 update metric locations 2005-02-26 04:18:02 +00:00
Chris Danford da20d6d680 split some metrics from ScreenOptions into OptionRow 2005-02-26 00:51:01 +00:00
Chris Danford b7b45ab4bf split some metrics from ScreenOptions into OptionRow 2005-02-26 00:40:54 +00:00
Chris Danford 64129e3131 add Broadcast overload 2005-02-26 00:38:54 +00:00
Chris Danford a540fd9c03 edit menu fixes 2005-02-25 19:38:53 +00:00
Chris Danford 2f7e332d6b remove unused bShowUnderlines 2005-02-25 19:36:58 +00:00
Chris Danford fa18a0dbe2 changed OptionRow passed in values to be metrics 2005-02-25 19:28:16 +00:00
Chris Danford a288ff8b6e changed passed in values to be metrics
fix problems setting vbSelected on Reload
2005-02-25 19:26:05 +00:00
Chris Danford 071f02a862 allow access to individual BroadcastOnChangePtrs within BroadcastOnChangePtr1D 2005-02-25 18:17:26 +00:00
Chris Danford 03e3ba7609 move Font load for item length testing inside of OptionsRow 2005-02-25 16:52:33 +00:00
Chris Danford d004d5cbfa move many metrics into OptionRow for easier reloading 2005-02-25 16:48:54 +00:00
Chris Danford 7d3f3a1bef allow delayed load of 1D and 2D metrics 2005-02-25 16:48:05 +00:00
Chris Danford b923311e00 fix OptionRow doesn't unsubscribe to Messages 2005-02-25 06:04:31 +00:00
Chris Danford 6249b18702 move bFirstRowGoesDown logic into OptionRow
fix deleted OptionRowHanlder used in in ~OptionRow
move options importing/exporting into OptionRow so that OptionRow can refresh itself in response to a Message
2005-02-25 05:45:16 +00:00
Chris Danford 77180c9d8d cleanup
add EditMenuAction
2005-02-25 05:44:56 +00:00
Chris Danford 246b69ec81 add themed string 2005-02-25 05:28:00 +00:00
Chris Danford 4104edcad9 use BroadcastOnChange wrappers 2005-02-25 05:27:28 +00:00
Chris Danford 15b4f310a6 add more BroadcastOnChange templates 2005-02-25 05:23:29 +00:00
Chris Danford 182db1222f Have OptionRows subscribe to a Message in order to refresh 2005-02-24 15:40:05 +00:00
Chris Danford 017dd5d048 fix AV 2005-02-24 13:49:42 +00:00
Chris Danford 3dac5430c2 theme StepsType 2005-02-24 13:49:23 +00:00
Chris Danford fb4ab8886c save the Handler in OptionRow so a row can refresh itself without needing the Screen to Import/Export 2005-02-24 13:48:14 +00:00
Chris Danford ab22e629d4 enforce that changed message is broadcast whenever value changes 2005-02-24 12:27:30 +00:00
Chris Danford 94743864e6 add OptionRowHandler types for EditMenu 2005-02-24 11:36:19 +00:00
Chris Danford 2dfb9f148e move bExportOnChange into OptionRowDef from OptionRowHandler 2005-02-24 11:35:31 +00:00
Chris Danford 2dd60fb413 update List row types 2005-02-24 08:00:36 +00:00
Chris Danford 7d09d1baa9 more fun cleanup 2005-02-24 07:58:03 +00:00
Chris Danford f3783a3d1b fix tweening of LAYOUT_SHOW_ONE_IN_ROW 2005-02-24 07:12:43 +00:00
Chris Danford 5797d6a867 cleanup 2005-02-24 06:33:50 +00:00
Chris Danford ca3684b232 cleanup, fix offset vbSelected values when using NextRow choice at the front 2005-02-24 06:10:11 +00:00
Chris Danford fbf7bc4f26 split OptionRowHandler out of ScreenOptionsMaster 2005-02-24 04:56:36 +00:00
Chris Danford 7c237be91f export specific rows, not all rows at once, to make it easier to reload certain rows 2005-02-24 01:17:39 +00:00
Chris Danford f395d0a401 preload commands 2005-02-23 23:04:06 +00:00
Chris Danford 5ed6736eef sScreenName -> sType 2005-02-23 22:21:39 +00:00
Chris Danford b1a7e15042 remove default param values to simplify 2005-02-23 22:14:58 +00:00
Chris Danford 480088576a load metrics from m_sType, not m_sName 2005-02-23 22:14:31 +00:00
Chris Danford 5cdaec5edf don't Init if no characters 2005-02-23 22:13:29 +00:00
Chris Danford 4a926a4605 DifficultyMeter: set name before load 2005-02-23 22:13:06 +00:00
Chris Danford ca1f7e5893 hush 2005-02-23 22:11:33 +00:00
Chris Danford 555d5aa2fe don't use Name/ID to load DifficultyMeter. We only need the Name at load time, so pass it into Load and don't save it in the Actor. 2005-02-23 20:40:46 +00:00
Chris Danford b45d0ddff3 broadcast on steps change 2005-02-23 20:39:27 +00:00
Chris Danford 167aa06970 don't propagate "Init" 2005-02-23 20:37:21 +00:00
Chris Danford 42c5e2b3f9 allow specifying a Lua function for a command with "%funciton(self) self:blah end" 2005-02-23 19:15:24 +00:00
Chris Danford bb032d6a2b improve error message 2005-02-23 19:06:31 +00:00
Chris Danford b9b693818c fix Actor not subscribing. Is it a compiler bug that this failed silently instead of erroring? 2005-02-23 18:57:10 +00:00
Chris Danford 2e5b94e064 have Actors automatically subscribe to a message for each command that ends in "MessageCommand" 2005-02-23 18:53:54 +00:00
Chris Danford ed044bd2f9 add Lua binding 2005-02-23 17:52:28 +00:00
Chris Danford 315d0df25f add map type 2005-02-23 17:44:49 +00:00
Chris Danford 9bc3887788 remove unused CourseStopSeconds
add Lua methods
2005-02-23 17:39:57 +00:00