r3798 - packages/trunk/hex-a-hop/debian/patches

Jens Seidel jseidel-guest at alioth.debian.org
Thu Aug 23 21:24:06 UTC 2007


Author: jseidel-guest
Date: 2007-08-23 21:24:06 +0000 (Thu, 23 Aug 2007)
New Revision: 3798

Added:
   packages/trunk/hex-a-hop/debian/patches/mouse_cursor_without_font.patch
Modified:
   packages/trunk/hex-a-hop/debian/patches/series
Log:
Enable mouse cursor.

The old one vanished as it was displayed using the old font, character 0x7F
(DEL) which was removed. A proper Unicode font has no mouse cursor image at
position 0x7F :-)


Added: packages/trunk/hex-a-hop/debian/patches/mouse_cursor_without_font.patch
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/mouse_cursor_without_font.patch	                        (rev 0)
+++ packages/trunk/hex-a-hop/debian/patches/mouse_cursor_without_font.patch	2007-08-23 21:24:06 UTC (rev 3798)
@@ -0,0 +1,24 @@
+Index: hex-a-hop.svn/hex_puzzzle.cpp
+===================================================================
+--- hex-a-hop.svn.orig/hex_puzzzle.cpp	2007-08-23 23:18:09.000000000 +0200
++++ hex-a-hop.svn/hex_puzzzle.cpp	2007-08-23 23:19:20.000000000 +0200
+@@ -2752,10 +2752,6 @@
+ 			{
+ 				RenderTile(false, editTile, mousex+scrollX, mousey+scrollY);
+ 			}
+-			else
+-			{
+-				Print(mousex, mousey-2, "\x7f");
+-			}
+ 		}
+ 	}
+ 
+@@ -4090,7 +4086,7 @@
+ 	//	};
+ 	//	static SDL_Cursor * c = SDL_CreateCursor(data, mask, 32, 32, 1, 1);
+ 	//	SDL_SetCursor(c);
+-		SDL_ShowCursor(0);
++		SDL_ShowCursor(1);
+ 	}
+ 	void FreeGraphics()
+ 	{

Modified: packages/trunk/hex-a-hop/debian/patches/series
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/series	2007-08-23 21:13:53 UTC (rev 3797)
+++ packages/trunk/hex-a-hop/debian/patches/series	2007-08-23 21:24:06 UTC (rev 3798)
@@ -9,3 +9,4 @@
 remove_old_font_handling.patch
 array_subscripts_warning.patch
 i18n_increase_array_sizes.patch
+mouse_cursor_without_font.patch




More information about the Pkg-games-commits mailing list