home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1997 #2 / amigaacscoverdisc / games / alienbreed3d2 / source_4000 / multileveldata2 < prev    next >
Text File  |  1997-01-31  |  4KB  |  180 lines

  1.  
  2.  
  3. *************************************************************
  4. * SET UP INITIAL POSITION OF PLAYER *************************
  5. *************************************************************
  6.  
  7. INITPLAYER:
  8.  move.l LEVELDATA,a1
  9.  add.l 160*10(a1),a1
  10.  move.w 8(a1),d0
  11.  move.l ZoneAdds,a0
  12.  move.l (a0,d0.w*4),d0
  13.  add.l LEVELDATA,d0
  14.  move.l d0,PLR1_Roompt
  15.  move.l PLR1_Roompt,a0
  16.  move.l ToZoneFloor(a0),d0
  17.  sub.l #playerheight,d0
  18.  move.l d0,PLR1s_yoff
  19.  move.l d0,PLR1_yoff
  20.  move.l d0,PLR1s_tyoff
  21.  move.l PLR1_Roompt,PLR1_OldRoompt
  22.  
  23.  move.l (a1),PLR1s_xoff
  24.  move.l 4(a1),PLR1s_zoff 
  25.  move.l (a1),PLR1_xoff
  26.  move.l 4(a1),PLR1_zoff 
  27.  
  28.  add.l #10,a1
  29.  
  30.  move.w 8(a1),d0
  31.  move.l ZoneAdds,a0
  32.  move.l (a0,d0.w*4),d0
  33.  add.l LEVELDATA,d0
  34.  move.l d0,PLR2_Roompt
  35.  move.l PLR2_Roompt,a0
  36.  move.l ToZoneFloor(a0),d0
  37.  sub.l #playerheight,d0
  38.  move.l d0,PLR2s_yoff
  39.  move.l d0,PLR2_yoff
  40.  move.l d0,PLR2s_tyoff
  41.  move.l d0,PLR2_yoff
  42.  
  43.  move.l PLR2_Roompt,PLR2_OldRoompt
  44.  
  45.  move.l (a1),PLR2s_xoff
  46.  move.l 4(a1),PLR2s_zoff 
  47.  move.l (a1),PLR2_xoff
  48.  move.l 4(a1),PLR2_zoff 
  49.  
  50.  add.l #10,a1
  51.  
  52.  move.w 8(a1),d0
  53.  move.l ZoneAdds,a0
  54.  move.l (a0,d0.w*4),d0
  55.  add.l LEVELDATA,d0
  56.  move.l d0,PLR3_Roompt
  57.  move.l PLR3_Roompt,a0
  58.  move.l ToZoneFloor(a0),d0
  59.  sub.l #playerheight,d0
  60.  move.l d0,PLR3s_yoff
  61.  move.l d0,PLR3_yoff
  62.  move.l d0,PLR3s_tyoff
  63.  move.l d0,PLR3_yoff
  64.  
  65.  move.l PLR3_Roompt,PLR3_OldRoompt
  66.  
  67.  move.l (a1),PLR3s_xoff
  68.  move.l 4(a1),PLR3s_zoff 
  69.  move.l (a1),PLR3_xoff
  70.  move.l 4(a1),PLR3_zoff 
  71.  
  72.  rts
  73.  
  74. *************************************************
  75. * Floor lines:                                  *
  76. * A floor line is a line seperating two rooms.  *
  77. * The data for the line is therefore:           *
  78. * x,y,dx,dy,Room1,Room2                         *
  79. * For ease of editing the lines are initially   *
  80. * stored in the form startpt,endpt,Room1,Room2  *
  81. * and the program calculates x,y,dx and dy from *
  82. * this information and stores it in a buffer.   *
  83. *************************************************
  84.  
  85. PointsToRotatePtr: dc.l 0
  86.  
  87. ***************************************
  88. LEVELDATA:
  89.  dc.l 0
  90.  
  91. ;LEVELDATAD: ds.b 100000
  92.  
  93. ; ds.b 100000
  94. ; incbin "tstlev.bin"
  95. ***************************************
  96.  
  97. *************************************************************
  98. * ROOM GRAPHICAL DESCRIPTIONS : WALLS AND FLOORS ************
  99. ************************************************************* 
  100.  
  101. ZoneBorderPts: dc.l 0
  102. CONNECT_TABLE: dc.l 0
  103. ListOfGraphRooms: dc.l 0
  104. NastyShotData: dc.l 0
  105. ObjectPoints: dc.l 0
  106. PlayerShotData: dc.l 0
  107. ObjectData: dc.l 0
  108. FloorLines: dc.l 0
  109. Points: dc.l 0
  110. PLR1_Obj: dc.l 0
  111. PLR2_Obj: dc.l 0
  112. PLR3_Obj: dc.l 0
  113. PLR4_Obj: dc.l 0
  114. PLR5_Obj: dc.l 0
  115. PLR6_Obj: dc.l 0
  116. PLR7_Obj: dc.l 0
  117. ZoneGraphAdds: dc.l 0
  118. ZoneAdds: dc.l 0
  119. NumObjectPoints: dc.w 0
  120. LiftData: dc.l 0
  121. DoorData: dc.l 0
  122. SwitchData: dc.l 0
  123. CPtPos: dc.l 0
  124. NumCPts: dc.w 0
  125. OtherNastyData: ds.l 20
  126. NumLevPts: dc.w 0
  127.  
  128. wall SET 0
  129. seethruwall SET 13
  130. floor SET 1
  131. roof SET 2
  132. setclip SET 3
  133. object SET 4
  134. curve SET 5
  135. light SET 6
  136. water SET 7
  137. bumpfloor SET 8
  138. bumproof SET 9
  139. smoothfloor SET 10
  140. smoothroof SET 11
  141. backdrop SET 12
  142.  
  143. GreenStone SET 0
  144. MetalA SET 4096
  145. MetalB SET 4096*2
  146. MetalC SET 4096*3
  147. Marble SET 4096*4
  148. BulkHead SET 4096*5
  149. SpaceWall SET 4096*6
  150. Sand SET 0
  151. MarbleFloor SET 2
  152. RoofLights SET 256
  153. GreyRoof SET 258
  154.  
  155. BackGraph:
  156.  dc.w -1
  157.  dc.w backdrop
  158.  dc.l -1
  159.  
  160. NullClip:
  161.  dc.l 0
  162.  
  163. LEVELGRAPHICS:
  164.  dc.l 0
  165.  
  166. ;LEVELGRAPHICSD:
  167. ; ds.b 50000
  168.  
  169. ; ds.b 50000
  170. ; incbin "tstlev.graph.bin"
  171. LEVELCLIPS: 
  172.  dc.l 0
  173.  
  174. ;LEVELCLIPSD:
  175. ; ds.b 50000
  176. ; ds.b 50000
  177. ; incbin "tstlev.clips"
  178.  
  179. ControlPts:
  180. ; incbin "ab3:includes/newlev.map"