Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
1.9 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: XBox VXConsole Common. Used for public remote access items.
  4. //
  5. //=============================================================================
  6. #pragma once
  7. // sent during connection, used to explicitly guarantee a binary compatibility
  8. #define VXCONSOLE_PROTOCOL_VERSION 103
  9. typedef struct
  10. {
  11. char labelString[128];
  12. COLORREF color;
  13. } xrProfile_t;
  14. typedef struct
  15. {
  16. char messageString[256];
  17. float time;
  18. float deltaTime;
  19. int memory;
  20. int deltaMemory;
  21. } xrTimeStamp_t;
  22. typedef struct
  23. {
  24. char nameString[256];
  25. char shaderString[256];
  26. int refCount;
  27. } xrMaterial_t;
  28. typedef struct
  29. {
  30. char nameString[256];
  31. char groupString[64];
  32. char formatString[64];
  33. int size;
  34. int width;
  35. int height;
  36. int depth;
  37. int numLevels;
  38. int binds;
  39. int refCount;
  40. int sRGB;
  41. int edram;
  42. int procedural;
  43. int fallback;
  44. int final;
  45. int failed;
  46. } xrTexture_t;
  47. typedef struct
  48. {
  49. char nameString[256];
  50. char formatString[64];
  51. int rate;
  52. int bits;
  53. int channels;
  54. int looped;
  55. int dataSize;
  56. int numSamples;
  57. int streamed;
  58. } xrSound_t;
  59. typedef struct
  60. {
  61. char nameString[128];
  62. char helpString[256];
  63. } xrCommand_t;
  64. typedef struct
  65. {
  66. float position[3];
  67. float angle[3];
  68. char mapPath[256];
  69. char savePath[256];
  70. int build;
  71. int skill;
  72. } xrMapInfo_t;
  73. // Types of action taken in response to an rc_Assert() message
  74. enum AssertAction_t
  75. {
  76. ASSERT_ACTION_BREAK = 0, // Break on this Assert
  77. ASSERT_ACTION_IGNORE_THIS, // Ignore this Assert once
  78. ASSERT_ACTION_IGNORE_ALWAYS, // Ignore this Assert from now on
  79. ASSERT_ACTION_IGNORE_FILE, // Ignore all Asserts from this file from now on
  80. ASSERT_ACTION_IGNORE_ALL, // Ignore all Asserts from now on
  81. ASSERT_ACTION_OTHER // A more complex response requiring additional data (e.g. "ignore this Assert 5 times")
  82. };