home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #6 / amigaacscoverdisc1998-061998.iso / games / descent / source / main / nocomlib.c < prev    next >
C/C++ Source or Header  |  1998-06-08  |  2KB  |  142 lines

  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.  
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
  12. */
  13.  
  14. //These are do nothing functions to allow the code to compile without the comm functions -KRB
  15.  
  16. #include "nocomlib.h"
  17.  
  18. PORT * PortOpenGreenleafFast(int port, int baud,char parity,int databits, int stopbits)
  19. {
  20.     return 0;
  21.  
  22. }
  23.  
  24. void SetDtr(PORT *port,int state)
  25. {
  26.     return;
  27. }
  28.  
  29. void SetRts(PORT *port,int state)
  30. {
  31.     return;
  32. }
  33.  
  34. void UseRtsCts(PORT *port,int state)
  35. {
  36.     return;
  37. }
  38.  
  39. void WriteChar(PORT *port,char ch)
  40. {
  41.     return;
  42. }
  43.  
  44. void ClearRXBuffer(PORT *port)
  45. {
  46.     return;
  47. }
  48.  
  49. void ReadBufferTimed(PORT *port, char *buf,int a, int b)
  50. {
  51.     return;
  52. }
  53.  
  54. int Change8259Priority(int a)
  55. {
  56.     return 0;
  57. }
  58.  
  59. int FastSetPortHardware(PORT *port,int IRQ, int baseaddr)
  60. {
  61.     return 0;
  62. }
  63. void FastSet16550TriggerLevel(int a)
  64. {
  65.     return;
  66. }
  67. void FastSet16550UseTXFifos(int a)
  68. {
  69.     return;
  70. }
  71.  
  72.  
  73. FastSavePortParameters(PORT *port)
  74. {
  75.     return;
  76. }
  77. int PortClose(PORT *port)
  78. {
  79.     return 0;
  80. }
  81. void FastRestorePortParameters(int num)
  82. {
  83.     return;
  84. }
  85. int GetCd(PORT *port)
  86. {
  87.     return 0;
  88. }
  89. int ReadCharTimed(PORT *port, int blah)
  90. {
  91.     return 0;
  92. }
  93. int ReadChar(PORT *port)
  94. {
  95.     return 0;
  96. }
  97.  
  98. void ClearLineStatus(PORT *port)
  99. {
  100.     return;
  101. }
  102. int HMInputLine(PORT *port, int a, char *buf, int b)
  103. {
  104.     return 0;
  105. }
  106. void HMWaitForOK(int a, int b)
  107. {
  108.     return;
  109. }
  110. HMSendString(PORT *port, char *msg)
  111. {
  112.     return;
  113. }
  114. void HMReset(PORT *port)
  115. {    
  116.     return;
  117. }
  118. void HMDial(PORT *port, char *pPhoneNum)
  119. {
  120.     return;
  121. }
  122. void HMSendStringNoWait(PORT *port, char *pbuf,int a)
  123. {
  124.     return;
  125. }
  126. void HMAnswer(PORT *port)
  127. {
  128.     return;
  129. }
  130. void ClearTXBuffer(PORT *port)
  131. {
  132.     return;
  133. }
  134. void WriteBuffer(PORT *port, char *pbuff, int len)
  135. {
  136.     return;
  137. }
  138.  
  139.  
  140.  
  141.  
  142.