view LightClone/Source/Loader.h @ 65:41980ff0607d

Added shader and textures for bot
author koryspansel <koryspansel@bendbroadband.com>
date Wed, 05 Oct 2011 12:55:46 -0700
parents 6d4437a24aeb
children
line wrap: on
line source

/*
 * Loader
 */

#ifndef __LOADER_H__
#define __LOADER_H__

#include "Core.h"

/*
 * Loader
 */
class Loader
{
	/*
	 * kSize
	 */
	Size kSize;

	/*
	 * pType
	 */
	uint32* pType;

	/*
	 * pHeight
	 */
	uint32* pHeight;

	/*
	 * kPosition
	 */
	Position kPosition;

	/*
	 * kDirection
	 */
	Direction kDirection;

	/*
	 * fCameraDistance
	 */
	float fCameraDistance;

	/*
	 * fCameraYaw
	 */
	float fCameraYaw;

	/*
	 * fCameraPitch
	 */
	float fCameraPitch;

public:

	/*
	 * Loader
	 */
	Loader();

	/*
	 * ~Loader
	 */
	~Loader();

	/*
	 * Load
	 */
	ErrorCode Load(const char* pName);

	/*
	 * GetSize
	 */
	const Size& GetSize() const;

	/*
	 * GetTowerType
	 */
	uint32 GetTowerType(uint32 nX, uint32 nY);

	/*
	 * GetTowerHeight
	 */
	uint32 GetTowerHeight(uint32 nX, uint32 nY);

	/*
	 * GetInitialPosition
	 */
	const Position& GetInitialPosition() const;

	/*
	 * GetInitialDirection
	 */
	const Direction& GetInitialDirection() const;

	/*
	 * GetCameraDistance
	 */
	float GetCameraDistance() const;

	/*
	 * GetCameraYaw
	 */
	float GetCameraYaw() const;

	/*
	 * GetCameraPitch
	 */
	float GetCameraPitch() const;
};

#endif //__LOADER_H__