Blender V2.61 - r43446
Functions

runtime.c File Reference

This file handles the loading of .blend files embedded in runtimes. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include "BLO_readfile.h"
#include "BLO_runtime.h"
#include "BKE_blender.h"
#include "BKE_report.h"
#include "BKE_utildefines.h"
#include "BLI_blenlib.h"

Go to the source code of this file.

Functions

static int handle_read_msb_int (int handle)
int BLO_is_a_runtime (const char *path)
BlendFileDataBLO_read_runtime (const char *path, ReportList *reports)

Detailed Description

This file handles the loading of .blend files embedded in runtimes.

Definition in file runtime.c.


Function Documentation

int BLO_is_a_runtime ( const char *  path)

Definition at line 69 of file runtime.c.

References handle_read_msb_int(), and O_BINARY.

Referenced by load_game_data(), and main().

BlendFileData* BLO_read_runtime ( const char *  path,
ReportList reports 
) [read]
static int handle_read_msb_int ( int  handle) [static]

Definition at line 59 of file runtime.c.

Referenced by BLO_is_a_runtime(), and BLO_read_runtime().