summaryrefslogtreecommitdiff
path: root/tptlibrary
diff options
context:
space:
mode:
authorSavely Skresanov <savask@yandex.ru>2012-09-15 11:29:23 (GMT)
committer Savely Skresanov <savask@yandex.ru>2012-09-15 14:34:18 (GMT)
commitb626864293a5cb4717303245095c6d6f39c52f7d (patch)
tree1a9dd2f7db613851115877ba6c52da24f132a871 /tptlibrary
parent8a4d18df49f6dbc22b3c1b87c19cc7e6eca5837b (diff)
downloadpowder-b626864293a5cb4717303245095c6d6f39c52f7d.zip
powder-b626864293a5cb4717303245095c6d6f39c52f7d.tar.gz
Some work on adding new hooks.
Diffstat (limited to 'tptlibrary')
-rw-r--r--tptlibrary/tpt_syscalls.asm21
-rw-r--r--tptlibrary/tpt_syscalls.h1
2 files changed, 12 insertions, 10 deletions
diff --git a/tptlibrary/tpt_syscalls.asm b/tptlibrary/tpt_syscalls.asm
index 39d1f17..2da2627 100644
--- a/tptlibrary/tpt_syscalls.asm
+++ b/tptlibrary/tpt_syscalls.asm
@@ -1,13 +1,14 @@
code
-equ sin -104
-equ cos -105
-equ atan2 -106
-equ sqrt -107
-equ floor -108
-equ ceil -109
+equ sin -1
+equ cos -2
+equ atan2 -3
+equ sqrt -4
+equ floor -5
+equ ceil -6
-equ error -110
-equ print -111
-equ partCreate -112
-equ partChangeType -113 \ No newline at end of file
+equ error -7
+equ print -8
+equ partCreate -9
+equ partChangeType -10
+equ pmapData -11
diff --git a/tptlibrary/tpt_syscalls.h b/tptlibrary/tpt_syscalls.h
index 6112306..a3adf41 100644
--- a/tptlibrary/tpt_syscalls.h
+++ b/tptlibrary/tpt_syscalls.h
@@ -13,5 +13,6 @@ void error(char * message);
int partCreate(int i, int x, int y, int type);
void partChangeType(int i, int x, int y, int type);
+int pmapData(int x, int y);
#endif