Commit Graph
100 Commits
Author SHA1 Message Date
Devin J. Pohly b2744946c9 fix memory leak in JACK driver 2014-02-08 21:40:40 -05:00
Devin J. Pohly db894326e7 fix port-choosing logic in JACK driver 2014-02-08 21:40:40 -05:00
Devin J. Pohly 312d2b1226 fix type-punning warning
This should be a no-op (though I wouldn't be offended if someone checks
me on that).  I think the code's clearer without casting back and forth
anyway.
2014-02-08 21:39:27 -05:00
Devin J. Pohly 6ac4fcdbd3 remove accidentally shadowing declaration
With this in place, the orgSel was always Invalid.
2014-02-08 21:39:26 -05:00
Devin J. Pohly 3322fa9144 ensure that GetCreditsMessage returns a value
The unhandled case: in Free Play mode and players can't join.  Can this
even happen?
2014-02-08 21:39:26 -05:00
Devin J. Pohly 57a142b76f fix logic/crash in CoinModeNoHome option
This option was returning -1 for an index and triggering an assert, and
the logic in the other direction was typoed.
2014-02-08 21:39:26 -05:00
Devin J. Pohly 911a0d6471 remove unnecessary enum-to-int cast 2014-02-08 21:39:26 -05:00
Devin J. Pohly 9916275a8a fix signed-compare warnings
The m_iSelection array could probably be made unsigned... IF we were
confident we never try to assign it a negative number, of which fact I'm
not convinced.
2014-02-08 20:30:33 -05:00
Devin J. Pohly 4298f2542d Check MakeActor rvs for NULL 2013-11-02 04:11:30 -04:00
Devin J. Pohly 5d9c3aaa59 propagate Attack::GetAttackBeats precondition 2013-11-02 00:58:01 -04:00
Devin J. Pohly 4520186722 ActorMultiTexture: warn on bad SetTextureMode index 2013-11-02 00:24:35 -04:00
Devin J. Pohly 3aee5472f8 ActorMultiTexture: warn on adding nil 2013-11-01 22:34:38 -04:00
Devin J. Pohly b351b757b4 ActorMultiTexture: actually return number of units 2013-11-01 22:34:22 -04:00
Devin J. Pohly d797790736 ActorFrameTexture: warn on re-Create 2013-11-01 22:14:18 -04:00
Devin J. Pohly 9f875e9bfb warn on bad UpdateFunction 2013-11-01 21:52:56 -04:00
Devin J. Pohly af5022d7a8 warn on bad DrawFunction 2013-11-01 21:52:15 -04:00
Devin J. Pohly 88c0bbf8c9 Merge. 2013-10-23 00:08:31 -04:00
Devin J. Pohly 6a91621f10 Warn on unset or nil command in RunCommands 2013-10-20 23:05:26 -04:00
Devin J. Pohly 824b84655a Warn on ActorFrame clearzbuffer 2013-10-20 22:44:33 -04:00
Devin J. Pohly 9555ddd82e BeginTweening: ensure precondition 2013-10-20 18:02:13 -04:00
Devin J. Pohly 0b378d55f5 SetEffectTiming: better precondition, and check it 2013-10-20 17:37:45 -04:00
Devin J. Pohly 70b52946f4 SetEffectPeriod: propagate precondition 2013-10-20 16:59:24 -04:00
Devin J. Pohly ecdc352e96 Actor: propagate some default parameters 2013-10-20 16:34:19 -04:00
Devin J. Pohly fb77dd8317 Specify which -Wno-unused we want 2013-10-14 12:54:48 -04:00
Devin J. Pohly 146a77274f Update changelog 2013-10-14 01:09:57 -04:00
Devin J. Pohly d363db2132 Clean out strings now that sm-ssc is something else 2013-10-13 23:02:51 -04:00
Devin J. Pohly 4c7fcc4e0c Resolve more song assets relative to song
Check to see if file exists in relative path before assuming it's
absolute.
2013-10-12 23:50:44 -04:00
Devin J. Pohly afe3009c7d fix lua error 2013-10-07 22:28:26 -04:00
Devin J. Pohly d9a37be653 finish removing ScreenPackagesSSC
Missed it in the Xcode projects and HelloWorld.
2013-09-26 12:45:38 -04:00
Devin J. Pohly 9f4d91418f fix semantics in XNode compiling 2013-09-24 14:24:11 -04:00
Devin J. Pohly c3c4da2d65 PIUIO: fix lights mapping for five-panel input
Based on info from bug 990.
2013-09-23 15:43:16 -04:00
Devin J. Pohly d6631caf3c Wire in new CustomSpeedMods implementation
Forgot this little bit earlier.  Whoops!
2013-09-20 16:16:21 -04:00
Devin J. Pohly 2844703b60 Adjust indentation
No-op.
2013-09-07 17:30:52 -04:00
Devin J. Pohly 366cfae8b9 Fix the LastSeen logic for autokeysounds
We were never actually setting iLastSeenRow, so the if statement wasn't
meaningful anyway.
2013-09-07 17:28:19 -04:00
Devin J. Pohly 63a31d41d8 Revert "fix visual glitch on autoplay rolls"
This reverts commit 48975f7f1d.

Fixed one visual glitch but introduced a weirder one.  Revert.
2013-09-07 16:56:00 -04:00
Devin J. Pohly 5f1936264b Add missing header. Oops. 2013-09-07 14:48:47 -04:00
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