mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 19:51:45 +02:00
Standard library for external programs
This commit is contained in:
17
tptlibrary/tpt_syscalls.h
Normal file
17
tptlibrary/tpt_syscalls.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#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);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user