2012-09-10 06:47:25 -05:00
|
|
|
#ifndef TPT_SYSCALLS_H
|
|
|
|
#define TPT_SYSCALLS_H
|
|
|
|
|
|
|
|
float sin(float value);
|
|
|
|
float cos(float value);
|
|
|
|
float atan2(float x, float y);
|
|
|
|
float sqrt(float value);
|
|
|
|
float floor(float value);
|
|
|
|
float ceil(float value);
|
|
|
|
|
|
|
|
void print(char * message);
|
|
|
|
void error(char * message);
|
|
|
|
|
|
|
|
int partCreate(int i, int x, int y, int type);
|
|
|
|
void partChangeType(int i, int x, int y, int type);
|
2012-09-15 06:29:23 -05:00
|
|
|
int pmapData(int x, int y);
|
2012-09-15 09:31:55 -05:00
|
|
|
void deletePart(int x, int y, int flags);
|
|
|
|
void killPart(int i);
|
2012-09-10 06:47:25 -05:00
|
|
|
|
|
|
|
#endif
|