Извините, ничего не найдено.

Не расстраивайся! Лучше выпей чайку!
Регистрация
Справка
Календарь

Вернуться   www.boolean.name > Программирование игр для компьютеров > C++ > Разработка LIB

Ответ
 
Опции темы
Старый 20.02.2009, 21:43   #1
-=Jack=-
ПроЭктировщик
 
Аватар для -=Jack=-
 
Регистрация: 10.01.2009
Адрес: хз
Сообщений: 177
Написано 18 полезных сообщений
(для 44 пользователей)
Подмигивание Структуры данных Blitz3D

Ещё давно описал все блицовские структуры для С++. Вчера обновил некоторые части, решил выложить.
Скачать можно тут. Для скачивания необходима регистрация. Если найдете ошибки или неточности - пишите - исправлю.
__________________
Я бы изменил мир, но Бог не даёт исходников...
(Offline)
 
Ответить с цитированием
Старый 09.05.2009, 06:58   #2
Артем Валерьевич
Бывалый
 
Аватар для Артем Валерьевич
 
Регистрация: 25.12.2007
Адрес: г. Краснодар
Сообщений: 846
Написано 401 полезных сообщений
(для 1,026 пользователей)
Ответ: Структуры данных Blitz3D

пишу заголовочный файл Blitz SDK для Fasma, проблемы в том что я немогу понять какие параметры у типов и констант Блица, с функциями проще в этом плане.
(Offline)
 
Ответить с цитированием
Старый 17.05.2009, 14:10   #3
Артем Валерьевич
Бывалый
 
Аватар для Артем Валерьевич
 
Регистрация: 25.12.2007
Адрес: г. Краснодар
Сообщений: 846
Написано 401 полезных сообщений
(для 1,026 пользователей)
Ответ: Структуры данных Blitz3D

вроде накатал я файлег, вот его листинг, только не фурынькает оно.

;************************************
;**********-Blitz3D include-*********
;************************************
;*
;5.05.2009 г. *
;Прошу не бить ногами *
; *
;************************************
section '.idata' import data readable writeable

library b3d,'B3D.dll'

;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%% ;импорт библиотеки и функций движка Блиц
;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%



;****************************************
; Булевые операции *
;************************************
BBFalse = 0;
BBTrue = 1;
; Параметры окна
;************************************
GFX_DEFAULT = 0;
GFX_FULLSCREEN = 1;
GFX_WINDOWED = 2;
GFX_WINDOWEDSCALED = 3;
; Проекции
;************************************
PROJ_NONE = 0;
PROJ_PERSPECTIVE = 1;
PROJ_ORTHO = 2;
; Освещение
;************************************
LIGHT_DIRECTIONAL = 1;
LIGHT_POINT = 2;
LIGHT_SPOT = 3;
; Наложения
;************************************
TX_COLOR = 1;
TX_ALPHA = 2;
TX_MASKED = 4;
TX_MIP = 8;
TX_CLAMPU = 16;
TX_CLAMPV = 32;
TX_SPHERE = 64;
TX_CUBIC = 128;
TX_VRAM = 256;
TX_HIGHCOLOR = 512;

TX_BLEND_NONE = 0;
TX_BLEND_ALPHA = 1;
TX_BLEND_MULT = 2;
TX_BLEND_ADD = 3;
TX_BLEND_DOT3 = 4;
TX_BLEND_MULT2 = 5;
; Отражения кубические
;************************************
CUBEFACE_LEFT = 0;
CUBEFACE_FRONT = 1;
CUBEFACE_RIGHT = 2;
CUBEFACE_BACK = 3;
CUBEFACE_TOP = 4;
CUBEFACE_BOTTOM = 5;

CUBEMODE_SPECULAR = 1;
CUBEMODE_DIFFUSE = 2;
CUBEMODE_REFRACTION = 3;
; Наложения кисти
;************************************
BRUSHBLEND_NONE = 0;
BRUSHBLEND_MULTIPLY = 1;
BRUSHBLEND_ALPHA = 2;
BRUSHBLEND_ADD = 3;

BRUSHFX_NONE = 0;
BRUSHFX_FULLBRIGHT = 1;
BRUSHFX_VERTEXCOLOR = 2;
BRUSHFX_FLAT = 4;
BRUSHFX_NOFOG = 8;
BRUSHFX_DOUBLESIDED = 16;
BRUSHFX_VERTEXALPHA = 32;
; Коллизии
;************************************
COLLIDE_SPHERESPHERE = 1;
COLLIDE_SPHEREPOLY = 2;
COLLIDE_SPHEREBOX = 3;

COLLIDE_STOP = 1;
COLLIDE_SLIDE1 = 2;
COLLIDE_SLIDE2 = 3;
; Пик обьекта
;************************************
PICK_NONE = 0;
PICK_SPHERE = 1;
PICK_POLY = 2;
PICK_BOX = 3;
; Анимации
;************************************
ANIM_STOP = 0;
ANIM_LOOP = 1;
ANIM_PINGPONG = 2;
ANIM_ONCE = 3;
; Спрайты
;************************************
SPRITE_TURNXY = 1;
SPRITE_STILL = 2;
SPRITE_ALIGNZ = 3;
SPRITE_TURNY = 4;
; Проигрывание СD
;************************************
PLAYCD_SINGLE = 1;
PLAYCD_LOOP = 2;
PLAYCD_ALL = 3;

;Коды клавиш мыши, джостика, клавиатуры
;************************************
MOUSE_BUTTON = 1;
MOUSE_RIGHTBUTTON = 2;
MOUSE_MIDDLEBUTTON = 3;

JOYTYPE_NONE = 0;
JOYTYPE_DIGITAL = 1;
JOYTYPE_ANALOG = 2;

KEY_ESCAPE = 1;
KEY_TAB = 15;
KEY_SPACE = 57;
KEY_RETURN = 28;
KEY_LEFTSHIFT = 42;
KEY_LEFTCONTROL = 29;
KEY_LEFTALT = 56;
KEY_RIGHTSHIFT = 54;
KEY_RIGHTCONTROL = 157;
KEY_RIGHTALT = 184;

KEY_UP = 200;
KEY_LEFT = 203;
KEY_RIGHT = 205;
KEY_DOWN = 208;

KEY_F1 = 59;
KEY_F2 = 60;
KEY_F3 = 61;
KEY_F4 = 62;
KEY_F5 = 63;
KEY_F6 = 64;
KEY_F7 = 65;
KEY_F8 = 66;
KEY_F9 = 67;
KEY_F10 = 68;

KEY_Q = 16;
KEY_W = 17;
KEY_E = 18;
KEY_R = 19;
KEY_T = 20;
KEY_Y = 21;
KEY_U = 22;
KEY_I = 23;
KEY_O = 24;
KEY_P = 25;

KEY_A = 30;
KEY_S = 31;
KEY_D = 32;
KEY_F = 33;
KEY_G = 34;
KEY_H = 35;
KEY_J = 36;
KEY_K = 37;
KEY_L = 38;

KEY_Z = 44;
KEY_X = 45;
KEY_C = 46;
KEY_V = 47;
KEY_B = 48;
KEY_N = 49;
KEY_M = 50;

KEY_1 = 2;
KEY_2 = 3;
KEY_3 = 4;
KEY_4 = 5;
KEY_5 = 6;
KEY_6 = 7;
KEY_7 = 8;
KEY_8 = 9;
KEY_9 = 10;
KEY_0 = 11;

KEY_MINUS = 12;
KEY_EQUALS = 13;
KEY_BACKSPACE = 14;
KEY_LEFTBRACKET = 26;
KEY_RIGHTBRACKET = 27;
KEY_SEMICOLON = 39;
KEY_APOSTROPHE = 40;
KEY_GRAVE = 41;
KEY_BACKSLASH = 43;
KEY_COMMA = 51;
KEY_PERIOD = 52;
KEY_SLASH = 53;
KEY_CAPSLOCK = 58;

KEY_PRINT = 183;
KEY_SCROLLLOCK = 70;
KEY_PAUSEBREAK = 197;
KEY_INSERT = 210;
KEY_DELETE = 211;
KEY_HOME = 199;
KEY_END = 207;
KEY_PAGEUP = 201;
KEY_PAGEDOWN = 209;

KEY_NUMLOCK = 69;
KEY_NUMPADDIVIDE = 181;
KEY_NUMPADMULT = 55;
KEY_NUMPADMINUS = 74;
KEY_NUMPADPLUS = 78;
KEY_NUMPADENTER = 156;
KEY_NUMPADDOT = 83;
KEY_NUMPAD0 = 82;
KEY_NUMPAD1 = 79;
KEY_NUMPAD2 = 80;
KEY_NUMPAD3 = 81;
KEY_NUMPAD4 = 75;
KEY_NUMPAD5 = 76;
KEY_NUMPAD6 = 77;
KEY_NUMPAD7 = 71;
KEY_NUMPAD8 = 72;
KEY_NUMPAD9 = 73;

KEY_F11 = 87;
KEY_F12 = 88;
KEY_LEFTWINDOWS = 219;
KEY_RIGHTWINDOWS = 220;
KEY_NUMPADEQUALS = 141;
KEY_NUMPADCOMMA = 179;
KEY_OEM_102 = 86;
KEY_AT = 145;
KEY_COLON = 146;
KEY_UNDERLINE = 147;
KEY_BREAK = 149;

KEY_PREVIOUSTRACK = 144;
KEY_NEXTTRACK = 153;
KEY_MUTE = 160;
KEY_PLAYPAUSE = 162;
KEY_STOP = 164;
KEY_VOLUMELESS = 174;
KEY_VOLUMEMORE = 176;

KEY_APPS = 221;
KEY_POWER = 222;
KEY_SLEEP = 223;
KEY_WAKE = 227;

KEY_WEBHOME = 178;
KEY_WEBSEARCH = 229;
KEY_WEBFAVORITES = 230;
KEY_WEBREFRESH = 231;
KEY_WEBSTOP = 232;
KEY_WEBFORWARD = 233;
KEY_WEBBACK = 234;

KEY_MYCOMPUTER = 235;
KEY_CALCULATOR = 161;
KEY_MAIL = 236;
KEY_MEDIASELECT = 237;
;****************************************
;Типы обьеков *
;************************************
BBObject fix dd
BBTimer fix BBObject
BBSound fix BBObject
BBChannel fix BBObject

BBGraphics fix BBObject ; Из-за ошибки!!!
BBImage fix BBObject;
BBMovie fix BBObject;
BBFont fix BBObject;
BBCanvas fix BBObject;
BBScene fix BBObject;

BBLight fix BBObject;
BBCamera fix BBObject
BBModel fix BBObject;
BBEntity fix BBObject;
BBSurface fix BBObject;
BBTexture fix BBObject;
BBBrush fix BBObject;
BBPivot fix BBObject;
BBSprite fix BBObject;
BBMeshModel fix BBObject;
BBPlaneModel fix BBObject;
BBQ3BSPModel fix BBObject;
BBMD2Model fix BBObject;
BBMirror fix BBObject;
BBTerrain fix BBObject;

;****************************************
;Импорт функций *
;************************************

import b3d,\
bbActiveTextures , 'bbActiveTextures',\
bbAddAnimSeq , 'bbAddAnimSeq',\
bbAddMesh , 'bbAddMesh',\
bbAddTriangle , 'bbAddTriangle',\
bbAddVertex , 'bbAddVertex',\
bbAlignToVector , 'bbAlignToVector',\
bbAmbientLight , 'bbAmbientLight',\
bbAnimLength , 'bbAnimLength',\
bbAnimSeq , 'bbAnimSeq',\
bbAnimTime , 'bbAnimTime',\
bbAnimate , 'bbAnimate',\
bbAnimateMD2 , 'bbAnimateMD2',\
bbAnimating , 'bbAnimating',\
bbAntiAlias , 'bbAntiAlias',\
bbAutoMidHandle , 'bbAutoMidHandle',\
bbAvailVidMem , 'bbAvailVidMem',\
bbBSPAmbientLight , 'bbBSPAmbientLight',\
bbBSPLighting , 'bbBSPLighting',\
bbBackBuffer , 'bbBackBuffer',\
bbBeginBlitz3D , 'bbBeginBlitz3D',\
bbBrushAlpha , 'bbBrushAlpha',\
bbBrushBlend , 'bbBrushBlend',\
bbBrushColor , 'bbBrushColor',\
bbBrushFX , 'bbBrushFX',\
bbBrushShininess , 'bbBrushShininess',\
bbBrushTexture , 'bbBrushTexture',\
bbCameraClsColor , 'bbCameraClsColor',\
bbCameraClsMode , 'bbCameraClsMode',\
bbCameraFogColor , 'bbCameraFogColor',\
bbCameraFogMode , 'bbCameraFogMode',\
bbCameraFogRange , 'bbCameraFogRange',\
bbCameraPick , 'bbCameraPick',\
bbCameraProjMode , 'bbCameraProjMode',\
bbCameraProject , 'bbCameraProject',\
bbCameraRange , 'bbCameraRange',\
bbCameraViewport , 'bbCameraViewport',\
bbCameraZoom , 'bbCameraZoom',\
bbCaptureEntity , 'bbCaptureEntity',\
bbCaptureWorld , 'bbCaptureWorld',\
bbChannelPan , 'bbChannelPan',\
bbChannelPitch , 'bbChannelPitch',\
bbChannelPlaying , 'bbChannelPlaying',\
bbChannelVolume , 'bbChannelVolume',\
bbClearCollisions , 'bbClearCollisions',\
bbClearSurface , 'bbClearSurface',\
bbClearTextureFilters , 'bbClearTextureFilters',\
bbClearWorld , 'bbClearWorld',\
bbCloseMovie , 'bbCloseMovie',\
bbCls , 'bbCls',\
bbClsColor , 'bbClsColor',\
bbCollisionEntity , 'bbCollisionEntity',\
bbCollisionNX , 'bbCollisionNX',\
bbCollisionNY , 'bbCollisionNY',\
bbCollisionNZ , 'bbCollisionNZ',\
bbCollisionSurface , 'bbCollisionSurface',\
bbCollisionTime , 'bbCollisionTime',\
bbCollisionTriangle , 'bbCollisionTriangle',\
bbCollisionX , 'bbCollisionX',\
bbCollisionY , 'bbCollisionY',\
bbCollisionZ , 'bbCollisionZ',\
bbCollisions , 'bbCollisions',\
bbColor , 'bbColor',\
bbColorBlue , 'bbColorBlue',\
bbColorGreen , 'bbColorGreen',\
bbColorRed , 'bbColorRed',\
bbCopyEntity , 'bbCopyEntity',\
bbCopyImage , 'bbCopyImage',\
bbCopyMesh , 'bbCopyMesh',\
bbCopyPixel , 'bbCopyPixel',\
bbCopyPixelFast , 'bbCopyPixelFast',\
bbCopyRect , 'bbCopyRect',\
bbCountChildren , 'bbCountChildren',\
bbCountCollisions , 'bbCountCollisions',\
bbCountGfxDrivers , 'bbCountGfxDrivers',\
bbCountGfxModes , 'bbCountGfxModes',\
bbCountGfxModes3D , 'bbCountGfxModes3D',\
bbCountSurfaces , 'bbCountSurfaces',\
bbCountTriangles , 'bbCountTriangles',\
bbCountVertices , 'bbCountVertices',\
bbCreateBrush , 'bbCreateBrush',\
bbCreateCamera , 'bbCreateCamera',\
bbCreateCone , 'bbCreateCone',\
bbCreateCube , 'bbCreateCube',\
bbCreateCylinder , 'bbCreateCylinder',\
bbCreateImage , 'bbCreateImage',\
bbCreateLight , 'bbCreateLight',\
bbCreateListener , 'bbCreateListener',\
bbCreateMesh , 'bbCreateMesh',\
bbCreateMirror , 'bbCreateMirror',\
bbCreatePivot , 'bbCreatePivot',\
bbCreatePlane , 'bbCreatePlane',\
bbCreateSphere , 'bbCreateSphere',\
bbCreateSprite , 'bbCreateSprite',\
bbCreateSurface , 'bbCreateSurface',\
bbCreateTerrain , 'bbCreateTerrain',\
bbCreateTexture , 'bbCreateTexture',\
bbCreateTimer , 'bbCreateTimer',\
bbDelay , 'bbDelay',\
bbDeltaPitch , 'bbDeltaPitch',\
bbDeltaYaw , 'bbDeltaYaw',\
bbDither , 'bbDither',\
bbDrawBlock , 'bbDrawBlock',\
bbDrawBlockRect , 'bbDrawBlockRect',\
bbDrawImage , 'bbDrawImage',\
bbDrawImageRect , 'bbDrawImageRect',\
bbDrawMovie , 'bbDrawMovie',\
bbEmitSound , 'bbEmitSound',\
bbEndBlitz3D , 'bbEndBlitz3D',\
bbEndGraphics , 'bbEndGraphics',\
bbEntityAlpha , 'bbEntityAlpha',\
bbEntityAutoFade , 'bbEntityAutoFade',\
bbEntityBlend , 'bbEntityBlend',\
bbEntityBox , 'bbEntityBox',\
bbEntityClass , 'bbEntityClass',\
bbEntityCollided , 'bbEntityCollided',\
bbEntityColor , 'bbEntityColor',\
bbEntityDistance , 'bbEntityDistance',\
bbEntityFX , 'bbEntityFX',\
bbEntityID , 'bbEntityID',\
bbEntityInView , 'bbEntityInView',\
bbEntityName , 'bbEntityName',\
bbEntityOrder , 'bbEntityOrder',\
bbEntityParent , 'bbEntityParent',\
bbEntityPick , 'bbEntityPick',\
bbEntityPickMode , 'bbEntityPickMode',\
bbEntityPitch , 'bbEntityPitch',\
bbEntityRadius , 'bbEntityRadius',\
bbEntityRoll , 'bbEntityRoll',\
bbEntityShininess , 'bbEntityShininess',\
bbEntityTexture , 'bbEntityTexture',\
bbEntityType , 'bbEntityType',\
bbEntityVisible , 'bbEntityVisible',\
bbEntityX , 'bbEntityX',\
bbEntityY , 'bbEntityY',\
bbEntityYaw , 'bbEntityYaw',\
bbEntityZ , 'bbEntityZ',\
bbExtractAnimSeq , 'bbExtractAnimSeq',\
bbFindChild , 'bbFindChild',\
bbFindSurface , 'bbFindSurface',\
bbFitMesh , 'bbFitMesh',\
bbFlip , 'bbFlip',\
bbFlipMesh , 'bbFlipMesh',\
bbFlushJoy , 'bbFlushJoy',\
bbFlushKeys , 'bbFlushKeys',\
bbFlushMouse , 'bbFlushMouse',\
bbFontHeight , 'bbFontHeight',\
bbFontWidth , 'bbFontWidth',\
bbFreeBrush , 'bbFreeBrush',\
bbFreeEntity , 'bbFreeEntity',\
bbFreeFont , 'bbFreeFont',\
bbFreeImage , 'bbFreeImage',\
bbFreeSound , 'bbFreeSound',\
bbFreeTexture , 'bbFreeTexture',\
bbFreeTimer , 'bbFreeTimer',\
bbFrontBuffer , 'bbFrontBuffer',\
bbGammaBlue , 'bbGammaBlue',\
bbGammaGreen , 'bbGammaGreen',\
bbGammaRed , 'bbGammaRed',\
bbGetBrushTexture , 'bbGetBrushTexture',\
bbGetChild , 'bbGetChild',\
bbGetColor , 'bbGetColor',\
bbGetEntityBrush , 'bbGetEntityBrush',\
bbGetEntityType , 'bbGetEntityType',\
bbGetJoy , 'bbGetJoy',\
bbGetKey , 'bbGetKey',\
bbGetMatElement , 'bbGetMatElement',\
bbGetMouse , 'bbGetMouse',\
bbGetParent , 'bbGetParent',\
bbGetSurface , 'bbGetSurface',\
bbGetSurfaceBrush , 'bbGetSurfaceBrush',\
bbGfxDriver3D , 'bbGfxDriver3D',\
bbGfxDriverCaps3D , 'bbGfxDriverCaps3D',\
bbGfxDriverHz , 'bbGfxDriverHz',\
bbGfxDriverName , 'bbGfxDriverName',\
bbGfxDriverX , 'bbGfxDriverX',\
bbGfxDriverY , 'bbGfxDriverY',\
bbGfxMode3D , 'bbGfxMode3D',\
bbGfxMode3DExists , 'bbGfxMode3DExists',\
bbGfxModeDepth , 'bbGfxModeDepth',\
bbGfxModeExists , 'bbGfxModeExists',\
bbGfxModeHeight , 'bbGfxModeHeight',\
bbGfxModeWidth , 'bbGfxModeWidth',\
bbGrabImage , 'bbGrabImage',\
bbGraphics , 'bbGraphics',\
bbGraphics3D , 'bbGraphics3D',\
bbGraphicsBuffer , 'bbGraphicsBuffer',\
bbGraphicsDepth , 'bbGraphicsDepth',\
bbGraphicsHeight , 'bbGraphicsHeight',\
bbGraphicsWidth , 'bbGraphicsWidth',\
bbHWMultiTex , 'bbHWMultiTex',\
bbHWTexUnits , 'bbHWTexUnits',\
bbHandleImage , 'bbHandleImage',\
bbHandleSprite , 'bbHandleSprite',\
bbHideEntity , 'bbHideEntity',\
bbHidePointer , 'bbHidePointer',\
bbImageBuffer , 'bbImageBuffer',\
bbImageHeight , 'bbImageHeight',\
bbImageRectCollide , 'bbImageRectCollide',\
bbImageRectOverlap , 'bbImageRectOverlap',\
bbImageWidth , 'bbImageWidth',\
bbImageXHandle , 'bbImageXHandle',\
bbImageYHandle , 'bbImageYHandle',\
bbImagesCollide , 'bbImagesCollide',\
bbImagesOverlap , 'bbImagesOverlap',\
bbInput , 'bbInput',\
bbJoyDown , 'bbJoyDown',\
bbJoyHit , 'bbJoyHit',\
bbJoyPitch , 'bbJoyPitch',\
bbJoyRoll , 'bbJoyRoll',\
bbJoyType , 'bbJoyType',\
bbJoyU , 'bbJoyU',\
bbJoyUDir , 'bbJoyUDir',\
bbJoyV , 'bbJoyV',\
bbJoyVDir , 'bbJoyVDir',\
bbJoyX , 'bbJoyX',\
bbJoyXDir , 'bbJoyXDir',\
bbJoyY , 'bbJoyY',\
bbJoyYDir , 'bbJoyYDir',\
bbJoyYaw , 'bbJoyYaw',\
bbJoyZ , 'bbJoyZ',\
bbJoyZDir , 'bbJoyZDir',\
bbKeyDown , 'bbKeyDown',\
bbKeyHit , 'bbKeyHit',\
bbLightColor , 'bbLightColor',\
bbLightConeAngles , 'bbLightConeAngles',\
bbLightMesh , 'bbLightMesh',\
bbLightRange , 'bbLightRange',\
bbLine , 'bbLine',\
bbLinePick , 'bbLinePick',\
bbLoadAnimImage , 'bbLoadAnimImage',\
bbLoadAnimMesh , 'bbLoadAnimMesh',\
bbLoadAnimSeq , 'bbLoadAnimSeq',\
bbLoadAnimTexture , 'bbLoadAnimTexture',\
bbLoadBSP , 'bbLoadBSP',\
bbLoadBrush , 'bbLoadBrush ',\
bbLoadBuffer , 'bbLoadBuffer',\
bbLoadFont , 'bbLoadFont',\
bbLoadImage , 'bbLoadImage',\
bbLoadMD2 , 'bbLoadMD2',\
bbLoadMesh , 'bbLoadMesh',\
bbLoadSound , 'bbLoadSound',\
bbLoadSprite , 'bbLoadSprite',\
bbLoadTerrain , 'bbLoadTerrain',\
bbLoadTexture , 'bbLoadTexture',\
bbLoaderMatrix , 'bbLoaderMatrix',\
bbLocate , 'bbLocate',\
bbLockBuffer , 'bbLockBuffer',\
bbLoopSound , 'bbLoopSound',\
bbMD2AnimLength , 'bbMD2AnimLength',\
bbMD2AnimTime , 'bbMD2AnimTime',\
bbMD2Animating , 'bbMD2Animating',\
bbMaskImage , 'bbMaskImage',\
bbMeshCullBox , 'bbMeshCullBox',\
bbMeshDepth , 'bbMeshDepth',\
bbMeshHeight , 'bbMeshHeight',\
bbMeshWidth , 'bbMeshWidth',\
bbMeshesIntersect , 'bbMeshesIntersect',\
bbMidHandle , 'bbMidHandle',\
bbMilliSecs , 'bbMilliSecs',\
bbModifyTerrain , 'bbModifyTerrain',\
bbMouseDown , 'bbMouseDown',\
bbMouseHit , 'bbMouseHit',\
bbMouseX , 'bbMouseX',\
bbMouseXSpeed , 'bbMouseXSpeed',\
bbMouseY , 'bbMouseY',\
bbMouseYSpeed , 'bbMouseYSpeed',\
bbMouseZ , 'bbMouseZ',\
bbMouseZSpeed , 'bbMouseZSpeed',\
bbMoveEntity , 'bbMoveEntity',\
bbMoveMouse , 'bbMoveMouse',\
bbMovieHeight , 'bbMovieHeight',\
bbMoviePlaying , 'bbMoviePlaying',\
bbMovieWidth , 'bbMovieWidth',\
bbNameEntity , 'bbNameEntity',\
bbOpenMovie , 'bbOpenMovie',\
bbOrigin , 'bbOrigin',\
bbOval , 'bbOval',\
bbPaint , 'bbPaint',\
bbPaintEntity , 'bbPaintEntity',\
bbPaintMesh , 'bbPaintMesh',\
bbPaintSurface , 'bbPaintSurface',\
bbPauseChannel , 'bbPauseChannel',\
bbPickedEntity , 'bbPickedEntity',\
bbPickedNX , 'bbPickedNX',\
bbPickedNY , 'bbPickedNY',\
bbPickedNZ , 'bbPickedNZ',\
bbPickedSurface , 'bbPickedSurface',\
bbPickedTime , 'bbPickedTime',\
bbPickedTriangle , 'bbPickedTriangle',\
bbPickedX , 'bbPickedX',\
bbPickedY , 'bbPickedY',\
bbPickedZ , 'bbPickedZ',\
bbPlayCDTrack , 'bbPlayCDTrack',\
bbPlayMusic , 'bbPlayMusic',\
bbPlaySound , 'bbPlaySound',\
bbPlot , 'bbPlot',\
bbPointEntity , 'bbPointEntity',\
bbPositionEntity , 'bbPositionEntity',\
bbPositionMesh , 'bbPositionMesh',\
bbPositionTexture , 'bbPositionTexture',\
bbPrint , 'bbPrint',\
bbProjectedX , 'bbProjectedX',\
bbProjectedY , 'bbProjectedY',\
bbProjectedZ , 'bbProjectedZ',\
bbReadPixel , 'bbReadPixel',\
bbReadPixelFast , 'bbReadPixelFast',\
bbRect , 'bbRect',\
bbRectsOverlap , 'bbRectsOverlap',\
bbRenderWorld , 'bbRenderWorld',\
bbResetEntity , 'bbResetEntity',\
bbResizeImage , 'bbResizeImage',\
bbResumeChannel , 'bbResumeChannel',\
bbRotateEntity , 'bbRotateEntity',\
bbRotateImage , 'bbRotateImage',\
bbRotateMesh , 'bbRotateMesh',\
bbRotateSprite , 'bbRotateSprite',\
bbRotateTexture , 'bbRotateTexture',\
bbRuntimeError , 'bbRuntimeError',\
bbSaveBuffer , 'bbSaveBuffer',\
bbSaveImage , 'bbSaveImage',\
bbScaleEntity , 'bbScaleEntity',\
bbScaleImage , 'bbScaleImage',\
bbScaleMesh , 'bbScaleMesh',\
bbScaleSprite , 'bbScaleSprite',\
bbScaleTexture , 'bbScaleTexture',\
bbScanLine , 'bbScanLine',\
bbSetAnimKey , 'bbSetAnimKey',\
bbSetAnimTime , 'bbSetAnimTime',\
bbSetBlitz3DDebugCallback , 'bbSetBlitz3DDebugCallback',\
bbSetBlitz3DDebugMode , 'bbSetBlitz3DDebugMode',\
bbSetBlitz3DEventCallback , 'bbSetBlitz3DEventCallback',\
bbSetBlitz3DHWND , 'bbSetBlitz3DHWND',\
bbSetBlitz3DRuntime , 'bbSetBlitz3DRuntime',\
bbSetBlitz3DTitle , 'bbSetBlitz3DTitle',\
bbSetBuffer , 'bbSetBuffer',\
bbSetCubeFace , 'bbSetCubeFace',\
bbSetCubeMode , 'bbSetCubeMode',\
bbSetEntityID , 'bbSetEntityID',\
bbSetFont , 'bbSetFont',\
bbSetGamma , 'bbSetGamma',\
bbSetGfxDriver , 'bbSetGfxDriver',\
bbShowEntity , 'bbShowEntity',\
bbShowPointer , 'bbShowPointer',\
bbSoundPan , 'bbSoundPan',\
bbSoundPitch , 'bbSoundPitch',\
bbSoundVolume , 'bbSoundVolume',\
bbSpriteViewMode , 'bbSpriteViewMode',\
bbStats3D , 'bbStats3D',\
bbStopChannel , 'bbStopChannel',\
bbStringHeight , 'bbStringHeight',\
bbStringWidth , 'bbStringWidth',\
bbTFormFilter , 'bbTFormFilter',\
bbTFormImage , 'bbTFormImage',\
bbTFormNormal , 'bbTFormNormal',\
bbTFormPoint , 'bbTFormPoint',\
bbTFormVector , 'bbTFormVector',\
bbTFormedX , 'bbTFormedX',\
bbTFormedY , 'bbTFormedY',\
bbTFormedZ , 'bbTFormedZ',\
bbTerrainDetail , 'bbTerrainDetail',\
bbTerrainHeight , 'bbTerrainHeight',\
bbTerrainShading , 'bbTerrainShading',\
bbTerrainSize , 'bbTerrainSize',\
bbTerrainX , 'bbTerrainX',\
bbTerrainY , 'bbTerrainY',\
bbTerrainZ , 'bbTerrainZ',\
bbText , 'bbText',\
bbTextureBlend , 'bbTextureBlend',\
bbTextureBuffer , 'bbTextureBuffer',\
bbTextureCoords , 'bbTextureCoords',\
bbTextureFilter , 'bbTextureFilter',\
bbTextureHeight , 'bbTextureHeight',\
bbTextureName , 'bbTextureName',\
bbTextureWidth , 'bbTextureWidth',\
bbTileBlock , 'bbTileBlock',\
bbTileImage , 'bbTileImage',\
bbTotalVidMem , 'bbTotalVidMem',\
bbTranslateEntity , 'bbTranslateEntity',\
bbTriangleVertex , 'bbTriangleVertex',\
bbTrisRendered , 'bbTrisRendered',\
bbTurnEntity , 'bbTurnEntity',\
bbUnlockBuffer , 'bbUnlockBuffer',\
bbUpdateGamma , 'bbUpdateGamma',\
bbUpdateNormals , 'bbUpdateNormals',\
bbUpdateWorld , 'bbUpdateWorld',\
bbVWait , 'bbVWait',\
bbVectorPitch , 'bbVectorPitch',\
bbVectorYaw , 'bbVectorYaw',\
bbVersion , 'bbVersion',\
bbVertexAlpha , 'bbVertexAlpha',\
bbVertexBlue , 'bbVertexBlue',\
bbVertexColor , 'bbVertexColor',\
bbVertexCoords , 'bbVertexCoords',\
bbVertexGreen , 'bbVertexGreen',\
bbVertexNX , 'bbVertexNX',\
bbVertexNY , 'bbVertexNY',\
bbVertexNZ , 'bbVertexNormal',\
bbVertexNormal , 'bbVertexNormal',\
bbVertexRed , 'bbVertexRed',\
bbVertexTexCoords , 'bbVertexTexCoords',\
bbVertexU , 'bbVertexU',\
bbVertexV , 'bbVertexV',\
bbVertexW , 'bbVertexW',\
bbVertexX , 'bbVertexX',\
bbVertexY , 'bbVertexY',\
bbVertexZ , 'bbVertexZ',\
bbViewport , 'bbViewport',\
bbWBuffer , 'bbWBuffer',\
bbWaitJoy , 'bbWaitJoy',\
bbWaitKey , 'bbWaitKey',\
bbWaitMouse , 'bbWaitMouse',\
bbWaitTimer , 'bbWaitTimer',\
bbWindowed3D , 'bbWindowed3D',\
bbWireFrame , 'bbWireFrame',\
bbWrite , 'bbWrite',\
bbWritePixel , 'bbWritePixel',\
bbWritePixelFast , 'bbWritePixelFast',\
doPick , 'doPick',\
newbmxAudio , 'newbmxAudio',\
newbmxCanvas , 'newbmxCanvas',\
newbmxChannel , 'newbmxChannel',\
newbmxDevice , 'newbmxDevice',\
newbmxFont , 'newbmxFont',\
newbmxGraphics , 'newbmxGraphics',\
newbmxInput , 'newbmxInput',\
newbmxLight , 'newbmxLight',\
newbmxMesh , 'newbmxMesh',\
newbmxMovie , 'newbmxMovie',\
newbmxRuntime , 'newbmxRuntime',\
newbmxScene , 'newbmxScene',\
newbmxSound , 'newbmxSound',\
newbmxTimer , 'newbmxTimer'
(Offline)
 
Ответить с цитированием
Старый 17.05.2009, 14:11   #4
Артем Валерьевич
Бывалый
 
Аватар для Артем Валерьевич
 
Регистрация: 25.12.2007
Адрес: г. Краснодар
Сообщений: 846
Написано 401 полезных сообщений
(для 1,026 пользователей)
Ответ: Структуры данных 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)
 
Ответить с цитированием
Ответ


Опции темы

Ваши права в разделе
Вы не можете создавать темы
Вы не можете отвечать на сообщения
Вы не можете прикреплять файлы
Вы не можете редактировать сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Структуры и Классы shpak С# 8 01.12.2009 05:36
Контейнер данных impersonalis FAQ 4 12.02.2008 15:29
Вынос данных. johnk Blitz3D 6 04.03.2007 14:27
Вложенные записи (структуры record/end) в MP Barklay Основной форум 14 25.12.2006 07:40
Функции и структуры [Sp] Основной форум 1 02.04.2006 18:04


Часовой пояс GMT +1, время: 11:19.


vBulletin® Version 3.6.5.
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Перевод: zCarot
Style crйe par Allan - vBulletin-Ressources.com