video.cpp File Reference

Source file for video engine interface. More...

#include <cassert>
#include <cstdarg>
#include <math.h>
#include <vector>
#include "utils.h"
#include "video.h"
#include "context.h"
#include "gui.h"
#include "script.h"

Include dependency graph for video.cpp:

Go to the source code of this file.

Namespaces

namespace  hoa_video

Functions

float hoa_video::Lerp (float alpha, float initial, float final)
 linearly interpolation, returns a value which is (alpha*100) percent between initial and final
float hoa_video::RandomFloat (float a, float b)
 Creates a random float between a and b.
void hoa_video::RotatePoint (float &x, float &y, float angle)
 Rotates a point (x,y) around the origin (0,0), by angle radians.

Variables

bool hoa_video::VIDEO_DEBUG = false
 Determines whether the code in the hoa_video namespace should print.
GameVideo * hoa_video::VideoManager = NULL
 The singleton pointer for the engine, responsible for all video operations.


Detailed Description

Source file for video engine interface.

****************************************************************************

Author:
Raj Sharma, roos@allacrost.org

Definition in file video.cpp.


Generated on Fri Jul 6 23:12:25 2007 for Hero of Allacrost by  doxygen 1.5.1