Claypool

Courses

Publications

Students

Projects

Service

Downloads

Misc


Dragonfly: Fraps Class Reference
Dragonfly 2.2
A text-based game engine
Public Member Functions | Protected Attributes

Fraps Class Reference

Inheritance diagram for Fraps:
ViewObject Object

List of all members.

Public Member Functions

 Fraps (bool do_record=false)
 Frames per second meter (with option to record screen) defaults: TOP_RIGHT, green, don't record.
int eventHandler (Event *p_e)
 Handle event each step, f9 to hide, f12 to toggle recording.
void setRecord (bool new_record)
 Set whether record or not, opens new file if turn on.
bool getRecord ()

Protected Attributes

bool do_record
 true if recording
Clock clock
 for computing frame rate
FILE * screen_fp
 output file handle

The documentation for this class was generated from the following file:
 All Classes Functions Variables Friends