- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
t3dlib12.h
资源名称:Source.rar [点击查看]
上传用户:husern
上传日期:2018-01-20
资源大小:42486k
文件大小:4k
源码类别:
游戏
开发平台:
Visual C++
- // T3DLIB12.H - header file for T3DLIB12.H
- // watch for multiple inclusions
- #ifndef T3DLIB12
- #define T3DLIB12
- // DEFINES //////////////////////////////////////////////////////////////////
- // TYPES ///////////////////////////////////////////////////////////////////
- // CLASSES /////////////////////////////////////////////////////////////////
- // M A C R O S ///////////////////////////////////////////////////////////////
- // EXTERNALS ///////////////////////////////////////////////////////////////
- extern HWND main_window_handle; // save the window handle
- extern HINSTANCE main_instance; // save the instance
- // MACROS ////////////////////////////////////////////////
- // PROTOTYPES //////////////////////////////////////////////////////////////
- // new rendering context function that calls the transparent rasterizers
- void Draw_RENDERLIST4DV2_RENDERCONTEXTV1_16_3(RENDERCONTEXTV1_PTR rc);
- // normal z-buffered, with write thru z and transparency support on textures
- void Draw_Textured_TriangleGSWTZB2_16(POLYF4DV2_PTR face, // ptr to face
- UCHAR *_dest_buffer, // pointer to video buffer
- int mem_pitch, // bytes per line, 320, 640 etc.
- UCHAR *_zbuffer, // pointer to z-buffer
- int zpitch); // bytes per line of zbuffer
- void Draw_Textured_TriangleFSWTZB3_16(POLYF4DV2_PTR face, // ptr to face
- UCHAR *_dest_buffer, // pointer to video buffer
- int mem_pitch, // bytes per line, 320, 640 etc.
- UCHAR *_zbuffer, // pointer to z-buffer
- int zpitch); // bytes per line of zbuffer
- void Draw_Textured_TriangleWTZB3_16(POLYF4DV2_PTR face, // ptr to face
- UCHAR *_dest_buffer, // pointer to video buffer
- int mem_pitch, // bytes per line, 320, 640 etc.
- UCHAR *_zbuffer, // pointer to z-buffer
- int zpitch); // bytes per line of zbuffer
- // normal z-buffered, and transparency support on textures
- void Draw_Textured_TriangleZB3_16(POLYF4DV2_PTR face, // ptr to face
- UCHAR *_dest_buffer, // pointer to video buffer
- int mem_pitch, // bytes per line, 320, 640 etc.
- UCHAR *_zbuffer, // pointer to z-buffer
- int zpitch); // bytes per line of zbuffer
- // normal z-buffered, with write thru z and transparency support on textures and alpha
- void Draw_Textured_TriangleWTZB_Alpha16_2(POLYF4DV2_PTR face, // ptr to face
- UCHAR *_dest_buffer, // pointer to video buffer
- int mem_pitch, // bytes per line, 320, 640 etc.
- UCHAR *_zbuffer, // pointer to z-buffer
- int zpitch, // bytes per line of zbuffer
- int alpha);
- void Draw_Textured_TriangleZB_Alpha16_2(POLYF4DV2_PTR face, // ptr to face
- UCHAR *_dest_buffer, // pointer to video buffer
- int mem_pitch, // bytes per line, 320, 640 etc.
- UCHAR *_zbuffer, // pointer to z-buffer
- int zpitch, // bytes per line of zbuffer
- int alpha);
- void Draw_Textured_Triangle_Alpha16_2(POLYF4DV2_PTR face, // ptr to face
- UCHAR *_dest_buffer, // pointer to video buffer
- int mem_pitch, int alpha); // bytes per line, 320, 640 etc.
- #endif