Blender V2.61 - r43446
|
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) |
BlendFileData * | BLO_read_runtime (const char *path, ReportList *reports) |
This file handles the loading of .blend files embedded in runtimes.
Definition in file runtime.c.
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] |
Definition at line 98 of file runtime.c.
References BKE_reportf(), BLI_file_descriptor_size(), blo_read_blendafterruntime(), handle_read_msb_int(), NULL, O_BINARY, and RPT_ERROR.
Referenced by load_game_data().
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().