Guest User

AXE WOLF 3d

a guest
Apr 13th, 2026
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1. prgmRAYSRC
  2. .RAYCAST
  3. #Icon(00001FF820042FC4303C20044634463240024182200427E81008199817E81008)
  4. #ExprOn
  5. prgmTEXTURES
  6. Fix 5
  7. Full
  8. ClrDraw
  9. For(R,0,25
  10. ClrDraw
  11. Text(R,21,"WOLFENSTEIN"
  12. DispGraph
  13. End
  14. For(R,0,34
  15. ClrDraw
  16. Text(25,21,"WOLFENSTEIN"
  17. Text(57,~R+62,"3D"
  18. DispGraph
  19. End
  20. Pause 4500
  21. ClrDraw^^r
  22. Bitmap(0,0,GDB1)^^r
  23. 30->H
  24. 50->K
  25. 0->M
  26. 4->S
  27. Repeat getKey(15)
  28. ClrDraw
  29. For(A,0,(94/4))
  30. cos(A+M)->E
  31. sin(A+M)->F
  32. sub(CT
  33. 15/D->P
  34. P*D->D
  35. If 200*P>D:
  36. While pxl-Test(X,Y)^^r:
  37. D--
  38. D*E//(127*P)+H->X
  39. D*F//(127*P)+K->Y
  40. End
  41. End
  42. D+P->D
  43. 50*P/D->D
  44. A*4->B
  45. 2048/D->G
  46. If D<60000
  47. For(C,0,D*2)
  48. nib{2*GDB3+(G*C/2/2/2/2/2/2/2/2)}->nib{GDB2*2}
  49. Pt-On(B,25-D+C,GDB2)
  50. End
  51. End
  52. End
  53. For(A,0,GDB5-1)
  54. {A*2+GDB6}-H->E->R
  55. {A*2+1+GDB6}-K->F->S
  56. max(abs(E),abs(F))->J
  57. If J>127
  58. E*127-(E/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2*2-1*J/2)/J->E
  59. F*127-(F/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2*2-1*J/2)/J->F
  60. End
  61. sub(CT
  62. sqrt(R^^2+(S^^2))->Q
  63. If Q<D
  64. tan^-1(E,F)->D
  65. If (F>60000)
  66. D+128->D
  67. If (D>256)
  68. D-256->D
  69. End
  70. End
  71. D-(47/4+M)->D
  72. If abs(D)<(47/4+1)
  73. .Pt-Off(D+(47/4)*4,17+(50/Q/2),GDB4)
  74. 25-(25/Q*2/3)->B .Y start
  75. 50/Q*2/3->C .Y size
  76. If C>50
  77. 50->C
  78. End
  79. D+(47/4)*4-14->E .X start
  80. 24*256/C->F .Y count
  81. For(D,0,C-1)
  82. D*F/256->G
  83. {G+GDB40}->{GDB2}
  84. Pt-Off(E,B+D,GDB2)
  85. {G+GDB40+1}->{GDB2}
  86. Pt-Off(E+8,B+D,GDB2)
  87. {G+GDB40+2}->{GDB2}
  88. Pt-Off(E+16,B+D,GDB2)
  89. End
  90. 0->{GDB2}
  91. End
  92. End
  93. End
  94. Line(0,50,94,50
  95. DispGraph
  96. If getKey(55):
  97. RecallPic
  98. DispGraph
  99. getKey
  100. Repeat getKey:
  101. Pxl-Change(H,K)
  102. DispGraph
  103. Pause 900
  104. End
  105. End
  106. getKey(3)-getKey(2)*10+M->M.MOVEMENT AND ROTATION
  107. (M+260)^260->M
  108. If M>=130
  109. M-260->M
  110. End
  111. getKey(4)-getKey(1)*(cos(47/S+M)//96)+H->X
  112. getKey(4)-getKey(1)*(sin(47/S+M)//96)+K->Y
  113. If getKey(1) or getKey(4)
  114. sub(CM
  115. End
  116. End
  117. Normal
  118. Fix 4
  119.  
  120. Lbl CT
  121. For(D,0,100)
  122. D*E//127+H->X
  123. D*F//127+K->Y
  124. If pxl-Test(X,Y)^^r:Return
  125. End
  126. End
  127. Return
  128. Lbl CM
  129. If pxl-Test(X,Y)^^r=0:
  130. X->H
  131. Y->K
  132. End
  133.  
  134.  
  135. prgmTEXTURES
  136. .TEXT
  137. Data(57,64)->GDB1
  138. [00000007FFC0000003F000040040000002103FFC007C000002102004004400000208200000040000020820040044000003EFA3FC007C00000200A204004000000200E387EFC000000200808044000000020000804400000002008080440000007E00FF8044000000460080004400000047EF000FC700000044440008010000006C440009C700000047C40009C400000040440009C40000004044000FC4000000404400004400000047CF80006C0003FF4600801F87F00201460080100010020146008010001FFE0142008010000802014000801000000001420080100008020146008010001E1E0146008010001F22014600801F83F1220147EF8000EC0123FF47C400004401200047C400004401200044440000440120004044000044013FFC444400004401000447C400004401000447C7FFC044010004400020704401FFFC400000104400000040002070440000007FFFEFC0440000000019040FEFE00000002128084420000000183008002000000005E0084420000000048008442000000004800FC7E000000007800844200000000000080020000000000008442000000000000FC7E000000000000800200000000000080020000000000008002000000000000FFFE00000]
  139. [0000000000000000]->GDB2
  140. [F11F22F11F44F11F]->GDB3
  141. [FFDBDBFFBDBDC3FF]->GDB4
  142. [FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF]->GDB40
  143. 1->GDB5
  144. [2332]->GDB6
Advertisement
Add Comment
Please, Sign In to add comment