engine.txt 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. # ICvar
  2. # XXX: const and non-const entries might be flipped here on Windows, not 100%
  3. # sure. kind of just choosing not to care thusfar, as it still works the same!
  4. vtidx_AllocateDLLIdentifier 5
  5. Portal2 8
  6. vtidx_RegisterConCommand 6
  7. Portal2 9
  8. vtidx_UnregisterConCommands 8
  9. Portal2 11
  10. # unused:
  11. #vtidx_FindCommandBase 10
  12. # Portal2 13
  13. vtidx_FindVar 12
  14. Portal2 15
  15. vtidx_FindCommand 14
  16. Portal2 17
  17. vtidx_CallGlobalChangeCallbacks 20
  18. L4Dx 18
  19. Portal2 21
  20. vtidx_ConsoleColorPrintf
  21. OrangeBoxbased 23
  22. L4Dx 21
  23. Portal2 24
  24. # CDemoRecorder
  25. vtidx_StartRecording 2
  26. vtidx_SetSignonState 3
  27. vtidx_StopRecording 7
  28. vtidx_RecordPacket 11
  29. # VEngineClient
  30. vtidx_IsInGame
  31. Client015 26
  32. Client014
  33. L4D2 28
  34. 2013 26
  35. Client013 26
  36. L4D1 27
  37. # TODO(compat): unconfirmed, and OE support isn't really a thing yet anyway
  38. #Client012 28
  39. vtidx_GetGameDirectory
  40. Client015 35 # current Portal 2
  41. Client014
  42. L4D2 73 # YES IT'S SEVENTY THREE SOMEHOW ALL OF A SUDDEN.
  43. 2013 35
  44. Client013 35
  45. L4Dx 36 # AND THEY ACTUALLY CHANGED IT BACK LATER! (on 2.0.4.1)
  46. Client012 37 # dmomm, ep1, ...
  47. vtidx_GetEngineBuildNumber
  48. Client013
  49. L4D 99
  50. L4D1_1022plus 97
  51. Portal2 100
  52. Client014
  53. L4D2 31
  54. 2013 98
  55. Portal1_3420 91
  56. # TODO(compat): we'll need these... but need to detect first
  57. #Portal1_5135 102
  58. #L4D1_1005 99
  59. #L4D1_Steam 97
  60. vtidx_ManageAddonsForActiveSession
  61. L4D2_2125plus 179
  62. # IGameUIFuncs
  63. vtidx_GetDesktopResolution 5
  64. # IGame/CGame
  65. vtidx_DispatchAllStoredGameMessages 16
  66. # VEngineServer
  67. vtidx_PEntityOfEntIndex
  68. OrangeBoxbased 19 # probably OE too but ??
  69. #vtidx_ServerCommand # unused currently
  70. # OrangeBoxbased 36
  71. vtidx_ClientPrintf
  72. L4D1 45 # same in other engines, probably, but we don't need those for now
  73. L4D2 46
  74. sz_edict 20
  75. L4Dbased 16
  76. # vgui::Panel
  77. vtidx_SetPaintEnabled 67
  78. Client013
  79. L4D1 68
  80. L4D2 71
  81. L4D2_2125plus 72
  82. Client014
  83. L4D2 70
  84. vtidx_Paint 123
  85. Client014
  86. L4D2 126 # 2000
  87. Client013
  88. L4D2 127 # 2045
  89. L4D2_2125plus 128
  90. # SendProp
  91. sz_SendProp
  92. # wrapping all these in 005 for right now.
  93. # will need at least 009 as well at some point!
  94. SrvDLL005
  95. OrangeBox 76
  96. L4D1 80
  97. L4D2 84
  98. Portal2 84
  99. #2013 80 # TODO(compat): not sure about 2013/009 yet
  100. off_SP_type 8
  101. off_SP_varname
  102. SrvDLL005
  103. OrangeBox 44
  104. #L4Dbased 48 # TODO(compat): haven't tested Survivors
  105. # for now do this instead:
  106. L4D 48
  107. Portal2 48
  108. #2013 48 # TODO(compat): not sure about 2013/009 yet pt2
  109. off_SP_subtable
  110. SrvDLL005
  111. OrangeBox 64
  112. L4D1 68
  113. L4D2 72
  114. Portal2 72
  115. #2013 68 # TODO(compat): not sure about 2013/009 yet pt3
  116. off_SP_offset
  117. SrvDLL005
  118. OrangeBox 68
  119. L4D1 72
  120. L4D2 76
  121. Portal2 76
  122. #2013 72 # TODO(compat): not sure about 2013/009 yet pt4
  123. DPT_DataTable 5 # constant value from SendPropType enum (XXX: name okay???)
  124. L4Dbased 6
  125. # CBaseServer/CGameServer
  126. vtidx_GetSpawnCount
  127. #OrangeBox 13 + NVDTOR # not used right now anyway
  128. L4D1 13 + NVDTOR
  129. L4D2 14 + NVDTOR # GetTimescale() added, pushed it down
  130. # rest untested, add later if/when actually needed for something
  131. # IEngineVGuiInternal/CEngineVGui
  132. vtidx_GetPanel NVDTOR
  133. # note: actual name of this function is Connect() but that's too generic
  134. vtidx_VGuiConnect 3 + NVDTOR
  135. L4Dbased 4 + NVDTOR # ActivateGameUI added
  136. L4DS 5 + NVDTOR # some other crap added, god knows
  137. vtidx_VGuiIsInitialized 6 + NVDTOR # this is also just called IsInitialized()
  138. L4Dbased 7 + NVDTOR
  139. L4DS 8 + NVDTOR
  140. # CDedicatedServerAPI
  141. vtidx_RunFrame 7
  142. # IEngine
  143. vtidx_Frame 4 + NVDTOR
  144. # CEngineTool
  145. vtidx_GetRealTime 34 # HL2, P1, L4D1, BMS
  146. # OE, DMoMM 24
  147. L4D2 35
  148. Portal2 36
  149. vtidx_HostFrameTime 35
  150. # OE, DMoMM 25
  151. L4D2 38
  152. Portal2 39
  153. # IVDebugOverlay
  154. vtidx_AddLineOverlay 3
  155. vtidx_AddBoxOverlay2
  156. L4D1 19
  157. L4D2 20
  158. # vi: sw=4 ts=4 noet tw=80 cc=80