Ответ: Структуры данных Blitz3D
а вот сама прога. вылетает с ошибкой.
format PE GUI 4.0
entry start
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%
;инклуды
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%
include 'win32wxp.inc'
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%
;константы и переменные
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%
;bbGraphicsDepth fix setGraphbits%
;bbGraphicsHeight fix GH%
;bbGraphicsWidth fix GW%
;mov bbBackBuffer, 1
;camera = 2
GW% fix 640
GH% fix 480
setGraphbits% fix 32
setGraphmode% fix 3
BBCanvas fix bbBackBuffer
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%
section '.code' code readable executable
start:
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%
;инициализация движка Блиц
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%
.draw:
invoke bbBeginBlitz3D,\
invoke bbGraphics3D,GW%,GH%,setGraphbits%,setGraphmode%
; invoke bbSetBuffer, [bbBackBuffer],0
invoke bbAmbientLight, 64, 64, 64
invoke bbCreateCube, 0
invoke bbCreateCamera, 0
invoke bbUpdateWorld
invoke bbRenderWorld
while bbKeyDown = VK_ESCAPE ; 27 - код клавиши ESC
invoke bbEndBlitz3D
end while
include 'Blitz3D.inc'
include 'res.inc'
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%
;конец программы
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%
|