summaryrefslogtreecommitdiff
path: root/src/virtualmachine/Traps.inl
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-09-09 11:51:37 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-09-09 11:51:37 (GMT)
commitcd6c193e812f5fcef18e19d673b7a6740422d59c (patch)
tree580de474105be52df66d7c0a290ab5f04a7e5c30 /src/virtualmachine/Traps.inl
parentba822dcbd2ac883a10ea128176b6613e3d5dc14f (diff)
downloadpowder-cd6c193e812f5fcef18e19d673b7a6740422d59c.zip
powder-cd6c193e812f5fcef18e19d673b7a6740422d59c.tar.gz
Virtual machine
Diffstat (limited to 'src/virtualmachine/Traps.inl')
-rw-r--r--src/virtualmachine/Traps.inl57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/virtualmachine/Traps.inl b/src/virtualmachine/Traps.inl
new file mode 100644
index 0000000..0da71d2
--- /dev/null
+++ b/src/virtualmachine/Traps.inl
@@ -0,0 +1,57 @@
+TRAPDEF(-1, Print)
+TRAPDEF(-2, Error)
+/*MAPTRAP(-3, Milliseconds)
+ MAPTRAP(-4, Cvar_Register)
+ MAPTRAP(-5, Cvar_Update)
+ MAPTRAP(-6, Cvar_Set)
+ MAPTRAP(-7, Cvar_VariableIntegerValue)
+ MAPTRAP(-8, Cvar_VariableStringBuffer)
+ MAPTRAP(-9, Argc)
+ MAPTRAP(-10, Argv)
+ MAPTRAP(-11, FS_FOpenFile)
+ MAPTRAP(-12, FS_Read)
+ MAPTRAP(-13, FS_Write)
+ MAPTRAP(-14, FS_FCloseFile)
+ MAPTRAP(-15, SendConsoleCommand)
+ MAPTRAP(-16, LocateGameData)
+ MAPTRAP(-17, DropClient)
+ MAPTRAP(-18, SendServerCommand)
+ MAPTRAP(-19, SetConfigstring)
+ MAPTRAP(-20, GetConfigstring)
+ MAPTRAP(-21, GetUserinfo)
+ MAPTRAP(-22, SetUserinfo)
+ MAPTRAP(-23, GetServerinfo)
+ MAPTRAP(-24, SetBrushModel)
+ MAPTRAP(-25, Trace)
+ MAPTRAP(-26, PointContents)
+ MAPTRAP(-27, InPVS)
+ MAPTRAP(-28, InPVSIgnorePortals)
+ MAPTRAP(-29, AdjustAreaPortalState)
+ MAPTRAP(-30, AreasConnected)
+ MAPTRAP(-31, LinkEntity)
+ MAPTRAP(-32, UnlinkEntity)
+ MAPTRAP(-33, EntitiesInBox)
+ MAPTRAP(-34, EntityContact)
+ MAPTRAP(-35, BotAllocateClient)
+ MAPTRAP(-36, BotFreeClient)
+ MAPTRAP(-37, GetUsercmd)
+ MAPTRAP(-38, GetEntityToken)
+ MAPTRAP(-39, FS_GetFileList)
+ MAPTRAP(-40, DebugPolygonCreate)
+ MAPTRAP(-41, DebugPolygonDelete)
+ MAPTRAP(-42, RealTime)
+ MAPTRAP(-43, SnapVector)
+ MAPTRAP(-44, TraceCapsule)
+ MAPTRAP(-45, EntityContactCapsule)
+ MAPTRAP(-46, FS_Seek)
+ MAPTRAP(-101, memset)
+ MAPTRAP(-102, memcpy)
+ MAPTRAP(-103, strncpy)
+ MAPTRAP(-104, sin)
+ MAPTRAP(-105, cos)
+ MAPTRAP(-106, atan2)
+ MAPTRAP(-107, sqrt)
+ MAPTRAP(-111, floor)
+ MAPTRAP(-112, ceil)
+ MAPTRAP(-113, testPrintInt)
+ MAPTRAP(-114, testPrintFloat)*/ \ No newline at end of file