Показать сообщение отдельно
Старый 17.05.2009, 18:11   #4
Артем Валерьевич
Бывалый
 
Аватар для Артем Валерьевич
 
Регистрация: 25.12.2007
Адрес: г. Краснодар
Сообщений: 894
Написано 421 полезных сообщений
(для 1,079 пользователей)
Ответ: Структуры данных 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'


;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%
;конец программы
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%
(Offline)
 
Ответить с цитированием