Skip to content

Commit

Permalink
convert: fixed delta graphics offset
Browse files Browse the repository at this point in the history
new variable was inserted at the wrong point.
  • Loading branch information
TheJJ committed Feb 11, 2015
1 parent f35eb64 commit 1bb3270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/openage/convert/gamedata/graphic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2013-2014 the openage authors. See copying.md for legal info.
# Copyright 2013-2015 the openage authors. See copying.md for legal info.

from ..dataformat.exportable import Exportable
from ..dataformat.members import SubdataMember, EnumLookupMember
Expand Down Expand Up @@ -88,11 +88,11 @@ class Graphic(Exportable):
(READ_EXPORT, "sequence_type", "int8_t"),
(READ_EXPORT, "id", "int16_t"),
(READ_EXPORT, "mirroring_mode", "int8_t"),
(READ_UNKNOWN, None, "int8_t"), # maybe something for the sprite editor of aoe:hd?
(READ, "graphic_deltas", SubdataMember(
ref_type=GraphicDelta,
length="delta_count",
)),
(READ_UNKNOWN, None, "int8_t"), # maybe something for the sprite editor of aoe:hd?

# if attack_sound_used:
(READ, "graphic_attack_sounds", SubdataMember(
Expand Down

3 comments on commit 1bb3270

@franciscod
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this require a make media? @TheJJ

@TheJJ
Copy link
Member Author

@TheJJ TheJJ commented on 1bb3270 Feb 13, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, as this does not change the exported fields, the change is not visible to the outside.

@franciscod
Copy link
Contributor

@franciscod franciscod commented on 1bb3270 Feb 13, 2015 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.