[prev in list] [next in list] [prev in thread] [next in thread] 

List:       atlantik-devel
Subject:    [atlantik-cvs]
From:       kde () office ! kde ! org
Date:       2003-07-16 21:53:18
[Download RAW message or body]

Update of /home/kde/kdegames/atlantik/libatlantic
In directory office:/tmp/cvs-serv17170/libatlantic

Modified Files:
	player.cpp player.h 
Log Message:
fix 61270: notification when is my turn

Index: player.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/player.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- player.cpp	23 Jun 2003 01:22:39 -0000	1.20
+++ player.cpp	16 Jul 2003 21:53:16 -0000	1.21
@@ -91,6 +91,8 @@
 	{
 		m_hasTurn = hasTurn;
 		m_changed = true;
+		if (m_hasTurn && m_isSelf)
+			emit gainedTurn();
 	}
 }
 

Index: player.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/player.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- player.h	23 Jun 2003 01:22:39 -0000	1.17
+++ player.h	16 Jul 2003 21:53:16 -0000	1.18
@@ -68,6 +68,7 @@
 
 signals:
 	void changed(Player *player);
+	void gainedTurn();
 
 private:
 	int m_id, m_gameId;

_______________________________________________
atlantik-cvs mailing list
atlantik-cvs@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic