Merge branch 'main' into translations-system
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# You need to run the following command in your repository:
|
||||
#
|
||||
# git config blame.ignoreRevsFile .git-blame-ignore-revs
|
||||
#
|
||||
# afterwards, revisions specified in this file will be ignored in git blame
|
||||
# any revision needs to be in a unabbreviated sha1 format
|
||||
# see https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt for more information
|
||||
|
||||
# A good format to use is:
|
||||
|
||||
# # reason for ignoring the revisions
|
||||
# <rev>
|
||||
|
||||
# Removed unused imports & reordered imports
|
||||
d17ea72c74bbbadac0bb00e11868dddf6aebd346
|
||||
|
||||
# ScriptPack revert
|
||||
8a2ac9e1d4e51e688cd2339bdccd6b39ed7d52a3
|
||||
|
||||
# Spaces to tabs
|
||||
a63e5f5958ed0643fab92e9d5708a4c26e5238a1
|
||||
|
||||
# Removed useless indentation and more spaces to tabs
|
||||
f8b20774e3f035eeddb9211a28a391b20db74456
|
||||
|
||||
# Revert a revert
|
||||
75f6bec8294e5b783368cfd7ae6e45698c326cb3
|
||||
4aa95838d7df9c307bcac6456e937081645a0f4a
|
||||
|
||||
# Revert a revert (note types use int)
|
||||
17e177a69554f4d798f5acdd3799687dc9f01a93
|
||||
008ad05bf1407d9772805ed69985cfbcde79e495
|
||||
|
||||
# Revert a revert (empty script)
|
||||
392416e00cbd82e1c49e82a9fafdcf2e069a654e
|
||||
159467de832a172681200c463d244a46e295c3c8
|
||||
@@ -48,7 +48,7 @@
|
||||
<print pretty="true">Rebuilding Lime...</print>
|
||||
|
||||
<!- - Build lime - ->
|
||||
<cmd inLib="lime" cmd="haxelib run lime rebuild . $PLATFORM -clean" />
|
||||
<cmd inLib="lime" cmd="haxelib run lime rebuild . $PLATFORM -release -clean" />
|
||||
<cmd inLib="lime" dir="tools" cmd="haxe tools.hxml" />
|
||||
</if> -->
|
||||
|
||||
|
||||
@@ -25,10 +25,13 @@ class FlxAnimate extends flxanimate.FlxAnimate {
|
||||
if (limb != _pivot) {
|
||||
if (frameOffsetAngle != null && frameOffsetAngle != angle)
|
||||
{
|
||||
var angleOff = (-angle + frameOffsetAngle) * FlxAngle.TO_RAD;
|
||||
rMatrix.rotate(-angleOff);
|
||||
var angleOff = (frameOffsetAngle - angle) * FlxAngle.TO_RAD;
|
||||
var cos = Math.cos(angleOff);
|
||||
var sin = Math.sin(angleOff);
|
||||
// cos doesnt need to be negated
|
||||
rMatrix.rotateWithTrig(cos, -sin);
|
||||
rMatrix.translate(-frameOffset.x, -frameOffset.y);
|
||||
rMatrix.rotate(angleOff);
|
||||
rMatrix.rotateWithTrig(cos, sin);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -74,14 +74,18 @@ class Paths
|
||||
public static inline function music(key:String, ?library:String)
|
||||
return getPath('music/$key.$SOUND_EXT', library);
|
||||
|
||||
public static inline function voices(song:String, difficulty:String = "normal", ?prefix:String = "") {
|
||||
var diff = getPath('songs/${song.toLowerCase()}/song/Voices$prefix-${difficulty.toLowerCase()}.$SOUND_EXT', null);
|
||||
return OpenFlAssets.exists(diff) ? diff : getPath('songs/${song.toLowerCase()}/song/Voices$prefix.$SOUND_EXT', null);
|
||||
inline static public function voices(song:String, difficulty:String = "normal", ?prefix:String = "")
|
||||
{
|
||||
song = song.toLowerCase();
|
||||
var diff = getPath('songs/${song}/song/Voices$prefix-${difficulty.toLowerCase()}.$SOUND_EXT', null);
|
||||
return OpenFlAssets.exists(diff) ? diff : getPath('songs/${song}/song/Voices$prefix.$SOUND_EXT', null);
|
||||
}
|
||||
|
||||
public static inline function inst(song:String, difficulty:String = "normal", ?prefix:String = "") {
|
||||
var diff = getPath('songs/${song.toLowerCase()}/song/Inst$prefix-${difficulty.toLowerCase()}.$SOUND_EXT', null);
|
||||
return OpenFlAssets.exists(diff) ? diff : getPath('songs/${song.toLowerCase()}/song/Inst$prefix.$SOUND_EXT', null);
|
||||
inline static public function inst(song:String, difficulty:String = "normal", ?prefix:String = "")
|
||||
{
|
||||
song = song.toLowerCase();
|
||||
var diff = getPath('songs/${song}/song/Inst$prefix-${difficulty.toLowerCase()}.$SOUND_EXT', null);
|
||||
return OpenFlAssets.exists(diff) ? diff : getPath('songs/${song}/song/Inst$prefix.$SOUND_EXT', null);
|
||||
}
|
||||
|
||||
public static function image(key:String, ?library:String, checkForAtlas:Bool = false, ?ext:String = "png") {
|
||||
|
||||
@@ -226,7 +226,7 @@ typedef SwagSong =
|
||||
|
||||
typedef SwagSection =
|
||||
{
|
||||
var sectionNotes:Array<Dynamic>;
|
||||
var sectionNotes:Array<Array<Dynamic>>;
|
||||
var lengthInSteps:Int;
|
||||
var ?sectionBeats:Float;
|
||||
var ?typeOfSection:Int;
|
||||
|
||||
Reference in New Issue
Block a user