Glenn Maynard
143b96d5fa
Fix ThemeMetric<EnumType> gives the first value of the enum when the theme
...
metric is nil, instead of EnumType_INVALID.
This happened because ThemeMetric was setting the value to its default, eg.
EnumType(), when LuaHelpers::FromStack returned false. This behavior doesn't
make sense in the general case, since EnumType() results in an arbitrary
value (the first one) rather than Invalid. Every FromStack function sets
a reasonable default on invalid data, anyway, and only RageColor and enums can
return false in any case.
This fixes CustomDifficulty when CourseType = nil.
2009-11-14 00:57:27 +00:00
Glenn Maynard
2526bf141c
fix colors can't be overridden by themes, because they're locals
2009-11-10 06:45:26 +00:00
Colby Klein
54ccc2e5a7
Load Data/splash.png on Linux like OSX and Windows do. Patch from howl ( http://www.stepmania.com/forums/showthread.php?p=157340#post157340 )
2009-11-10 01:37:46 +00:00
Colby Klein
8a33455fde
Add NotesLoaderPMS to xcode project
2009-11-09 16:23:28 +00:00
Colby Klein
22e207caf1
Fix indentation to match everything else.
2009-11-09 09:00:26 +00:00
Colby Klein
dc5e2c1a8b
Fix for videos crashing using video cards without FBOs available on Windows. Patch by Greg Najda
2009-11-09 08:36:27 +00:00
Colby Klein
e28c44bdb9
Add PulseAudio support for Linux (may need some cleanup? From http://www.stepmania.com/forums/showthread.php?t=21348 ). Also commented out something in ScreenSelectMaster that causes a crash while trying to use cursors.
2009-11-09 06:56:56 +00:00
AJ Kelly
44e8c0db21
fix GAMESTATE:GetCurrentSteps description and argument list
2009-11-07 23:39:53 +00:00
Colby Klein
c2162b6ca7
Update Makefile
2009-11-07 00:21:12 +00:00
AJ Kelly
79ae750c2e
add NotesLoaderPMS
2009-11-06 05:56:06 +00:00
Rob Campbell
80f3388f8d
fix silly mistake on 5button mode
2009-11-05 23:38:04 +00:00
Rob Campbell
963991c656
adding support for pms files (if keysounds are broken I'll be fixing those too, I haven't checked yet). This isn't done/tested, totally WIP. If someone with the earlier versions of vstudio could make my changes (add NotesLoaderPMS) into the older .vcproj files that would be awesome
2009-11-05 22:28:06 +00:00
Glenn Maynard
906040db46
allow overriding, like PRODUCT_ID
2009-11-05 04:10:24 +00:00
Glenn Maynard
14c2a05de7
fix confusing comment. Escaping doesn't affect this; commas aren't escaped, since they're split from the value itself, long after MsdFile is loaded. We should deprecate 1,1,1,1 colors in favor of #FFFFFF; they're easier to read and type, too.
2009-11-05 02:03:08 +00:00
Glenn Maynard
c78548d862
add "DIRRO" driver for read-only access
2009-11-05 01:09:24 +00:00
Glenn Maynard
efe33da964
crash handler is crashing in 2.6.31 in GetBacktrace, causing a recursive crash handler crash that we aren't handling, leading to recursion
2009-11-04 22:55:19 +00:00
Steve Checkoway
d9cd752f07
Fix crash on reload metrics due to faulty FlushDirCache logic. I will fix the optimization of flushing just a particular directory when I have time.
2009-11-04 11:19:45 +00:00
Colby Klein
006bdfc8c3
Updated German translation by Christian Tindorf (www.stepmania4.de, www.musikspiele.eu). Note: It was done for alpha 4, so a few of the strings are already outdated.
2009-11-04 03:01:59 +00:00
Chris Danford
3bf90000bc
default to showing backgrounds in editor
2009-11-04 02:49:39 +00:00
Chris Danford
c31d1b0af3
file1 -> file2 in editor strings
2009-11-04 02:48:14 +00:00
Chris Danford
65b3a24080
add flashes
2009-11-04 02:32:49 +00:00
Chris Danford
df06cac072
make more generic
2009-11-04 02:32:19 +00:00
Glenn Maynard
08949c2848
logic fixup
2009-11-03 00:32:56 +00:00
AJ Kelly
a18a2b71f8
fix RemoveCardP1/2 not having OnCommands in ending screens.
2009-11-02 23:43:19 +00:00
AJ Kelly
c42366c642
fix a crash with songs that have an Edit chart as the only difficulty.
2009-11-02 19:47:45 +00:00
Glenn Maynard
07b4a6edd7
disable rename and delete for courses that havn't been saved yet
2009-10-31 23:55:13 +00:00
Glenn Maynard
3c52d4edb3
move course rename and delete into Overview
2009-10-31 23:27:08 +00:00
Glenn Maynard
738a8b6895
move course rename and delete into Overview
2009-10-31 23:26:36 +00:00
Glenn Maynard
18b8e88b84
don't fail if there's no course; just hide
2009-10-31 23:24:21 +00:00
Glenn Maynard
e778bff603
fix signatures not being written
2009-10-31 21:23:03 +00:00
Glenn Maynard
8f6a7f7394
skip exporting round data when nothing was played (no taps, no holds)
2009-10-31 21:22:38 +00:00
Glenn Maynard
577005a595
helper for cycling through an enum
2009-10-29 20:21:54 +00:00
Glenn Maynard
6795b0f6ce
refactor RageInput to not call GetDevicesAndDescriptions constantly; it can be slightly complex and get called thousands of times a second
2009-10-29 00:52:23 +00:00
Steve Checkoway
976977e703
Do not use an AutoActor to keep track of the children.
2009-10-26 04:33:38 +00:00
Steve Checkoway
1f81a20838
Hack to get the decorations to be deleted. Fixes crashes, but probably not the best way to go about this.
2009-10-26 03:05:08 +00:00
Glenn Maynard
adbce38f13
fix data type: this returns -1 on error (this should actually be 64-bit, but that's a bigger change)
2009-10-21 06:49:52 +00:00
Mike Hawkins
7cad630d35
Changed should to can; makes it absolutely clear that there can be only one SM file. See thread: http://www.stepmania.com/forums/showthread.php?t=21070
2009-10-03 22:38:39 +00:00
Glenn Maynard
d14946c69e
fix doing unnecessary work in multiplayer
2009-09-26 00:51:21 +00:00
Glenn Maynard
be91870732
fix ComboChanged message sent when m_bSendJudgmentAndComboMessages is false
2009-09-26 00:46:19 +00:00
Glenn Maynard
a50e6dea94
fix unthemable SDO
2009-09-25 01:09:03 +00:00
Chris Danford
3457022801
show all songs (not just preferred) in editcourse
2009-09-23 06:25:30 +00:00
Glenn Maynard
c2f211e696
HexToBinary for RString -> RString
2009-09-21 02:55:46 +00:00
Steve Checkoway
76f0af145b
When Move()ing, Remove()ing, or Close()ing a file opened for writing, update the cache when possible (RageFileDriverDirect) or invalidate the directory cache for the directory containing that file (everything else). Remove most of the FlushDirCache() calls as they are no longer needed. This fixes a long standing bug where files added into the cache were stat(2)ed O(n^2) times--that is, each file is stat(2)ed O(n) times.
2009-09-14 08:08:06 +00:00
Steve Checkoway
b60a92e633
Add debugging asserts for a divide by zero bug report.
2009-09-14 07:59:14 +00:00
Glenn Maynard
5d7ce555b6
these are a pain to workaround in VS
2009-09-14 00:08:54 +00:00
Steve Checkoway
48361720d4
Make sure buffer is large enough to handle all the frames. Patch from Jindrich Makovicka, bug 2799116.
2009-09-13 14:18:26 +00:00
Steve Checkoway
6a222c173b
Case.
2009-09-13 12:46:11 +00:00
Steve Checkoway
4758c14722
Fix more case problems. The animation is not correct, but I will leave that to someone with skill in that area.
2009-09-13 12:35:34 +00:00
Steve Checkoway
e6e5f43032
Simplify.
2009-09-13 12:00:37 +00:00
Steve Checkoway
d1afc07b39
zoom, zoom, zoom
2009-09-13 11:47:33 +00:00