1
0

y_svar.inc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. #if defined _INC_y_svar
  2. #endinput
  3. #endif
  4. #define _INC_y_svar
  5. /**
  6. * <library name="y_svar">
  7. * <section>
  8. * Description
  9. * </section>
  10. * Declares data to be automatically saved and loaded for the whole server.
  11. * <section>
  12. * Version
  13. * </section>
  14. * 0.1
  15. * </library>
  16. *//** *//*
  17. Legal:
  18. Version: MPL 1.1
  19. The contents of this file are subject to the Mozilla Public License Version
  20. 1.1 the "License"; you may not use this file except in compliance with
  21. the License. You may obtain a copy of the License at
  22. http://www.mozilla.org/MPL/
  23. Software distributed under the License is distributed on an "AS IS" basis,
  24. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  25. for the specific language governing rights and limitations under the
  26. License.
  27. The Original Code is the YSI framework.
  28. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  29. Portions created by the Initial Developer are Copyright C 2011
  30. the Initial Developer. All Rights Reserved.
  31. Contributors:
  32. Y_Less
  33. koolk
  34. JoeBullet/Google63
  35. g_aSlice/Slice
  36. Misiur
  37. samphunter
  38. tianmeta
  39. maddinat0r
  40. spacemud
  41. Crayder
  42. Dayvison
  43. Ahmad45123
  44. Zeex
  45. irinel1996
  46. Yiin-
  47. Chaprnks
  48. Konstantinos
  49. Masterchen09
  50. Southclaws
  51. PatchwerkQWER
  52. m0k1
  53. paulommu
  54. udan111
  55. Thanks:
  56. JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
  57. ZeeX - Very productive conversations.
  58. koolk - IsPlayerinAreaEx code.
  59. TheAlpha - Danish translation.
  60. breadfish - German translation.
  61. Fireburn - Dutch translation.
  62. yom - French translation.
  63. 50p - Polish translation.
  64. Zamaroht - Spanish translation.
  65. Los - Portuguese translation.
  66. Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes for
  67. me to strive to better.
  68. Pixels^ - Running XScripters where the idea was born.
  69. Matite - Pestering me to release it and using it.
  70. Very special thanks to:
  71. Thiadmer - PAWN, whose limits continue to amaze me!
  72. Kye/Kalcor - SA:MP.
  73. SA:MP Team past, present and future - SA:MP.
  74. Optional plugins:
  75. Gamer_Z - GPS.
  76. Incognito - Streamer.
  77. Me - sscanf2, fixes2, Whirlpool.
  78. */
  79. // y_uvars
  80. #if !defined MODE_NAME
  81. #error Please define "MODE_NAME" before including y_svar.
  82. #endif
  83. #if defined SVAR_USE_MYSQL
  84. #if _YSI_PLUGINS_MYSQL == 7
  85. #include "y_svar/blueg7"
  86. #elseif _YSI_PLUGINS_MYSQL == 6
  87. #include "y_svar/blueg6"
  88. #elseif _YSI_PLUGINS_MYSQL == 7
  89. #include "y_svar/stricken"
  90. #else
  91. #error No MySQL plugin found.
  92. #endif
  93. #elseif defined SVAR_USE_SQLITE
  94. #include "y_svar/sqlite"
  95. #else
  96. #include "..\YSI_Internal\y_version"
  97. #include "..\YSI_Storage\y_amx"
  98. #include "..\YSI_Core\y_debug"
  99. #include "..\YSI_Core\y_utils"
  100. #include "..\YSI_Storage\y_ini"
  101. #include "..\YSI_Coding\y_hooks"
  102. #include "..\YSI_Internal\y_stripnumbers"
  103. #include "y_svar/ini"
  104. #endif
  105. #if defined YSI_TESTS
  106. #include "..\YSI_Core\y_testing"
  107. #include "y_svar/tests"
  108. #endif