Blender V2.61 - r43446
Functions

BL_KetsjiEmbedStart.cpp File Reference

#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include "GL/glew.h"
#include "KX_BlenderGL.h"
#include "KX_BlenderCanvas.h"
#include "KX_BlenderKeyboardDevice.h"
#include "KX_BlenderMouseDevice.h"
#include "KX_BlenderRenderTools.h"
#include "KX_BlenderSystem.h"
#include "BL_Material.h"
#include "KX_KetsjiEngine.h"
#include "KX_BlenderSceneConverter.h"
#include "KX_PythonInit.h"
#include "KX_PyConstraintBinding.h"
#include "RAS_GLExtensionManager.h"
#include "RAS_OpenGLRasterizer.h"
#include "RAS_VAOpenGLRasterizer.h"
#include "RAS_ListRasterizer.h"
#include "NG_LoopBackNetworkDeviceInterface.h"
#include "BL_System.h"
#include "GPU_extensions.h"
#include "Value.h"
#include "DNA_view3d_types.h"
#include "DNA_screen_types.h"
#include "DNA_userdef_types.h"
#include "DNA_windowmanager_types.h"
#include "BKE_global.h"
#include "BKE_report.h"
#include "BKE_main.h"
#include "BLI_blenlib.h"
#include "BLO_readfile.h"
#include "DNA_scene_types.h"
#include "BKE_ipo.h"
#include "BKE_context.h"
#include "../../blender/windowmanager/WM_types.h"
#include "../../blender/windowmanager/wm_window.h"
#include "../../blender/windowmanager/wm_event_system.h"

Go to the source code of this file.

Functions

float BKE_screen_view3d_zoom_to_fac (float camzoom)
static BlendFileDataload_game_data (char *filename)
void StartKetsjiShell (struct bContext *C, struct ARegion *ar, rcti *cam_frame, int always_use_expand_framing)

Detailed Description

Definition in file BL_KetsjiEmbedStart.cpp.


Function Documentation

float BKE_screen_view3d_zoom_to_fac ( float  camzoom)

Definition at line 449 of file screen.c.

References M_SQRT2, and powf.

static BlendFileData* load_game_data ( char *  filename) [static]
void StartKetsjiShell ( struct bContext C,
struct ARegion ar,
rcti cam_frame,
int  always_use_expand_framing 
)

Definition at line 129 of file BL_KetsjiEmbedStart.cpp.

References KX_ISceneConverter::addInitFromFrame, KX_KetsjiEngine::AddScene(), GameDome::angle, AUD_get3DDevice(), AUD_getDevice(), Scene::audio, BKE_screen_view3d_zoom_to_fac(), BLI_findstring(), BLI_path_abs(), BLI_remlink(), BLI_strncpy(), BLO_blendfiledata_free(), View3D::camera, Scene::camera, RegionView3D::camzoom, RenderData::cfra, GameFraming::col, KX_BlenderKeyboardDevice::ConvertBlenderEvent(), KX_BlenderMouseDevice::ConvertBlenderEvent(), ConvertKeyCode(), KX_ISceneConverter::ConvertScene(), CTX_data_main(), CTX_data_scene(), CTX_wm_region_view3d(), CTX_wm_view3d(), CTX_wm_window(), BlendFileData::curscene, NG_NetworkDeviceInterface::Disconnect(), AudioData::distance_model, do_versions_ipos_to_animato(), GameData::dome, AudioData::doppler_factor, View3D::drawtype, KX_KetsjiEngine::EnableCameraOverride(), GameData::exitkey, GameData::eyeseparation, View3D::far, FILE_MAX, FILE_MAXDIR, FILE_MAXFILE, ListBase::first, GameData::flag, FPS, GameData::framing, G, GAME_MAT_GLSL, GAME_MAT_TEXFACE, GAME_RESTRICT_ANIM_UPDATES, GAME_SHOW_MOUSE, UserDef::gameflags, KX_KetsjiEngine::GetExitCode(), KX_KetsjiEngine::GetExitString(), KX_KetsjiEngine::GetGlobalSettings(), GlobalSettings::glslflag, Scene::gm, GPU_glsl_support(), Scene::id, RAS_IRasterizer::Init(), KX_KetsjiEngine::InitDome(), bgl::InitExtensions(), KX_EXIT_REQUEST_BLENDER_ESC, KX_EXIT_REQUEST_NO_REQUEST, KX_EXIT_REQUEST_OUTSIDE, KX_EXIT_REQUEST_QUIT_GAME, KX_EXIT_REQUEST_RESTART_GAME, KX_EXIT_REQUEST_START_OTHER_GAME, View3D::lay, Scene::lay, View3D::lens, load_game_data(), BlendFileData::main, GlobalSettings::matmode, GameData::matmode, GameDome::mode, RAS_ICanvas::MOUSE_INVISIBLE, RAS_ICanvas::MOUSE_NORMAL, MOUSEMOVE, MOUSEX, MOUSEY, Main::name, ID::name, View3D::near, KX_KetsjiEngine::NextFrame(), NULL, RegionView3D::persp, STR_String::Ptr(), wmWindow::queue, Scene::r, RAS_IRasterizer::RAS_STEREO_QUADBUFFERED, KX_KetsjiEngine::Render(), addon::engine::render(), GameDome::res, GameDome::resbuf, RV3D_CAMOB, RV3D_ORTHO, SCE_GAMEFRAMING_BARS, Main::scene, View3D::scenelock, KX_ISceneConverter::SetAlwaysUseExpandFraming(), KX_KetsjiEngine::SetAnimFrameRate(), KX_KetsjiEngine::SetAnimRecordMode(), RAS_IRasterizer::SetBackColor(), RAS_Rect::SetBottom(), KX_KetsjiEngine::SetCameraOverrideClipping(), KX_KetsjiEngine::SetCameraOverrideLens(), KX_KetsjiEngine::SetCameraOverrideProjectionMatrix(), KX_KetsjiEngine::SetCameraOverrideUseOrtho(), KX_KetsjiEngine::SetCameraOverrideViewMatrix(), KX_KetsjiEngine::SetCameraZoom(), KX_KetsjiEngine::SetCanvas(), AUD_I3DDevice::setDistanceModel(), AUD_I3DDevice::setDopplerFactor(), KX_KetsjiEngine::SetDrawType(), KX_KetsjiEngine::SetExitKey(), RAS_IRasterizer::SetEyeSeparation(), KX_KetsjiEngine::SetGlobalSettings(), KX_ISceneConverter::SetGLSLMaterials(), KX_KetsjiEngine::SetKeyboardDevice(), RAS_Rect::SetLeft(), KX_ISceneConverter::SetMaterials(), KX_KetsjiEngine::SetMouseDevice(), RAS_ICanvas::SetMouseState(), KX_KetsjiEngine::SetNetworkDevice(), KX_KetsjiEngine::SetRasterizer(), KX_KetsjiEngine::SetRenderTools(), KX_KetsjiEngine::SetRestrictAnimationFPS(), RAS_Rect::SetRight(), KX_KetsjiEngine::SetSceneConverter(), AUD_I3DDevice::setSpeedOfSound(), RAS_IRasterizer::SetStereoMode(), KX_KetsjiEngine::SetTimingDisplay(), RAS_Rect::SetTop(), KX_KetsjiEngine::SetUseFixedTime(), AudioData::speed_of_sound, KX_KetsjiEngine::StartEngine(), STEREO_DOME, STEREO_ENABLED, GameData::stereoflag, GameData::stereomode, KX_KetsjiEngine::StopEngine(), SYS_GetCommandLineInt(), SYS_GetSystem(), GameDome::tilt, GameFraming::type, U, USER_DISABLE_VBO, simple_enum_gen::val, Main::versionfile, RegionView3D::viewmat, GameDome::warptext, RegionView3D::winmat, ARegion::winrct, ARegion::winy, wm_event_free(), wm_window_process_events_nosleep(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.

Referenced by game_engine_exec().