Devin J. Pohly
ca1cdbabb0
Make mount ArchHooks match across platforms
2013-09-07 10:53:33 -04:00
Devin J. Pohly
8cbfbf377c
update changelog
2013-09-07 00:53:05 -04:00
Devin J. Pohly
d5345f2f37
Rewrite CustomSpeedMods to use new profile hooks
...
This fixes bug 1054.
2013-09-06 23:38:03 -04:00
Devin J. Pohly
cc38fa1d5a
Profile: add custom load/save hooks
...
Themes can use these to implement custom per-profile data, such as
SpeedMods.txt. For memory cards, they will be executed while the card is
mounted and should read/write everything they will need at that point.
2013-09-06 23:36:54 -04:00
Devin J. Pohly
9309ee09e9
MemoryCardDriver: parse fstab comments
...
Also silences some unneeded warnings.
2013-09-05 15:34:25 -04:00
Devin J. Pohly
1ef4c16bb5
update a few old sm-ssc URLs
2013-09-01 00:05:11 -04:00
Devin J. Pohly
76fa79caa6
update to a more complete Lua.xml
...
The current placement of the call to GetLuaInformation misses a bunch of our
"singletons." Moving it causes problems, but we can at least include them in
the documentation as if it worked properly. :)
2013-08-31 23:59:22 -04:00
Devin J. Pohly
dc32ee0486
editor: re-enable convert to delay/stop at beat 0
...
This should behave nicely after the previous commit.
2013-08-30 15:10:30 -04:00
Devin J. Pohly
f530fac433
TimingData: don't break indefinite segments when deleting rows
...
We had BPM hard-coded in, but other indefinite segments (scroll, tickcount,
combo, etc.) were not being preserved, causing editor problems/crashes.
2013-08-30 15:09:49 -04:00
Devin J. Pohly
b75975e9bd
editor: don't offset by 1 row when shifting TimingData
2013-08-30 14:43:14 -04:00
Devin J. Pohly
53f861bdd4
fix duplicate removal in editor help
...
The sort was in place for this purpose. Let's use it on the modifier keys, but
not sort the regular keys, since the order matters for those.
This isn't really the right way to do this from the start, but that'll be
something that could be rewritten at another time given that our mappings are
still pretty much hardcoded.
2013-08-30 14:09:03 -04:00
Devin J. Pohly
9b78e150bd
documentation update
2013-08-30 13:33:11 -04:00
Devin J. Pohly
01d6d5a3b3
fix some -Wreorder warnings
...
No-op.
2013-08-30 01:20:05 -04:00
Devin J. Pohly
48975f7f1d
fix visual glitch on autoplay rolls
...
When there were tap notes on the same row as the start of a roll, autoplaying
the roll would result in the receptors on other tracks to glow. This was
because the Step() call would use the roll's head row for a parameter, which
included the other notes. This changes that parameter to -1 to automatically
use the current row in the song, which makes more sense anyway.
Fixes bug 241.
2013-08-29 17:04:22 -04:00
Devin J. Pohly
3233542309
fix hack regarding ModIcons and Lua option rows
...
Since the ModIcon is copied from the option row type, make sure we actually
copy everything it'll need, since Load() isn't called again.
2013-08-29 14:36:57 -04:00
Devin J. Pohly
9ec3b61bd1
editor: don't sort keys in help screen
...
The order of these actually matters; we shouldn't be resorting them.
Fixes issue 86.
2013-08-29 13:32:24 -04:00
Devin J. Pohly
5868571f37
MacOS: fix potential crash due to language preferences
2013-08-28 11:16:41 -04:00
Devin J. Pohly
3527ad1ab8
JACK: let Init do the cleanup on failure
...
Previously, if Init failed, we were calling jack_client_close twice and
segfaulting.
2013-08-26 08:40:52 -04:00
Devin J. Pohly
7b7dfda3bc
Update Changelog with recent commits
2013-08-23 01:12:28 -04:00
Devin J. Pohly
d8d9f466a9
FFmpeg: remove unused PTS logic
...
No-op.
2013-08-23 00:08:25 -04:00
Devin J. Pohly
df543ff86c
FFmpeg: use the cached pkt_dts for timestamps
...
This appears to work far more consistently at the beginnings and ends of
videos.
2013-08-23 00:02:07 -04:00
Devin J. Pohly
9f06195b73
FFmpeg: reinitialize m_fLastFrame in Init()
...
After a Rewind(), the m_fLastFrame wasn't set back to 0. Now it is.
2013-08-23 00:00:00 -04:00
Devin J. Pohly
de74eb5814
FFmpeg: don't unconditionally skip first frame
...
This condition was true when 0 - 0 == 0, so the first frame was being skipped.
2013-08-22 23:58:38 -04:00
Devin J. Pohly
be082b6a7e
FFmpeg: use stream time_base to estimate FPS, not codec
...
Fixes the estimated frame length when we don't get an explicit DTS for the
frame. Also fixes a comment typo.
2013-08-22 16:55:24 -04:00
Devin J. Pohly
cc8ef654ca
MovieTexture_FFmpeg: move class defs to header file
...
No-op. Should make it a little easier to find things in the FFmpeg driver.
2013-08-22 15:11:57 -04:00
Devin J. Pohly
2933a71d5d
JACK: fix race condition with decode thread
...
It was possible for the JACK callback to execute before the decode thread had
been started, causing an assertion.
2013-08-20 09:33:35 -04:00
Devin J. Pohly
dcb5087b1b
default theme: fix saving of ThemePrefs
...
Since this was in a `decorations' layer, the outer ActorFrame was being
stripped along with its OnCommand.
2013-08-14 22:19:59 -04:00
Devin J. Pohly
fca57e2569
editor: fix crash on revert from disk
...
This still doesn't read in the timing data from disk, but hey, at least it
doesn't crash now.
2013-08-13 11:43:31 -04:00
Devin J. Pohly
2ec80d86b1
editor: fix Undo for Alter and Turn menus
...
Looks like someone figured out the problem, implemented the required
functionality... and then just didn't use it.
2013-08-12 20:47:07 -04:00
Devin J. Pohly
c60065a359
woooooooooah changelog.
...
Add yo stuff if I forgot anything (or anyone!).
2013-08-09 14:35:34 -04:00
Devin J. Pohly
424e26ee22
Update IRC channel
2013-08-09 14:03:36 -04:00
Devin J. Pohly
72b490534e
Fix stereo problem - samples, not frames
2013-08-08 18:08:19 -04:00
Devin J. Pohly
eb634bae3e
Finish JACK audio driver: now with actual audio!
2013-08-08 14:56:38 -04:00
Devin J. Pohly
98352844ab
Add JACK sample rate callback
...
This will be necessary once we start the decoding thread, which calls
GetSampleRate a lot.
2013-08-08 14:43:15 -04:00
Devin J. Pohly
982d9e2dbc
Add MixDeinterlaced to RageSoundDriver
...
This complements the read_deinterlace function just added.
2013-08-08 13:30:39 -04:00
Devin J. Pohly
deab7e6f47
Add deinterlacing function to RageSoundMixBuffer
...
JACK processes every channel separately, so we need this. The audio data is
interlaced all the way back at RageSound::GetDataToPlay(), so this is an easier
hack for now than using deinterlaced until it's needed.
2013-08-08 13:24:21 -04:00
Devin J. Pohly
f9208e1276
Add skeletal sound driver for JACK
...
This doesn't make any sound yet, but it creates the JACK client and connects
the requested ports if any.
2013-08-06 19:24:55 -04:00
Devin J. Pohly
db729ff6de
Remove unus(ed|ual) ssasn function to fix warnings
...
Why in tarnation would you assign an int to a string anyway? We're
apparently not using this, so remove it for now. Should fix a lot of
unused-parameter warnings.
2013-07-29 11:58:19 -04:00
Devin J. Pohly
1da76c3a54
fix Lua warning by removing redundant code
2013-07-21 19:29:28 -04:00
Devin J. Pohly
9c1da9cfd4
finish backouts that didn't complete because of merge conflicts
2013-07-19 11:25:36 -04:00
Devin J. Pohly
b423268568
Further simplify GetYOffset
...
And add a comment. *pats self on back*
No-op.
2013-07-18 15:52:56 -04:00
Devin J. Pohly
5c8d021e6e
Simplify logic in GetYOffset for arrows
...
No-op.
2013-07-18 14:40:16 -04:00
Devin J. Pohly
bcd90324c7
editor: show scroll segments in song timing
...
They function anyway in gameplay; there's no reason they should be
special-cased out of the editor.
2013-07-18 14:35:53 -04:00
Devin J. Pohly
66ed444726
Allow fstab to use persistent device names for cards
...
Previously you had to use /dev/sdx or /dev/sdx1 for the device in /etc/fstab,
but the order in which these are assigned is non-deterministic on modern
kernels. Now, if you want a specific card, you can use /dev/disk/by-uuid,
or if you want a specific port, you can use /dev/disk/by-path.
2013-07-09 12:41:18 -04:00
Devin J. Pohly
ec23a019e2
Fix ScreenJukebox when there are no matching steps
...
Also makes minor tweaks to the SetSong function and adds a SystemMessage to
display that no steps have been found. When this happens, the ScreenJukebox
will return to its PrevScreen.
2013-06-09 17:22:43 -04:00
Devin J. Pohly
0dc30d32b4
Hide unneeded pay-related theme elements
...
Can't remove these entirely in case other themes expect them.
2013-06-08 17:28:54 -04:00
Devin J. Pohly
38ae55f302
Remove Pay mode from Arcade Options menu
2013-06-08 16:16:47 -04:00
Devin J. Pohly
65450ce530
Remove Pay mode from debug overlay
2013-06-08 16:14:35 -04:00
Devin J. Pohly
00e6f6e924
Make Pay mode work like Free
...
Third time's a charm. Removing Pay mode without causing breakage to the Lua API.
This is the first step.
2013-06-08 16:11:02 -04:00
Devin J. Pohly
259e9b1e00
Revert "Round 2 of this."
...
This reverts commit 1d7b5fe852 .
2013-06-04 23:47:49 -04:00
Devin J. Pohly
1220dbe085
Revert "Round 2-2 of this."
...
This reverts commit 0ae4183f7b .
2013-06-04 23:47:22 -04:00
Devin J. Pohly
fa91154082
Revert "Forgot this one."
...
This reverts commit de396800d8 .
2013-06-04 23:46:40 -04:00
Devin J. Pohly
bf20306d07
Revert "Missed more of these darned spots."
...
This reverts commit bbb57b1600 .
2013-06-04 23:46:11 -04:00
Devin J. Pohly
9bb2463d94
Revert "And these..."
...
This reverts commit 5d5875904d .
2013-06-04 23:45:00 -04:00
Devin J. Pohly
cd1cd57e8c
Revert "Forgot another coin thingamajigger."
...
This reverts commit 8e96e05c24 .
2013-06-04 23:33:35 -04:00
Devin J. Pohly
f56ca7824c
Revert "This should fix the TESTING thing."
...
This reverts commit 93f98c429d .
2013-06-04 23:32:27 -04:00
Devin J. Pohly
85e14ebfce
Partial revert of a72416e
2013-06-04 23:31:57 -04:00
Devin J. Pohly
89cf4a4ee3
Remove empty overlay from SSM
...
Fixes dialog error
2013-06-04 23:29:04 -04:00
Devin J. Pohly
028de88b50
Revert "a shot in the dark."
...
This reverts commit 0bd052ed17 .
Broke build.
2013-06-03 12:46:57 -04:00
Devin J. Pohly
4aee1ed738
Allow more movie types for bgchanges
2013-06-02 03:41:33 -04:00
Devin J. Pohly
1a38ec56fc
"Songs" was probably important here...
2013-06-01 19:49:18 -04:00
Devin J. Pohly
d5e5fa5995
Add user folders on OSX. Hopefully Application Support is good.
2013-06-01 01:32:53 -04:00
Devin J. Pohly
38c1e12a6f
Fix crash when sorting in Oni mode
2013-05-30 21:06:52 -04:00
Devin J. Pohly
64f59e616c
This should never have been in defaults - sorry about that
2013-05-29 15:26:56 -04:00
Devin J. Pohly
6f7376c902
Fix VS float->int warning
2013-05-29 00:29:56 -04:00
Devin J. Pohly
3cb3098696
Enforce valid timing changes in SSC, hopefully also fix cache
2013-05-28 23:39:11 -04:00
Devin J. Pohly
edda5ea96a
Remove old propagation for diffuse
2013-05-28 22:22:00 -04:00
Devin J. Pohly
4758a8727f
merge
2013-05-28 21:49:51 -04:00
Devin J. Pohly
f94d3affc2
Propagate diffuse to ActorFrames' children
2013-05-28 21:46:15 -04:00
Devin J. Pohly
849b6e5b3b
Propagate glow to ActorFrames' children
2013-05-28 20:52:01 -04:00
Devin J. Pohly
7c3a9eb427
Fix problem when loading from cache
2013-05-27 16:14:32 -04:00
Devin J. Pohly
9fb376fdad
Revert "hold fix: try again?"
...
This reverts commit 0ef9b81e02 .
2013-05-22 13:47:36 -07:00
Devin J. Pohly
27940bc572
Bump cachever from -bpm fix, and fix some EOLs
2013-05-22 13:29:02 -07:00
Devin J. Pohly
d868c7a5d6
Hack to fix movie crasher
...
A movie larger than the max texture size would be rendered - at its original
size - onto a smaller texture, causing an access violation. This just ignores
the max texture size for movies.
Two better solutions:
1. Resize the movie to the texture size. Ideal, but slow in my experiments.
2. Don't load the movie texture at all in this case. A possibility in the
future, but will require some refactoring first.
2013-05-21 15:31:41 -07:00
Devin J. Pohly
135d9025bc
Hopefully fix error with vector iterators.
...
That's what I get for pretending I know how to use C++.
2013-05-21 08:53:56 -07:00
Devin J. Pohly
f3240cd0dc
Update changelog with neg bpm change.
2013-05-20 22:22:01 -07:00
Devin J. Pohly
f6c1bd8084
Fix timing loading in SSC files
...
ProcessBPMsAndStops was always making the timing nonempty, which confused
StepMania into thinking every chart had steps timing. Now we only call this
function on SSC files (1) for song timing, and (2) if the steps have at least
one BPM specified.
2013-05-20 22:17:50 -07:00
Devin J. Pohly
6a57148833
Merge in negative-bpm fix
2013-05-20 19:13:30 -07:00
Devin J. Pohly
f13af2c96f
Fix conversion of negative BPMs and stops.
...
There are still issues with loading the changed files from cache for some
reason. However, the initial conversion is now identical to OpenITG behavior
except in some very strange edge cases.
2013-05-20 19:12:40 -07:00
Devin J. Pohly
ed9fbd2c31
Filter out zero BPMs and zero-length stops in first pass
...
It turns out to be much cleaner to do this here than to do it later.
2013-05-19 21:42:54 -07:00
Devin J. Pohly
dcb62dec88
Sort BPMs and stops before processing
2013-05-19 19:50:56 -04:00
Devin J. Pohly
c04553846a
"Combine" processing for BPMs and stops.
...
Prep for replacing with new negative-converting algorithm.
2013-05-17 16:43:53 -04:00
Devin J. Pohly
785cff2abc
Remove unneeded return value from ProcessBPMs
2013-05-17 05:43:25 -04:00
Devin J. Pohly
b1d2f68737
Finish moving ProcessBPMs and ProcessStops together
2013-05-17 05:34:14 -04:00
Devin J. Pohly
7df86bbf85
Update SMA loader to put bpms/stops together
2013-05-17 02:30:08 -04:00
Devin J. Pohly
3f94afafdd
Revert "test: try to fix "phantom holds" when JudgeHoldNotesOnSameTogether is enabled"
...
This reverts commit 6999f94d38 .
This was causing a crash when warping past holds at the end of a chart.
2013-05-16 21:21:40 -04:00
Devin J. Pohly
6fadd3a727
Start moving ProcessBPMs and ProcessStops next to each other
2013-05-15 19:57:57 -04:00
Devin J. Pohly
8eb76829fb
Don't allow edits with no valid #NOTES
2013-05-09 17:45:25 -04:00
Devin J. Pohly
adb0d5d4a1
Separate functions for BPM/stop parsing and processing
2013-05-09 00:00:14 -04:00
Devin J. Pohly
536768c91b
Split parsing from processing for BPMs/stops
2013-05-08 23:46:54 -04:00
Devin J. Pohly
e16104058b
fix some neg-bpm -> warp problems
2013-05-02 20:55:05 -04:00
Devin J. Pohly
7e8c75a71b
remove check for ancient llabs() bug
2013-04-29 20:24:07 -04:00
Devin J. Pohly
feb919f0bf
Revert memory leak commits
...
5f7001e : "Added a new branch"
01456ed : "Fixed a lot of memory leaks"
dac4493 : "Fixed all remaining memory leaks that I could figure out"
0792db7 : "Removed the smnew macro and the call to _CrtSetDbgFlag()"
Some of these caused destructor-time problems due to static initialization
order fiasco and related issues. Notably, the program would no longer exit on
OSX and had to be killed.
There were probably legitimate fixes in here, but since these are monolithic
commits it's too much work to extract them now. Let's reapply them
individually and in the forward direction.
2013-04-27 00:05:14 -04:00
Devin J. Pohly
57a4bcafbc
Regenerate Luadoc to get recent changes in Lua.xml
2013-03-24 18:10:11 -04:00
Devin J. Pohly
681cd6a68a
Fix Lua syntax in 02 OptionsMenu.lua
2013-03-24 18:06:12 -04:00
Devin J. Pohly
2caf3890a3
Mention MusicWheel.ChangeSort in changelog
2013-03-24 12:54:46 -04:00
Devin J. Pohly
4c2bfd7dc9
Add ChangeSort method to Lua MusicWheel
2013-03-24 00:12:17 -04:00
Devin J. Pohly
b7d74c6c0b
Register MusicWheel as a Lua class.
...
Now Lua functions on MusicWheel actually exist.
2013-03-24 00:01:40 -04:00
Devin J. Pohly
a280f513b4
fix ffmpeg 1.1 builds... another way
2013-02-21 03:18:28 -05:00
Devin J. Pohly
a6bfbb19ac
Revert "make PixelFormat a typedef, fixes ffmpeg 1.1 compat"
...
This reverts commit 4537a66481 .
Apparently broke build on Windows somehow.
2013-02-20 16:23:04 -05:00