1
0
forked from 0ad/0ad

Updated actor viewer animation names to match changes in actor files (animations for renamed resources)

This was SVN commit r7794.
This commit is contained in:
WhiteTreePaladin 2010-07-24 12:39:10 +00:00
parent 16f70cfe4c
commit ddb48c4631

View File

@ -244,9 +244,9 @@ function init(window, bottomWindow)
actorViewer.controls.push(animationBoxBox);
var animationBox = new wxStaticBoxSizer(animationBoxBox, wxOrientation.VERTICAL);
var animationSelector = new wxChoice(bottomWindow, -1, wxDefaultPosition, wxDefaultSize,
[ "build", "death",
"gather_fruit", "gather_grain", "gather_meat", "gather_metal", "gather_stone", "gather_wood",
"idle", "melee", "run", "walk" ] // TODO: this list should come from the actor
[ "idle", "walk", "run", "melee", "death", "build",
"gather_fruit", "gather_grain", "gather_meat",
"gather_tree", "gather_rock", "gather_ore", "gather_treasure" ] // TODO: this list should come from the actor
);
animationSelector.stringSelection = "idle";
actorViewer.controls.push(animationSelector);