#include "KX_BlenderGL.h"
#include "blender.h"
#include "screen.h"
#include "sector.h"
#include <GL/gl.h>
Go to the source code of this file.
Defines | |
#define | cpack(x) glColor3ub( ((x)&0xFF), (((x)>>8)&0xFF), (((x)>>16)&0xFF) ) |
Functions | |
void | myswapbuffers () |
void | areawinset (short win) |
void | drawcamera (struct Object* ob) |
void | error (char* err) |
void | waitcursor (int) |
void | allqueue (unsigned short,short) |
void | screen_swapbuffers () |
void | mymultmatrix (float mat[][4]) |
unsigned int | rgb_to_cpack (float r,float g,float b) |
void | drawname (struct Object* ob) |
void | drawaxes (float size) |
int | set_tpage (struct TFace* tface) |
void | glutSwapBuffers () |
void | drawDispList (Object *ob, int dt) |
void | setlinestyle (int) |
void | drawcircball (float* cent,float rad,float tmat[][4]) |
void | mygetmatrix (float mat[][4]) |
int | set_gl_light_bylayer (int objectlayer) |
void | setviewmatrixview3d () |
void | setwinmatrixview3d (struct BlenderRect* rect) |
void | build_sectorlist (struct Object* cam) |
void | spack (unsigned int ucol) |
void | matrixGlyph (struct ImBuf * ibuf, unsigned short unicode, float *centerx, float *centery, float *sizex, float *sizey, float *transx, float *transy, float *movex, float *movey, float *advance) |
void | fmprstr (char* str) |
void | persp (int a) |
void | fmsetfont (void *type) |
void | init_gl_stuff () |
void | default_gl_light () |
void | reset_slowparents () |
void | warp_pointer (int x,int y) |
void | BL_warp_pointer (int x,int y) |
int | BL_SaveState () |
void | BL_RestoreState () |
void | BL_SwapBuffers () |
void | update_realtime_textures () |
void | BL_FixedUpdate () |
void | init_sectors () |
void | init_lifes () |
void | init_devs () |
void | BL_InitSectorVisibility () |
void | end_sectors () |
void | end_lifes (int restore) |
void | BL_ExitSectorVisibility (int restore) |
void | draw_gamedebug_info () |
void | BL_EndFrame () |
void | BL_BeginFrame () |
void | BL_DisplayCamera () |
void | BL_DoDebugColors (Object* ob) |
wireframe gets color dependent on the state of the logic system so when an actuators is busy, it's owner-object is colored. More... | |
int | Mat4Invert (float inverse[][4], float mat[][4]) |
void | BL_DisplaySymbolicShapes (Object* ob,int dt) |
void | BL_DrawShadow (struct Object* blenderobject,int drawingmode,bool wireframe) |
void | draw_bounding_volume (Object* ob) |
void | BL_DisplayBoundingBox (struct Object* ob) |
void | BL_DisplaySolid (struct Object* blenderobject,int drawingmode) |
void | drawview3d_simul (int) |
void | BL_RenderScene () |
int | BL_getlayer (struct Object* ob) |
int | BL_set_gl_light (int layer,float* viewmat,int dummy) |
void | BL_setviewmatrixview3d () |
float | BL_GetViewDistance (struct Global* glob) |
float* | BL_GetViewMatrix (struct Global* glob) |
Object* | BL_GetCameraObject (struct Global* glob) |
const BL_Mat4x4* | BL_GetProjectionMatrix (struct ScrArea* area) |
bool | BL_ExternalCameraPerspective () |
BL_BlenderWorldInfo | BL_GetBlenderWorldInfo (struct Global* glob) |
int | BL_GetDrawType (struct Global* glob) |
void | BL_BuildSectorList () |
void | BL_RenderText (int mode,const char* textstr,int textlen,struct TFace* tface, float v1[3],float v2[3],float v3[3],float v4[3]) |
void | BL_print_gamedebug_line (char* text, int xco, int yco) |
int | BL_GetWindowHeight () |
int | BL_GetWindowWidth () |
int | BL_GetWindowMinY () |
int | BL_GetWindowMinX () |
Variables | |
struct ScrArea* | curarea |
|
Definition at line 178 of file KX_BlenderGL.cpp. Referenced by BL_DisplayCamera(), BL_DisplaySymbolicShapes(), BL_DoDebugColors(), and BL_print_gamedebug_line(). |
|
Definition at line 167 of file KX_BlenderGL.cpp. Referenced by KX_BlenderCanvas::BeginFrame(). |
|
Definition at line 430 of file KX_BlenderGL.cpp. |
|
Definition at line 311 of file KX_BlenderGL.cpp. |
|
Definition at line 180 of file KX_BlenderGL.cpp. |
|
Definition at line 319 of file KX_BlenderGL.cpp. |
|
Definition at line 225 of file KX_BlenderGL.cpp. |
|
wireframe gets color dependent on the state of the logic system so when an actuators is busy, it's owner-object is colored.
Definition at line 200 of file KX_BlenderGL.cpp. |
|
Definition at line 262 of file KX_BlenderGL.cpp. |
|
Definition at line 159 of file KX_BlenderGL.cpp. Referenced by KX_BlenderCanvas::EndFrame(). |
|
Definition at line 150 of file KX_BlenderGL.cpp. Referenced by Ketsji_Start1(). |
|
Definition at line 390 of file KX_BlenderGL.cpp. Referenced by BL_ConvertBlenderObjects(). |
|
Definition at line 129 of file KX_BlenderGL.cpp. |
|
Definition at line 396 of file KX_BlenderGL.cpp. Referenced by BL_ConvertBlenderObjects(). |
|
Definition at line 377 of file KX_BlenderGL.cpp. Referenced by BL_ConvertBlenderObjects(). |
|
Definition at line 425 of file KX_BlenderGL.cpp. |
|
Definition at line 383 of file KX_BlenderGL.cpp. |
|
Definition at line 354 of file KX_BlenderGL.cpp. |
|
Definition at line 372 of file KX_BlenderGL.cpp. |
|
Definition at line 519 of file KX_BlenderGL.cpp. Referenced by BL_ConvertSensors(), KX_BlenderMouseDevice::ConvertBlenderEvent(), KX_BlenderCanvas::GetHeight(), and KX_BlenderCanvas::KX_BlenderCanvas(). |
|
Definition at line 532 of file KX_BlenderGL.cpp. Referenced by KX_BlenderMouseDevice::ConvertBlenderEvent(), and KX_BlenderCanvas::KX_BlenderCanvas(). |
|
Definition at line 528 of file KX_BlenderGL.cpp. Referenced by KX_BlenderMouseDevice::ConvertBlenderEvent(), and KX_BlenderCanvas::KX_BlenderCanvas(). |
|
Definition at line 523 of file KX_BlenderGL.cpp. Referenced by BL_ConvertSensors(), KX_BlenderCanvas::GetWidth(), and KX_BlenderCanvas::KX_BlenderCanvas(). |
|
Definition at line 139 of file KX_BlenderGL.cpp. Referenced by Ketsji_Start1(). |
|
Definition at line 327 of file KX_BlenderGL.cpp. |
|
Definition at line 435 of file KX_BlenderGL.cpp. Referenced by KX_BlenderRenderTools::RenderText(). |
|
Definition at line 96 of file KX_BlenderGL.cpp. Referenced by Ketsji_Start1(). |
|
Definition at line 69 of file KX_BlenderGL.cpp. Referenced by Ketsji_Start1(). |
|
Definition at line 112 of file KX_BlenderGL.cpp. Referenced by KX_BlenderCanvas::SwapBuffers(). |
|
Definition at line 336 of file KX_BlenderGL.cpp. |
|
Definition at line 509 of file KX_BlenderGL.cpp. Referenced by KX_BlenderRenderTools::RenderText2D(). |
|
Definition at line 342 of file KX_BlenderGL.cpp. Referenced by KX_BlenderRenderTools::ProcessLighting(). |
|
Definition at line 349 of file KX_BlenderGL.cpp. |
|
Definition at line 60 of file KX_BlenderGL.cpp. Referenced by KX_BlenderCanvas::KX_BlenderCanvas(). |
|
Referenced by BL_DisplaySymbolicShapes(). |
|
Referenced by BL_RestoreState(). |
|
Referenced by BL_EndFrame(). |
|
Referenced by BL_BuildSectorList(). |
|
Referenced by BL_BeginFrame(), and BL_EndFrame(). |
|
Referenced by BL_DisplaySolid(). |
|
Referenced by BL_DisplayBoundingBox(). |
|
|
|
Referenced by BL_DisplaySymbolicShapes(). |
|
Referenced by BL_DisplayCamera(). |
|
Referenced by BL_DisplaySymbolicShapes(). |
|
Referenced by BL_DisplaySymbolicShapes(). |
|
|
|
Referenced by BL_ExitSectorVisibility(). |
|
Referenced by BL_ExitSectorVisibility(). |
|
Referenced by BL_SaveState(). |
|
Referenced by BL_print_gamedebug_line(). |
|
Referenced by BL_print_gamedebug_line(). |
|
Referenced by BL_SwapBuffers(), MyGlutDisplay(), KX_GlutCanvas::SwapBuffers(), and GlutCanvas::SwapBuffers(). |
|
|
|
Referenced by BL_SaveState(). |
|
Referenced by BL_InitSectorVisibility(). |
|
|
|
Referenced by BL_RenderText(). |
|
|
|
|
|
|
|
Referenced by BL_print_gamedebug_line(). |
|
Referenced by BL_RestoreState(). |
|
Referenced by BL_DoDebugColors(). |
|
|
|
Referenced by BL_set_gl_light(). |
|
Referenced by KX_BlenderPolyMaterial::ActivateMaterial(), and BL_EndFrame(). |
|
Referenced by BL_DisplaySymbolicShapes(). |
|
Referenced by BL_setviewmatrixview3d(). |
|
|
|
Referenced by BL_RenderText(). |
|
Referenced by BL_FixedUpdate(), and KX_KetsjiEngine::MainLoopCallback(). |
|
Referenced by BL_RestoreState(), and BL_SaveState(). |
|
Referenced by BL_warp_pointer(). |
|
Definition at line 4 of file KX_BlenderGL.cpp. |