THIPX.BAK 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. enablemapdirect3216 = true;
  19. typedef int BOOL;
  20. typedef int INT;
  21. typedef struct tag_network_number {
  22. unsigned char bytes[4];
  23. }network_number;
  24. typedef struct tag_physical_node {
  25. unsigned char bytes[6];
  26. }physical_node;
  27. typedef struct tag_send_address_struct{
  28. unsigned char address[6];
  29. }send_address_struct;
  30. typedef struct tag_send_buffer_struct{
  31. unsigned char buffer[512];
  32. }send_buffer_struct;
  33. typedef struct tag_get_buffer_struct{
  34. unsigned char get_buffer[1024];
  35. }get_buffer_struct;
  36. BOOL _IPX_Initialise(INT)
  37. {
  38. }
  39. INT _IPX_Open_Socket95(INT)
  40. {
  41. }
  42. INT _IPX_Close_Socket95(INT)
  43. {
  44. }
  45. INT _IPX_Get_Connection_Number95(void)
  46. {
  47. }
  48. INT _IPX_Send_Packet95(send_address_struct *address, send_buffer_struct *buffer, INT, network_number *net, physical_node* node)
  49. {
  50. address = input;
  51. buffer = input;
  52. net = input;
  53. node = input;
  54. }
  55. INT _IPX_Broadcast_Packet95(send_buffer_struct *buffer, INT)
  56. {
  57. buffer = input;
  58. }
  59. INT _IPX_Get_Local_Target95(network_number *netnum, physical_node *node, short, send_address_struct *address)
  60. {
  61. netnum = input;
  62. node = input;
  63. address = output;
  64. }
  65. INT _IPX_Start_Listening95(void)
  66. {
  67. }
  68. INT _IPX_Shut_Down95(void)
  69. {
  70. }
  71. INT _IPX_Get_Outstanding_Buffer95(get_buffer_struct *buffer)
  72. {
  73. buffer = output;
  74. }