engine.txt 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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. L4D2 99
  50. Portal2 100
  51. Client014
  52. L4D2 31
  53. 2013 98
  54. Portal1_3420 91
  55. # TODO(compat): we'll need these... but need to detect first
  56. #Portal1_5135 102
  57. #L4D1_1005 99
  58. #L4D1_Steam 97
  59. # IGameUIFuncs
  60. vtidx_GetDesktopResolution 5
  61. # IGame/CGame
  62. vtidx_DispatchAllStoredGameMessages 16
  63. # VEngineServer
  64. vtidx_PEntityOfEntIndex
  65. OrangeBoxbased 19 # probably OE too but ??
  66. #vtidx_ServerCommand # unused currently
  67. # OrangeBoxbased 36
  68. vtidx_ClientPrintf
  69. L4D1 45 # same in other engines, probably, but we don't need those for now
  70. L4D2 46
  71. sz_edict 20
  72. L4Dbased 16
  73. # vgui::Panel
  74. vtidx_SetPaintEnabled 67
  75. Client013
  76. L4D1 68
  77. L4D2 71
  78. L4D2_2147plus 72
  79. Client014
  80. L4D2 70
  81. vtidx_Paint 123
  82. Client014
  83. L4D2 126 # 2000
  84. Client013
  85. L4D2 127 # 2045
  86. L4D2_2147plus 128
  87. # SendProp
  88. sz_SendProp
  89. # wrapping all these in 005 for right now.
  90. # will need at least 009 as well at some point!
  91. SrvDLL005
  92. OrangeBox 76
  93. L4D1 80
  94. L4D2 84
  95. Portal2 84
  96. #2013 80 # TODO(compat): not sure about 2013/009 yet
  97. off_SP_type 8
  98. off_SP_varname
  99. SrvDLL005
  100. OrangeBox 44
  101. #L4Dbased 48 # TODO(compat): haven't tested Survivors
  102. # for now do this instead:
  103. L4D 48
  104. Portal2 48
  105. #2013 48 # TODO(compat): not sure about 2013/009 yet pt2
  106. off_SP_subtable
  107. SrvDLL005
  108. OrangeBox 64
  109. L4D1 68
  110. L4D2 72
  111. Portal2 72
  112. #2013 68 # TODO(compat): not sure about 2013/009 yet pt3
  113. off_SP_offset
  114. SrvDLL005
  115. OrangeBox 68
  116. L4D1 72
  117. L4D2 76
  118. Portal2 76
  119. #2013 72 # TODO(compat): not sure about 2013/009 yet pt4
  120. DPT_DataTable 5 # constant value from SendPropType enum (XXX: name okay???)
  121. L4Dbased 6
  122. # CBaseServer/CGameServer
  123. vtidx_GetSpawnCount
  124. #OrangeBox 13 + NVDTOR # not used right now anyway
  125. L4D1 13 + NVDTOR
  126. L4D2 14 + NVDTOR # GetTimescale() added, pushed it down
  127. # rest untested, add later if/when actually needed for something
  128. # IEngineVGuiInternal/CEngineVGui
  129. vtidx_GetPanel NVDTOR
  130. # note: actual name of this function is Connect() but that's too generic
  131. vtidx_VGuiConnect 3 + NVDTOR
  132. L4Dbased 4 + NVDTOR # ActivateGameUI added
  133. L4DS 5 + NVDTOR # some other crap added, god knows
  134. vtidx_VGuiIsInitialized 6 + NVDTOR # this is also just called IsInitialized()
  135. L4Dbased 7 + NVDTOR
  136. L4DS 8 + NVDTOR
  137. # CDedicatedServerAPI
  138. vtidx_RunFrame 7
  139. # IEngine
  140. vtidx_Frame 4 + NVDTOR
  141. # CEngineTool
  142. vtidx_GetRealTime 34 # HL2, P1, L4D1, BMS
  143. # OE, DMoMM 24
  144. L4D2 35
  145. Portal2 36
  146. vtidx_HostFrameTime 35
  147. # OE, DMoMM 25
  148. L4D2 38
  149. Portal2 39
  150. # IVDebugOverlay
  151. vtidx_AddLineOverlay 3
  152. vtidx_AddBoxOverlay2
  153. L4D1 19
  154. L4D2 20
  155. # vi: sw=4 ts=4 noet tw=80 cc=80