Author: pdewacht-guest
Date: 2013-05-21 19:40:54 +0000 (Tue, 21 May 2013)
New Revision: 14119

Modified:
   packages/trunk/tatan/debian/patches/dlang_v2.patch
Log:
tatan: fixes for GDC 4.8


Modified: packages/trunk/tatan/debian/patches/dlang_v2.patch
===================================================================
--- packages/trunk/tatan/debian/patches/dlang_v2.patch  2013-05-21 19:38:08 UTC 
(rev 14118)
+++ packages/trunk/tatan/debian/patches/dlang_v2.patch  2013-05-21 19:40:54 UTC 
(rev 14119)
@@ -879,7 +879,15 @@
  {
        //if(key in g_poolTexture) { throw new Error("Hell_loadTexture: Has 
exist key: " ~ key); }
        if(key in g_poolTexture)
-@@ -1063,7 +1066,7 @@
+@@ -1037,7 +1040,6 @@
+               // 同じキーがある場合、そのテクスチャを破棄
+               Hell_disposeTexture(key);
+       }
+-      if(mask is null) { throw new Error("Hell_loadTexture: PARAMETER 'mask' 
is null"); }
+       if(mask[0] >= 0)
+       {
+               // 抜き色指定
+@@ -1063,7 +1065,7 @@
   * テクスチャの破棄
   * @param key キー(Hell_loadTextureで指定したもの)「null」で全て破棄
   */
@@ -888,7 +896,7 @@
  {
        if(key is null)
        {
-@@ -1104,7 +1107,7 @@
+@@ -1104,7 +1106,7 @@
        /**
         * パス
         */
@@ -897,7 +905,7 @@
        /**
         * マスク情報
         */
-@@ -1116,7 +1119,7 @@
+@@ -1116,7 +1118,7 @@
         * @param filename  ファイルパス
         * @param maskColor 抜き色
         */
@@ -906,7 +914,7 @@
        {
                _maskInfo = [-1, 0, 0];
                SDL_Surface* s = loadBMP(filename);
-@@ -1127,7 +1130,7 @@
+@@ -1127,7 +1129,7 @@
         * @param filename  ファイルパス
         * @param maskColor 抜き色
         */
@@ -915,7 +923,7 @@
        {
                _maskInfo = [r, g, b];
                SDL_Surface* s = loadBMP(filename);
-@@ -1140,7 +1143,7 @@
+@@ -1140,7 +1142,7 @@
         * @param filename  ファイルパス
         * @param maskColor 抜き色
         */
@@ -924,7 +932,7 @@
        {
                _maskInfo = [-2, x, y];
                SDL_Surface* s = loadBMP(filename);
-@@ -1155,7 +1158,7 @@
+@@ -1155,7 +1157,7 @@
                }
                create(s);
        }
@@ -933,7 +941,7 @@
        int[] getMaskInfo()  { return _maskInfo; }
        /**
         * 生成
-@@ -1204,7 +1207,7 @@
+@@ -1204,7 +1206,7 @@
        /**
         * BMP読み込み
         */
@@ -942,7 +950,7 @@
        {
                // ファイルパス
                _path = filename;
-@@ -1254,11 +1257,11 @@
+@@ -1254,11 +1256,11 @@
  float Hell_sin(float rad)            { return sin(rad);             }
  float Hell_cos(float rad)            { return cos(rad);             }
  float Hell_atan2(float y, float x)   { return atan2(y, x);          }
@@ -959,7 +967,7 @@
  // 乱数
  /**
   * 乱数の初期化
-@@ -1269,18 +1272,18 @@
+@@ -1269,18 +1271,18 @@
   * @param seed  種
   * @param index 次の乱数インデックスへの増分
   */


_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to