GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
Functions.cc File Reference
#include "Functions.hh"
#include "Effect.hh"
#include "Equalizer.hh"
#include "GameApi_low.hh"
Include dependency graph for Functions.cc:

Macros

#define NO_SDL_GLEXT
#define _SCL_SECURE_NO_WARNINGS

Functions

void cube (Matrix m, FaceStore &s)
void sphere (Matrix m, int numfaces, int numfaces2, FaceStore &s)
void cone (Matrix m, int numfaces, Point p1, Point p2, float rad1, float rad2, FaceStore &s)
void texture_rectangle (Matrix m, TexturePlugin *plugin, FaceStore &s)
void cylinder (Matrix m, int numfaces, FaceStore &s)
void disk (Matrix m, int numfaces, float disk_pos, FaceStore &s)
void color (BoxableFaceCollection &coll, unsigned int color, FaceStore &s)
void matrix (BoxableFaceCollection &coll, Matrix m, FaceStore &s)
void andnot (BoxableFaceCollection &coll1, BoxableFaceCollection &coll2, FaceStore &s)
void rectangle (Matrix m, float x, float y, FaceStore &s)
void ring (Matrix m, const PointVectorCollection &points, float x, int steps, FaceStore &s)
void color_poly (Point2d p1, Point2d p2, Point2d p3, Color c1, Color c2, int x, int y, BitmapStore< Color > &s)
void plane_cube_blit (const FPlane &pl, FaceStore &s)
void floor (const FCube &pos, FLine &l1, FLine &l2, FLine &l3, FLine &l4, FPlane &pl, FaceStore &s)
void floorlinetocube (const FLine &line, FCube &cube)
void flexcube (const FPlane &pl, float dist_left, float dist_right, float left_angle, float right_angle, FCube2 &res)
void flexcube (const FPlane &pl, const FFlexCube &args, FCube2 &res)
void cubeplane_t (const FCube2 &res, FPlane &pl)
void cubeplane_l (const FCube2 &res, FPlane &pl)
void cubeplane_r (const FCube2 &res, FPlane &pl)
void cubeplane_f (const FCube2 &res, FPlane &pl)
FPlane plane_init ()
void tunnel_end (const FPlane &pl, FaceStore &s)
void plane_dup (const FPlane &pl, FPlane &pl1)
int chessboard_bitmap (FrameAnimPlugins *fa)
void chessboard (const FPlane &pl, FaceStore &s)
void chessboard_with_hole (const FPlane &pl, FaceStore &s)
void chessboard_test (FaceStore &s)

Macro Definition Documentation

◆ _SCL_SECURE_NO_WARNINGS

#define _SCL_SECURE_NO_WARNINGS

◆ NO_SDL_GLEXT

#define NO_SDL_GLEXT

Function Documentation

◆ andnot()

void andnot ( BoxableFaceCollection & coll1,
BoxableFaceCollection & coll2,
FaceStore & s )
Here is the caller graph for this function:

◆ chessboard()

void chessboard ( const FPlane & pl,
FaceStore & s )
Here is the caller graph for this function:

◆ chessboard_bitmap()

int chessboard_bitmap ( FrameAnimPlugins * fa)

◆ chessboard_test()

void chessboard_test ( FaceStore & s)
Here is the caller graph for this function:

◆ chessboard_with_hole()

void chessboard_with_hole ( const FPlane & pl,
FaceStore & s )
Here is the caller graph for this function:

◆ color()

void color ( BoxableFaceCollection & coll,
unsigned int color,
FaceStore & s )

◆ color_poly()

void color_poly ( Point2d p1,
Point2d p2,
Point2d p3,
Color c1,
Color c2,
int x,
int y,
BitmapStore< Color > & s )

◆ cone()

void cone ( Matrix m,
int numfaces,
Point p1,
Point p2,
float rad1,
float rad2,
FaceStore & s )
Here is the caller graph for this function:

◆ cube()

void cube ( Matrix m,
FaceStore & s )
Here is the caller graph for this function:

◆ cubeplane_f()

void cubeplane_f ( const FCube2 & res,
FPlane & pl )
Here is the caller graph for this function:

◆ cubeplane_l()

void cubeplane_l ( const FCube2 & res,
FPlane & pl )
Here is the caller graph for this function:

◆ cubeplane_r()

void cubeplane_r ( const FCube2 & res,
FPlane & pl )
Here is the caller graph for this function:

◆ cubeplane_t()

void cubeplane_t ( const FCube2 & res,
FPlane & pl )

◆ cylinder()

void cylinder ( Matrix m,
int numfaces,
FaceStore & s )

◆ disk()

void disk ( Matrix m,
int numfaces,
float disk_pos,
FaceStore & s )

◆ flexcube() [1/2]

void flexcube ( const FPlane & pl,
const FFlexCube & args,
FCube2 & res )

◆ flexcube() [2/2]

void flexcube ( const FPlane & pl,
float dist_left,
float dist_right,
float left_angle,
float right_angle,
FCube2 & res )
Here is the caller graph for this function:

◆ floor()

void floor ( const FCube & pos,
FLine & l1,
FLine & l2,
FLine & l3,
FLine & l4,
FPlane & pl,
FaceStore & s )
Here is the caller graph for this function:

◆ floorlinetocube()

void floorlinetocube ( const FLine & line,
FCube & cube )

◆ matrix()

void matrix ( BoxableFaceCollection & coll,
Matrix m,
FaceStore & s )
Here is the caller graph for this function:

◆ plane_cube_blit()

void plane_cube_blit ( const FPlane & pl,
FaceStore & s )
Here is the caller graph for this function:

◆ plane_dup()

void plane_dup ( const FPlane & pl,
FPlane & pl1 )
Here is the caller graph for this function:

◆ plane_init()

FPlane plane_init ( )
Here is the caller graph for this function:

◆ rectangle()

void rectangle ( Matrix m,
float x,
float y,
FaceStore & s )
Here is the caller graph for this function:

◆ ring()

void ring ( Matrix m,
const PointVectorCollection & points,
float x,
int steps,
FaceStore & s )
Here is the caller graph for this function:

◆ sphere()

void sphere ( Matrix m,
int numfaces,
int numfaces2,
FaceStore & s )
Here is the caller graph for this function:

◆ texture_rectangle()

void texture_rectangle ( Matrix m,
TexturePlugin * plugin,
FaceStore & s )

◆ tunnel_end()

void tunnel_end ( const FPlane & pl,
FaceStore & s )
Here is the caller graph for this function: