Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MagicDoc.cpp File Reference
#include "stdafx.h"
#include "Magic.h"
#include "MagicDoc.h"
#include "ModelFileMAG.h"
#include "ModelFileOBJ.h"
#include "ModelFile3DS.h"
#include "Selection.h"
#include "Selector.h"
#include "Editor.h"
#include "Command.h"
#include "Bitmap.h"
#include "Color.h"
#include "D3DXImage.h"
#include "Geometry.h"
#include "Pcx.h"
#include "Polygon.h"
#include "Solid.h"

Go to the source code of this file.

Functions

int LoadBuffer (const char *filename, BYTE *&buf, bool null_terminate)
int LoadTexture (const char *fname, Bitmap *&bitmap, int type)
int LoadAlpha (const char *name, Bitmap &bitmap, int type)

Function Documentation

int LoadAlpha ( const char *  name,
Bitmap bitmap,
int  type 
)

Definition at line 535 of file MagicDoc.cpp.

int LoadBuffer ( const char *  filename,
BYTE *&  buf,
bool  null_terminate 
)

Definition at line 409 of file MagicDoc.cpp.

int LoadTexture ( const char *  fname,
Bitmap *&  bitmap,
int  type 
)

Definition at line 459 of file MagicDoc.cpp.