Commit Graph
4533 Commits
Author SHA1 Message Date
Joe fa428f979a Autokeysounds are no longer twice as loud when playing keysounded charts with two players. 2015-05-24 21:23:04 +01:00
Kyzentun Keeslala c155ccffbc Change ForceOtherPlayersToCompatibleSteps to treat NULL steps as a failed match. 2015-05-20 23:22:51 -06:00
Kyzentun Keeslala cc2e166c18 Change JoinPlayer to look directly at SideIsJoined to avoid style-dependent logic in GetNumPlayersEnabled. 2015-05-20 22:26:47 -06:00
Jason Felds 266ac4ef92 Merge pull request #635 from wolfman2000/wolf-libva-builtin
Try to not need WITH_LIBVA.
2015-05-20 19:37:17 -04:00
Kyzentun Keeslala e6e0dcff44 PlayersCanJoin does not check style anymore, see comment. IsHumanPlayer doesn't try to use PlayersCanJoin to guess the current screen anymore. 2015-05-19 21:58:56 -06:00
Jason Felds b934a25cb2 Try to not need WITH_LIBVA. 2015-05-19 20:08:15 -04:00
Jason Felds a000732c2c Merge pull request #615 from nixtrix/previewlength2
Setting sample length for songs with preview file to 0 uses length of preview file
2015-05-18 23:11:22 -04:00
Jason Felds c3b468382d Merge pull request #613 from dguzek/OSX-Loading-Splash
fix LoadingWindow splash image for OS X
2015-05-17 22:02:31 -04:00
Joe ba183e0db2 Tidying up (removal of commented code etc) 2015-05-15 16:50:59 +01:00
Joe d3e866db26 Setting sample length for songs with preview file to 0 uses length of preview file 2015-05-15 15:46:20 +01:00
Colby Klein 3df07863f5 Merge pull request #598 from nixtrix/musicwheelfadeout
Music wheel preview fadeout time is now adjustable by the metric [ScreenSelectMusic] SampleMusicFadeOutSeconds.
2015-05-15 07:38:54 -07:00
Dan Guzek 40f1554724 fix Loading Window splash image for OS X
This commit allows OS X users to enjoy their current theme's custom splash graphic if it is available at ./Graphics/Common splash.png
I have been wanting to fix this for a fairly long time.

My fix is probably not the cleanest or proper way to do this.  StepMania.cpp already looks up the current theme's "Common splash.png" and passes it off to the arch-appropriate LoadingWindow as a RageSurface.  This fix repeats the lookup in LoadingWindow_MacOSX.mm, and loads the splash image into a Ragefile which is easily loaded into an NSImage.

Still, my fix does work, and if you actually know how to work with a Ragesurface and can help out here, I'll give you a cookie. :)
2015-05-15 08:28:34 -04:00
Joe a0068cb143 BMS loader now supports #difficulty tag. 2015-05-15 09:59:44 +01:00
Kyzentun Keeslala f5aec7ed4b Why the One Definition Rule exists, and being able to hide members with local variables is bad, Exhibit A. 2015-05-15 02:55:40 -06:00
Joe 6b5cb90fcc Lua BGAnimations now work when called from BMS files. 2015-05-14 12:48:26 +01:00
Joe dabad23323 BackInEventMode code now works for both players 2015-05-11 20:37:17 +01:00
Joe 459c74c3bf Music wheel preview fadeout time is now adjustable by the metric [ScreenSelectMusic] SampleMusicFadeOutSeconds. 2015-05-11 15:44:24 +01:00
Kyzentun 912582674c Don't put the song title in the screenshot name because it might contain utf8 which doesn't work on windows, or path garbage, or other stuff that would have to be sanitized. 2015-05-10 10:53:33 -06:00
Kyzentun 336cd2f712 Added XmlToLua to src/Makefile.am. 2015-05-10 08:19:59 -06:00
Jason Felds 86b0a207d9 A few cmake related fixes:
* Restore Windows installing to `C:\Games` by default.
* Restore Windows installing to the `Program` subdirectory.
* Use actual newlines in the `Build` documentation files.
* Remove the text that says that cmake is unstable.
2015-05-10 09:32:56 -04:00
Kyzentun 211269778d Fixed timing segment text to use the beat of the segment. 2015-05-10 01:04:06 -06:00
Kyzentun e3aea3ccbf Merge pull request #585 from Fighter19/master
Add an option to fix the axis problem
2015-05-09 08:27:46 -06:00
Jason Felds e5bc990c52 Merge pull request #588 from kyzentun/xml_conv
XML to Lua converter
2015-05-09 09:53:32 -04:00
Kyzentun 520432cdff Added docs for xml converter. Added XmlToLua.h. Condition code in xml is now passed through the lua converter to handle renamed things. 2015-05-08 23:55:38 -06:00
Jason Felds 166b6c5d61 Time to remove these unused files. 2015-05-08 20:59:10 -04:00
Kyzentun e591c559c6 Fixed hold cap rendering when Tiny modifier is used. Still has the 1px seam though. Added sanity checking groups progress to SongManager loading. 2015-05-06 15:48:23 -06:00
Fighter19 ca3902373f Merge branch 'master' of https://github.com/Fighter19/stepmania 2015-05-06 10:06:12 +02:00
Fighter19 73ee19b7cf Adds option for an Axis Fix for some (PS2) adapters which map the D-Pad to Axis 2015-05-06 10:04:55 +02:00
Kyzentun 9b6ae296c7 Fixed automagic typing. Added debug overlay line for conversion. 2015-05-05 21:41:15 -06:00
Kyzentun 17533e7b95 Holding select in gameplay now skips the current song in course or endless mode. Updated changelog. 2015-05-05 13:17:15 -06:00
Kyzentun 9d1ba50c23 Fixed logic mistake in PlayersCanJoin. 2015-05-04 19:56:30 -06:00
Kyzentun 236947b346 Changed GetFirstCompatibleStyle to not crash SM so it can be used to check whether joining is allowed. JoinPlayer and PlayersCanJoin now use GetFirstCompatibleStyle to check whether there will be a style to change to. Changed logic in PlayersCanJoin to return false at the first failed requirement. 2015-05-02 23:36:28 -06:00
Kyzentun a8f4278a54 Added SetCurrentOptions to NoteField::DrawPrimitives so the correct options are actually set during drawing when there are two players. Fixed stealth by disabling the glow color from the column actor, so glow effects on the column won't work. Added note explaining how long GetBrightness has been disabled. 2015-05-02 18:53:00 -06:00
Kyzentun 5eba25a495 Added hold at full to actor effect timing. Added the xml to lua converter. 2015-05-01 07:50:34 -06:00
Kyzentun 9829de8b56 Merge pull request #574 from kyzentun/stripes2
Attempts to improve performance
2015-04-30 17:19:30 -06:00
Joe 16a75bf94c Backwards and shuffle mods now ignore turntable in beat-single5/7 2015-04-30 12:51:23 +01:00
Joe be3c4db602 Beat mode gameplay changes, third attempt 2015-04-29 19:43:19 +01:00
Kyzentun 2d9ea44d12 Song::TidyUpData now clears graphics fields that point to files that don't exist. 2015-04-27 07:48:50 -06:00
Kyzentun 9758932be0 Changed RageBitmapTexture to pass a dialog id for the missing texture warning so it can be ignored. Updated changelog. 2015-04-26 09:23:12 -06:00
Kyzentun 8c802b1a28 Merge pull request #570 from psmay/EzSockets-with-timeouts
EzSockets timeouts
2015-04-26 08:52:55 -06:00
Kyzentun f3ab635d03 Made screenshot key tag with song title and screen name. 2015-04-25 21:18:42 -06:00
Kyzentun a2e1a709a0 Forgot to make VerifySelected pick the first when none are selected. 2015-04-25 19:40:42 -06:00
Kyzentun d295d89e56 Changed VerifySelected to emit useful errors insted of just the row name and number selected. 2015-04-25 19:37:45 -06:00
Kyzentun 8e187da210 Merge pull request #565 from kyzentun/toast_in_mouth
Multiple toasties per song.
2015-04-24 19:07:35 -06:00
Kyzentun 2656123464 RageTextureManager now keeps a map of textures by pointer for quicker lookup when deleting.
RageTextureManager now keeps a map of textures that need updating, which is none of them because I couldn't find a class that inherits from RageTexture that doesn't have an empty Update function.
ArrowEffects now requires setting the current PlayerOptions before calling any functions.  This might make moving to per-column mods easier, and reduces the direct usage of PlayerState.
Tipsy calculations for each column are done in ArrowEffects::Update instead of GetYPos and GetYOffset.
DrawHold changed to only call DrawHoldBody once.  DrawHoldBody now does the normal and glow passes together instead of needing to be called twice.
DrawHoldPart changed to take most of its args in a struct.
Giant copy paste mess that NoteField was using to draw timing segment text replaced with a couple functions and a macro.
Selection glow for notefield is only calculated if a section is selected.
Added RageVector3 functions to CubicSplineN for NoteDisplay to use.
Actor effect period is cached now.  Sprites and Models cache their animation length now.
ReceptorArrowRow no longer calls ArrowEffects::Update in gameplay.
2015-04-24 15:55:54 -06:00
Matt McCutchen cb7efb1570 getDevice: Do not read a dirent after calling closedir.
On my Fedora 20 system, closedir apparently frees the dirent, and
reading it afterwards returns garbage data.  This prevented my dance pad
from being detected.
2015-04-23 21:38:45 -04:00
Peter S. May 79ee8c1c81 Block+timeout CanRead/CanWrite/DataAvailable EzSockets methods.
A minor change to the code exposes the timeout parameter of `select()`, which was already in use for CanRead()/CanWrite(). The timeout parameter is used to block the current thread until data (for read) or space (for write) is available on the underlying socket.

A timeout of 0 suppresses any blocking (the original methods fix the timeout to 0).

The timeout value is supplied in milliseconds as an `unsigned int`; this is converted internally to the equivalent `timeval`.

An in-progress addition to my SextetStream input driver is implemented with non-blocking reads on a TCP socket. Without the block+timeout functionality, it must busy-wait for new input. Changing the reads to blocking works during a game but can cause the program to hang when exiting. The changes in this commit provide a solution to both issues without disrupting any existing code.
2015-04-23 12:50:28 -04:00
Kyzentun 88f295d295 Added diffuse and glow to column renderers to make diffuse and effects affect notes the way they would affect actors inside a frame. 2015-04-20 16:05:43 -06:00
Kyzentun 9790d613b5 Changed ScreenEdit::HandleAlterMenuChoice to not prompt for clearing when it is used by cut, which is used by all the transform choices. 2015-04-20 07:47:26 -06:00
Jason Felds 283de4f0c2 Restore Xcode debugging with newer builds. 2015-04-18 13:58:16 -04:00