Hi,
i've spent some time to implement the OpenGL thingies to RadASM. The downloadable file contains:
- masm.ini (some missing words inserted, like ^HDC...)
- masmApiCall.api (now 6567 calls)
- masmApiConst.api (now with OpenGL support)
- masmApiWord.api (PIXELFORMATDESCRIPTOR update)
- DlgOpenGL.tpl (template to create blank OpenGL dialogbox applications)
- and an example project created by using this template showing the boxed version of NeHe OpenGL Lesson02 in masm style.
The files are stored in RadASM folder style.
Enjoy it,
Pegasus
i've spent some time to implement the OpenGL thingies to RadASM. The downloadable file contains:
- masm.ini (some missing words inserted, like ^HDC...)
- masmApiCall.api (now 6567 calls)
- masmApiConst.api (now with OpenGL support)
- masmApiWord.api (PIXELFORMATDESCRIPTOR update)
- DlgOpenGL.tpl (template to create blank OpenGL dialogbox applications)
- and an example project created by using this template showing the boxed version of NeHe OpenGL Lesson02 in masm style.
The files are stored in RadASM folder style.
Enjoy it,
Pegasus
Hi Pegasus
Thanks,
I will include the template and example in my next release.
KetilO
Thanks,
I will include the template and example in my next release.
KetilO
Due to several problems while compiling....
Yoe need the newest windows.inc from masmforum.com. Otherwise, you need the following values:
Regards, Pegasus
Yoe need the newest windows.inc from masmforum.com. Otherwise, you need the following values:
PFD_TYPE_RGBA equ 0
PFD_TYPE_COLORINDEX equ 1
PFD_MAIN_PLANE equ 0
PFD_OVERLAY_PLANE equ 1
PFD_UNDERLAY_PLANE equ (-1)
PFD_DOUBLEBUFFER equ 00000001h
PFD_STEREO equ 000000002h
PFD_DRAW_TO_WINDOW equ 000000004h
PFD_DRAW_TO_BITMAP equ 000000008h
PFD_SUPPORT_GDI equ 000000010h
PFD_SUPPORT_OPENGL equ 000000020h
PFD_GENERIC_FORMAT equ 000000040h
PFD_NEED_PALETTE equ 000000080h
PFD_NEED_SYSTEM_PALETTE equ 000000100h
PFD_SWAP_EXCHANGE equ 000000200h
PFD_SWAP_COPY equ 000000400h
PFD_SWAP_LAYER_BUFFERS equ 000000800h
PFD_GENERIC_ACCELERATED equ 000001000h
PFD_SUPPORT_DIRECTDRAW equ 000002000h
PFD_DEPTH_DONTCARE equ 020000000h
PFD_DOUBLEBUFFER_DONTCARE equ 040000000h
PFD_STEREO_DONTCARE equ 080000000h
Regards, Pegasus