8 char *
FunctionNames[] = {
"X mouse",
"X",
"mouse",
"self",
"at-point",
"world" , 0};
40 void GetSelf(entity_t *
self, entity_t **targ)
47 void GetX(entity_t *
self,
int *button)
49 *button = SDL_GetKeyFromName(
"X");
55 SDL_GetRelativeMouseState( &pos->
x, &pos->
y);
void GetAtPoint(entity_t *self, entity_t **targ)
void GetXMouse(entity_t *self, int *button, vec2_t *pos)
void GetMousePos(entity_t *self, vec2_t *pos)
void GetX(entity_t *self, int *button)
void GetSelf(entity_t *self, entity_t **targ)
entity_t * LookForEntityAtPos(vec2_t position)
void * ParseToFunction(const char *name)
void GetWorld(entity_t *self, entity_t **targ)