GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::PlaneApi Class Reference

#include <GameApi.hh>

Public Member Functions

IMPORT PlaneApi (Env &e)
IMPORT PL function (PT(*fptr)(EveryApi &e, int idx, void *data), int num_points, float sx, float sy, void *data)
IMPORT PL color_function (PL pl, CO(*fptr)(EveryApi &ev, int idx, PT pos, void *data), void *data)
IMPORT PL empty_plane (float sx, float sy)
IMPORT PL flip_y (PL pl)
IMPORT PL move (PL pl, float dx, float dy)
PL or_plane (PL p1, PL p2)
IMPORT PL circle (PT center, float radius, int numpoints)
IMPORT PL star (PT center, float radius_1, float radius_2, int numpoints)
IMPORT PL floodfill_border (BB bitmap, int x, int y)
IMPORT PL empty (float sx, float sy)
IMPORT PL circle (PL bg, PT center, float radius, int numpoints)
IMPORT PL rectangle (PL bg, PT p1, PT p2)
IMPORT PL rectangle (PL bg, PT p1, PT p2, PT p3, PT p4)
IMPORT PL sprite (PL bg, BM bitmap, PT pos, float size_x, float size_y)
IMPORT PL polygon (PL bg, PT *points, int size)
IMPORT PL color (PL orig, unsigned int new_color)
IMPORT PL plane_elem (PL p1, PL p2)
IMPORT PL plane_array (PL *array, int size)
IMPORT PL move_plane (PL p1, V delta)
IMPORT PL and_not (PL p1, PL not_p)
IMPORT PL render_p (P p, M proj_matrix, float sx, float sy)
IMPORT PL remove_splines (PL pl, float xdelta)
IMPORT std::pair< PL, PL > triangulate (EveryApi &ev, PL pl, int obj)
IMPORT PL triangulate_all (EveryApi &ev, PL pl, int point_count, int max_obj)
IMPORT PL remove_empty_faces (PL pl)
IMPORT P to_polygon_face (PL triangulated_pl, PT pos, V u_x, V u_y)
IMPORT P to_polygon_lines (PL pl, PT pos, V u_x, V u_y, V u_z, float z_mult)
P to_polygon_lines_1 (PL pl, PT pos, V u_x, V u_y, V u_z, float z_mult)
IMPORT P to_polygon (EveryApi &ev, PL pl, PT pos, V u_x, V u_y, V u_z, float z_mult)
IMPORT P to_polygon_strip (EveryApi &ev, PL pl, PT pos, V u_x, V u_y)
IMPORT P substitute_quads_with_plane (P orig, PL(*fptr)(EveryApi &ev, int face, void *data), void *data)
IMPORT P plane_in_3d (PL plane, PT u_p, V v1, V v2)
CBM render_continuous (PL pl, int num, unsigned int color_0, unsigned int color_1)
IMPORT BB render_bool (PL pl, int num, int sx, int sy)
IMPORT PLA prepare (PL pl)
IMPORT void render (PLA pl, float x, float y, float mult_x, float mult_y)

Constructor & Destructor Documentation

◆ PlaneApi()

EXPORT GameApi::PlaneApi::PlaneApi ( Env & e)
Here is the caller graph for this function:

Member Function Documentation

◆ and_not()

IMPORT PL GameApi::PlaneApi::and_not ( PL p1,
PL not_p )

◆ circle() [1/2]

IMPORT PL GameApi::PlaneApi::circle ( PL bg,
PT center,
float radius,
int numpoints )

◆ circle() [2/2]

IMPORT PL GameApi::PlaneApi::circle ( PT center,
float radius,
int numpoints )

◆ color()

IMPORT PL GameApi::PlaneApi::color ( PL orig,
unsigned int new_color )

◆ color_function()

IMPORT PL GameApi::PlaneApi::color_function ( PL pl,
CO(* fptr )(EveryApi &ev, int idx, PT pos, void *data),
void * data )

◆ empty()

IMPORT PL GameApi::PlaneApi::empty ( float sx,
float sy )

◆ empty_plane()

IMPORT PL GameApi::PlaneApi::empty_plane ( float sx,
float sy )

◆ flip_y()

IMPORT PL GameApi::PlaneApi::flip_y ( PL pl)

◆ floodfill_border()

IMPORT PL GameApi::PlaneApi::floodfill_border ( BB bitmap,
int x,
int y )

◆ function()

IMPORT PL GameApi::PlaneApi::function ( PT(* fptr )(EveryApi &e, int idx, void *data),
int num_points,
float sx,
float sy,
void * data )
Here is the caller graph for this function:

◆ move()

IMPORT PL GameApi::PlaneApi::move ( PL pl,
float dx,
float dy )

◆ move_plane()

IMPORT PL GameApi::PlaneApi::move_plane ( PL p1,
V delta )

◆ or_plane()

PL GameApi::PlaneApi::or_plane ( PL p1,
PL p2 )

◆ plane_array()

IMPORT PL GameApi::PlaneApi::plane_array ( PL * array,
int size )

◆ plane_elem()

IMPORT PL GameApi::PlaneApi::plane_elem ( PL p1,
PL p2 )

◆ plane_in_3d()

IMPORT P GameApi::PlaneApi::plane_in_3d ( PL plane,
PT u_p,
V v1,
V v2 )

◆ polygon()

IMPORT PL GameApi::PlaneApi::polygon ( PL bg,
PT * points,
int size )

◆ prepare()

IMPORT PLA GameApi::PlaneApi::prepare ( PL pl)
Here is the caller graph for this function:

◆ rectangle() [1/2]

IMPORT PL GameApi::PlaneApi::rectangle ( PL bg,
PT p1,
PT p2 )

◆ rectangle() [2/2]

IMPORT PL GameApi::PlaneApi::rectangle ( PL bg,
PT p1,
PT p2,
PT p3,
PT p4 )

◆ remove_empty_faces()

IMPORT PL GameApi::PlaneApi::remove_empty_faces ( PL pl)

◆ remove_splines()

IMPORT PL GameApi::PlaneApi::remove_splines ( PL pl,
float xdelta )

◆ render()

IMPORT void GameApi::PlaneApi::render ( PLA pl,
float x,
float y,
float mult_x,
float mult_y )
Here is the caller graph for this function:

◆ render_bool()

IMPORT BB GameApi::PlaneApi::render_bool ( PL pl,
int num,
int sx,
int sy )

◆ render_continuous()

CBM GameApi::PlaneApi::render_continuous ( PL pl,
int num,
unsigned int color_0,
unsigned int color_1 )

◆ render_p()

IMPORT PL GameApi::PlaneApi::render_p ( P p,
M proj_matrix,
float sx,
float sy )
Here is the caller graph for this function:

◆ sprite()

IMPORT PL GameApi::PlaneApi::sprite ( PL bg,
BM bitmap,
PT pos,
float size_x,
float size_y )

◆ star()

IMPORT PL GameApi::PlaneApi::star ( PT center,
float radius_1,
float radius_2,
int numpoints )

◆ substitute_quads_with_plane()

IMPORT P GameApi::PlaneApi::substitute_quads_with_plane ( P orig,
PL(* fptr )(EveryApi &ev, int face, void *data),
void * data )

◆ to_polygon()

IMPORT P GameApi::PlaneApi::to_polygon ( EveryApi & ev,
PL pl,
PT pos,
V u_x,
V u_y,
V u_z,
float z_mult )

◆ to_polygon_face()

IMPORT P GameApi::PlaneApi::to_polygon_face ( PL triangulated_pl,
PT pos,
V u_x,
V u_y )

◆ to_polygon_lines()

IMPORT P GameApi::PlaneApi::to_polygon_lines ( PL pl,
PT pos,
V u_x,
V u_y,
V u_z,
float z_mult )

◆ to_polygon_lines_1()

P GameApi::PlaneApi::to_polygon_lines_1 ( PL pl,
PT pos,
V u_x,
V u_y,
V u_z,
float z_mult )

◆ to_polygon_strip()

IMPORT P GameApi::PlaneApi::to_polygon_strip ( EveryApi & ev,
PL pl,
PT pos,
V u_x,
V u_y )

◆ triangulate()

IMPORT std::pair< PL, PL > GameApi::PlaneApi::triangulate ( EveryApi & ev,
PL pl,
int obj )

◆ triangulate_all()

IMPORT PL GameApi::PlaneApi::triangulate_all ( EveryApi & ev,
PL pl,
int point_count,
int max_obj )

The documentation for this class was generated from the following files: