iscriplib.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /*
  2. ===========================================================================
  3. Copyright (C) 1999-2005 Id Software, Inc.
  4. This file is part of Quake III Arena source code.
  5. Quake III Arena source code is free software; you can redistribute it
  6. and/or modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the License,
  8. or (at your option) any later version.
  9. Quake III Arena source code is distributed in the hope that it will be
  10. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Foobar; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. ===========================================================================
  17. */
  18. //-----------------------------------------------------------------------------
  19. //
  20. // $LogFile$
  21. // $Revision: 1.1.1.4 $
  22. // $Author: ttimo $
  23. // $Date: 2000/01/18 00:17:12 $
  24. // $Log: iscriplib.h,v $
  25. // Revision 1.1.1.4 2000/01/18 00:17:12 ttimo
  26. // merging in for RC
  27. //
  28. // Revision 1.3 2000/01/17 23:53:44 TBesset
  29. // ready for merge in sourceforge (RC candidate)
  30. //
  31. // Revision 1.2 2000/01/07 16:40:13 TBesset
  32. // merged from BSP frontend
  33. //
  34. // Revision 1.1.1.3 1999/12/29 18:31:27 TBesset
  35. // Q3Radiant public version
  36. //
  37. // Revision 1.1.1.1.2.1 1999/12/29 21:39:45 TBesset
  38. // updated to update3 from Robert
  39. //
  40. // Revision 1.1.1.3 1999/12/29 18:31:27 TBesset
  41. // Q3Radiant public version
  42. // Revision 1.1.1.3 1999/12/29 18:31:27 TBesset
  43. // Q3Radiant public version
  44. //
  45. // Revision 1.2 1999/11/22 17:46:48 Timo & Christine
  46. // merged EARadiant into the main tree
  47. // bug fixes for Q3Plugin / EAPlugin
  48. // export for Robert
  49. //
  50. // Revision 1.1.2.2 1999/11/14 16:26:14 Timo & Christine
  51. // first beta of the ritualmap surface plugin
  52. //
  53. // Revision 1.1.2.1 1999/10/08 16:28:15 Timo & Christine
  54. // started plugin extensions for EA features support in Q3Radiant
  55. // MEAN files plugin, and Surface Properties plugin
  56. //
  57. //
  58. // DESCRIPTION:
  59. // all purpose scriplib interface for Q3Radiant plugins (cf. parse.h)
  60. //
  61. #ifndef __ISCRIPLIB_H_
  62. #define __ISCRIPLIB_H_
  63. // {4B115280-95FC-11d3-8EF3-0000E8E8657B}
  64. static const GUID QERScripLibTable_GUID =
  65. { 0x4b115280, 0x95fc, 0x11d3, { 0x8e, 0xf3, 0x0, 0x0, 0xe8, 0xe8, 0x65, 0x7b } };
  66. typedef qboolean (WINAPI* PFN_GETTOKEN) (qboolean crossline);
  67. typedef void (WINAPI* PFN_UNGETTOKEN) ();
  68. // only used to retrieve &token
  69. typedef char* (WINAPI* PFN_TOKEN) ();
  70. struct _QERScripLibTable
  71. {
  72. float m_fVersion;
  73. int m_nSize;
  74. PFN_GETTOKEN m_pfnGetToken;
  75. PFN_UNGETTOKEN m_pfnUnGetToken;
  76. PFN_TOKEN m_pfnToken;
  77. };
  78. #endif