Ben "root" Anderson
7341280df8
Slight correction on comment.
2014-02-09 08:27:38 -06:00
Ben "root" Anderson
ac8e92af17
Bounds check directories.
2014-02-09 08:26:11 -06:00
Ben "root" Anderson
e085a40b01
Revert "Attempt preventative file not found crashing."
...
This reverts commit c5637444ab .
This didn't actually fix anything, but moved the crash from start of ScreenGameplay to parsing the .sm file during load.
2014-02-09 07:43:35 -06:00
Ben "root" Anderson
ec4e38e3aa
Un-crackhead-ify NotesLoaderSMA. It works now.
2014-02-04 12:03:20 -06:00
Ben "root" Anderson
3701197fd4
Add some localization things that Devin caught and I missed.
2014-02-02 13:37:37 -06:00
Ben "root" Anderson
332c6d3787
Merge branch 'master' of https://github.com/stepmania/stepmania
2014-02-02 12:58:07 -06:00
Ben "root" Anderson
d654bd0142
Time to reopen this big 'ol bag of worms.
2014-02-02 12:53:26 -06:00
Ben "root" Anderson
ec081e772f
Merge pull request #4 from cybik/dwindex
...
Some libc's require enum members to be part of a named enum to be used as indices for maps.
2014-01-26 18:58:28 -08:00
Ben "root" Anderson
8f9a7efbb4
Added some sorely lacking filtering logic to EditMenu related to Practice mode.
2014-01-25 14:18:18 -06:00
Ben "root" Anderson
a9ed54ae9b
Don't rename EVERY difficulty of halfdouble. That's just silly. Medium is the one people actually use.
2014-01-25 12:46:11 -06:00
Ben "root" Anderson
970bb39a81
RageSoundDriver_JACK: Autoconnect by default. More robust port detection and connection logic.
2014-01-25 11:04:46 -06:00
Ben "root" Anderson
36864f8ae7
RageSoundDriver_JACK: Try to connect to the system playback ports if no SoundDevice was specified.
2014-01-25 10:16:26 -06:00
Ben "root" Anderson
5a78561806
Change Linux sound driver load order (reasons in comments)
2014-01-25 09:56:24 -06:00
Ben "root" Anderson
fe91ae4b18
RageSoundDriver_JACK: Explicitly hint that we would rather fail than start a new jackd instance.
2014-01-25 09:55:45 -06:00
Ben "root" Anderson
6f499cb7e2
Typo
2014-01-22 00:43:18 -06:00
Ben "root" Anderson
5ee2c4c20c
Fix a (probably very very rare) memory leak
2014-01-22 00:35:44 -06:00
Ben "root" Anderson
2ee216d061
ArchHooks_Unix: Implement GetClipboard()
2014-01-22 00:31:06 -06:00
Ben "root" Anderson
6dcbcd1d7b
Oh no you don't.
2014-01-22 00:10:50 -06:00
Ben "root" Anderson
9538385a6a
Remove misleading comment. The code is sit up for these to only be called once.
2014-01-21 23:02:10 -06:00
Ben "root" Anderson
b1883f06c1
Hack around inconsistent pthread dep
2014-01-21 22:58:52 -06:00
Ben "root" Anderson
2164320354
Nuke another old unused arch thing
2014-01-21 21:52:38 -06:00
Ben "root" Anderson
0bb54f7c9c
Unused header
2014-01-21 21:48:12 -06:00
Ben "root" Anderson
323e4752bb
Nuke old unused arch infrastructure
2014-01-21 21:38:19 -06:00
Ben "root" Anderson
04079c0c1b
Unused header
2014-01-21 21:36:14 -06:00
Ben "root" Anderson
faabc52d3b
Unused header
2014-01-21 21:33:17 -06:00
Ben "root" Anderson
fdbedaee06
Now how did I manage to forget that.
2014-01-14 21:15:58 -06:00
Ben "root" Anderson
1cca4aa309
Check extra carefully that courses are actually playable.
2014-01-14 21:14:56 -06:00
Ben "root" Anderson
c3daaf9ae2
Hack around ScreenGameplaySyncMachine trying to do a network game
2014-01-14 16:19:46 -06:00
Ben "root" Anderson
817a23f961
Mark blatant, egregious violations of encapsulation
2014-01-14 15:39:21 -06:00
Ben "root" Anderson
26986db6d3
ArchHooks: new function, GetClipboard(). ArchHooks_Win32: Implementd GetClipboard(). ScreenTextEntry: Allow pasting from clipboard.
2014-01-14 13:36:34 -06:00
Ben "root" Anderson
1789985c4a
Tweaks to IsRowCompletelyJudged, MinTapNoteScore, and LastTapNoteWithResult to allow them to filter notes by a specific player
2014-01-12 08:35:08 -06:00
Ben "root" Anderson
fdb53ccbbf
Unused header
2014-01-11 15:46:53 -06:00
Ben "root" Anderson
34e1bf4b55
Boolean operators do not work that way.
2013-12-27 19:57:37 -06:00
Ben "root" Anderson
db7110feb1
Apparently MSVC is convinced that there's an important, linking-breaking difference between classes and structs. (Bug#1093, Thanks root670 for the patch!)
2013-12-23 11:06:14 -06:00
Ben "root" Anderson
82a7184822
Fix ImmediateHoldLetGo
2013-12-20 20:18:42 -06:00
Ben "root" Anderson
b61e8783b5
Kill tickholds right away
2013-12-20 19:57:19 -06:00
Ben "root" Anderson
c783009730
Un-revert. This reversion was made on a wrong assumption and it should actually be this way anyway. PercentScoreWeight* and GradeWeight* are metrics once again.
2013-12-20 18:24:00 -06:00
Ben "root" Anderson
65af9f1839
Some housekeeping that EndDraw takes care of wasn't in certain cases. Oops.
2013-12-20 17:29:49 -06:00
Ben "root" Anderson
6e34153a52
I'm an idiot.
2013-12-19 23:48:23 -06:00
Ben "root" Anderson
6dcc227327
New NoteDataUtil to count hold ticks in a NoteData. Significant overhaul to make PossibleDancePoints consider hold ticks, using said function.
2013-12-19 23:46:01 -06:00
Ben "root" Anderson
53d80a8ceb
CheckPointHit / CheckpointMiss equivalent to Flawless / Miss to mimic real PiU
2013-12-19 18:44:10 -06:00
Ben "root" Anderson
a3c27f1b0b
Don't hardcode ScoreEvent enum values/order
2013-12-19 18:41:14 -06:00
Ben "root" Anderson
48df0fc0d2
Botched the positioning of this comment, oops
2013-12-19 18:21:09 -06:00
Ben "root" Anderson
3185746d8a
Revert "Make PercentScoreWeight* and GradeWeight* theme metrics instead of preferences"
...
This reverts commit 77f2b67ee1 .
These must be Preferences (or hardcoded) because they affect max DP.
2013-12-19 18:18:54 -06:00
Ben "root" Anderson
b5962fd8d2
see next
2013-12-19 18:17:53 -06:00
Ben "root" Anderson
481792ba52
Call a struct a struct (Game)
2013-12-19 18:15:49 -06:00
Ben "root" Anderson
ee84f9263c
Make hold checkpoints a struct Game member, not a metric. It CANNOT be a metric because it affects max DP.
2013-12-19 18:06:07 -06:00
Ben "root" Anderson
fb09908916
Hack away the HoldJudgments
2013-12-13 12:35:51 -06:00
Ben "root" Anderson
b8f3217929
Revert "Hide HoldJudgments in pump mode"
...
This reverts commit df25983936 .
Apparently you can't do that in ActorCommands
2013-12-13 12:27:48 -06:00
Ben "root" Anderson
ddbdb77368
Split Actor::BeginDraw() into Actor::PreDraw() which does tweening calculations and Actor::BeginDraw() now only sets up the matrix. Skip setting up the matrix if the Actor is fully transparent.
2013-12-13 12:10:11 -06:00
Ben "root" Anderson
8285d5b1aa
So apparently manually specifying deps makes autoconf ignore pkg-config. So we'll do it manually.
2013-12-13 01:50:55 -06:00
Ben "root" Anderson
df25983936
Hide HoldJudgments in pump mode
2013-12-11 20:41:04 -06:00
Ben "root" Anderson
faeb7ae321
Scoring and grade behavior more faithful to PiU in Pump mode
2013-12-11 19:52:00 -06:00
Ben "root" Anderson
77f2b67ee1
Make PercentScoreWeight* and GradeWeight* theme metrics instead of preferences
2013-12-11 19:39:14 -06:00
Ben "root" Anderson
b4cfbf029c
Revert "Don't send HNS_Held / HNS_LetGo when using checkpoint holds"
...
This reverts commit 18a0c818cd .
Those events are used for more than just life and scoring.
2013-12-11 18:53:11 -06:00
Ben "root" Anderson
2eea7aa06e
Lifebar behavior closer to PiU re: checkpoint holds
2013-12-11 18:20:03 -06:00
Ben "root" Anderson
18a0c818cd
Don't send HNS_Held / HNS_LetGo when using checkpoint holds
2013-12-11 18:19:19 -06:00
Ben "root" Anderson
a040c4a586
1) SOMEONE can't spell "accessible" 2) Global commenting consistency 3) persistance -> persistence
2013-11-30 09:50:54 -06:00
Ben "root" Anderson
e011f8ca70
IH_Linux_Joystick: Make sure we have joysticks to manage before starting the thread.
2013-11-30 01:01:24 -06:00
Ben "root" Anderson
3cd3db7b6a
IH_Linux_Joystick cleanup. Hack to make sure thread gets started.
2013-11-30 01:00:07 -06:00
Ben "root" Anderson
0e0922ad8e
1) Event -> LinuxEvent and Joystick -> LinuxJoystick 2) Rewritten Linux input device detection: introducing LinuxInputManager. It keeps IH_Linux_Event and IH_Linux_Joystick playing nice with each other, and will later be fundamental in hotplugging support.
2013-11-30 00:08:04 -06:00
Ben "root" Anderson
a0eb83d60e
Expose InputDrivers preference to other classes
2013-11-30 00:00:09 -06:00
Ben "root" Anderson
1dde840059
spelling
2013-11-29 23:59:32 -06:00
Ben "root" Anderson
86f731d261
Oops! Forgot to change the operator when I made this not-an-assert
2013-11-26 13:48:20 -06:00
Ben "root" Anderson
cf4f6c35a0
Don't let duplicates happen!
2013-11-25 21:54:41 -06:00
Ben "root" Anderson
2b73f4b5ec
Don't iterate over every StepsType in existence when we already know exactly which StepsTypes we want.
2013-11-25 20:58:04 -06:00
Ben "root" Anderson
49265cfc2e
Bug#991 fix pt2/2: Do not filter out StepsType_lights_cabinet; in the cases where it would be selected, we want it to be displayed.
2013-11-25 20:40:16 -06:00
Ben "root" Anderson
3741a08801
Bug#991 fix pt1/2: Allow StepsTypesToRemove to be empty
2013-11-25 20:39:27 -06:00
Ben "root" Anderson
a16a42cb02
Edit loading overhaul: Load edits from song folders; Allow a songfolder-style hierarchy in profile edit folders; Make the #SONG tag optional if we can infer the intended song from the directory hierarchy.
2013-11-14 13:29:00 -06:00
Ben "root" Anderson
5124186c42
Minor formatting cleanup
2013-11-14 12:03:15 -06:00
Ben "root" Anderson
a3e241f471
Apparently Mac needs this too
2013-11-09 18:36:57 -06:00
Ben "root" Anderson
ec1a25b261
libstdc++ and libgcc DLLs are required by ffmpeg DLLs so no point to static linking
2013-11-09 17:13:20 -06:00
Ben "root" Anderson
3945a618e0
extern/for_mingw revamp
2013-11-07 11:55:03 -06:00
Ben "root" Anderson
803f9ad6e2
Handle static GLEW.
2013-11-07 00:16:47 -06:00
Ben "root" Anderson
7d4330dad1
1) force static libstdc++/libgcc 2) hack around libiconv weirdness
2013-10-31 23:01:26 -05:00
Ben "root" Anderson
f705817379
Let autoconf set this
2013-10-31 21:22:24 -05:00
Ben "root" Anderson
653a0c8382
Hardcode ffmpeg interdependencies because pkg-config is not always around to do it for us
2013-10-31 21:10:33 -05:00
Ben "root" Anderson
d20b54ee71
1) Actually pull in libiconv if we need it 2) Put in comment why it is way up here
2013-10-31 21:09:37 -05:00
Ben "root" Anderson
6bc4e4d0ed
ffmpeg may need iconv
2013-10-31 20:57:45 -05:00
Ben "root" Anderson
48ca0a5908
Move our winres.h out of the way so VS does not get confused
2013-10-31 20:43:51 -05:00
Ben "root" Anderson
095c6877c2
rc does not define _MSC_VER. Oops. We will use our own define.
2013-10-31 20:19:17 -05:00
Ben "root" Anderson
eb5999f8a8
libpng 1.6 was having issues. Here is 1.5.
2013-10-31 20:18:21 -05:00
Ben "root" Anderson
8ad1a75f69
elseif -> elif. Apparently I need to brush up on my CPP.
2013-10-30 00:13:07 -05:00
Ben "root" Anderson
d2f43a73e4
LinuxThreadHelpers -> PthreadHelpers part 3
2013-10-30 00:08:19 -05:00
Ben "root" Anderson
a5eb4376ae
Nuke extern libz as mingw-64 packs in a libz and it causes issues with libpng
2013-10-29 23:58:52 -05:00
Ben "root" Anderson
62313006c1
Keeping consistency between RS_Save_PNG and RS_Load_PNG
2013-10-29 22:29:05 -05:00
Ben "root" Anderson
b64a766e0f
winres.h -> afxres.h redirect for MinGW
2013-10-29 22:20:44 -05:00
Ben "root" Anderson
165168c05d
1) Make GL_CFLAGS/XCFLAGS/XLIBS actually be respected 2) Include Windows resources in the build
2013-10-29 19:58:58 -05:00
Ben "root" Anderson
32a25023d3
Die early if CreateDialog fails
2013-10-29 15:51:47 -05:00
Ben "root" Anderson
b676d136e4
Stub out SetThreadName for now
2013-10-27 15:55:22 -05:00
Ben "root" Anderson
2867071f02
DEBUG_ASSERT should not bail.
2013-10-27 15:46:52 -05:00
Ben "root" Anderson
7c1f08b250
1) Not _WINDOWS. _MSC_VER. MinGW uses either system libpng or its own extern pulled by autoconf. 2) Note an observed segfault I worked around
2013-10-27 15:43:16 -05:00
Ben "root" Anderson
3b9d8a9994
These should be on by default in debug
2013-10-27 15:40:41 -05:00
Ben "root" Anderson
05cdf562eb
Actually use system libpng instead of detecting and then effectively ignoring it.
2013-10-27 15:39:19 -05:00
Ben "root" Anderson
ad8a655ce7
Define DEBUG when building debug
2013-10-27 15:38:45 -05:00
Ben "root" Anderson
263240debc
Apparently MinGW needs this too.
2013-10-27 15:36:05 -05:00
Ben "root" Anderson
3d466eb227
Missed a last few archutils, I blame WinMain
2013-10-27 12:43:49 -05:00
Ben "root" Anderson
c636a48952
The last of the win32-specific libs.
2013-10-26 18:04:01 -05:00
Ben "root" Anderson
90f9115317
OpenGL detection overhaul. 1) Fix some bad quoting 2) More consistent formatting 3) Add GLU detection 4) Rewrite GLEW detection from scratch and move it to opengl.m4 where it belongs.
2013-10-26 18:03:46 -05:00
Ben "root" Anderson
2aabd327b3
1) Pretty sure that pragma is MSVC specific. 2) Whatever bug that was it is not present in MinGW.
2013-10-26 17:47:57 -05:00