Counter Strike : Global Offensive Source Code
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.

46 lines
831 B

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //===========================================================================//
  8. #ifndef CONSOLE_H
  9. #define CONSOLE_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #include <vgui/vgui.h>
  14. namespace vgui
  15. {
  16. class Panel;
  17. }
  18. typedef unsigned char byte;
  19. //
  20. // console
  21. //
  22. extern bool con_initialized;
  23. void Con_Init (void);
  24. void Con_Shutdown (void); // Free overlay line buffer.
  25. void Con_ClearNotify (void);
  26. bool Con_IsVisible();
  27. /*
  28. Read the console log from disk and return it in 'buf'. Buf should come
  29. in as an empty TEXT_BUFFER CUtlBuffer.
  30. Returns true if the log file is successfully read.
  31. */
  32. class CUtlBuffer;
  33. bool GetConsoleLogFileData( CUtlBuffer& buf );
  34. vgui::Panel* Con_GetConsolePanel();
  35. #endif // CONSOLE_H