summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-23 05:05:46 +0200
committerTreeki <treeki@gmail.com>2012-09-23 05:05:46 +0200
commita25eed1ab741053d5996ebca96d5e37066cb39b2 (patch)
treeec5d1a481608aa171a816f4e632194a669698b78 /src
parentbb12ddfb35aedf9bdabe522fbc718b876addc106 (diff)
downloadkoopatlas-a25eed1ab741053d5996ebca96d5e37066cb39b2.tar.gz
koopatlas-a25eed1ab741053d5996ebca96d5e37066cb39b2.zip
added new animations
Diffstat (limited to '')
-rw-r--r--src/editorui/paths.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/editorui/paths.py b/src/editorui/paths.py
index 394b82a..ca400ee 100644
--- a/src/editorui/paths.py
+++ b/src/editorui/paths.py
@@ -457,7 +457,8 @@ class KPEditorPath(QtGui.QGraphicsLineItem):
AnimationList = ["Walk", "WalkSand", "WalkSnow", "WalkWater",
"Jump", "JumpSand", "JumpSnow", "JumpWater",
"Ladder", "LadderLeft", "LadderRight", "Fall",
- "Swim", "Run", "Pipe", "Door"]
+ "Swim", "Run", "Pipe", "Door",
+ 'TJumped', 'Enter Cave Up', 'Reserved 18', 'Invisible']
self.ExclusiveButtons = QtGui.QButtonGroup()
@@ -465,7 +466,10 @@ class KPEditorPath(QtGui.QGraphicsLineItem):
j = 1
id = 0
for anim in AnimationList:
- newButton = QtGui.QPushButton(QtGui.QIcon("Resources/Anm/" + anim), "")
+ if id < 16:
+ newButton = QtGui.QPushButton(QtGui.QIcon("Resources/Anm/" + anim), "")
+ else:
+ newButton = QtGui.QPushButton(anim)
newButton.setCheckable(True)
newButton.setIconSize(QtCore.QSize(38, 38))
newButton.setToolTip(anim)