[atlantik-cvs] CVS: kdegames/atlantik/libatlantikui board.cpp,1.94,1.95

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik,gmane.comp.kde.devel.atlantik.cvs
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv8450/libatlantikui

Modified Files:
	board.cpp 
Log Message:
removed GCC extension #warning

Index: board.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/board.cpp,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- board.cpp	2002/07/25 14:38:36	1.94
+++ board.cpp	2002/09/11 03:50:00	1.95
@@ -236,7 +236,7 @@
 void AtlantikBoard::playerChanged()
 {
 	kdDebug() << "Board::playerChanged()" << endl;
-#warning implement decent AtlantikBoard::playerChanged to update tokens
+	// TODO: implement decent AtlantikBoard::playerChanged to update tokens
 /*
 	kdDebug() << "new geometry for token: " << m_player->location() << endl;
 	this->show();
@@ -270,8 +270,8 @@
 
 	// Set token destination
 	move_token = token;
-#warning port
-//	move_token->setDestination(estateId);
+	// TODO: port
+	// move_token->setDestination(estateId);
 
 	// Start timer
 	m_timer->start(15);
@@ -291,13 +291,12 @@
 	int yCurrent = move_token->geometry().y();
 
 	// Where do we want to go today?
-#warning port
 	int dest = 0; // move_token->location() + 1;
 	if (dest==(m_gridLayout->numRows() - 1)*4)
 		dest = 0;
 	kdDebug() << "going from " << move_token->location() << " to " << dest << endl;
 
-#warning port
+	// TODO: port
 /*
 	if (EstateView *estateView = getEstateView(dest))
 	{
@@ -333,14 +332,14 @@
 			if (move_token->destination() == move_token->location())
 			{
 				// We have arrived at our _final_ destination!
-#warning port
-//				emit tokenConfirmation(move_token->location());
+				// TODO: port
+				// emit tokenConfirmation(move_token->location());
 				m_timer->stop();
 				move_token = 0;
 			}
-#warning port
-//			else if (move_token->location() == 0)
-//				emit tokenConfirmation(move_token->location());
+			// TODO: port
+			// else if (move_token->location() == 0)
+			// emit tokenConfirmation(move_token->location());
 
 			return;
 		}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.