Kyzentun
aa564628c5
Changed InputFilter to not assert on unrecognized input devices or buttons.
2014-07-08 17:24:09 -06:00
freem
995a9c6d37
add pkgingo's (Win32) Minimaid driver.
...
* new makefile config option "HAVE_MINIMAID"
* update all Visual Studio projects
2014-07-08 16:51:11 -05:00
Kyzentun
e9220c56b7
Added Actor:GetDestX/Y/Z to Lua API.
2014-07-04 02:03:05 -06:00
kyzentun
3c028c2321
Merge pull request #206 from kyzentun/InputCallbacks
...
This seems solid in my testing, I've converted Consensual to use it instead of CodeMessageCommand.
2014-07-03 23:15:03 -06:00
Kyzentun
dfd0a5e897
Added semicolon that moshekaplan forgot.
2014-07-03 11:47:06 -06:00
Kyzentun
a117b38f38
Merge branch 'patch-3' of https://github.com/moshekaplan/stepmania
2014-07-03 11:24:18 -06:00
Kyzentun
0d060a0e5c
Merge branch 'patch-2' of https://github.com/moshekaplan/stepmania
2014-07-03 11:23:19 -06:00
Moshe Kaplan
e52ff00295
Remove memory leak in RageSurfaceUtils::Palettize
2014-07-03 11:27:22 -04:00
Moshe Kaplan
240d1715c9
Minor performance enhancement
...
`list.empty()` runs in constant time; `list.size` can run in linear time.
`list.empty()` runs in constant time; `list.size` can run in linear time.
Sources:
http://www.cplusplus.com/reference/list/list/size/
http://www.cplusplus.com/reference/list/list/empty/
2014-07-03 10:10:40 -04:00
Moshe Kaplan
c0b790cb1f
= Operator should check for self-assignment
2014-07-03 09:33:25 -04:00
Kyzentun
63f1eea7ca
Changed SCREENMAN:SetNewScreen and AddNewScreenToTop to emit an error for an invalid screen instead of crashing stepmania.
2014-07-01 22:40:00 -06:00
Kyzentun
9a9da05cfb
Added doc explaining what a theme needs to support heart rate calorie calculation.
2014-07-01 02:21:24 -06:00
Kyzentun
947479f154
Added heart rate based calorie counting method to Profile as an alternative to step count based calorie counting. Removed unused IsWeightSet from Profile::SaveGeneratlDataCreateNode.
2014-07-01 01:36:00 -06:00
sigatrev
466718e016
created ArrowEffects namespace
...
and exposed all arrow effects functions. This can allow themed elements
to move with columns during gameplay, such as column specific judgments,
flashes, or whatever else.
2014-06-28 01:26:57 -05:00
AJ Kelly
fffcdd08e6
Merge pull request #208 from kyzentun/AutoSetStyleInSetCurrSteps
...
AutoSetStyle convenience
2014-06-27 22:16:27 -05:00
Kyzentun
6cb9dec854
Changed SetCompatibleStyle to only change when incompatible.
2014-06-27 21:11:34 -06:00
Kyzentun
afc090ca73
Changed GAMESTATE:SetCurrentSteps and GAMESTATE:SetCurrentTrail to attempt to set a compatible style if AutoSetStyle is true.
2014-06-27 20:20:50 -06:00
freem
6643c50eee
add missing ActorMultiVertex to VS2008 project file
2014-06-27 16:09:38 -05:00
Kyzentun
b08d766657
Fixed fake conflict in ThemeAndGamePrefs.lua.
2014-06-26 23:57:40 -06:00
kyzentun
c29c9c0cee
Merge pull request #201 from kyzentun/FixSetFail
...
Fix global fail setting overriding song options.
2014-06-26 22:25:21 -06:00
Kyzentun
27c6a54d82
Added AddInputCallback and RemoveInputCallback to Lua API for screen. ScreenManager now passes input to the lua side of each screen in addition to the engine side.
2014-06-26 21:33:54 -06:00
Kyzentun
dcf819d297
Moved all sanity checking for OptionRowHandlerLua to a separate function so that a malformed row does not crash StepMania, and instead prints an error to the log file, and creates a row that does nothing. Added AllowAnything arg to CheckEnum.
2014-06-25 12:08:57 -06:00
AJ Kelly
0b7ca07576
Merge pull request #199 from kyzentun/RateCompensation
...
Changed GetYOffset to make CMods an MMods compensate for music rate.
2014-06-23 14:53:24 -05:00
kyzentun
2ee02c442f
Merge pull request #197 from kyzentun/SaveScreenshot
...
SaveScreenshot for Lua
2014-06-23 12:51:55 -06:00
Kyzentun
3a788651e5
Fixed bug that caused global fail setting to override setting the fail type from song options. Added GAMESTATE:SetFailTypeExplicitlySet so that a theme with a custom song options screen can protect its fail setting from being overridden the same way the engine ScreenSongOptions does.
2014-06-20 13:54:56 -06:00
Kyzentun
045e9edcdd
Added ArbSpeedMods function for a better way of setting speed modifiers. Added NotifyHandlerOfSelection to OptionRowHandler to support this. Changed exceptions thrown by OptionRowHandlerLua into log warnings because crashing out is not helpful to themers. Fixed SetEnabledForPlayers in OptionRowHandlerLua to correctly read the PlayerNumber enum. Removed silly git add Docs/Themerdocs/Examples/OptionRowHandlerLua.lua and second check for ExportOnChange.
2014-06-19 06:41:18 -06:00
Kyzentun
b756386fda
Changed GetYOffset to make CMods an MMods compensate for music rate.
2014-06-17 03:14:17 -06:00
Kyzentun
f8e1e28286
Exposed StepMania::SaveScreenshot to Lua. Added prefix and suffix args for setting the screenshot name and removed the unused index arg. Added GetHighScore to PlayerStageStats and AddScreenshot to Profile so that Lua can imitate ScreenEvaluation's code for adding a screenshot to the profile. Removed hungarian notation from variable names in StepMania::SaveScreenshot.
2014-06-17 00:29:09 -06:00
kyzentun
f7b808ca29
Merge pull request #195 from kyzentun/AMV_in_projects
...
AMV in projects
2014-06-17 00:18:07 -06:00
Kyzentun
e4f1682964
ASSERT broken into two lines, as per shakesoda's suggestion.
2014-06-16 23:05:31 -06:00
Kyzentun
e8a57bd927
Merge branch 'SetCurrentSteps' of https://github.com/sigatrev/stepmania
2014-06-16 23:04:41 -06:00
Kyzentun
7e41d88feb
Fixed fake conflict in Profile.cpp.
2014-06-16 22:57:33 -06:00
kyzentun
708784889a
Merge pull request #163 from kyzentun/tweenable_mmods
...
Tweening for mmods.
2014-06-16 22:51:27 -06:00
kyzentun
3d2dd9b172
Merge pull request #155 from kyzentun/negative_haste
...
Negative haste and themable haste
2014-06-16 22:50:19 -06:00
AJ Kelly
bc93c01021
Merge pull request #194 from sigatrev/Dark
...
Better fix of float Dark
2014-06-15 15:43:26 -05:00
Kyzentun
955e6ddc7d
Added AMV to src/Makefile.am
2014-06-15 13:21:13 -06:00
sigatrev
ebb41302e0
Better fix of float Dark
...
One that actually works
2014-06-15 00:43:59 -05:00
sigatrev
0c97a223ef
Merge pull request #1 from wolfman2000/wolf-vs-amv-contribution
...
Set up ActorMultiVertex for other VS projects.
2014-06-14 23:56:07 -05:00
Jason Felds
e23ea4261b
Merge pull request #193 from sigatrev/Dark
...
Fix dark float
2014-06-15 00:46:59 -04:00
Jason Felds
acdb296276
Set up ActorMultiVertex for other VS projects.
2014-06-15 00:44:05 -04:00
sigatrev
477f987ed8
Fix dark float
...
Without applying internal diffuse to the receptors, dark percentages
under 100 were doing nothing.
2014-06-14 23:38:54 -05:00
sigatrev
dcf141c99e
AVM in VS2010 projects
2014-06-14 23:18:09 -05:00
Colby Klein
d0373f1ed6
Merge pull request #183 from sigatrev/judgment-message-tracks
...
fix judgment message param Tracks for holds
2014-06-09 00:56:55 -07:00
Dan Guzek
7d13a9963b
allow button messages in SSM's SelectMenu
...
This allows themers to make use of SelectMenuInputMessageCommand even
if they have SelectMenuChangesDifficulty set to true in their Metrics.
Neither _fallback nor Default use SelectMenuInputMessageCommand and,
for that matter, no theme I'm aware of does (perhaps because it's
essentially inaccessible as it is).
I use this to detect if a player presses START while holding SELECT on
SSM. This is possible with the existing code system, but that
CodeMessage does not fire until the player lets go of both buttons.
This allows the themer to check for that button combination more imm
ediately.
2014-06-01 21:28:17 -04:00
sigatrev
8fc5ae2cd4
fix GAMESTATE:SetCurrentSteps
...
assert was causing crash if steps were set to nil/null.
2014-06-01 19:23:56 -05:00
sigatrev
a436e04310
fix judgment message param Tracks for holds
2014-06-01 19:22:24 -05:00
Kyzentun
6db1199db5
Added PROFILE:GetHighScoreListIfExists for limiting memory footprint on searches. Added PROFILE:GetAllUsedHighScoreNames to provide a non-brute force way for obtaining a list of names. Added HighScoreList:GetHighestScoreOfName so the C++ side could do the iteration. Added HighScoreList:GetRankOfName for the same reason.
2014-05-13 13:34:38 -06:00
Kyzentun
c8476738f5
Exposed GAMESTATE:StoreRankingName and Profile:SetLastUsedHighScoreName to Lua. StoreRankingName no longer forces uppercase.
2014-05-12 22:01:22 -06:00
AJ Kelly
80c741f175
Merge pull request #164 from kyzentun/get_metric_group
...
Added THEME:GetMetricNamesInGroup and THEME:GetStringNamesInGroup.
2014-05-08 14:41:15 -05:00
Kyzentun
afc235e17b
Added THEME:GetMetricNamesInGroup and THEME:GetStringNamesInGroup.
2014-05-08 03:59:08 -06:00