source.bmx 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. ' Copyright (c) 2015-2019 Bruce A Henderson
  2. ' All rights reserved.
  3. '
  4. ' Redistribution and use in source and binary forms, with or without
  5. ' modification, are permitted provided that the following conditions are met:
  6. '
  7. ' * Redistributions of source code must retain the above copyright notice, this
  8. ' list of conditions and the following disclaimer.
  9. '
  10. ' * Redistributions in binary form must reproduce the above copyright notice,
  11. ' this list of conditions and the following disclaimer in the documentation
  12. ' and/or other materials provided with the distribution.
  13. '
  14. ' THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  15. ' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  16. ' IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  17. ' DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  18. ' FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  19. ' DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  20. ' SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  21. ' CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  22. ' OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  23. ' OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  24. '
  25. SuperStrict
  26. Import "../bimg.mod/bimg/include/*.h"
  27. Import "../bimg.mod/bimg/3rdparty/*.h"
  28. Import "../bimg.mod/bimg/3rdparty/iqa/include/*.h"
  29. Import "../bimg.mod/bimg/3rdparty/libsquish/*.h"
  30. Import "../bimg.mod/bimg/3rdparty/pvrtc/*.h"
  31. Import "../bimg.mod/bimg/3rdparty/etdaa3/*.h"
  32. Import "../bimg.mod/bimg/3rdparty/etc1/*.h"
  33. Import "../bimg.mod/bimg/3rdparty/etc2/*.h"
  34. Import "../bimg.mod/bimg/3rdparty/nvtt/*.h"
  35. Import "../bimg.mod/bimg/3rdparty/astc/*.h"
  36. Import "../bx.mod/bx/include/*.h"
  37. Import "../bxstream.mod/*.h"
  38. ?macos
  39. Import "../bx.mod/bx/include/compat/osx/*.h"
  40. ?win32
  41. Import "../bx.mod/bx/include/compat/mingw/*.h"
  42. ?
  43. Import "../bimg.mod/bimg/src/image_cubemap_filter.cpp"
  44. Import "../bimg.mod/bimg/src/image_decode.cpp"
  45. Import "../bimg.mod/bimg/src/image_encode.cpp"
  46. Import "../bimg.mod/bimg/3rdparty/libsquish/alpha.cpp"
  47. Import "../bimg.mod/bimg/3rdparty/libsquish/clusterfit.cpp"
  48. Import "../bimg.mod/bimg/3rdparty/libsquish/colourblock.cpp"
  49. Import "../bimg.mod/bimg/3rdparty/libsquish/colourfit.cpp"
  50. Import "../bimg.mod/bimg/3rdparty/libsquish/colourset.cpp"
  51. Import "../bimg.mod/bimg/3rdparty/libsquish/maths.cpp"
  52. Import "../bimg.mod/bimg/3rdparty/libsquish/rangefit.cpp"
  53. Import "../bimg.mod/bimg/3rdparty/libsquish/singlecolourfit.cpp"
  54. Import "../bimg.mod/bimg/3rdparty/libsquish/squish.cpp"
  55. Import "../bimg.mod/bimg/3rdparty/pvrtc/BitScale.cpp"
  56. Import "../bimg.mod/bimg/3rdparty/pvrtc/MortonTable.cpp"
  57. Import "../bimg.mod/bimg/3rdparty/pvrtc/PvrTcDecoder.cpp"
  58. Import "../bimg.mod/bimg/3rdparty/pvrtc/PvrTcEncoder.cpp"
  59. Import "../bimg.mod/bimg/3rdparty/pvrtc/PvrTcPacket.cpp"
  60. Import "../bimg.mod/bimg/3rdparty/edtaa3/edtaa3func.cpp"
  61. Import "../bimg.mod/bimg/3rdparty/etc1/etc1.cpp"
  62. Import "../bimg.mod/bimg/3rdparty/etc2/ProcessRGB.cpp"
  63. Import "../bimg.mod/bimg/3rdparty/etc2/Tables.cpp"
  64. Import "../bimg.mod/bimg/3rdparty/nvtt/nvtt.cpp"
  65. Import "../bimg.mod/bimg/3rdparty/nvtt/bc6h/zoh.cpp"
  66. Import "../bimg.mod/bimg/3rdparty/nvtt/bc6h/zohone.cpp"
  67. Import "../bimg.mod/bimg/3rdparty/nvtt/bc6h/zohtwo.cpp"
  68. Import "../bimg.mod/bimg/3rdparty/nvtt/bc6h/zoh_utils.cpp"
  69. Import "../bimg.mod/bimg/3rdparty/nvtt/bc7/avpcl.cpp"
  70. Import "../bimg.mod/bimg/3rdparty/nvtt/bc7/avpcl_mode0.cpp"
  71. Import "../bimg.mod/bimg/3rdparty/nvtt/bc7/avpcl_mode1.cpp"
  72. Import "../bimg.mod/bimg/3rdparty/nvtt/bc7/avpcl_mode2.cpp"
  73. Import "../bimg.mod/bimg/3rdparty/nvtt/bc7/avpcl_mode3.cpp"
  74. Import "../bimg.mod/bimg/3rdparty/nvtt/bc7/avpcl_mode4.cpp"
  75. Import "../bimg.mod/bimg/3rdparty/nvtt/bc7/avpcl_mode5.cpp"
  76. Import "../bimg.mod/bimg/3rdparty/nvtt/bc7/avpcl_mode6.cpp"
  77. Import "../bimg.mod/bimg/3rdparty/nvtt/bc7/avpcl_mode7.cpp"
  78. Import "../bimg.mod/bimg/3rdparty/nvtt/bc7/avpcl_utils.cpp"
  79. Import "../bimg.mod/bimg/3rdparty/nvtt/nvmath/fitting.cpp"
  80. Import "../bimg.mod/bimg/3rdparty/astc/astc_averages_and_directions.cpp"
  81. Import "../bimg.mod/bimg/3rdparty/astc/astc_block_sizes2.cpp"
  82. Import "../bimg.mod/bimg/3rdparty/astc/astc_color_quantize.cpp"
  83. Import "../bimg.mod/bimg/3rdparty/astc/astc_color_unquantize.cpp"
  84. Import "../bimg.mod/bimg/3rdparty/astc/astc_compress_symbolic.cpp"
  85. Import "../bimg.mod/bimg/3rdparty/astc/astc_compute_variance.cpp"
  86. Import "../bimg.mod/bimg/3rdparty/astc/astc_decompress_symbolic.cpp"
  87. Import "../bimg.mod/bimg/3rdparty/astc/astc_encoding_choice_error.cpp"
  88. Import "../bimg.mod/bimg/3rdparty/astc/astc_find_best_partitioning.cpp"
  89. Import "../bimg.mod/bimg/3rdparty/astc/astc_ideal_endpoints_and_weights.cpp"
  90. Import "../bimg.mod/bimg/3rdparty/astc/astc_imageblock.cpp"
  91. Import "../bimg.mod/bimg/3rdparty/astc/astc_integer_sequence.cpp"
  92. Import "../bimg.mod/bimg/3rdparty/astc/astc_kmeans_partitioning.cpp"
  93. Import "../bimg.mod/bimg/3rdparty/astc/astc_lib.cpp"
  94. Import "../bimg.mod/bimg/3rdparty/astc/astc_partition_tables.cpp"
  95. Import "../bimg.mod/bimg/3rdparty/astc/astc_percentile_tables.cpp"
  96. Import "../bimg.mod/bimg/3rdparty/astc/astc_pick_best_endpoint_format.cpp"
  97. Import "../bimg.mod/bimg/3rdparty/astc/astc_quantization.cpp"
  98. Import "../bimg.mod/bimg/3rdparty/astc/astc_symbolic_physical.cpp"
  99. Import "../bimg.mod/bimg/3rdparty/astc/astc_weight_align.cpp"
  100. Import "../bimg.mod/bimg/3rdparty/astc/astc_weight_quant_xfer_tables.cpp"
  101. Import "../bimg.mod/bimg/3rdparty/astc/mathlib.cpp"
  102. Import "../bimg.mod/bimg/3rdparty/astc/softfloat.cpp"
  103. Import "texturec.cpp"