1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/xemeraldia/files/patch-graphics.c
Rusmir Dusko a589fad3dc XEmeraldia, Drop the blocks. If you drop a square on top of one of the
same color, they (as well as any neighboring blocks of the same color)
will both be shaken by an "impact". The first impact will cause fractures;
the second will cause the block(s) to dissolve.

You can either use the arrow keys or vi-style (hjkl) keys to move/
rotate the blocks. `s' or `p' will pause the game, and if your boss
comes along, `q' can be used to avoid an unpleasant confrontation.

http://www.reloco.com.ar/xemeraldia/
2014-03-30 23:53:34 +00:00

20 lines
509 B
C

--- ./graphics.c.orig 2009-02-10 01:55:24.000000000 +0100
+++ ./graphics.c 2014-03-31 00:27:54.287686028 +0200
@@ -7,6 +7,7 @@
#endif
#include "games.h"
+#include "gtk-2.0/gtk/gtkprivate.h"
static gboolean animateTmpScore (void *);
@@ -32,7 +33,7 @@
static void invalidate_area(GtkWidget *widget, gint x, gint y, gint w, gint h)
{
- while(GTK_WIDGET_FLAGS(widget) & GTK_NO_WINDOW)
+ while(GTK_PRIVATE_FLAGS(widget) & GTK_NO_WINDOW)
{
x += widget->allocation.x;
y += widget->allocation.y;