engine.kv 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // = engine library =
  2. // CDemoRecorder
  3. vtidx_SetSignonState 3
  4. vtidx_StopRecording 7
  5. vtidx_RecordPacket 11
  6. // VEngineClient
  7. vtidx_GetGameDirectory {
  8. Client015 35 // current portal 2
  9. Client014 {
  10. L4D2 73 // YES IT'S SEVENTY THREE ALL OF A SUDDEN.
  11. 2013 35
  12. }
  13. Client013 {
  14. L4Dx 36 // AND THEN THEY CHANGED IT BACK LATER!
  15. default 35 // <- most things have this!
  16. }
  17. Client012 37 // dmomm, ep1, ...
  18. }
  19. vtidx_GetEngineBuildNumber { L4D2 99 }
  20. vtidx_PEntityOfEntIndex { OrangeBox 19 } // probably OE too but???
  21. sz_edict {
  22. default 20
  23. L4Dbased 16 // see engineapi.h comment
  24. }
  25. // SendProp
  26. sz_SendProp {
  27. // wrapping all these in 005 for right now.
  28. // will need at least 009 as well at some point!
  29. SrvDLL005 {
  30. OrangeBox 76
  31. L4D1 80
  32. L4D2 84
  33. Portal2 84
  34. }
  35. //2013 80 // TODO(compat): not sure about 2013/009 yet
  36. }
  37. off_SP_varname {
  38. SrvDLL005 {
  39. OrangeBox 44
  40. //L4Dbased 48 // TODO(compat): haven't tested Survivors
  41. // for now do this instead:
  42. L4D 48
  43. Portal2 48
  44. }
  45. //2013 48 // TODO(compat): not sure about 2013/009 yet pt2
  46. }
  47. off_SP_offset {
  48. SrvDLL005 {
  49. OrangeBox 68
  50. L4D1 72
  51. L4D2 76
  52. Portal2 76
  53. }
  54. //2013 72 // TODO(compat): not sure about 2013/009 yet pt3
  55. }
  56. // vi: sw=4 ts=4 noet tw=80 cc=80