Commit Graph

80 Commits

Author SHA1 Message Date
Chris Danford 32464990af enum name cleanup to reflect the generic calculations 2005-10-08 04:50:28 +00:00
Glenn Maynard 95bc380261 fix assert 2005-07-05 05:24:30 +00:00
Chris Danford 91d375d31a store course group names
show courses on wheel with a group color
2005-06-03 01:57:10 +00:00
Chris Danford 41becb56a4 GetFullDisplayTitle -> GetDisplayFullTitle 2005-05-23 00:38:09 +00:00
Chris Danford ad5c70f7df add unlockable steps 2005-04-24 19:41:52 +00:00
Chris Danford 300d3fcd57 cleanup
add unlockable mods
2005-03-29 01:44:36 +00:00
Sean Burke 3e647b5b92 cleanup and compile fix 2005-03-12 08:15:36 +00:00
Sean Burke 879d60550c Now that unlocks are handled in the theme anyhow, there's no real point to having two separate implementations of unlocking within the theme 2005-03-12 08:11:31 +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
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
Glenn Maynard 74d27315d3 s/UnlockSystem.h/UnlockManager.h/ 2005-02-21 06:22:46 +00:00
Glenn Maynard 72435f148c explicit types 2005-02-17 04:55:41 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +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 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Chris Danford bcbe615c0d Pass ActorCommand structures to Actor instead of unparsed command strings.
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Chris Danford 3d1bb5b97a save radar values in Catalog.xml
change Course to have the same title names as Song
2004-07-11 10:02:38 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +00:00
Chris Danford 58d63cb476 make draw order separate from Z value
add "PageType" graphic to ScreenEvaluation
2004-05-02 03:01:27 +00:00
Glenn Maynard 95edf1db8a const fixes 2004-02-22 21:25:22 +00:00
Glenn Maynard 1421f168db s/UNLOCKSYS/UNLOCKMAN/ 2004-02-21 01:06:35 +00:00
Chris Danford 817976ff1f add SortByZ to many screens 2004-02-13 05:39:15 +00:00
Glenn Maynard e1b5bf9404 simplify 2004-01-25 16:24:34 +00:00
Glenn Maynard ec5d3282bf cleanups, fix memleaks 2004-01-24 22:55:59 +00:00
Glenn Maynard 62a475f9c7 phase out SetTextMaxWidth 2003-12-17 09:53:00 +00:00
Glenn Maynard c15e0cec49 Allow screen aliasing. 2003-09-27 22:30:51 +00:00
Andrew Wong 54e490fd20 oops, forgot to commit:
replace GAMESTATE->m_pUnlockingSys with UNLOCKSYS
2003-09-19 07:02:53 +00:00
Andrew Wong 6812cbfd7a change SongEntry to UnlockEntry 2003-08-11 20:57:57 +00:00
Andrew Wong be8e5ba6c6 ehhh, decrementing an unsigned when it equals zero bug ^^ 2003-08-10 05:54:20 +00:00
Steve Checkoway 762afe38a4 Fix compiler warnings. 2003-08-10 03:23:17 +00:00
Andrew Wong ee7ae2aba9 simplify 2003-08-06 13:53:40 +00:00
Andrew Wong 6afc47e2dc tweaked behavior of screenunlock so number of unlocks = minimum of unlock vector and theme definition 2003-08-06 11:28:46 +00:00
Andrew Wong a942118fad fix texture leak when unlock does not exist 2003-08-04 09:27:49 +00:00
Andrew Wong 30050627bb fix TEXTUREMAN memory leak for ScreenUnlock 2003-08-03 14:29:12 +00:00
Steve Checkoway f83b837d76 fix compiler warnings 2003-07-31 20:34:01 +00:00
Glenn Maynard f3540c9eb7 You had it right the first time, almost. :)
It's better to put hacks in the file they're affecting, rather than global
handlers like ScreenManager.

The problem you were having is that you were sending the "start fade
out" message; when skipping a screen, you want to skip to "load next
screen" and not fade out.

It's OK to load the screen itself when you're skipping it, since that doesn't
take time as long as you don't load the components.

Note that this is how eg. ScreenInstructions and ScreenWarning work.
2003-07-30 01:59:11 +00:00
Andrew Wong d5207e1b30 much cleaner transition to skip screenunlock if unlocks are off 2003-07-29 06:43:19 +00:00
Glenn Maynard f2b1e3e034 Fix crashes. 2003-07-28 19:30:40 +00:00
Andrew Wong c142903064 width of ??? unaffected by title length 2003-07-28 08:46:16 +00:00
Andrew Wong 8b9ae5ae92 slightly easier to debug - tells which song cannot be found on same line 2003-07-27 11:01:45 +00:00
Andrew Wong 153bfd3758 revert back to previous build, iterator i in loops must be ints since some comparisons are to negative numbers, and unsigned goes back to maxint, which breaks the screen (glenn, whats the warning you get?) 2003-07-27 04:25:06 +00:00
Glenn Maynard 16acd4ce9c fix warnings 2003-07-26 22:25:51 +00:00
Andrew Wong d1ee22d314 skip unlock screen if unlocks are off (messy) 2003-07-25 05:44:58 +00:00
Andrew Wong 304012bba7 add option to automatically generate unlocks from unlocks.dat 2003-07-25 05:25:23 +00:00
Andrew Wong 4fa5cbf673 minor unlock system fixes 2003-07-24 14:04:13 +00:00
Glenn Maynard eaa288a44f fix warnings 2003-07-20 18:18:11 +00:00
Andrew Wong c714d1c506 cosmetic changes to extreme-style scrolling text (still not perfect) 2003-07-20 15:54:47 +00:00
Andrew Wong 42ea9a0fdb unlock system changes - mainly to try implement extreme-style unlock scrolling 2003-07-20 15:09:37 +00:00