[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/editor object_manager.cxx,1.8,1.9
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/editor object_manager.cxx,1.8,1.9 |
Date: |
28 Jun 2002 15:12:25 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv7425/editor
Modified Files:
object_manager.cxx
Log Message:
- changed action names from string to enum
- implemented actions slots for wall and fall case
- some cleanup
Index: object_manager.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/object_manager.cxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- object_manager.cxx 25 Jun 2002 12:20:33 -0000 1.8
+++ object_manager.cxx 28 Jun 2002 15:12:23 -0000 1.9
@@ -38,6 +38,7 @@
#endif
using namespace Pingus;
+using namespace Actions;
/** */
static bool EditorObj_z_pos_sorter (const boost::shared_ptr<EditorObj>& a,
@@ -107,15 +108,15 @@
// Set some default actions
actions.clear();
- actions.push_back(ActionData("basher", 20));
- actions.push_back(ActionData("blocker", 20));
- actions.push_back(ActionData("bomber", 20));
- actions.push_back(ActionData("bridger", 20));
- actions.push_back(ActionData("climber", 20));
- actions.push_back(ActionData("digger", 20));
- actions.push_back(ActionData("floater", 20));
- actions.push_back(ActionData("jumper", 20));
- actions.push_back(ActionData("miner", 20));
+ actions.push_back(ActionData(Basher, 20));
+ actions.push_back(ActionData(Blocker, 20));
+ actions.push_back(ActionData(Bomber, 20));
+ actions.push_back(ActionData(Bridger, 20));
+ actions.push_back(ActionData(Climber, 20));
+ actions.push_back(ActionData(Digger, 20));
+ actions.push_back(ActionData(Floater, 20));
+ actions.push_back(ActionData(Jumper, 20));
+ actions.push_back(ActionData(Miner, 20));
}
///
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/editor object_manager.cxx,1.8,1.9,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src action_button.cxx,1.2,1.3 action_button.hxx,1.2,1.3 action_data.hxx,1.2,1.3 action_holder.cxx,1.2,1.3 action_holder.hxx,1.2,1.3 button_panel.cxx,1.4,1.5 button_panel.hxx,1.3,1.4 capture_rectangle.cxx,1.3,1.4 exit.cxx,1.2,1.3 multiplayer_client_child.cxx,1.2,1.3 pingu.cxx,1.15,1.16 pingu.hxx,1.7,1.8 pingu_action.cxx,1.4,1.5 pingu_action.hxx,1.5,1.6 pingu_action_factory.cxx,1.3,1.4 pingu_action_factory.hxx,1.2,1.3 pingu_enums.hxx,1.3,1.4 playfield.cxx,1.6,1.7 plf_plf.cxx,1.3,1.4 server.cxx,1.7,1.8 world.cxx,1.12,1.13 xml_plf.cxx,1.4,1.5
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/traps fake_exit.cxx,1.3,1.4 hammer.cxx,1.3,1.4 laser_exit.cxx,1.3,1.4 smasher.cxx,1.4,1.5
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src action_button.cxx,1.2,1.3 action_button.hxx,1.2,1.3 action_data.hxx,1.2,1.3 action_holder.cxx,1.2,1.3 action_holder.hxx,1.2,1.3 button_panel.cxx,1.4,1.5 button_panel.hxx,1.3,1.4 capture_rectangle.cxx,1.3,1.4 exit.cxx,1.2,1.3 multiplayer_client_child.cxx,1.2,1.3 pingu.cxx,1.15,1.16 pingu.hxx,1.7,1.8 pingu_action.cxx,1.4,1.5 pingu_action.hxx,1.5,1.6 pingu_action_factory.cxx,1.3,1.4 pingu_action_factory.hxx,1.2,1.3 pingu_enums.hxx,1.3,1.4 playfield.cxx,1.6,1.7 plf_plf.cxx,1.3,1.4 server.cxx,1.7,1.8 world.cxx,1.12,1.13 xml_plf.cxx,1.4,1.5
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/traps fake_exit.cxx,1.3,1.4 hammer.cxx,1.3,1.4 laser_exit.cxx,1.3,1.4 smasher.cxx,1.4,1.5
- Index(es):