Skip to content

Commit fc51efa

Browse files
committed
Remove commented-out prints for each import. These slow it down a fair amount if enabled, though are useful for figuring out the scope of what we import.
1 parent 390f696 commit fc51efa

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

C7/Civ3Unit/Civ3Unit.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,12 @@ public Civ3Unit(string path, byte unitColor = 0) : base(path, unitColor) {
2323
foreach (UnitAction actn in Enum.GetValues(typeof(UnitAction))) {
2424
// Ensuring there is image data for this action
2525
if (Animations[(int)actn] != null) {
26-
// GD.Print("Importing " + Animations[(int)actn]);
2726
foreach (Direction dir in Enum.GetValues(typeof(Direction))) {
2827
string ActionAndDirection = String.Format("{0}-{1}", actn.ToString(), dir.ToString());
2928
SF.AddAnimation(ActionAndDirection);
3029
SF.SetAnimationSpeed(ActionAndDirection, 10);
31-
// GD.Print(" Direction: " + dir);
3230

3331
for (int i = 0; i < Animations[(int)actn].Images.GetLength(1); i++) {
34-
// GD.Print(" Image" + i + " with width " + Animations[(int)actn].Width + ", " + Animations[(int)actn].Height);
3532
Image ImgTxtr = Civ3Unit.ByteArrayToImage(
3633
Animations[(int)actn].Images[(int)dir,i],
3734
Animations[(int)actn].Palette,

0 commit comments

Comments
 (0)