git » fp-git.git » commit e8ed41f

Handled Edge offsets in resource data generator.

author ecalot
2004-08-18 04:24:31 UTC
committer ecalot
2004-08-18 04:24:31 UTC
parent b9fdf978e506c5aa86b77e24320bab314d401480

Handled Edge offsets in resource data generator.

FP/src/conf/mods.conf +3 -0
FP/src/conf/resources.conf +7 -0

diff --git a/FP/src/conf/mods.conf b/FP/src/conf/mods.conf
index dcc3734..72632e5 100644
--- a/FP/src/conf/mods.conf
+++ b/FP/src/conf/mods.conf
@@ -2,3 +2,6 @@ LEFT   0x00
 RIGHT  0x01
 INVERT 0x02
 NORMAL 0x00
+HAS_D  0x04
+HAS_L  0x08
+HAS_R  0x10
diff --git a/FP/src/conf/resources.conf b/FP/src/conf/resources.conf
index 76a45f6..165e79d 100644
--- a/FP/src/conf/resources.conf
+++ b/FP/src/conf/resources.conf
@@ -2,12 +2,19 @@
 # type LVL: 1 (the first level)
 # type IMG: 1 (palette) n (frames)
 # type PAL: undefined yet
+# type OF(L|R|D): edge offsets, values from -64 to 191. Modifies the next IMG.
 
 #define             type file    resources
 MAP                  LVL LEVEL   2000
 ANIM_CROUCH          IMG KID     400 518-530
 ANIM_JUMP            IMG KID     400 481-499
+
+#jump run with offsets
+ANIM_JUMPRUN_XL      OFL         1 0 1 0 0 1 0 1 1 1 1
+ANIM_JUMPRUN_XR      OFR         0 0 1 0 0 1 0 1 1 1 1 
+ANIM_JUMPRUN_XD      OFD         0 0 1 0 0 1 0 1 1 1 1
 ANIM_JUMPRUN         IMG KID     400 434-444
+
 ANIM_NORMAL          IMG KID     400 415 415 415 
 ANIM_RUN             IMG KID     400 407-414 
 ANIM_RUN_START       IMG KID     400-406