Mike Hawkins
db1490b4ff
Removal of event mode overrides (unnecessary duplication of existing preferences).
2008-05-26 22:01:55 +00:00
Steve Checkoway
fe07a07fa3
Fix compile and move these preferences into UnlockManager.
2008-05-15 09:57:29 +00:00
Mike Hawkins
d6d98bd474
Event mode overrides on locked status
2008-05-15 02:22:14 +00:00
Chris Danford
2f683bee2f
data-driven pump-style coloring/naming (merge disparate difficulty string/color systems and simplify Lua)
2008-03-24 12:00:51 +00:00
Glenn Maynard
3e36a05c5f
fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2008-03-09 01:51:34 +00:00
Glenn Maynard
03b7983216
merge UnlockManager::SongIsRouletteOnly into SongIsLocked
2007-08-16 01:24:55 +00:00
Glenn Maynard
27f76b12ef
fold in UpdateCachedPointers
2007-08-15 23:35:48 +00:00
Glenn Maynard
9aead72d03
CourseID
2007-08-15 21:01:23 +00:00
Glenn Maynard
7729701678
use SongID
2007-08-15 20:56:44 +00:00
Glenn Maynard
83d64246d9
If a course uses a song that is disabled, disable the course too.
2007-08-15 20:37:34 +00:00
Glenn Maynard
85732aa4c8
return a mask, like SongIsLocked
2007-08-15 20:31:47 +00:00
Glenn Maynard
3e3c1deea4
We have a lot of duplicate, redundant checks between UNLOCKMAN->SongIsLocked
...
and Song::GetDisplayed/Song::NormallyDisplayed, which leads to inconsistency.
Make UnlockManager::SongIsLocked() handle both. Returns a bitfield; most
cases only need to test true or false.
(Also adds m_bEnabled; not used yet.)
2007-08-13 21:20:51 +00:00
Steve Checkoway
fdb6d9bf0d
Fix warning.
2007-05-27 08:55:28 +00:00
Glenn Maynard
7226e5a962
#BANNER tag for course files
2007-05-25 22:26:43 +00:00
Glenn Maynard
03ef227441
bounds check
2007-05-25 02:01:50 +00:00
Glenn Maynard
dd28af08e9
fix logs
2007-05-24 23:05:58 +00:00
Steve Checkoway
7d90dc3967
Removed use of UNLOCKMAN inside an UnlockManager member function.
2007-05-05 11:13:24 +00:00
Steve Checkoway
0cb56b6ec2
GetAllSongs() -> GetSongs().
2007-04-07 05:36:40 +00:00
Chris Danford
0160e23705
style cleanup: use FOREACH_ENUM( X, x ) everywhere instead of FOREACH_X( x ) for consistency
...
The FOREACH_X defines are not very useful, and they were created back before FOREACH_ENUM was convenient.
2007-02-23 22:29:42 +00:00
Chris Danford
f77647b5ad
enum name cleanup: DIFFICULTY_* -> Difficulty_*
2007-02-22 07:18:05 +00:00
Steve Checkoway
e87789da7c
Rename XToString2 to XToString.
2006-10-15 00:09:18 +00:00
Steve Checkoway
04bff6bc1d
Use XToString2.
2006-10-15 00:00:22 +00:00
Steve Checkoway
35a20193ef
Fix "statement with no effect."
2006-10-11 10:50:17 +00:00
Glenn Maynard
aab51ed30e
use standard command parsing for unlocks (eliminate one case
...
where Command's AtExpression stuff is used)
2006-10-11 02:02:31 +00:00
Glenn Maynard
a55e52e0d8
code names are strings, not ints, so this isn't a hack anymore
2006-10-11 01:19:38 +00:00
Glenn Maynard
617e8b5335
FOREACH_ENUM2 -> FOREACH_ENUM
2006-10-07 08:56:58 +00:00
Glenn Maynard
de6ca466d2
more enum standardization
2006-10-07 04:39:48 +00:00
Glenn Maynard
8a4ddd1515
Invalid
2006-10-07 04:13:43 +00:00
Glenn Maynard
b67e57864e
Invalid
2006-10-07 03:32:16 +00:00
Glenn Maynard
e91a806b37
remove LuaFunctions.h
2006-09-29 09:54:50 +00:00
Glenn Maynard
c690fdcfe4
unify registration
2006-09-29 00:01:32 +00:00
Glenn Maynard
f4975f1f54
simpler Lua boilerplate
2006-09-27 20:30:29 +00:00
Glenn Maynard
f84cdbf13c
bindings
2006-09-27 06:25:18 +00:00
Glenn Maynard
f806ec5936
StepsType_Invalid
2006-09-26 20:28:46 +00:00
Glenn Maynard
600fdfea63
simplify LuaXType
2006-09-26 07:13:54 +00:00
Glenn Maynard
95a384b970
LuaXType2 -> LuaXType
2006-09-26 06:47:53 +00:00
Glenn Maynard
e7a5debee9
remove old
...
fixup
2006-09-26 04:09:09 +00:00
Glenn Maynard
d4f8789a36
new binding method (LuaXType will be phased out)
2006-09-26 01:46:15 +00:00
Glenn Maynard
2b7e2849fd
simplify singleton registration
2006-09-21 04:27:45 +00:00
Chris Danford
fd0f4f1566
all unlock metrics in [UnlockManager]
2006-07-27 06:45:47 +00:00
Chris Danford
1537a4679d
fix autolockchallengesteps doesn't work unless UnlockNames isn't empty
2006-07-25 22:10:46 +00:00
Glenn Maynard
fd7a0bd7bf
don't store unlocks in player profiles; we don't look there anyway
2006-06-14 05:01:22 +00:00
Glenn Maynard
c15abe16ca
GetName() lowercases
2006-06-14 04:39:25 +00:00
Chris Danford
af3e1c571c
move Steps searching out of song into SongUtil so that it can be shared with CourseEntry
2006-06-13 01:10:37 +00:00
Steve Checkoway
47e7ba3657
Invalidate trail caches for edit courses on unlocks.
2006-06-12 10:49:44 +00:00
Chris Danford
1aa0b38c9f
fix SUnlockBrowse unlocking entry 1 when all entries are disabled
2006-06-05 07:36:23 +00:00
Chris Danford
a8792e08db
don't make unlocks for songs with no challenge steps
2006-05-25 18:46:40 +00:00
Chris Danford
82835dae6a
change unlock entry IDs to strings so that auto generated entry ids won't shift around and unlock different things when new songs are added
2006-05-03 22:56:23 +00:00
Chris Danford
5b756e7e31
remove confusing overlap between "requirements met" and "unlocked"
2006-05-03 21:34:05 +00:00
Chris Danford
9fb36069f8
fix goofy unlocks after reload songs
2006-05-02 22:02:18 +00:00