pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src server.cxx,1.22,1.23


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src server.cxx,1.22,1.23
Date: 5 Oct 2002 12:40:04 -0000

Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv9380

Modified Files:
        server.cxx 
Log Message:
- commited Gervases changes
- fixed a small bug


Index: server.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/server.cxx,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- server.cxx  4 Oct 2002 16:54:04 -0000       1.22
+++ server.cxx  5 Oct 2002 12:40:02 -0000       1.23
@@ -66,7 +66,7 @@
 }
 
 void
-Server::send_armageddon_event()
+Server::send_armageddon_event ()
 {
   world->armageddon();
 
@@ -75,7 +75,7 @@
 }
 
 void
-Server::send_pingu_action_event(Pingu* pingu, Actions::ActionName action)
+Server::send_pingu_action_event (Pingu* pingu, Actions::ActionName action)
 {
   PinguAction* tmp_action = action_holder.get_action(action);
          
@@ -94,25 +94,25 @@
 }
 
 bool
-Server::is_finished()
+Server::is_finished ()
 {
-  goal_manager->is_finished();
+  return goal_manager->is_finished();
 }
 
 void
-Server::set_finished()
+Server::set_finished ()
 {
   goal_manager->set_abort_goal();
 }
 
 ActionHolder*
-Server::get_action_holder()
+Server::get_action_holder ()
 {
   return &action_holder;
 }
 
 int
-Server::get_time()
+Server::get_time ()
 {
   return get_world()->get_game_time()->get_ticks();
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]