Subversion Repositories duke3d_hrp

Rev

Rev 431 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 431 Rev 491
Line 230... Line 230...
230
  MHK_LINE="$2"
230
  MHK_LINE="$2"
231
 
231
 
232
  case "${MHKFILE}" in
232
  case "${MHKFILE}" in
233
    "E3L1.mhk")
233
    "E3L1.mhk")
234
      echo "${MHK_LINE}" >> "${EXTRACTDIR}/${MHKFILE}"
234
      echo "${MHK_LINE}" >> "${EXTRACTDIR}/${MHKFILE}"
235
      MHK_INSERT=`echo "${MHK_LINE}" | grep -oE "sprite\ 575\ pitch\ 1"`
235
      MHK_INSERT=`echo "${MHK_LINE}" | grep -oE "Fixes\ for\ badly\ aligned\ sprites"`
236
      if [ ! "${MHK_INSERT}" = "" ] ; then
236
      if [ ! "${MHK_INSERT}" = "" ] ; then
237
        echo "sprite 591 mdxoff 425000 // underwater slimebabe (Polymost HRP)\r" \
237
        echo "sprite   591 mdxoff     425000     // tile0603 naked1 hangbabe (Polymost HRP)\r" \
238
             >> "${EXTRACTDIR}/${MHKFILE}"
238
             >> "${EXTRACTDIR}/${MHKFILE}"
239
        echo "sprite 591 pitch 1\r" >> "${EXTRACTDIR}/${MHKFILE}"
-
 
240
        echo "sprite 592 mdxoff 425000 // underwater slimebabe (Polymost HRP)\r" \
239
        echo "sprite   591 pitch      1          // tile0603 naked1 hangbabe (Polymost HRP)\r" \
241
             >> "${EXTRACTDIR}/${MHKFILE}"
240
             >> "${EXTRACTDIR}/${MHKFILE}"
-
 
241
        echo "sprite   592 mdxoff     425000     // tile0603 naked1 hangbabe (Polymost HRP)\r" \
-
 
242
             >> "${EXTRACTDIR}/${MHKFILE}"
-
 
243
        echo "sprite   592 pitch      1          // tile0603 naked1 hangbabe (Polymost HRP)\r" \
242
        echo "sprite 592 pitch 1\r" >> "${EXTRACTDIR}/${MHKFILE}"
244
             >> "${EXTRACTDIR}/${MHKFILE}"
243
        echo "sprite 593 mdxoff 425000 // underwater slimebabe (Polymost HRP)\r" \
245
        echo "sprite   593 mdxoff     425000     // tile0603 naked1 hangbabe (Polymost HRP)\r" \
-
 
246
             >> "${EXTRACTDIR}/${MHKFILE}"
-
 
247
        echo "sprite   593 pitch      1          // tile0603 naked1 hangbabe (Polymost HRP)\r" \
244
             >> "${EXTRACTDIR}/${MHKFILE}"
248
             >> "${EXTRACTDIR}/${MHKFILE}"
245
        echo "sprite 593 pitch 1\r" >> "${EXTRACTDIR}/${MHKFILE}"
-
 
246
      fi
249
      fi
247
      ;;
250
      ;;
248
    "E3L3.mhk")
251
    "E3L3.mhk")
249
      MHK_REPLACE=`echo "${MHK_LINE}" | grep -oE "sprite\ 105\ angoff -128"`
252
      MHK_REPLACE=`echo "${MHK_LINE}" | grep -oE "sprite\ 105\ angoff -128"`
250
      if [ ! "${MHK_REPLACE}" = "" ] ; then
253
      if [ ! "${MHK_REPLACE}" = "" ] ; then