Commit Graph
100 Commits
Author SHA1 Message Date
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
Devin J. Pohly 4537a66481 make PixelFormat a typedef, fixes ffmpeg 1.1 compat 2013-02-20 15:29:24 -05:00
Devin J. Pohly 4f7f4f4a51 TimingData: update misleading comment 2013-02-05 17:09:25 -05:00
Devin J. Pohly 1973091a7f ArchHooks: remove Data from per-user directory, move UserPackages to Packages 2013-02-05 00:01:08 -05:00
Devin J. Pohly 2ffaaab125 addition to Lua behavior, update Changelog 2013-02-04 23:17:38 -05:00
Devin J. Pohly 4eb8d72325 Player: add column as a parameter to StepMessage 2013-02-04 22:25:54 -05:00
Devin J. Pohly 106838cf64 fix warning about const float 2013-01-31 13:35:39 -05:00
Devin J. Pohly 22dedf28c8 document the current Split Timing implementation 2013-01-29 19:06:08 -05:00
Devin J. Pohly 1bf8e07584 NoteDataUtil: I thought this control structure looked familiar... 2013-01-26 00:05:46 -05:00
Devin J. Pohly e31558ab8f PaneDisplay: move fake loop to helper function 2013-01-25 23:56:12 -05:00
Devin J. Pohly 1a150b96d5 Player: remove fake loop, simplify hopo logic 2013-01-25 18:18:13 -05:00
Devin J. Pohly 0b32d2bf9a ActorUtil: retry is simpler and more obvious with tail-calls 2013-01-25 18:08:00 -05:00
Devin J. Pohly f68d921d4c we don't need an extra variable here 2013-01-25 18:02:57 -05:00
Devin J. Pohly 900d04e624 replace gotos with if blocks where appropriate 2013-01-25 17:57:03 -05:00
Devin J. Pohly 9237741149 replace gotos with do/while logic where appropriate 2013-01-25 17:56:33 -05:00
Devin J. Pohly 001ee51242 replace gotos with tail calls where appropriate 2013-01-25 17:22:23 -05:00
Devin J. Pohly 7bdfc454ae obviate goto by reordering logic 2013-01-25 17:03:45 -05:00
Devin J. Pohly 13eac7ff2d fix inaccurate comment 2013-01-25 15:57:57 -05:00
Devin J. Pohly cfc3fb0e9a editor fix is user-facing, add to changelog 2013-01-25 15:53:01 -05:00
Devin J. Pohly e840ac9a6c BackgroundUtil: replace goto with helper function 2013-01-25 15:45:01 -05:00
Devin J. Pohly 7703070817 merge from upstream 2013-01-24 00:43:15 -05:00
Devin J. Pohly 533b0f9eff NotesWriterSSC: fix steps offset when saving 2013-01-24 00:20:56 -05:00
Devin J. Pohly ce507b9800 use empty TimingData in Steps to signify fallback on Song timing.
This required using the new Steps::GetTimingData function and the allowEmpty
parameter to TimingData::TidyUpData when appropriate, as well as clearing the
TimingData to remove step timing rather than coping the song timing over it.

Fixes some odd editor behavior when changing song timing, and is overall a
slightly less hacky way of doing things.
2013-01-23 14:51:18 -05:00
Devin J. Pohly 0ae7b0da85 TimingData: add allowEmpty parameter to TidyUpData. always false for now... 2013-01-23 14:38:57 -05:00
Devin J. Pohly 3d6f1c5227 ScreenEdit: handle beat-0 offset the same as other timing data 2013-01-21 23:13:38 -05:00
Devin J. Pohly 234cbf4281 ScreenEdit: add GetAppropriateStepsForUpdate function 2013-01-21 22:53:12 -05:00
Devin J. Pohly 4385b9242d Steps: add GetTimingData function that falls back on Song if necessary 2013-01-20 21:12:11 -05:00
Devin J. Pohly 8815da5f1f replace SongManager::GetSongFromSteps with use of song pointer 2013-01-20 19:51:59 -05:00
Devin J. Pohly afaa382b84 Steps: set Song pointer to associated song when constructing 2013-01-20 19:23:28 -05:00
Devin J. Pohly 1327fa6356 Steps: add a pointer to the associated Song. not used yet. 2013-01-20 18:11:17 -05:00
Devin J. Pohly da1ebd50ed remove unused TimingData variable 2013-01-23 14:25:10 -05:00
Devin J. Pohly 9fd6768f49 TimingData: fix constness on getters 2013-01-21 22:52:36 -05:00
Devin J. Pohly 2cf9262afc merge OverlayInput into Input. overlay screens can still intercept input if they want. 2013-01-12 23:19:44 -05:00
Devin J. Pohly 9c9e2f995f just call Input from OverlayInput 2013-01-12 23:08:38 -05:00
Devin J. Pohly d13ac7e7a2 modify Input() on screens to return boolean 2013-01-12 22:48:38 -05:00
Devin J. Pohly 79583090ac guess this is a theme-facing feature. update changelog. 2013-01-12 10:43:33 -05:00
Devin J. Pohly f58584c939 allow overlay screens to accept codes 2013-01-11 10:08:27 -05:00
Devin J. Pohly 4a3e3370d8 make-src-archive: overwrite symlinks in autoconf/ if needed 2013-01-10 16:39:03 -05:00
Devin J. Pohly a3491b5a61 fix typo on 3fb9163 2013-01-02 14:09:17 -05:00
Devin J. Pohly 9e6d161743 fix crash on double ES.
code should ensure that a call to SetCurrentSteps passes steps that match the
current StyleType
2013-01-02 14:07:03 -05:00
Devin J. Pohly e7db656fa7 ScreenEdit: fix assertion when recording past selection 2013-01-02 10:56:34 -05:00
Devin J. Pohly d80af5bf42 fix assertion when multiple players press start simultaneously 2013-01-01 14:32:22 -05:00
Devin J. Pohly f6410abd43 X11: release all keys/buttons when window loses focus 2012-12-31 22:15:49 -05:00
Devin J. Pohly 655af974a6 simplify window mapping loop 2012-12-31 21:27:16 -05:00
Devin J. Pohly d9f61d919c answer some commented questions 2012-12-31 19:31:38 -05:00
Devin J. Pohly 301bc1428b allow custom everything in user profile directory 2012-12-30 16:48:17 -05:00
Devin J. Pohly 226877f826 remove some apparently accidentally-added files 2012-12-30 13:03:55 -05:00
Devin J. Pohly b03b3adf41 remove extra zeros from editor textentry 2012-12-28 16:18:21 -05:00
Devin J. Pohly bd0e2074ad replace ASSERT(0) with useful fail messages 2012-12-27 16:59:35 -05:00
Devin J. Pohly 376056a0cf fix file/line numbers in ASSERT_M/FAIL_M 2012-12-27 13:52:49 -05:00
Devin J. Pohly 7f4e97d72a fix one more unused warning 2012-12-26 23:08:51 -05:00
Devin J. Pohly 1acbf07466 war on -Werror, part 4: miscellany 2012-12-26 21:45:45 -05:00
Devin J. Pohly 58aa480016 war on -Werror, part 3: narrowing conversions 2012-12-26 21:12:12 -05:00
Devin J. Pohly 7aac8c5ae3 war on -Werror, part 2: unused variables and dead code 2012-12-26 20:35:02 -05:00
Devin J. Pohly 1f80e3be4c remove code in ScreenGameplay that doesn't do anything 2012-12-26 20:15:56 -05:00
Devin J. Pohly d45afb73d8 war on -Werror, part 1: constructor order, c++ actually cares 2012-12-26 20:14:40 -05:00
Devin J. Pohly 07aa41e6ef add comments to clarify piuio inputdriver 2012-08-12 23:13:34 -04:00
Devin J. Pohly a6bdf6c741 add a couple of file patterns I missed, and make names consistent. 2012-08-12 19:24:15 -04:00
Devin J. Pohly 92f2a16557 new make-src-archive. old one was old. 2012-08-12 19:05:28 -04:00
Devin J. Pohly daa8b6faea move random src/docs folder (1 file) to Docs/Devdocs instead 2012-08-10 17:16:14 -04:00