GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi_cmd.cc File Reference
#include "GameApi_h.hh"
#include "GameApi_gui.hh"
#include "GameApi_cmd.hh"
Include dependency graph for GameApi_cmd.cc:

Macros

#define MACRO2(lab, funccall)
#define MACRO3(lab, funccall)

Functions

MACRO2(GameApi::LI, ev.lines_api.from_polygon(ev.polygon_api.p_empty())) MACRO2(GameApi std::pair< std::string, std::string > CodeGen_1 (GameApi::EveryApi &ev, std::vector< std::string > params, std::vector< std::string > param_names, std::vector< std::string > param_type, std::vector< std::string > param_exprs, std::string return_type, std::string api_name, std::string func_name, int j)
void funccall_1 (std::vector< std::string > &s, GameApi::ExecuteEnv &e, std::vector< std::string > param_name)
std::string empty_param (std::string s)
int to_int (std::string s)
float to_float (std::string s)
std::string unique_id_apiitem ()
ApiSplit split_api_default (std::string def)

Macro Definition Documentation

◆ MACRO2

#define MACRO2 ( lab,
funccall )
Value:
void set_empty(GameApi::EveryApi&ev,lab &l) { \
l = funccall;\
}
EveryApi ev(e)
void set_empty(GameApi::EveryApi &ev, T &t)
Definition GameApi_cmd.hh:51
int funccall(RT(fptr)(P...), std::vector< std::string > s, std::vector< std::string > param_name)
Definition accel.cc:201
Definition GameApi.hh:4664

◆ MACRO3

#define MACRO3 ( lab,
funccall )
Value:
if (s==#lab) { return #funccall; }

Function Documentation

◆ CodeGen_1()

MACRO2(GameApi::LI, ev.lines_api.from_polygon(ev.polygon_api.p_empty())) MACRO2(GameApi std::pair< std::string, std::string > CodeGen_1 ( GameApi::EveryApi & ev,
std::vector< std::string > params,
std::vector< std::string > param_names,
std::vector< std::string > param_type,
std::vector< std::string > param_exprs,
std::string return_type,
std::string api_name,
std::string func_name,
int j )
Here is the caller graph for this function:

◆ empty_param()

std::string empty_param ( std::string s)
Here is the caller graph for this function:

◆ funccall_1()

void funccall_1 ( std::vector< std::string > & s,
GameApi::ExecuteEnv & e,
std::vector< std::string > param_name )
Here is the caller graph for this function:

◆ split_api_default()

ApiSplit split_api_default ( std::string def)
Here is the caller graph for this function:

◆ to_float()

float to_float ( std::string s)
Here is the caller graph for this function:

◆ to_int()

int to_int ( std::string s)

◆ unique_id_apiitem()

std::string unique_id_apiitem ( )
Here is the caller graph for this function: