gosu 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fc27b3d10f045f30fb38c06462bd4edcb298756
4
- data.tar.gz: 6a7cb61ea9fbd971633b95dca7ca3ba32189eb1e
3
+ metadata.gz: 24d8b4cb59cd150e013929d06574a638adc974ed
4
+ data.tar.gz: 50d21db20505f458779832fed214310ce34e93e8
5
5
  SHA512:
6
- metadata.gz: 3b52d7cb01a0db77a7e03b8281371aec7f5785cbcd1c2e0ce9d21471dda552bfaf2cf4535d523d4f7b2f63ffcf4750af76293c10397e3250aeff29d430be62be
7
- data.tar.gz: ae31aadc306b2c185f734e4625e51ea0308847089d5bcdc2e01aa777901312b437359b8fa3ae7bddfd390b5bf543af6dde8a9277cae9259533b799699feaf777
6
+ metadata.gz: baba7811f1734093a264106c78ced29908d9427fd12074939d56ae564b7918dec836f52de90dedbe13573bdf5a09159282ffc4151a3784fd5a888c287332c532
7
+ data.tar.gz: 761a1bac7809eaf3fc6bd61e58af3521a221638fa783504f01a4fce89b4b62cb6508affaf63778aab885f9e879b08fb72f16ee0c6d48255ab45258880c192cfc
@@ -3,8 +3,8 @@
3
3
 
4
4
  #define GOSU_MAJOR_VERSION 0
5
5
  #define GOSU_MINOR_VERSION 9
6
- #define GOSU_POINT_VERSION 0
7
- #define GOSU_VERSION "0.9.0"
6
+ #define GOSU_POINT_VERSION 1
7
+ #define GOSU_VERSION "0.9.1"
8
8
 
9
9
  #define GOSU_COPYRIGHT_NOTICE \
10
10
  "This software uses the following third-party libraries:\n" \
@@ -2126,9 +2126,8 @@ namespace Swig {
2126
2126
  #define SWIGTYPE_p_char swig_types[10]
2127
2127
  #define SWIGTYPE_p_double swig_types[11]
2128
2128
  #define SWIGTYPE_p_std__tr1__arrayT_double_16_t swig_types[12]
2129
- #define SWIGTYPE_p_std__wstring swig_types[13]
2130
- static swig_type_info *swig_types[15];
2131
- static swig_module_info swig_module = {swig_types, 14, 0, 0, 0, 0};
2129
+ static swig_type_info *swig_types[14];
2130
+ static swig_module_info swig_module = {swig_types, 13, 0, 0, 0, 0};
2132
2131
  #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2133
2132
  #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2134
2133
 
@@ -2855,7 +2854,7 @@ SWIGINTERN Gosu::Image *Gosu_Image_fromText(std::wstring const &text,unsigned in
2855
2854
  std::wstring font = Gosu::defaultFontName();
2856
2855
  unsigned width = 0xfefefefe;
2857
2856
  unsigned spacing = 0;
2858
- Gosu::TextAlign align = align;
2857
+ Gosu::TextAlign align = Gosu::taLeft;
2859
2858
 
2860
2859
  if (options) {
2861
2860
  Check_Type(options, T_HASH);
@@ -5579,9 +5578,9 @@ SWIGINTERN VALUE _wrap_new_Font(int nargs, VALUE *args, VALUE self) {
5579
5578
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gosu__Window, 0);
5580
5579
  _v = SWIG_CheckState(res);
5581
5580
  if (_v) {
5582
- void *vptr = 0;
5583
- int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__wstring, 0);
5584
- _v = SWIG_CheckState(res);
5581
+ {
5582
+ _v = !!rb_respond_to(argv[1], rb_intern("to_str"));
5583
+ }
5585
5584
  if (_v) {
5586
5585
  {
5587
5586
  int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
@@ -10795,7 +10794,6 @@ static swig_type_info _swigt__p_Gosu__Window = {"_p_Gosu__Window", "Gosu::Window
10795
10794
  static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
10796
10795
  static swig_type_info _swigt__p_double = {"_p_double", "Gosu::ZPos *|double *", 0, 0, (void*)0, 0};
10797
10796
  static swig_type_info _swigt__p_std__tr1__arrayT_double_16_t = {"_p_std__tr1__arrayT_double_16_t", "std::tr1::array< double,16 > *|Gosu::Transform *", 0, 0, (void*)0, 0};
10798
- static swig_type_info _swigt__p_std__wstring = {"_p_std__wstring", "std::wstring *", 0, 0, (void*)0, 0};
10799
10797
 
10800
10798
  static swig_type_info *swig_type_initial[] = {
10801
10799
  &_swigt__p_Gosu__Button,
@@ -10811,7 +10809,6 @@ static swig_type_info *swig_type_initial[] = {
10811
10809
  &_swigt__p_char,
10812
10810
  &_swigt__p_double,
10813
10811
  &_swigt__p_std__tr1__arrayT_double_16_t,
10814
- &_swigt__p_std__wstring,
10815
10812
  };
10816
10813
 
10817
10814
  static swig_cast_info _swigc__p_Gosu__Button[] = { {&_swigt__p_Gosu__Button, 0, 0, 0},{0, 0, 0, 0}};
@@ -10827,7 +10824,6 @@ static swig_cast_info _swigc__p_Gosu__Window[] = { {&_swigt__p_Gosu__Window, 0,
10827
10824
  static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
10828
10825
  static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
10829
10826
  static swig_cast_info _swigc__p_std__tr1__arrayT_double_16_t[] = { {&_swigt__p_std__tr1__arrayT_double_16_t, 0, 0, 0},{0, 0, 0, 0}};
10830
- static swig_cast_info _swigc__p_std__wstring[] = { {&_swigt__p_std__wstring, 0, 0, 0},{0, 0, 0, 0}};
10831
10827
 
10832
10828
  static swig_cast_info *swig_cast_initial[] = {
10833
10829
  _swigc__p_Gosu__Button,
@@ -10843,7 +10839,6 @@ static swig_cast_info *swig_cast_initial[] = {
10843
10839
  _swigc__p_char,
10844
10840
  _swigc__p_double,
10845
10841
  _swigc__p_std__tr1__arrayT_double_16_t,
10846
- _swigc__p_std__wstring,
10847
10842
  };
10848
10843
 
10849
10844
 
@@ -11100,8 +11095,8 @@ SWIGEXPORT void Init_gosu(void) {
11100
11095
  SWIG_RubyInitializeTrackings();
11101
11096
  rb_define_const(mGosu, "MAJOR_VERSION", SWIG_From_int(static_cast< int >(0)));
11102
11097
  rb_define_const(mGosu, "MINOR_VERSION", SWIG_From_int(static_cast< int >(9)));
11103
- rb_define_const(mGosu, "POINT_VERSION", SWIG_From_int(static_cast< int >(0)));
11104
- rb_define_const(mGosu, "VERSION", SWIG_FromCharPtr("0.9.0"));
11098
+ rb_define_const(mGosu, "POINT_VERSION", SWIG_From_int(static_cast< int >(1)));
11099
+ rb_define_const(mGosu, "VERSION", SWIG_FromCharPtr("0.9.1"));
11105
11100
  rb_define_const(mGosu, "GOSU_COPYRIGHT_NOTICE", SWIG_FromCharPtr("This software uses the following third-party libraries:\n\nGosu, http://www.libgosu.org, MIT License, http://opensource.org/licenses/MIT\nSDL 2, http://www.libsdl.org, MIT License, http://opensource.org/licenses/MIT\nFreeImage, http://freeimage.sourceforge.net, FreeImage Public License\nlibogg & libvorbis, http://www.xiph.org, BSD License, 3-Clause Version, http://www.xiph.org/licenses/bsd\nlibsndfile, http://www.mega-nerd.com/libsndfile, GNU LGPL 3, http://www.gnu.org/copyleft/lesser.html\nOpenAL Soft, http://kcat.strangesoft.net/openal.html, GNU LGPL 2, http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html\n"));
11106
11101
  rb_define_module_function(mGosu, "milliseconds", VALUEFUNC(_wrap_milliseconds), -1);
11107
11102
  rb_define_module_function(mGosu, "random", VALUEFUNC(_wrap_random), -1);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Raschke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-16 00:00:00.000000000 Z
11
+ date: 2015-05-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  2D game development library.