io.h

Sat, 16 Mar 2013 13:08:24 +0200

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sat, 16 Mar 2013 13:08:24 +0200
changeset 18
a6732098fed8
parent 7
098e3c4949c6
child 19
6c5977e43e73
permissions
-rw-r--r--

Convert the static getCoordinateRep to a common ftoa, use this function to get proper coordinate representation when converting objects to LDraw code

#ifndef __IO_H__
#define __IO_H__

#include "common.h"
#include "ldtypes.h"
#include "str.h"

class OpenFile {
public:
	str zFileName, zTitle;
	vector<LDObject*> objects;
};

// PROTOTYPES
OpenFile* IO_FindLoadedFile (str name);
OpenFile* IO_OpenLDrawFile (str path);
LDObject* ParseLine (str zLine);

extern vector<OpenFile*> g_LoadedFiles;

#endif

mercurial