enigma-cvs
[Top][All Lists]
Advanced

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

[Enigma-cvs] enigma/src menus_internal.hh, 1.4, 1.5 player.cc, 1.34, 1.


From: Ralf Westram <address@hidden>
Subject: [Enigma-cvs] enigma/src menus_internal.hh, 1.4, 1.5 player.cc, 1.34, 1.35 world.cc, 1.79, 1.80
Date: Wed, 12 Nov 2003 09:36:02 +0000

Update of /cvsroot/enigma/enigma/src
In directory subversions:/tmp/cvs-serv20399/src

Modified Files:
        menus_internal.hh player.cc world.cc 
Log Message:
cleanup



Index: world.cc
===================================================================
RCS file: /cvsroot/enigma/enigma/src/world.cc,v
retrieving revision 1.79
retrieving revision 1.80
diff -C2 -d -r1.79 -r1.80
*** world.cc    9 Nov 2003 11:46:50 -0000       1.79
--- world.cc    12 Nov 2003 09:36:00 -0000      1.80
***************
*** 324,329 ****
  void WorldImpl::add_scramble(GridPos p, Direction dir)
  {
-     // fprintf(stderr, "scrambles.size()=%i ; add_scramble(%i, %i, %s)\n",
-     //         scrambles.size(), p.x, p.y, to_suffix(dir).c_str());
      scrambles.push_back(Scramble(p, dir, scrambleIntensity));
  }
--- 324,327 ----
***************
*** 331,335 ****
  void WorldImpl::scramble_puzzles()
  {
-     // fprintf(stderr, "scramble_puzzles: scrambles.size()=%i\n", 
scrambles.size());
      while (!scrambles.empty()) {
          list<Scramble>::iterator i = scrambles.begin();
--- 329,332 ----
***************
*** 339,343 ****
              Stone *puzz = GetStone(i->pos);
              if (puzz && i->intensity) {
-                 // fprintf(stderr, "Sending 'scramble' to stone at pos 
%i/%i\n", i->pos.x, i->pos.y);
                  SendMessage(puzz, "scramble", Value(double(i->dir)));
                  --i->intensity;
--- 336,339 ----

Index: player.cc
===================================================================
RCS file: /cvsroot/enigma/enigma/src/player.cc,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** player.cc   22 Oct 2003 16:05:46 -0000      1.34
--- player.cc   12 Nov 2003 09:35:59 -0000      1.35
***************
*** 348,352 ****
  void player::SetCurrentPlayer(unsigned iplayer) {
      if (iplayer >= players.size())
!         fprintf(stderr, "SetCurrentPlayer: no such player %d\n", iplayer);
      else {
          icurrent_player = iplayer;
--- 348,352 ----
  void player::SetCurrentPlayer(unsigned iplayer) {
      if (iplayer >= players.size())
!         Log << px::strf("SetCurrentPlayer: no such player %d\n", iplayer);
      else {
          icurrent_player = iplayer;
***************
*** 452,458 ****
          SetCurrentPlayer(1-icurrent_player);
      }
- //     else {
- //         fprintf(stderr, "No two players to swap!\n");
- //     }
  }
  
--- 452,455 ----

Index: menus_internal.hh
===================================================================
RCS file: /cvsroot/enigma/enigma/src/menus_internal.hh,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** menus_internal.hh   30 Oct 2003 19:12:13 -0000      1.4
--- menus_internal.hh   12 Nov 2003 09:35:59 -0000      1.5
***************
*** 192,196 ****
  
          if (error.length() > 0) {
!             fprintf(stderr, "Error saving '%s': %s\n", fname.c_str(), 
error.c_str());
          }
  
--- 192,196 ----
  
          if (error.length() > 0) {
!             enigma::Log << strf("Error saving '%s': %s\n", fname.c_str(), 
error.c_str());
          }
  
***************
*** 218,222 ****
                      if (remove(found_name.c_str()) == -1) {
                          enigma::Log << "Error deleting outdated preview '" << 
found_name << '\'' << endl;
- //                         fprintf(stderr, "error deleting %s\n", 
found_name.c_str());
                      }
                      else {
--- 218,221 ----





reply via email to

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