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

#include <GameApi.hh>

Public Member Functions

IMPORT EventApi (Env &e)
IMPORT ~EventApi ()
E root_event ()
E timer (E activation_event, float time)
E key_down_event (int key, E start_time, E end_time)
E key_up_event (int key, E start_time, E end_time)
E activate_mouse_plane (E activation_event, MP m)
E deactivate_mouse_plane (E deactivation_event, MP m)
E pair (E e1, E e2)
E array (E *array, int size)
L polygon (E start, E end, P polygon)
L polygon (E start, E end, P start_polygon, P end_polygon)
L bitmap (E start, E end, BM bitmap)
L bitmap (E start, E end, BM start_bitmap, BM end_bitmap)
L array (L *array, int size)
M mouse_plane ()
M mouse_rectangle (MP m, int x, int y, int width, int height)
M array (M *array, int size)
MV point (float x, float y, float z)
MV line (E start, E end, MV start_mv, MV end_mv, int start_choose, int end_choose)
LL link (L obj, MV point)
LL link (L obj, ID pointnum, MV point)
LL array (LL *array, int size)
ST states (int count_states)
ST mouse_plane (ST states, int state, M mouse)
ST activate_event (ST states, int state, E event)
ST enable_obj (ST states, int state, LL link)
ST disable_obj (ST states, int state, LL link)
E state_change (E event, int old_state, int new_state)
void run_game (ST states, int start_state)
std::string Serialize (ST states, int start_state)
ST UnSerialize (std::string s)

Constructor & Destructor Documentation

◆ EventApi()

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

◆ ~EventApi()

EXPORT GameApi::EventApi::~EventApi ( )

Member Function Documentation

◆ activate_event()

ST GameApi::EventApi::activate_event ( ST states,
int state,
E event )

◆ activate_mouse_plane()

E GameApi::EventApi::activate_mouse_plane ( E activation_event,
MP m )

◆ array() [1/4]

E GameApi::EventApi::array ( E * array,
int size )
Here is the caller graph for this function:

◆ array() [2/4]

L GameApi::EventApi::array ( L * array,
int size )

◆ array() [3/4]

LL GameApi::EventApi::array ( LL * array,
int size )

◆ array() [4/4]

M GameApi::EventApi::array ( M * array,
int size )

◆ bitmap() [1/2]

L GameApi::EventApi::bitmap ( E start,
E end,
BM bitmap )
Here is the caller graph for this function:

◆ bitmap() [2/2]

GameApi::L GameApi::EventApi::bitmap ( GameApi::E start,
GameApi::E end,
GameApi::BM start_bitmap,
BM end_bitmap )

◆ deactivate_mouse_plane()

E GameApi::EventApi::deactivate_mouse_plane ( E deactivation_event,
MP m )

◆ disable_obj()

ST GameApi::EventApi::disable_obj ( ST states,
int state,
LL link )

◆ enable_obj()

GameApi::ST GameApi::EventApi::enable_obj ( ST states,
int state,
LL link )

◆ key_down_event()

E GameApi::EventApi::key_down_event ( int key,
E start_time,
E end_time )

◆ key_up_event()

E GameApi::EventApi::key_up_event ( int key,
E start_time,
E end_time )

◆ line()

MV GameApi::EventApi::line ( E start,
E end,
MV start_mv,
MV end_mv,
int start_choose,
int end_choose )

◆ link() [1/2]

LL GameApi::EventApi::link ( L obj,
ID pointnum,
MV point )

◆ link() [2/2]

LL GameApi::EventApi::link ( L obj,
MV point )
Here is the caller graph for this function:

◆ mouse_plane() [1/2]

M GameApi::EventApi::mouse_plane ( )

◆ mouse_plane() [2/2]

ST GameApi::EventApi::mouse_plane ( ST states,
int state,
M mouse )

◆ mouse_rectangle()

M GameApi::EventApi::mouse_rectangle ( MP m,
int x,
int y,
int width,
int height )

◆ pair()

E GameApi::EventApi::pair ( E e1,
E e2 )

◆ point()

MV GameApi::EventApi::point ( float x,
float y,
float z )
Here is the caller graph for this function:

◆ polygon() [1/2]

GameApi::L GameApi::EventApi::polygon ( GameApi::E start,
GameApi::E end,
GameApi::P poly )
Here is the caller graph for this function:

◆ polygon() [2/2]

L GameApi::EventApi::polygon ( E start,
E end,
P start_polygon,
P end_polygon )

◆ root_event()

GameApi::E GameApi::EventApi::root_event ( )

◆ run_game()

void GameApi::EventApi::run_game ( GameApi::ST st,
int start_state )

◆ Serialize()

std::string GameApi::EventApi::Serialize ( ST states,
int start_state )

◆ state_change()

E GameApi::EventApi::state_change ( E event,
int old_state,
int new_state )

◆ states()

GameApi::ST GameApi::EventApi::states ( int count_states)
Here is the caller graph for this function:

◆ timer()

GameApi::E GameApi::EventApi::timer ( GameApi::E activation_event,
float time )

◆ UnSerialize()

ST GameApi::EventApi::UnSerialize ( std::string s)

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