mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-03 05:49:41 +03:00
1
This commit is contained in:
231
devtools/devstudio macros/autoexp.dat
Normal file
231
devtools/devstudio macros/autoexp.dat
Normal file
@@ -0,0 +1,231 @@
|
||||
; AutoExp.Dat - templates for automaticially expanding data
|
||||
; Copyright(c) 1997 Microsoft Corporation. All Rights Reserved.
|
||||
;---------------------------------------------------------------
|
||||
;
|
||||
; While debugging, Data Tips and items in the Watch and Variable
|
||||
; windows are automatically expanded to show their most important
|
||||
; elements. The expansion follows the format given by the rules
|
||||
; in this file. You can add rules for your types or change the
|
||||
; predefined rules.
|
||||
;
|
||||
; For good examples, read the rules in this file.
|
||||
;
|
||||
; To find what the debugger considers the type of a variable to
|
||||
; be, add it to the Watch window and right-click and select
|
||||
; Properties.
|
||||
;
|
||||
; An AutoExpand rule is a line with the name of a type, an equals
|
||||
; sign, and text with replaceable parts in angle brackets. The
|
||||
; part in angle brackets names a member of the type and an
|
||||
; optional Watch format specifier.
|
||||
;
|
||||
; AutoExpand rules use the following syntax. The equals sign (=),
|
||||
; angle brackets (<>), and comma are taken literally. Square
|
||||
; brackets ([]) indicate optional items.
|
||||
;
|
||||
; type=[text]<member[,format]>...
|
||||
;
|
||||
; type Name of the type (may be followed by <*> for template
|
||||
; types such as the ATL types listed below).
|
||||
;
|
||||
; text Any text.Usually the name of the member to display,
|
||||
; or a shorthand name for the member.
|
||||
;
|
||||
; member Name of a member to display.
|
||||
;
|
||||
; format Watch format specifier. One of the following:
|
||||
;
|
||||
; Letter Description Sample Display
|
||||
; ------ -------------------------- ------------ -------------
|
||||
; d,i Signed decimal integer 0xF000F065,d -268373915
|
||||
; u Unsigned decimal integer 0x0065,u 101
|
||||
; o Unsigned octal integer 0xF065,o 0170145
|
||||
; x,X Hexadecimal integer 61541,X 0X0000F065
|
||||
; l,h long or short prefix for 00406042,hx 0x0c22
|
||||
; d, i, u, o, x, X
|
||||
; f Signed floating-point 3./2.,f 1.500000
|
||||
; e Signed scientific-notation 3./2.,e 1.500000e+000
|
||||
; g Shorter of e and f 3./2.,g 1.5
|
||||
; c Single character 0x0065,c 'e'
|
||||
; s Zero-terminated string 0x0012fde8,s "Hello world"
|
||||
; su Unicode string 0x007200c4,su "Hello world"
|
||||
; st String in ANSI or Unicode depending on current setting
|
||||
;
|
||||
; The special format <,t> specifies the name of the most-derived
|
||||
; type of the object. This is especially useful with pointers or
|
||||
; references to a base class.
|
||||
;
|
||||
; If there is no rule for a class, the base classes are checked for
|
||||
; a matching rule.
|
||||
;
|
||||
; -------
|
||||
; Unicode
|
||||
; -------
|
||||
;
|
||||
; If your application is built for Unicode, you'll want Unicode
|
||||
; strings to automatically expand as text, rather than arrays of
|
||||
; unsigned short. To automatically display Unicode strings as
|
||||
; text, go to Tools/Options/Debug tab and check 'Display Unicode
|
||||
; strings'.
|
||||
;
|
||||
;---------------------------------------------------------------
|
||||
[AutoExpand]
|
||||
|
||||
; from windef.h
|
||||
tagPOINT =x=<x> y=<y>
|
||||
tagRECT =top=<top> bottom=<bottom> left=<left> right=<right>
|
||||
|
||||
; from winuser.h
|
||||
tagMSG =msg=<message,x> wp=<wParam,x> lp=<lParam,x>
|
||||
|
||||
; from afxwin.h
|
||||
CDC =hDC=<m_hDC> attrib=<m_hAttribDC>
|
||||
CPaintDC =<,t> hWnd=<m_hWnd>
|
||||
CPoint =x=<x> y=<y>
|
||||
CRect =top=<top> bottom=<bottom> left=<left> right=<right>
|
||||
CSize =cx=<cx> cy=<cy>
|
||||
CWnd =<,t> hWnd=<m_hWnd>
|
||||
CWinApp =<,t> <m_pszAppName,s>
|
||||
CWinThread =<,t> h=<m_hThread> proc=<m_pfnThreadProc>
|
||||
|
||||
; from afxcoll.h
|
||||
CPtrList =cnt=<m_nCount>
|
||||
|
||||
; from afxstat_.h
|
||||
CProcessLocalObject =<,t>
|
||||
CThreadLocalObject =<,t>
|
||||
|
||||
; from afx.h
|
||||
CArchiveException =cause=<m_cause>
|
||||
CFile =hFile=<m_hFile> name=<m_strFileName.m_pchData,s>
|
||||
CFileException =cause=<m_cause> OS Error=m_lOsError
|
||||
CMemFile =pos=<m_nPosition> size=<m_nFileSize>
|
||||
CObject =<,t>
|
||||
CRuntimeClass =<m_lpszClassName,s>
|
||||
CStdioFile =FILE*=<m_pStream> name=<m_strFilename.m_pchData,s>
|
||||
CString =<m_pchData,st>
|
||||
CTimeSpan =time=<m_time>
|
||||
CTime =time=<m_time>
|
||||
|
||||
; from afxcoll.h
|
||||
CByteArray =count=<m_nCount>
|
||||
CStringList =count=<m_nCount>
|
||||
; same for all CXXXArray classes
|
||||
; same for CXXXList
|
||||
; same for CMapXXToXX
|
||||
|
||||
; new for VC98
|
||||
_com_error=<m_hresult,hr>
|
||||
_bstr_t=<m_Data->m_wstr,su> (<m_Data->m_RefCount,u>)
|
||||
_com_ptr_t<*>=<m_pInterface>
|
||||
_LARGE_INTEGER=<QuadPart>
|
||||
ATL::CComPtr<*>=<p>
|
||||
ATL::CComBSTR=<m_str,su>
|
||||
ATL::CComQIPtr<*>=<p>
|
||||
std::basic_string<*>=<_Ptr>
|
||||
|
||||
; new for VC98 using built-ins
|
||||
tagVARIANT=$BUILTIN(VARIANT)
|
||||
VARIANT=$BUILTIN(VARIANT)
|
||||
_GUID=$BUILTIN(GUID)
|
||||
|
||||
Vector =x=<x> y=<y> z=<z>
|
||||
Vector2D =x=<x> y=<y>
|
||||
Vector4D =x=<x> y=<y> z=<z> w=<w>
|
||||
VString =str=<m_pStr>
|
||||
CVertIndex =x=<x> y=<y>
|
||||
CNodeVert =x=<x> y=<y>
|
||||
dat =name=<name> size=<size>
|
||||
QAngle = <x> <y> <z>
|
||||
CUtlVector<*> =count=<m_Size,d>
|
||||
cplane_t = <normal.x> <normal.y> <normal.z>, <dist>
|
||||
RadianEuler=degrees=<x*57.29578> <y*57.29578> <z*57.29578>
|
||||
IVP_U_Float_Point = <k[0]> <k[1]> <k[2]> <hesse_val>
|
||||
IVP_U_Point = <k[0]> <k[1]> <k[2]> <hesse_val>
|
||||
IVP_U_Matrix3 = [<rows[0].k[0]> <rows[0].k[1]> <rows[0].k[2]>] [<rows[1].k[0]> <rows[1].k[1]> <rows[1].k[2]>] [<rows[2].k[0]> <rows[2].k[1]> <rows[2].k[2]>]
|
||||
IVP_Object <name>
|
||||
CBaseTrace = FRACTION <fraction>, START <startpos.x> <startpos.y> <startpos.z>, END <endpos.x> <endpos.y> <endpos.z>
|
||||
|
||||
CCoreDispInfo =power=<m_Power>
|
||||
|
||||
SendProp =<m_pVarName,s>
|
||||
RecvProp =<m_pVarName,s>
|
||||
|
||||
RecvTable =<m_pNetTableName,s>
|
||||
SendTable =<m_pNetTableName,s>
|
||||
|
||||
CBaseHandle =index=<GetEntryIndex()> serial=<GetSerialNumber()>
|
||||
|
||||
CNetworkHandleBase<*> =<m_Value>
|
||||
CNetworkVectorBase<*> =x=<m_Value.x> y=<m_Value.y> z=<m_Value.z>
|
||||
CNetworkColor32Base<*> =<m_Value>
|
||||
CNetworkVarBase<*> =<m_Value>
|
||||
|
||||
|
||||
[ExecutionControl]
|
||||
|
||||
CUtlVector<*>::Base=NoStepInto
|
||||
CUtlVector<*>::Count=NoStepInto
|
||||
Vector::*=NoStepInto
|
||||
QAngle::*=NoStepInto
|
||||
|
||||
MSG_GetReadBuf=NoStepInto
|
||||
|
||||
SendProp::*=NoStepInto
|
||||
RecvProp::*=NoStepInto
|
||||
|
||||
bf_write::GetBasePointer=NoStepInto
|
||||
bf_write::IsOverflowed=NoStepInto
|
||||
bf_write::GetNumBytesWritten=NoStepInto
|
||||
bf_write::GetNumBitsWritten=NoStepInto
|
||||
bf_write::GetMaxNumBits=NoStepInto
|
||||
bf_write::GetNumBitsLeft=NoStepInto
|
||||
bf_write::GetNumBytesLeft=NoStepInto
|
||||
bf_write::GetData=NoStepInto
|
||||
|
||||
bf_read::GetBasePointer=NoStepInto
|
||||
bf_read::ReadOneBit=NoStepInto
|
||||
bf_read::ReadBitAngle=NoStepInto
|
||||
bf_read::ReadUBitLong=NoStepInto
|
||||
bf_read::PeekUBitLong=NoStepInto
|
||||
bf_read::ReadSBitLong=NoStepInto
|
||||
bf_read::ReadBitLong=NoStepInto
|
||||
bf_read::ReadBitCoord=NoStepInto
|
||||
bf_read::ReadBitFloat=NoStepInto
|
||||
bf_read::ReadBitNormal=NoStepInto
|
||||
bf_read::ReadBitVec3Coord=NoStepInto
|
||||
bf_read::ReadBitAngles=NoStepInto
|
||||
bf_read::ReadBitVec3Coord=NoStepInto
|
||||
bf_read::ReadChar=NoStepInto
|
||||
bf_read::ReadByte=NoStepInto
|
||||
bf_read::ReadShort=NoStepInto
|
||||
bf_read::ReadWord=NoStepInto
|
||||
bf_read::ReadLong=NoStepInto
|
||||
bf_read::ReadFloat=NoStepInto
|
||||
bf_read::ReadString=NoStepInto
|
||||
bf_read::GetNumBytesRead=NoStepInto
|
||||
bf_read::GetNumBitsLeft=NoStepInto
|
||||
bf_read::GetNumBitsRead=NoStepInto
|
||||
bf_read::IsOverflowed=NoStepInto
|
||||
bf_read::GetNumBitsLeft=NoStepInto
|
||||
bf_read::GetNumBitsLeft=NoStepInto
|
||||
bf_read::GetNumBitsLeft=NoStepInto
|
||||
bf_read::GetNumBitsLeft=NoStepInto
|
||||
bf_read::GetNumBitsLeft=NoStepInto
|
||||
bf_read::GetNumBitsLeft=NoStepInto
|
||||
bf_read::GetNumBitsLeft=NoStepInto
|
||||
bf_read::GetNumBitsLeft=NoStepInto
|
||||
|
||||
PackedEntity::SetNumBits=NoStepInto
|
||||
PackedEntity::GetNumBits=NoStepInto
|
||||
PackedEntity::GetNumBytes=NoStepInto
|
||||
PackedEntity::LockData=NoStepInto
|
||||
PackedEntity::UnlockData=NoStepInto
|
||||
PackedEntity::FreeData=NoStepInto
|
||||
PackedEntity::SetChangeFrameList=NoStepInto
|
||||
PackedEntity::SnagChangeFrameList=NoStepInto
|
||||
|
||||
CDatatableStack::IsCurProxyValid=NoStepInto
|
||||
CDatatableStack::GetCurPropIndex=NoStepInto
|
||||
CDatatableStack::GetCurStructBase=NoStepInto
|
||||
|
||||
270
devtools/devstudio macros/comments.dsm
Normal file
270
devtools/devstudio macros/comments.dsm
Normal file
@@ -0,0 +1,270 @@
|
||||
'------------------------------------------------------------------------------
|
||||
'FILE DESCRIPTION: Contains macros which make MSVC commenting more automated
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Sub ModuleHeader()
|
||||
'DESCRIPTION: This macro adds the standard copyright information to the top of a module.
|
||||
|
||||
ActiveDocument.Selection.StartOfDocument
|
||||
|
||||
' Create the standard file prologue
|
||||
Header = "//====== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. =======" + vbCrLf
|
||||
Header = Header + "//" + vbCrLf
|
||||
Header = Header + "// Purpose: " + vbCrLf
|
||||
Header = Header + "//" + vbCrLf
|
||||
Header = Header + "//=============================================================================" + vbCrLf + vbCrLf
|
||||
|
||||
' Add the single inclusion macros for header files
|
||||
DotHPos = InStr(ActiveDocument.Name, ".h")
|
||||
|
||||
If DotHPos > 0 Then
|
||||
InclusionKey = Left(ActiveDocument.Name, DotHPos - 1)
|
||||
InclusionKey = UCase(InclusionKey) + "_H"
|
||||
Header = Header + "#ifndef " + InclusionKey + vbCrLf
|
||||
Header = Header + "#define " + InclusionKey + vbCrLf
|
||||
Header = Header + "#ifdef _WIN32" + vbCrLf
|
||||
Header = Header + "#pragma once" + vbCrLf
|
||||
Header = Header + "#endif" + vbCrLf + vbCrLf
|
||||
End If
|
||||
|
||||
ActiveDocument.Selection.Text = Header
|
||||
|
||||
' Add the "#endif" for header files
|
||||
If DotHPos > 0 Then
|
||||
ActiveDocument.Selection.EndOfDocument
|
||||
Header = vbCrLf + "#endif // " + InclusionKey + vbCrLf
|
||||
ActiveDocument.Selection.Text = Header
|
||||
End If
|
||||
|
||||
ActiveDocument.Selection.StartOfDocument
|
||||
|
||||
End Sub
|
||||
|
||||
|
||||
Sub TypeHeader()
|
||||
'DESCRIPTION: This macro adds a description block above a type declaration
|
||||
|
||||
' Select the text on the current line and store it for parsing
|
||||
ActiveDocument.Selection.SelectLine
|
||||
TypeDec = ActiveDocument.Selection.Text
|
||||
ActiveDocument.Selection.StartOfLine
|
||||
|
||||
' Check to make sure that this line is a type delcaration
|
||||
If InStr(TypeDec, "class") = 0 And InStr(TypeDec, "struct") = 0 And InStr(TypeDec, "interface") = 0 And InStr(TypeDec, "enum") = 0 Then
|
||||
MsgBox("This line does not contain a class, struct, interface, or enum declaration.")
|
||||
Else
|
||||
' Construct the type header
|
||||
Header = "//-----------------------------------------------------------------------------" + vbCrLf
|
||||
Header = Header + "// Purpose: " + vbCrLf
|
||||
Header = Header + "//-----------------------------------------------------------------------------" + vbCrLf
|
||||
|
||||
' Write the header
|
||||
ActiveDocument.Selection.Text = Header
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
|
||||
Sub FunctionHeader()
|
||||
'DESCRIPTION: This macro creates a function header for C functions or C++ member functions
|
||||
|
||||
' Select the text on the current line and store it for parsing
|
||||
ActiveDocument.Selection.SelectLine
|
||||
FunctionImp = ActiveDocument.Selection.Text
|
||||
ActiveDocument.Selection.StartOfLine
|
||||
LineNum = ActiveDocument.Selection.CurrentLine
|
||||
|
||||
FunctionName = Left(FunctionImp, InStr(FunctionImp, "("))
|
||||
|
||||
' Check to make sure that this line is a class delcaration
|
||||
If len(FunctionName) = 0 Then
|
||||
MsgBox("This line does not contain a function implementation.")
|
||||
Else
|
||||
FuncArray = Split(FunctionName)
|
||||
|
||||
ReturnType = ""
|
||||
|
||||
' Get the return type and function name
|
||||
For Each Element In FuncArray
|
||||
if InStr(Element, "(") = 0 Then
|
||||
ReturnType = ReturnType + Element + " "
|
||||
Else
|
||||
FunctionName = Left(Element, len(Element) - 1)
|
||||
End If
|
||||
Next
|
||||
|
||||
ReturnType = Trim(ReturnType)
|
||||
|
||||
if ReturnType = "BOOL" Then
|
||||
ReturnType = "Returns TRUE on success, FALSE on failure."
|
||||
Elseif ReturnType = "bool" Then
|
||||
ReturnType = "Returns true on success, false on failure."
|
||||
End If
|
||||
|
||||
' Place the function parameters in its own string
|
||||
Params = Right(FunctionImp, len(FunctionImp) - InStr(FunctionImp, "("))
|
||||
Do While InStr(Params, ")") = 0
|
||||
ActiveDocument.Selection.LineDown
|
||||
ActiveDocument.Selection.SelectLine
|
||||
Params = Left(Params, InStr(Params, vbCrLf) - 1)
|
||||
Params = Params + Trim(ActiveDocument.Selection.Text)
|
||||
Loop
|
||||
ActiveDocument.Selection.GotoLine LineNum
|
||||
Params = Left(Params, InStr(Params, ")") - 1)
|
||||
Params = Trim(Params)
|
||||
|
||||
' Remove any /* */ comments from Params
|
||||
Pos = InStr( Params, "/*" )
|
||||
Do While Pos
|
||||
EndComment = InStr( Params, "*/" )
|
||||
If EndComment Then
|
||||
StartString = Left( Params, InStr( Params, "/*" ) - 1)
|
||||
Pos2 = len( Params ) - InStr( Params, "*/" ) + 3
|
||||
EndString = Mid( Params, InStr( Params, "*/" ) + 2, Pos2 )
|
||||
|
||||
StartString = Trim( StartString )
|
||||
EndString = Trim( EndString )
|
||||
|
||||
Params = StartString + EndString
|
||||
Pos = InStr( Params, "/*" )
|
||||
Else
|
||||
Pos = 0
|
||||
End If
|
||||
Loop
|
||||
|
||||
' Create an array of individual parameters
|
||||
ParamsArray = Split(Params, ",")
|
||||
|
||||
' Construct the parameters section
|
||||
ParamSection = ""
|
||||
AddNewLine = 0
|
||||
For Each Element In ParamsArray
|
||||
Element = Trim(Element)
|
||||
Element = Right(Element, len(Element) - InstrRev(Element, " "))
|
||||
if AddNewLine = 1 Then
|
||||
ParamSection = ParamSection + vbCrLf + "// "
|
||||
End If
|
||||
ParamSection = ParamSection + Element + " - "
|
||||
AddNewLine = 1
|
||||
Next
|
||||
|
||||
' Construct the rest of the header
|
||||
Header = "//-----------------------------------------------------------------------------" + vbCrLf
|
||||
Header = Header + "// Purpose: " + vbCrLf
|
||||
|
||||
if ParamSection <> "void - " and ParamSection <> "" then
|
||||
Header = Header + "// Input : " + ParamSection + vbCrLf
|
||||
end if
|
||||
|
||||
if ReturnType <> "void" and ReturnType <> "" Then
|
||||
Header = Header + "// Output : " + ReturnType + vbCrLf
|
||||
end if
|
||||
|
||||
Header = Header + "//-----------------------------------------------------------------------------" + vbCrLf
|
||||
|
||||
' Write the header
|
||||
ActiveDocument.Selection.Text = Header
|
||||
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
||||
'DESCRIPTION: Comments in or out a line of code, then moves to the next line.
|
||||
Sub ToggleComment()
|
||||
|
||||
ActiveDocument.Selection.SelectLine
|
||||
LineText = ActiveDocument.Selection.Text
|
||||
ActiveDocument.Selection.StartOfLine
|
||||
|
||||
FirstTwoChars = Left(LineText, 2)
|
||||
|
||||
If len(FirstTwoChars) < 2 Then
|
||||
ActiveDocument.Selection = ""
|
||||
Elseif FirstTwoChars = "//" Then
|
||||
ActiveDocument.Selection.CharRight dsExtend
|
||||
ActiveDocument.Selection.CharRight dsExtend
|
||||
ActiveDocument.Selection = ""
|
||||
Else
|
||||
ActiveDocument.Selection = "//"
|
||||
End if
|
||||
|
||||
ActiveDocument.Selection.LineDown
|
||||
|
||||
End Sub
|
||||
|
||||
Sub ScheduleTemplate()
|
||||
'DESCRIPTION: Adds a schedule template at the current cursor position
|
||||
ActiveDocument.Selection = "//==================================================" + vbCrLf + "// SCHED_" + vbCrLf + "//==================================================" + vbCrLf + vbCrLf + "Schedule" + vbCrLf + vbTab + "SCHED_" + vbCrLf + "Tasks" + vbCrLf + vbCrLf + "Interrupts" + vbCrLf + vbCrLf + ActiveDocument.Selection
|
||||
|
||||
End Sub
|
||||
|
||||
Sub CommentTODO()
|
||||
'DESCRIPTION: Adds "//TODO:" at the current cursor position
|
||||
ActiveDocument.Selection = "//TODO: " + ActiveDocument.Selection
|
||||
|
||||
End Sub
|
||||
|
||||
Sub CommentFIXME()
|
||||
'DESCRIPTION: Adds "//FIXME:" at the current cursor position
|
||||
ActiveDocument.Selection = "//FIXME: " + ActiveDocument.Selection
|
||||
|
||||
End Sub
|
||||
|
||||
Sub CommentNOTENOTE()
|
||||
'DESCRIPTION: Adds "//NOTENOTE:" at the current cursor position
|
||||
ActiveDocument.Selection = "//NOTENOTE: " + ActiveDocument.Selection
|
||||
|
||||
End Sub
|
||||
|
||||
Sub JumpToHeader()
|
||||
'////////////////////////////////////////////
|
||||
'DESCRIPTION: Switch Between Header and cpp
|
||||
'////////////////////////////////////////////
|
||||
Dim myDocument
|
||||
Dim a
|
||||
Dim b
|
||||
Dim c
|
||||
Dim Flag
|
||||
Dim Flag1
|
||||
Flag1 = 0
|
||||
Flag = 1
|
||||
a = ActiveDocument.FullName
|
||||
tmp = InStr(a, ".cpp")
|
||||
If tmp Then
|
||||
b = Left(a, Len(a) - 3) + "h"
|
||||
c = Left(a, Len(a) - 3) + "h"
|
||||
Flag1 = 1
|
||||
Else
|
||||
tmp = InStr(a, ".c")
|
||||
If tmp Then
|
||||
b = Left(a, Len(a) - 1) + "h"
|
||||
c = Left(a, Len(a) - 1) + "h"
|
||||
Flag1 = 1
|
||||
Else
|
||||
tmp = InStr(a, ".h")
|
||||
If tmp Then
|
||||
b = Left(a, Len(a) - 1) + "c"
|
||||
c = Left(a, Len(a) - 1) + "cpp"
|
||||
Flag1 = 1
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
For Each myDocument In Application.Documents
|
||||
If myDocument.FullName = b Then
|
||||
myDocument.Active = True
|
||||
Flag = 0
|
||||
Exit For
|
||||
End If
|
||||
|
||||
If myDocument.FullName = c Then
|
||||
myDocument.Active = True
|
||||
Flag = 0
|
||||
b = c
|
||||
Exit For
|
||||
End If
|
||||
|
||||
Next
|
||||
If Flag And Flag1 Then
|
||||
Documents.Open b, "Text"
|
||||
End If
|
||||
End Sub
|
||||
315
devtools/devstudio macros/usertype.dat
Normal file
315
devtools/devstudio macros/usertype.dat
Normal file
@@ -0,0 +1,315 @@
|
||||
min
|
||||
max
|
||||
|
||||
NULL
|
||||
Vector
|
||||
Vector2D
|
||||
QAngle
|
||||
Activity
|
||||
color32
|
||||
string_t
|
||||
|
||||
DEFAULT_TICK_INTERVAL
|
||||
MINIMUM_TICK_INTERVAL
|
||||
MAXIMUM_TICK_INTERVAL
|
||||
TICK_INTERVAL
|
||||
|
||||
ABSOLUTE_PLAYER_LIMIT
|
||||
ABSOLUTE_PLAYER_LIMIT_DW
|
||||
|
||||
MAX_EDICT_BITS
|
||||
MAX_EDICTS
|
||||
|
||||
DECLARE_DATADESC
|
||||
BEGIN_DATADESC
|
||||
BEGIN_DATADESC_NO_BASE
|
||||
BEGIN_SIMPLE_DATADESC
|
||||
BEGIN_SIMPLE_DATADESC_
|
||||
END_DATADESC
|
||||
|
||||
DECLARE_SERVERCLASS
|
||||
DECLARE_SERVERCLASS_NOBASE
|
||||
DECLARE_CLIENTCLASS
|
||||
DECLARE_CLIENTCLASS_NOBASE
|
||||
DECLARE_NETWORKCLASS
|
||||
DECLARE_NETWORKCLASS_NOBASE
|
||||
|
||||
DECLARE_PREDICTABLE
|
||||
CONSTRUCT_PREDICTABLE
|
||||
BEGIN_PREDICTION_DATA
|
||||
BEGIN_PREDICTION_DATA_NO_BASE
|
||||
END_PREDICTION_DATA
|
||||
|
||||
BEGIN_RECV_TABLE
|
||||
BEGIN_RECV_TABLE_NOBASE
|
||||
BEGIN_SEND_TABLE
|
||||
BEGIN_SEND_TABLE_NOBASE
|
||||
|
||||
BEGIN_NETWORK_TABLE
|
||||
BEGIN_NETWORK_TABLE_NOBASE
|
||||
END_NETWORK_TABLE
|
||||
|
||||
END_SEND_TABLE
|
||||
END_RECV_TABLE
|
||||
|
||||
SENDINFO
|
||||
RECVINFO
|
||||
|
||||
SPROP_UNSIGNED
|
||||
SPROP_COORD
|
||||
SPROP_NOSCALE
|
||||
SPROP_ROUNDDOWN
|
||||
SPROP_ROUNDUP
|
||||
SPROP_NORMAL
|
||||
SPROP_EXCLUDE
|
||||
SPROP_XYZE
|
||||
|
||||
IMPLEMENT_CLIENTCLASS
|
||||
IMPLEMENT_CLIENTCLASS_DT
|
||||
IMPLEMENT_CLIENTCLASS_DT_NOBASE
|
||||
IMPLEMENT_CLIENTCLASS_EVENT
|
||||
IMPLEMENT_CLIENTCLASS_EVENT_DT
|
||||
IMPLEMENT_CLIENTCLASS_EVENT_POINTER
|
||||
IMPLEMENT_CLIENTCLASS_EVENT_NONSINGLETON
|
||||
INTERNAL_IMPLEMENT_CLIENTCLASS_PROLOGUE
|
||||
IMPLEMENT_DATADESC
|
||||
IMPLEMENT_NULL_SIMPLE_DATADESC
|
||||
IMPLEMENT_NULL_SIMPLE_DATADESC_
|
||||
IMPLEMENT_NULL_DATADESC
|
||||
|
||||
IMPLEMENT_SERVERCLASS
|
||||
IMPLEMENT_SERVERCLASS_ST
|
||||
IMPLEMENT_SERVERCLASS_ST_NOBASE
|
||||
|
||||
IMPLEMENT_NETWORKCLASS_ALIASED
|
||||
IMPLEMENT_NETWORKCLASS
|
||||
IMPLEMENT_NETWORKCLASS_DT
|
||||
|
||||
DEFINE_CUSTOM_AI
|
||||
DEFINE_KEYFIELD
|
||||
DEFINE_FIELD
|
||||
DEFINE_FUNCTION
|
||||
DEFINE_INPUT
|
||||
DEFINE_INPUTFUNC
|
||||
DEFINE_OUTPUT
|
||||
DEFINE_KEYVALUE
|
||||
DEFINE_ARRAY
|
||||
DEFINE_ENTITY_FIELD
|
||||
DEFINE_ENTITY_GLOBAL_FIELD
|
||||
DEFINE_GLOBAL_FIELD
|
||||
DEFINE_GLOBAL_KEYFIELD
|
||||
DEFINE_CUSTOM_FIELD
|
||||
DEFINE_CUSTOM_KEYFIELD
|
||||
DEFINE_KEYFIELD_NOT_SAVED
|
||||
DEFINE_AUTO_ARRAY
|
||||
DEFINE_AUTO_ARRAY2D
|
||||
DEFINE_EMBEDDED
|
||||
DEFINE_EMBEDDED_OVERRIDE
|
||||
DEFINE_EMBEDDEDBYREF
|
||||
DEFINE_EMBEDDED_ARRAY
|
||||
DEFINE_EMBEDDED_AUTO_ARRAY
|
||||
DEFINE_PRED_TYPEDESCRIPTION
|
||||
DEFINE_PRED_TYPEDESCRIPTION_PTR
|
||||
|
||||
DEFINE_PRED_FIELD
|
||||
DEFINE_PRED_ARRAY
|
||||
DEFINE_FIELD_NAME
|
||||
DEFINE_PRED_FIELD_TOL
|
||||
DEFINE_PRED_ARRAY_TOL
|
||||
DEFINE_FIELD_NAME_TOL
|
||||
|
||||
DAMAGE_NO
|
||||
DAMAGE_YES
|
||||
DAMAGE_EVENTS_ONLY
|
||||
DAMAGE_AIM
|
||||
|
||||
MSG_BROADCAST
|
||||
MSG_ONE
|
||||
MSG_ALL
|
||||
MSG_INIT
|
||||
MSG_PVS
|
||||
MSG_PAS
|
||||
MSG_PVS_R
|
||||
MSG_PAS_R
|
||||
MSG_ONE_UNRELIABLE
|
||||
MSG_ENTITY
|
||||
MSG_ENTITY_R
|
||||
|
||||
VOL_NORM
|
||||
|
||||
FIELD_VOID
|
||||
FIELD_FLOAT
|
||||
FIELD_STRING
|
||||
FIELD_VECTOR
|
||||
FIELD_QUATERNION
|
||||
FIELD_INTEGER
|
||||
FIELD_BOOLEAN
|
||||
FIELD_SHORT
|
||||
FIELD_CHARACTER
|
||||
FIELD_COLOR32
|
||||
FIELD_EMBEDDED
|
||||
FIELD_CUSTOM
|
||||
FIELD_CLASSPTR
|
||||
FIELD_EHANDLE
|
||||
FIELD_EDICT
|
||||
FIELD_POSITION_VECTOR
|
||||
FIELD_TIME
|
||||
FIELD_TICK
|
||||
FIELD_MODELNAME
|
||||
FIELD_SOUNDNAME
|
||||
FIELD_INPUT
|
||||
FIELD_FUNCTION
|
||||
FIELD_VMATRIX
|
||||
FIELD_VMATRIX_WORLDSPACE
|
||||
FIELD_MATRIX3X4_WORLDSPACE
|
||||
FIELD_INTERVAL
|
||||
|
||||
INIT_CUSTOM_AI
|
||||
IMPLEMENT_CUSTOM_AI
|
||||
LINK_ENTITY_TO_CLASS
|
||||
|
||||
ADD_CUSTOM_SCHEDULE
|
||||
ADD_CUSTOM_TASK
|
||||
ADD_CUSTOM_CONDITION
|
||||
ADD_CUSTOM_ACTIVITY
|
||||
ADD_CUSTOM_SQUADSLOT
|
||||
ADD_CUSTOM_INTERACTION
|
||||
|
||||
SOLID_NOT
|
||||
SOLID_TRIGGER
|
||||
SOLID_BBOX
|
||||
SOLID_SLIDEBOX
|
||||
SOLID_BSP
|
||||
SOLID_VOLUME_CONTENTS
|
||||
SOLID_VPHYSICS
|
||||
SOLID_NONE
|
||||
SOLID_OBB
|
||||
SOLID_OBB_YAW
|
||||
SOLID_CUSTOM
|
||||
|
||||
MOVETYPE_NONE
|
||||
MOVETYPE_PARENT
|
||||
MOVETYPE_ISOMETRIC
|
||||
MOVETYPE_WALK
|
||||
MOVETYPE_STEP
|
||||
MOVETYPE_FLY
|
||||
MOVETYPE_TOSS
|
||||
MOVETYPE_PUSH
|
||||
MOVETYPE_NOCLIP
|
||||
MOVETYPE_FLYMISSILE
|
||||
MOVETYPE_BOUNCE
|
||||
MOVETYPE_BOUNCEMISSILE
|
||||
MOVETYPE_FOLLOW
|
||||
MOVETYPE_VPHYSICS
|
||||
MOVETYPE_LADDER
|
||||
MOVETYPE_FLYGRAVITY
|
||||
MOVETYPE_OBSERVER
|
||||
MOVETYPE_CUSTOM
|
||||
|
||||
MOVECOLLIDE_DEFAULT
|
||||
MOVECOLLIDE_FLY_BOUNCE
|
||||
MOVECOLLIDE_FLY_CUSTOM
|
||||
MOVECOLLIDE_FLY_SLIDE
|
||||
|
||||
FSOLID_CUSTOMRAYTEST
|
||||
FSOLID_CUSTOMBOXTEST
|
||||
FSOLID_NOT_SOLID
|
||||
FSOLID_TRIGGER
|
||||
FSOLID_NOT_STANDABLE
|
||||
FSOLID_VOLUME_CONTENTS
|
||||
FSOLID_FORCE_WORLD_ALIGNED
|
||||
FSOLID_USE_TRIGGER_BOUNDS
|
||||
|
||||
LIFE_ALIVE
|
||||
LIFE_DYING
|
||||
LIFE_DEAD
|
||||
LIFE_RESPAWNABLE
|
||||
LIFE_DISCARDBODY
|
||||
|
||||
EF_BONEMERGE
|
||||
EF_MUZZLEFLASH
|
||||
EF_BRIGHTLIGHT
|
||||
EF_DIMLIGHT
|
||||
EF_NOINTERP
|
||||
EF_NOSHADOW
|
||||
EF_NODRAW
|
||||
EF_NORECEIVESHADOW
|
||||
|
||||
|
||||
CHAN_AUTO
|
||||
CHAN_WEAPON
|
||||
CHAN_VOICE
|
||||
CHAN_ITEM
|
||||
CHAN_BODY
|
||||
CHAN_STREAM
|
||||
CHAN_STATIC
|
||||
CHAN_VOICE_BASE
|
||||
CHAN_USER_BASE
|
||||
|
||||
ATTN_NONE
|
||||
ATTN_NORM
|
||||
ATTN_IDLE
|
||||
ATTN_STATIC
|
||||
ATTN_GUNFIRE
|
||||
|
||||
PITCH_NORM
|
||||
PITCH_LOW
|
||||
PITCH_HIGH
|
||||
|
||||
COLLISION_GROUP_NONE
|
||||
COLLISION_GROUP_DEBRIS
|
||||
COLLISION_GROUP_INTERACTIVE_DEBRIS
|
||||
COLLISION_GROUP_INTERACTIVE
|
||||
COLLISION_GROUP_PLAYER
|
||||
COLLISION_GROUP_BREAKABLE_GLASS
|
||||
COLLISION_GROUP_VEHICLE
|
||||
COLLISION_GROUP_PLAYER_MOVEMENT
|
||||
COLLISION_GROUP_NPC
|
||||
COLLISION_GROUP_IN_VEHICLE
|
||||
COLLISION_GROUP_WEAPON
|
||||
COLLISION_GROUP_VEHICLE_CLIP
|
||||
COLLISION_GROUP_PROJECTILE
|
||||
|
||||
FL_ONGROUND
|
||||
FL_DUCKING
|
||||
FL_WATERJUMP
|
||||
FL_ONTRAIN
|
||||
FL_INRAIN
|
||||
FL_FROZEN
|
||||
FL_ATCONTROLS
|
||||
FL_CLIENT
|
||||
FL_FAKECLIENT
|
||||
FL_INWATER
|
||||
FL_FLY
|
||||
FL_SWIM
|
||||
FL_CONVEYOR
|
||||
FL_NPC
|
||||
FL_GODMODE
|
||||
FL_NOTARGET
|
||||
FL_AIMTARGET
|
||||
FL_PARTIALGROUND
|
||||
FL_STATICPROP
|
||||
FL_GRAPHED
|
||||
FL_GRENADE
|
||||
FL_STEPMOVEMENT
|
||||
FL_DONTTOUCH
|
||||
FL_BASEVELOCITY
|
||||
FL_WORLDBRUSH
|
||||
FL_OBJECT
|
||||
FL_KILLME
|
||||
|
||||
|
||||
HIDEHUD_WEAPONSELECTION
|
||||
HIDEHUD_FLASHLIGHT
|
||||
HIDEHUD_ALL
|
||||
HIDEHUD_HEALTH
|
||||
HIDEHUD_PLAYERDEAD
|
||||
HIDEHUD_NEEDSUIT
|
||||
HIDEHUD_MISCSTATUS
|
||||
HIDEHUD_CHAT
|
||||
HIDEHUD_CROSSHAIR
|
||||
HIDEHUD_VEHICLE_CROSSHAIR
|
||||
|
||||
GROUNDLINK
|
||||
TOUCHLINK
|
||||
STEPSIMULATION
|
||||
Reference in New Issue
Block a user