+static unsigned GetActionPointX (const Collection* A)
+/* Return the sprite mode from the attribute collection A */
+{
+ /* Check for a action point x attribute */
+ const char* ActionPointX = GetAttrVal (A, "ax");
+ if (ActionPointX) {
+ return atoi(ActionPointX);
+ } else {
+ return 0;
+ }
+}
+
+
+static unsigned GetActionPointY (const Collection* A)
+/* Return the sprite mode from the attribute collection A */
+{
+ /* Check for a action point y attribute */
+ const char* ActionPointY = GetAttrVal (A, "ay");
+ if (ActionPointY) {
+ return atoi(ActionPointY);
+ } else {
+ return 0;
+ }
+}
+
+