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
Kyzentun Keeslala
6be2cac4ed
Updated changelog. Added nixtrix to credits.
2015-05-19 12:57:02 -06:00
Kyzentun
80e1e175c0
Merge pull request #616 from nixtrix/notesloaderbmscleanu
...
Tidying up notesloaderBMS.cpp per kyzentun's request
2015-05-15 09:59:14 -06: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
Kyzentun
69e765867c
Merge pull request #609 from nixtrix/bmslua
...
Lua BGAnimations now work correctly when called from BMS files.
2015-05-14 08:38:56 -06:00
Kyzentun
26ef77febf
Merge pull request #600 from jobn/backineventmode3
...
BackInEventMode code now works for both players (new version)
2015-05-11 13:40:57 -06: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
Kyzentun
211269778d
Fixed timing segment text to use the beat of the segment.
2015-05-10 01:04:06 -06:00
Kyzentun
1389e68bb3
Changed .travis.yml to use cmake. Updated changelog. Updated version number in CMakeLists.txt.
2015-05-09 08:37:08 -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
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
Kyzentun
0d9897aed3
Added toasty example.
2015-05-08 11:19:14 -06: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
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
Kyzentun
fe35b65d4f
Merge pull request #582 from jobn/mirrorrandom
...
Backwards and shuffle mods now ignore turntable in beat-single5/7
2015-04-30 10:24:46 -06:00
Kyzentun
c37e18c175
Merge pull request #580 from jobn/beat_stuff2
...
Beat mode gameplay changes, third attempt
2015-04-29 12:48:33 -06:00
Kyzentun
e3101e4574
When a string is not closed, it creates unresolved tension that stays with you for the rest of the day.
2015-04-28 00:45:37 -06: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
b30a282e1b
Show board always in default theme because it's the screen filter now.
2015-04-25 07:33:08 -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
Kyzentun
ede974ce73
Merge pull request #571 from mattmccutchen/master
...
getDevice: Do not read a dirent after calling closedir.
2015-04-23 20:54:52 -06:00
Kyzentun
7ff045f920
Updated changelog and credits. Restored spaces on RoomInfoDisplay language entries because they probably belong there.
2015-04-23 20:49:18 -06:00
Kyzentun
754ca986e8
Merge branch 'New-Options-menu' of https://github.com/tuxdude143/stepmania
2015-04-23 19:50:51 -06:00
Kyzentun
68fdb2cc0b
Merge pull request #569 from hanubeki/lang-ja
...
Little changes to Japanese language files
2015-04-21 06:33:15 -06: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
Kyzentun
9314555e6d
Added preference for showing multiple toasties in one song. Added IsWaiting to Transition.
2015-04-18 08:52:57 -06:00
Kyzentun
862eba8f7d
Changed logic to allog ToastyTriggersAt to be a function that returns the next increment. Added ToastyMinTNS metric for controlling the TNS for a toasty.
2015-04-17 23:24:49 -06:00
Kyzentun
c50b12b8c6
Changed toasty logic to trigger multiple times without requiring a W3.
2015-04-17 16:26:39 -06:00
Kyzentun
603d8128f3
Merge pull request #553 from dguzek/Fix-ThemePrefs
...
Fix theme prefs
2015-04-17 00:43:41 -06:00
Kyzentun
fc6ce722ca
Disabled late join on SSM if on extra stage to prevent crash in summary screen.
2015-04-14 12:25:40 -06:00
Kyzentun
b35683f7ff
Merge pull request #564 from hanubeki/lang-ja
...
Update Japanese translation
2015-04-14 07:25:34 -06:00
Kyzentun
b4690fe932
Merge pull request #562 from sigatrev/master
...
ancient NoteData::ClearRangeForTrack bug fix
2015-04-13 17:53:14 -06:00
Kyzentun
b04e7faec6
Fixed RevertFromDisk by making it turn off the InStepEditor flag while reloading the song. Removed redundant call of loaderSSC.TidyUpData from NotesLoader::LoadFromDir because loaderSSC.LoadFromDir calls it.
2015-04-13 10:33:09 -06:00
Kyzentun
bac4356672
Changed TimingData to always return the entry before the closest one when using the lookup table to avoid various problems that occur only when the current time is exactly on the current entry in the lookup table.
2015-04-11 22:50:06 -06:00
Kyzentun
cf3c967a51
Allow songs with invalid characters such as # in the title to work by calling TidyUpData after loading.
2015-04-10 22:40:49 -06:00
Kyzentun
1c3db82537
Modified StepsID operators to consider 0 equal to all other hash values. See comment in source for details. Changed operator>>(RString&, int&) functions to be based off a template.
2015-04-10 09:10:51 -06:00
Kyzentun
60349d849e
Modified NoteDataWithScoring::GetActualRadarValues to use the time between the first and last hittable notes instead of the first and last seconds of the song because the song could start or end with mines or other unhittable notes.
2015-04-08 20:15:18 -06:00
Kyzentun
8993cfe729
Added MuteActions preference checking to RageSound::PlayCopy. Modified ActorSound and GameSoundManager::PlayOnce to take is_action args. Fixed doc for playcommand to mention the param table.
2015-04-08 16:15:14 -06:00
Kyzentun
84b57e7ca4
Song::TidyUpData needs to happen after edits in the song folder are loaded so that their radar stuff will be calculated. Bumped cache version.
2015-04-07 12:47:51 -06:00
Kyzentun
76a00574e1
Merge pull request #554 from Thumbsy/patch-1
...
Last two lines that were left untranslated
2015-04-07 07:19:20 -06:00
Kyzentun
8aa2d42427
Added rec_print_children and rec_print_table to _fallback. Updated changelog.
2015-04-07 00:04:34 -06:00
Kyzentun
8c33bf92fb
Merge pull request #541 from kyzentun/board_under_everything
...
Board under everything
2015-04-06 23:35:04 -06:00
Kyzentun
2bb0ff1bc5
Merge pull request #548 from Wallacoloo/master
...
'Exit' option in 'select game' menu returns user to main options menu unless the game mode was changed
2015-04-06 23:34:14 -06:00
Kyzentun
3cb7b5d2a5
Typo fix in ScreenEdit help from SpookyMagician.
2015-04-06 23:00:51 -06:00
Kyzentun
2f5748fe4d
Fixed conflicts and order in Changelog_language.txt.
2015-04-06 22:54:45 -06:00
Kyzentun
9658252bc3
Merge pull request #543 from kyzentun/edit_timing_data
...
Shift timing data in Edit Mode
2015-04-06 22:50:56 -06:00
Kyzentun
88af6acdfd
Merge pull request #552 from kyzentun/radar_note_count
...
RadarCategory_Notes, uncapping and fixes to radar calculation.
2015-04-06 22:49:42 -06:00
Kyzentun
1e668c660f
Removed _t from typenames because of POSIX. Fixed bug that made a warp and stop on the same row skip the marker in TimingData.
2015-04-06 21:49:46 -06:00
Kyzentun
5852067f47
Added RadarCategory_Notes. Rewrote NoteDataWithScoring stuff to only traverse the NoteData once, and match the radar code in NoteDataUtil. Fixed hand and lift counting in NoteDataUtil::CalculateRadarValues. Removed cap from RadarValues so that Stream, Voltage, Air, Freeze, and Chaos can be over 1.0. Fixed Stream and Voltage to not count hold heads twice. Changed SetRadarValues in NotesLoaderSSC to not require the stepfile version number.
2015-04-06 18:45:23 -06:00
Kyzentun
d7e032b478
Added 1, 2, and 4 measure choices to shift menus in edit mode.
2015-04-04 22:38:18 -06:00
Kyzentun
9e5081476f
Added timing menu options to Edit Mode that allow shifting and copying timing segments of a chosen type in the selected region or everywhere below the cursor.
2015-04-04 09:10:00 -06:00
Kyzentun
6bedfcaf74
Added NoteField board files.
2015-04-03 14:21:42 -06:00
Kyzentun
b4893e4a10
Structural changes to ScreenGameplay, Player, and NoteField to put the NoteField Board underneath everything except the song background. This includes underneath the combo/judgment when those are under the field. Screen filter in default theme moved to be part of the NoteField board so that it's always in the right place.
2015-04-03 14:19:28 -06:00
Kyzentun
2f1a348565
Commify handles negative numbers now.
2015-04-02 18:02:38 -06:00
Kyzentun
d789ef7c6b
Exposed commify function to lua and made it handle decimal numbers.
2015-04-02 13:36:41 -06:00
Kyzentun
2b4cabfb57
Added keybinding for reloading songs on SSM, and lua function for doing it from lua. Added NeverCacheList preference for WIP groups that should never be cached. Rewrote TimingData::CopyRange in preparation for using it to copy/paste timing data from the selected area in edit mode.
2015-03-31 15:20:37 -06:00
Kyzentun
0e66d625e6
Merge pull request #534 from kyzentun/song_manager_restructure
...
Various changes to speed up start up time
2015-03-31 09:41:15 -06:00
Kyzentun
e08182446e
Fixed bug in TimingData lookup table for elapsed time. The entries were being added with the time for lookup when they should have been added with the beat. Also fixed the way GetElapsedTimeInternal uses FindEvent so that FindEvent won't spuriously find the marker when building the lookup table.
2015-03-30 22:41:40 -06:00
Kyzentun
8b09da8e64
Various changes to speed up start up time:
...
Added delay_save_cache to SongCacheIndex so that it doesn't write the entire cache index file after every song is loaded when loading songs.
Added m_SongsByDir to SongManager so that GetSongFromDir doesn't have to walk the entire list of songs.
Minor changes to when LoadEnabledSongsFromPref occurs and how SanityCheckGroupDir works to speed up loading.
Song::ReloadFromSongDir removes cache file to force an actual reload from the song dir instead of reloading from the cache. ReloadFromSongDir exposed to lua.
Reordered Actor::LoadFromNode to put Command first because that case is more common.
Course::GetTrailUnsorted reserves entries before starting to save time reallocating.
join in RageUtil calculates the final size of the concatenated strings reserves it to save time reallocating.
Added time log file to RageLog for profiling.
2015-03-30 17:45:52 -06:00
Kyzentun
3c70b13fcf
Fixed unitialized radar in CalculateRadarValues. Changed song deletion message to use translated string. Updated changelog.
2015-03-27 17:04:58 -06:00
Kyzentun
540c617485
Merge pull request #521 from kyzentun/load_only_from_cache
...
More aggressive caching.
2015-03-24 20:41:14 -06:00
Kyzentun
7ab01aa056
Merge pull request #510 from kyzentun/faster_timing_data
...
Faster TimingData lookups
2015-03-24 20:41:01 -06:00
Kyzentun
062b618bda
Changed ActorFrame::SetUpdateRate to reject a negative rate instead of crashing.
2015-03-24 18:28:11 -06:00
Kyzentun
f4da2988d9
Moved GetTexturePath lua function from Sprite to RageTexture and renamed it to GetPath. Updated changelog.
2015-03-24 14:23:30 -06:00
Kyzentun
31ce1c7b39
Moved more things to happen only when a song isn't cached. Song::TidyUpData now only fetches a list files in the song dir once, instead of several times.
2015-03-24 12:05:41 -06:00
Kyzentun
96259ab951
Fixed voltage calculation by making avg_bps a float instead of an int.
2015-03-23 22:41:15 -06:00
Kyzentun
a2798e16f4
More aggressive caching. In general, this makes Stepmania avoid looking in the song directory at all if the song is in the cache, in order to load songs faster. All the RadarValue calculations were also rolled into one to reduce the time needed to build the cache.
2015-03-23 11:35:30 -06:00
Kyzentun
63c709e9f2
Merge pull request #516 from sigatrev/AFT-crashes
...
Prevent 2 AFT related crashes
2015-03-21 00:55:35 -06:00
Kyzentun
833754289c
Merged changelog conflicts.
2015-03-17 19:30:29 -06:00
Kyzentun
369368a019
Fixed loading of ssc format edit files.
2015-03-15 16:54:04 -06:00
Kyzentun
7be1a35d77
Fixed IniFile::RenameKey by adding RenameChildInByName to XmlFile. Only font loading uses RenameKey.
2015-03-15 13:23:23 -06:00
Kyzentun
d85ac9af85
Added GetTexturePath lua function to Sprite.
2015-03-15 00:34:21 -06:00
Kyzentun
2b7ebb3729
Added lookup table system to TimingData so that GetBeatAndBPS and GetElapsedTime don't have to walk through the entire list of timing segments several times every frame during gameplay.
2015-03-14 23:17:35 -06:00
Kyzentun
d5b0b78ccf
Added changelog for language strings.
2015-03-12 21:24:50 -06:00
Kyzentun
3140c4f30f
Changed preview length setting to occur when the special preview file is set in edit mode.
2015-03-11 18:55:06 -06:00
Kyzentun
bd53ae2e81
Updated changelog for 5.0.7rc.
2015-03-09 20:54:55 -06:00
Kyzentun
98b0af2e27
Compile before committing, kids.
2015-03-09 20:45:28 -06:00
Kyzentun
20953df0bd
Rebased loading optimizations to current master.
2015-03-09 20:42:33 -06:00
Kyzentun
25e4dc4edc
Rebased autosave to current master.
2015-03-09 20:23:22 -06:00
Kyzentun
ddb1683bb7
Autosave completed but not tested.
2015-03-09 19:47:44 -06:00
Kyzentun
064aead73c
Added autosave to edit mode.
2015-03-09 19:47:43 -06:00
Kyzentun
fa0478affa
Merged per-chart music. Updated changelog.
2015-03-09 19:06:57 -06:00
Kyzentun
9b86f5ea44
Merge pull request #500 from wolfman2000/wolf-configure-typo
...
Fix typo in configure.ac
2015-03-09 18:59:30 -06:00
Kyzentun
9353840583
Added HarshHotLifePenalty preference.
2015-03-08 23:44:18 -06:00
Kyzentun
3c9452d894
Rewrote IniFile::ReadFile to use a switch and cache the section node. Rewrote StringToTapNoteScore to use a map.
2015-03-08 22:38:00 -06:00
Kyzentun
d617321766
Emit an error for negative tweening hurry factor.
2015-03-08 10:12:42 -06:00