pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/editorobjs entrance_obj.cxx,NONE,1.1


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editorobjs entrance_obj.cxx,NONE,1.1 entrance_obj.hxx,NONE,1.1 groundpiece_obj.cxx,NONE,1.1 groundpiece_obj.hxx,NONE,1.1 Makefile.am,1.11,1.12 bumper_obj.hxx,1.5,1.6 conveyor_belt_obj.hxx,1.2,1.3 fake_exit_obj.hxx,1.6,1.7 guillotine_obj.hxx,1.5,1.6 hammer_obj.hxx,1.5,1.6 hotspot_obj.hxx,1.1,1.2 ice_block_obj.hxx,1.1,1.2 info_box_obj.hxx,1.2,1.3 laser_exit_obj.hxx,1.5,1.6 liquid_obj.hxx,1.1,1.2 prefab_obj.hxx,1.1,1.2 smasher_obj.hxx,1.6,1.7 solid_color_background_obj.hxx,1.1,1.2 spike_obj.hxx,1.5,1.6 starfield_background_obj.hxx,1.1,1.2 surface_background_obj.hxx,1.1,1.2 switch_door_obj.hxx,1.3,1.4 switch_door_switch_obj.hxx,1.2,1.3 teleporter_obj.hxx,1.5,1.6 teleporter_target_obj.hxx,1.2,1.3 thunderstorm_background_obj.hxx,1.1,1.2
Date: 27 Sep 2002 11:27:18 -0000

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

Modified Files:
        Makefile.am bumper_obj.hxx conveyor_belt_obj.hxx 
        fake_exit_obj.hxx guillotine_obj.hxx hammer_obj.hxx 
        hotspot_obj.hxx ice_block_obj.hxx info_box_obj.hxx 
        laser_exit_obj.hxx liquid_obj.hxx prefab_obj.hxx 
        smasher_obj.hxx solid_color_background_obj.hxx spike_obj.hxx 
        starfield_background_obj.hxx surface_background_obj.hxx 
        switch_door_obj.hxx switch_door_switch_obj.hxx 
        teleporter_obj.hxx teleporter_target_obj.hxx 
        thunderstorm_background_obj.hxx 
Added Files:
        entrance_obj.cxx entrance_obj.hxx groundpiece_obj.cxx 
        groundpiece_obj.hxx 
Log Message:
- splitted Entrance
- changed operator= return value


--- NEW FILE: entrance_obj.cxx ---
//  $Id: entrance_obj.cxx,v 1.1 2002/09/27 11:26:46 torangan Exp $
//
//  Pingus - A free Lemmings clone
//  Copyright (C) 1999 Ingo Ruhnke <address@hidden>
//
//  This program is free software; you can redistribute it and/or
//  modify it under the terms of the GNU General Public License
//  as published by the Free Software Foundation; either version 2
//  of the License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program; if not, write to the Free Software
//  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

#include <stdio.h>
#include "../pingus_error.hxx"
#include "../editor/entrance_window.hxx"
#include "entrance_obj.hxx"

namespace EditorObjs {

EntranceObj::EntranceObj (const WorldObjsData::EntranceData& data_)
  : data(new WorldObjsData::EntranceData(data_)),
    direction(data->direction),
    release_rate(data->release_rate)
{
  pos_ref = &data->pos;

  std::cout << "EntranceObj::EntranceObj(const EntranceData& data): " 
            << data->type << std::endl;

  if (data->type == "generic")
    {
      sprite = Sprite("Entrances/generic", "entrances");
      sprite.set_align_center_bottom();
    } 
  else if (data->type == "woodthing") 
    {
      std::cout << "WOODTHING" << std::endl;
      sprite = Sprite("Entrances/woodthing_mov", "entrances");
      sprite.set_align(0  - sprite.get_width()/2,
                       32 - sprite.get_height());
    }
  else if (data->type == "cloud")
    {
      sprite = Sprite("Entrances/cloud", "entrances");
      sprite.set_align(-115, -75);
    } 
  else 
    {
      std::cout << "Entrance obj error!" << std::endl;
      PingusError::raise("EntranceObj: Unknown entrance type: " + data->type);
    }
}

EntranceObj::~EntranceObj ()
{
  delete data;
}

EditorObj*
EntranceObj::duplicate ()
{
  std::cout << "EntranceObj::duplicate()" << std::endl;
  return new EntranceObj(*data);
}

void
EntranceObj::write_xml (std::ostream& xml)
{
  data->write_xml(xml);
}

std::string
EntranceObj::status_line ()
{
  std::string dir_str;
  char str[256];

  switch(direction)
    {
      case WorldObjsData::EntranceData::LEFT:
        dir_str = "left";
        break;
      case WorldObjsData::EntranceData::RIGHT:
        dir_str = "right";
        break;
      case WorldObjsData::EntranceData::MISC:
        dir_str = "misc";
        break;
      default:
        dir_str = "not set - this is a bug";
    }

  snprintf(str, 256, "Entrance: %s Rate: %d Direction: %s Owner: %d",
           data->type.c_str(), data->release_rate, dir_str.c_str(), 
data->owner_id);

  return str;
}

EditorNS::PropertyFrame*
EntranceObj::get_gui_dialog (CL_Component* parent)
{
  return new EditorNS::EntranceWindow(parent, this);
}

} // namespace EditorObjs

/* EOF */

--- NEW FILE: entrance_obj.hxx ---
//  $Id: entrance_obj.hxx,v 1.1 2002/09/27 11:26:46 torangan Exp $
//
//  Pingus - A free Lemmings clone
//  Copyright (C) 1999 Ingo Ruhnke <address@hidden>
//
//  This program is free software; you can redistribute it and/or
//  modify it under the terms of the GNU General Public License
//  as published by the Free Software Foundation; either version 2
//  of the License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program; if not, write to the Free Software
//  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

#ifndef HEADER_PINGUS_EDITOROBJS_ENTRANCE_OBJ_HXX
#define HEADER_PINGUS_EDITOROBJS_ENTRANCE_OBJ_HXX

#include "../editor/sprite_editorobj.hxx"
#include "../worldobjsdata/entrance_data.hxx"

namespace EditorObjs {

class EntranceObj : public SpriteEditorObj
{
private:
  WorldObjsData::EntranceData* const data;
  
public:
  WorldObjsData::EntranceData::EntranceDirection direction;
  int release_rate;

  EntranceObj (const WorldObjsData::EntranceData& data_);
 ~EntranceObj ();

  EditorObj* duplicate ();
  
  void write_xml (std::ostream& xml);
  
  std::string status_line ();
  
  EditorNS::PropertyFrame* get_gui_dialog (CL_Component* parent);
  
private:
  EntranceObj (const EntranceObj&);
  EntranceObj& operator= (const EntranceObj&);
};

} // namespace EditorObjs

#endif

/* EOF */

--- NEW FILE: groundpiece_obj.cxx ---
//  $Id: groundpiece_obj.cxx,v 1.1 2002/09/27 11:26:46 torangan Exp $
//
//  Pingus - A free Lemmings clone
//  Copyright (C) 1999 Ingo Ruhnke <address@hidden>
//
//  This program is free software; you can redistribute it and/or
//  modify it under the terms of the GNU General Public License
//  as published by the Free Software Foundation; either version 2
//  of the License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program; if not, write to the Free Software
//  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

#include <stdio.h>
#include "../editor/groundpiece_window.hxx"
#include "../worldobjsdata/groundpiece_data.hxx"
#include "../pingus_resource.hxx"
#include "groundpiece_obj.hxx"

namespace EditorObjs {

GroundpieceObj::GroundpieceObj (WorldObjsData::GroundpieceData* data_)
  : SpriteEditorObj(data_->desc),
    data(new WorldObjsData::GroundpieceData(*data_)),
    gptype(data->gptype)
{
  pos_ref = &data->pos;
}

GroundpieceObj::~GroundpieceObj ()
{
  delete data;
}

EditorObj*
GroundpieceObj::duplicate ()
{
  return new GroundpieceObj(data);
}

void
GroundpieceObj::write_xml (std::ostream& xml)
{
  data->write_xml(xml);
}

std::string 
GroundpieceObj::status_line ()
{
  char str[1024];  
  std::string type_name = Groundtype::type_to_string(gptype);
  
  snprintf(str, 1024, "Groundpiece: %s Type: %s",
           data->desc.res_name.c_str(), type_name.c_str());

  return str;
}

void
GroundpieceObj::vertical_flip ()
{
  std::cout << "Vertical flip" << std::endl;
  data->desc.modifier = ResourceModifierNS::vertical_flip(data->desc.modifier);
  sprite.get_surface() = PingusResource::load_surface(data->desc);
}

void
GroundpieceObj::horizontal_flip ()
{
  std::cout << "Horz flip" << std::endl;
  data->desc.modifier = 
ResourceModifierNS::horizontal_flip(data->desc.modifier);
  sprite.get_surface() = PingusResource::load_surface(data->desc);
}

void
GroundpieceObj::rotate_90 ()
{
  std::cout << "rot90" << std::endl;

  data->pos.x += sprite.get_width ()/2;
  data->pos.y += sprite.get_height()/2;

  data->desc.modifier = ResourceModifierNS::rotate_90(data->desc.modifier);
  sprite.get_surface() = PingusResource::load_surface(data->desc);

  data->pos.x -= sprite.get_width ()/2;
  data->pos.y -= sprite.get_height()/2;
}

void
GroundpieceObj::rotate_270 ()
{
  std::cout << "rot 270" << std::endl;

  data->pos.x += sprite.get_width ()/2;
  data->pos.y += sprite.get_height()/2;

  data->desc.modifier = ResourceModifierNS::rotate_270(data->desc.modifier);
  sprite.get_surface() = PingusResource::load_surface(data->desc);

  data->pos.x -= sprite.get_width ()/2;
  data->pos.y -= sprite.get_height()/2;
}

EditorNS::PropertyFrame*
GroundpieceObj::get_gui_dialog (CL_Component* parent)
{
  return new EditorNS::GroundpieceWindow(parent, this);
}

} // namespace EditorObjs

/* EOF */

--- NEW FILE: groundpiece_obj.hxx ---
// $Id: groundpiece_obj.hxx,v 1.1 2002/09/27 11:26:46 torangan Exp $
//
// Pingus - A free Lemmings clone
// Copyright (C) 1999 Ingo Ruhnke <address@hidden>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

#ifndef HEADER_PINGUS_EDITOR_EDITOR_GROUNDPIECE_OBJ_HXX
#define HEADER_PINGUS_EDITOR_EDITOR_GROUNDPIECE_OBJ_HXX

#include "../editor/sprite_editorobj.hxx"
#include "../groundtype.hxx"

namespace WorldObjsData {
class GroundpieceData;
}

namespace EditorObjs {

class GroundpieceObj : public SpriteEditorObj
{
private:
  WorldObjsData::GroundpieceData* const data;

public:
  Groundtype::GPType gptype;

  GroundpieceObj (WorldObjsData::GroundpieceData* data_);
 ~GroundpieceObj ();

  /** Flip the object vertical */
  void vertical_flip ();

  /** Flip the object horizontal */
  void horizontal_flip ();

  /** Rotate the object 90 degrees */
  void rotate_90 ();

  /** Rotate the object -90 degrees */
  void rotate_270 ();

  void write_xml (std::ostream& xml);
  
  EditorObj* duplicate ();
  std::string status_line ();

  EditorNS::PropertyFrame* get_gui_dialog (CL_Component* parent);
  
private:
  GroundpieceObj (const GroundpieceObj&);
  GroundpieceObj& operator= (const GroundpieceObj&);
};

} // namespace EditorObjs

#endif

/* EOF */



Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Makefile.am 25 Sep 2002 17:21:38 -0000      1.11
+++ Makefile.am 27 Sep 2002 11:26:46 -0000      1.12
@@ -20,8 +20,10 @@
 libpingus_editorobjs_a_SOURCES = \
        bumper_obj.cxx                  bumper_obj.hxx \
        conveyor_belt_obj.cxx           conveyer_belt_obj.hxx \
+       entrance_obj.cxx                entrance_obj.hxx \
        fake_exit_obj.cxx               fake_exit_obj.hxx \
        guillotine_obj.cxx              guillotine_obj.hxx \
+       groundpiece_obj.cxx             groundpiece_obj.hxx \
        hammer_obj.cxx                  hammer_obj.hxx \
        hotspot_obj.cxx                 hotspot_obj.hxx \
        ice_block_obj.cxx               ice_block_obj.hxx \

Index: bumper_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/bumper_obj.hxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- bumper_obj.hxx      11 Sep 2002 12:45:58 -0000      1.5
+++ bumper_obj.hxx      27 Sep 2002 11:26:46 -0000      1.6
@@ -49,7 +49,7 @@
   
   private:
     BumperObj (const BumperObj&);
-    BumperObj operator= (const BumperObj&);
+    BumperObj& operator= (const BumperObj&);
 };
 
 } // namespace EditorObjs

Index: conveyor_belt_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/conveyor_belt_obj.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- conveyor_belt_obj.hxx       15 Sep 2002 11:02:24 -0000      1.2
+++ conveyor_belt_obj.hxx       27 Sep 2002 11:26:46 -0000      1.3
@@ -69,7 +69,7 @@
   
 private:
   ConveyorBeltObj (const ConveyorBeltObj&);
-  ConveyorBeltObj operator= (const ConveyorBeltObj&);
+  ConveyorBeltObj& operator= (const ConveyorBeltObj&);
 };
 
 } // namespace EditorObjs

Index: fake_exit_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/fake_exit_obj.hxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- fake_exit_obj.hxx   11 Sep 2002 12:45:58 -0000      1.6
+++ fake_exit_obj.hxx   27 Sep 2002 11:26:46 -0000      1.7
@@ -49,7 +49,7 @@
   
 private:
   FakeExitObj (const FakeExitObj&);
-  FakeExitObj operator= (const FakeExitObj&);
+  FakeExitObj& operator= (const FakeExitObj&);
 };
 
 } // namespace EditorObjs

Index: guillotine_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/guillotine_obj.hxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- guillotine_obj.hxx  11 Sep 2002 12:45:58 -0000      1.5
+++ guillotine_obj.hxx  27 Sep 2002 11:26:46 -0000      1.6
@@ -49,7 +49,7 @@
   
 private:
   GuillotineObj (const GuillotineObj&);
-  GuillotineObj operator= (const GuillotineObj&);
+  GuillotineObj& operator= (const GuillotineObj&);
 };
 
 } // namespace EditorObjs

Index: hammer_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/hammer_obj.hxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- hammer_obj.hxx      11 Sep 2002 12:45:58 -0000      1.5
+++ hammer_obj.hxx      27 Sep 2002 11:26:46 -0000      1.6
@@ -49,7 +49,7 @@
   
 private:
   HammerObj (const HammerObj&);
-  HammerObj operator= (const HammerObj&);
+  HammerObj& operator= (const HammerObj&);
 };
 
 } // namespace EditorObjs

Index: hotspot_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/hotspot_obj.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- hotspot_obj.hxx     24 Sep 2002 09:29:04 -0000      1.1
+++ hotspot_obj.hxx     27 Sep 2002 11:26:46 -0000      1.2
@@ -44,7 +44,7 @@
 
 private:
   HotspotObj (const HotspotObj&);
-  HotspotObj operator= (const HotspotObj&);
+  HotspotObj& operator= (const HotspotObj&);
 };
 
 } // namespace EditorObjs

Index: ice_block_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/ice_block_obj.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ice_block_obj.hxx   14 Sep 2002 19:06:34 -0000      1.1
+++ ice_block_obj.hxx   27 Sep 2002 11:26:46 -0000      1.2
@@ -47,7 +47,7 @@
   
 private:
   IceBlockObj (const IceBlockObj&);
-  IceBlockObj operator= (const IceBlockObj&);
+  IceBlockObj& operator= (const IceBlockObj&);
 };
 
 } // namespace EditorObjs

Index: info_box_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/info_box_obj.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- info_box_obj.hxx    14 Sep 2002 19:06:34 -0000      1.2
+++ info_box_obj.hxx    27 Sep 2002 11:26:46 -0000      1.3
@@ -45,7 +45,7 @@
   
 private:
   InfoBoxObj (const InfoBoxObj&);
-  InfoBoxObj operator= (const InfoBoxObj&);
+  InfoBoxObj& operator= (const InfoBoxObj&);
 };
 
 } // namespace EditorObjs

Index: laser_exit_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/laser_exit_obj.hxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- laser_exit_obj.hxx  11 Sep 2002 12:45:58 -0000      1.5
+++ laser_exit_obj.hxx  27 Sep 2002 11:26:46 -0000      1.6
@@ -50,7 +50,7 @@
   
 private:
   LaserExitObj (const LaserExitObj&);
-  LaserExitObj operator= (const LaserExitObj&);
+  LaserExitObj& operator= (const LaserExitObj&);
 };
 
 } // namespace EditorObjs

Index: liquid_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/liquid_obj.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- liquid_obj.hxx      25 Sep 2002 17:21:38 -0000      1.1
+++ liquid_obj.hxx      27 Sep 2002 11:26:46 -0000      1.2
@@ -54,7 +54,7 @@
   
 private:
   LiquidObj (const LiquidObj&);
-  LiquidObj operator= (const LiquidObj&);
+  LiquidObj& operator= (const LiquidObj&);
 };
 
 } // namespace EditorObjs

Index: prefab_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/prefab_obj.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- prefab_obj.hxx      15 Sep 2002 20:33:45 -0000      1.1
+++ prefab_obj.hxx      27 Sep 2002 11:26:46 -0000      1.2
@@ -44,7 +44,7 @@
 
 private:
   PrefabObj (const PrefabObj&);
-  PrefabObj operator= (const PrefabObj&);
+  PrefabObj& operator= (const PrefabObj&);
 };
 
 } // namespace EditorObjs

Index: smasher_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/smasher_obj.hxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- smasher_obj.hxx     11 Sep 2002 12:45:58 -0000      1.6
+++ smasher_obj.hxx     27 Sep 2002 11:26:46 -0000      1.7
@@ -49,7 +49,7 @@
   
 private:
   SmasherObj (const SmasherObj&);
-  SmasherObj operator= (const SmasherObj&);
+  SmasherObj& operator= (const SmasherObj&);
 };
 
 } // namespace EditorObjs

Index: solid_color_background_obj.hxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/editorobjs/solid_color_background_obj.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- solid_color_background_obj.hxx      15 Sep 2002 09:54:34 -0000      1.1
+++ solid_color_background_obj.hxx      27 Sep 2002 11:26:46 -0000      1.2
@@ -59,7 +59,7 @@
         
 private:
   SolidColorBackgroundObj (const SolidColorBackgroundObj&);
-  SolidColorBackgroundObj operator= (const SolidColorBackgroundObj&);
+  SolidColorBackgroundObj& operator= (const SolidColorBackgroundObj&);
 };
 
 } // namespace EditorObjs

Index: spike_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/spike_obj.hxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- spike_obj.hxx       11 Sep 2002 12:45:58 -0000      1.5
+++ spike_obj.hxx       27 Sep 2002 11:26:46 -0000      1.6
@@ -49,7 +49,7 @@
   
 private:
   SpikeObj (const SpikeObj&);
-  SpikeObj operator= (const SpikeObj&);
+  SpikeObj& operator= (const SpikeObj&);
 };
 
 } // namespace EditorObjs

Index: starfield_background_obj.hxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/editorobjs/starfield_background_obj.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- starfield_background_obj.hxx        16 Sep 2002 20:52:22 -0000      1.1
+++ starfield_background_obj.hxx        27 Sep 2002 11:26:46 -0000      1.2
@@ -48,7 +48,7 @@
   
 private:
   StarfieldBackgroundObj (const StarfieldBackgroundObj&);
-  StarfieldBackgroundObj operator= (const StarfieldBackgroundObj&);
+  StarfieldBackgroundObj& operator= (const StarfieldBackgroundObj&);
 };
 
 } // namespace EditorObjs

Index: surface_background_obj.hxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/editorobjs/surface_background_obj.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- surface_background_obj.hxx  16 Sep 2002 20:52:22 -0000      1.1
+++ surface_background_obj.hxx  27 Sep 2002 11:26:46 -0000      1.2
@@ -45,7 +45,7 @@
   
 private:
   SurfaceBackgroundObj (const SurfaceBackgroundObj&);
-  SurfaceBackgroundObj operator= (const SurfaceBackgroundObj&);
+  SurfaceBackgroundObj& operator= (const SurfaceBackgroundObj&);
 };
 
 } // namespace EditorObjs

Index: switch_door_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/switch_door_obj.hxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- switch_door_obj.hxx 15 Sep 2002 11:02:24 -0000      1.3
+++ switch_door_obj.hxx 27 Sep 2002 11:26:46 -0000      1.4
@@ -67,7 +67,7 @@
   
 private:
   SwitchDoorObj (const SwitchDoorObj&);
-  SwitchDoorObj operator= (const SwitchDoorObj&);
+  SwitchDoorObj& operator= (const SwitchDoorObj&);
 };
 
 } // namespace EditorObjs

Index: switch_door_switch_obj.hxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/editorobjs/switch_door_switch_obj.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- switch_door_switch_obj.hxx  14 Sep 2002 19:06:34 -0000      1.2
+++ switch_door_switch_obj.hxx  27 Sep 2002 11:26:46 -0000      1.3
@@ -43,7 +43,7 @@
   
 private:
   SwitchDoorSwitchObj (const SwitchDoorSwitchObj&);
-  SwitchDoorSwitchObj operator= (const SwitchDoorSwitchObj&);
+  SwitchDoorSwitchObj& operator= (const SwitchDoorSwitchObj&);
 };
 
 } // namespace EditorObjs

Index: teleporter_obj.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editorobjs/teleporter_obj.hxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- teleporter_obj.hxx  14 Sep 2002 19:06:34 -0000      1.5
+++ teleporter_obj.hxx  27 Sep 2002 11:26:46 -0000      1.6
@@ -59,7 +59,7 @@
 
 private:
   TeleporterObj (const TeleporterObj&);
-  TeleporterObj operator= (const TeleporterObj&);
+  TeleporterObj& operator= (const TeleporterObj&);
 };
 
 } // namespace EditorObjs

Index: teleporter_target_obj.hxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/editorobjs/teleporter_target_obj.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- teleporter_target_obj.hxx   10 Sep 2002 12:46:55 -0000      1.2
+++ teleporter_target_obj.hxx   27 Sep 2002 11:26:46 -0000      1.3
@@ -47,7 +47,7 @@
 
 private:
   TeleporterTargetObj (const TeleporterTargetObj&);
-  TeleporterTargetObj operator= (const TeleporterTargetObj&);
+  TeleporterTargetObj& operator= (const TeleporterTargetObj&);
 };
 
 } // namespace EditorObjs

Index: thunderstorm_background_obj.hxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/editorobjs/thunderstorm_background_obj.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- thunderstorm_background_obj.hxx     18 Sep 2002 15:00:37 -0000      1.1
+++ thunderstorm_background_obj.hxx     27 Sep 2002 11:26:46 -0000      1.2
@@ -45,7 +45,7 @@
   
 private:
   ThunderstormBackgroundObj (const ThunderstormBackgroundObj&);
-  ThunderstormBackgroundObj operator= (const ThunderstormBackgroundObj&);
+  ThunderstormBackgroundObj& operator= (const ThunderstormBackgroundObj&);
 };
 
 } // namespace EditorObjs





reply via email to

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