MONO.H 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. ** Command & Conquer Red Alert(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. /***************************************************************************
  19. ** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S **
  20. ***************************************************************************
  21. * *
  22. * Project Name : Mono Sub-system *
  23. * *
  24. * File Name : MONO.H *
  25. * *
  26. * Programmer : Joe Bostic *
  27. * 32Bit Programmer : Jeff Wilson *
  28. * *
  29. * Start Date : March 28, 1994 *
  30. * *
  31. * Last Update : March 28, 1994 [] *
  32. * *
  33. *-------------------------------------------------------------------------*
  34. * Functions: *
  35. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  36. #ifndef MONO_H
  37. #define MONO_H
  38. // C++ Routines
  39. //==================================================================
  40. // Mono Screen routines
  41. //==================================================================
  42. int Initialize_Mono_Screen ( void );
  43. // C Routines
  44. //==================================================================
  45. #ifdef __cplusplus
  46. extern "C" {
  47. #endif
  48. // Mono Screen routines
  49. //===================================================================
  50. extern unsigned MonoScreen;
  51. extern unsigned MonoEnabled;
  52. extern void Mono_Set_Cursor(int x, int y);
  53. extern void Mono_Clear_Screen(void);
  54. extern void Mono_Scroll(int lines);
  55. extern void Mono_Put_Char(char character, int attrib=2);
  56. extern void Mono_Draw_Rect(int x, int y, int w, int h, int attrib=2, int thick=0);
  57. extern void Mono_Text_Print(void const *text, int x, int y, int attrib=2);
  58. extern void Mono_Print(void const *text);
  59. extern void Mono_View_Page(int page);
  60. extern int Mono_Printf(char const *string, ...);
  61. #ifdef __cplusplus
  62. }
  63. #endif
  64. #endif